/*
Theme Name: adsmetricx Portfolio By RSTechBD
Theme URI:  https://rstechbd.xyz
Author:     RSTechBD
Author URI: https://rstechbd.xyz
Description: Portfolio theme by RSTechBD
Version:    1.1
License:    GNU General Public License v2 or later
Text Domain: nextvision-portfolio
*/

/* ==========================================================
   MOBILE SIDEBAR MENU (FULLY FIXED)
   ========================================================== */
/* ===== FORCE REMOVE SUBMENU DOT (DESKTOP) ===== */
.main-menu ul.sub-menu li::before,
.main-menu ul.sub-menu li::marker {
    content: none !important;
    display: none !important;
}

/* extra safety */
.main-menu ul.sub-menu li {
    list-style: none !important;
    padding-left: 0 !important;
}

/* ===== REMOVE ANY CUSTOM BULLET ICON ===== */
.main-menu ul.sub-menu li a::before {
    content: none !important;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -85%;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    background: #000;
    color: #fff;
    z-index: 99999;
    padding: 25px 20px;
    transition: all 0.35s ease;
    overflow-y: auto;
}

.mobile-sidebar.active {
    right: 0;
}

#overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.65);
    z-index: 99998;
    display: none;
}

#overlay.show {
    display: block;
}

.sidebar-header {
    display:flex;
    justify-content: space-between;
    align-items:center;
    margin-bottom:20px;
}

.mobile-logo {
    max-width:140px !important;
    height:auto;
}

.close-btn {
    background:none;
    border:none;
    color:#fff;
    font-size:38px;
    cursor:pointer;
    line-height:1;
}

.mobile-menu {
    list-style:none;
    padding:0;
    margin:0;
}

.mobile-menu li {
    border-bottom:1px solid #222;
}

.mobile-menu li a {
    color:#fff;
    padding:14px 0;
    display:block;
    font-size:17px;
}

.mobile-cta {
    display:block;
    background:#e91e63;
    color:#fff;
    padding:14px 18px;
    border-radius:30px;
    text-align:center;
    font-weight:700;
    margin-top:25px;
}

@media(max-width:768px){
    .desktop-nav,
    .desktop-only {
        display:none!important;
    }

    .menu-toggle {
        display:flex;
        flex-direction:column;
        gap:5px;
        background:none;
        border:none;
    }

    .menu-toggle span {
        width:26px;
        height:3px;
        background:#fff;
        border-radius:2px;
    }
}

/* ==========================================================
   GLOBAL STYLE
   ========================================================== */

:root{
  --primary:#e91e63;
  --accent:#ff355e;
  --bg:#f7f9fb;
  --text:#1a2a33;
  --muted:#6b757b;
  --container:1200px;
  --radius:12px;
  --card-shadow: 0 6px 30px rgba(15,23,42,0.06);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);line-height:1.6}
a{color:var(--primary);text-decoration:none}
.container{max-width:var(--container);margin:0 auto;padding:0 20px}

/* HEADER */
.site-header{
    background:#000;
    border-bottom:1px solid rgba(255,255,255,0.03);
    position:sticky;
    top:0;
    z-index:200;
}

.header-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 20px;
}

.site-brand img{
    height:56px;
    border-radius:0;
}

/* ==========================================================
   
   ========================================================== */

.main-nav{
    display:flex;
    align-items:center;
    gap:18px;
}

.main-menu{
    display:flex;
    gap:18px;
    list-style:none;
    margin:0;
    padding:0;
    align-items:center;
}

/* Parent menu item */
.main-menu > li {
    position: relative;
}

.main-menu > li > a{
    color:#fff;
    padding:14px 10px;
    display:block;
    font-weight:600;
}

/* ---------- FIXED SUBMENU (NEW BLOCK) ---------- */
.main-menu li ul.sub-menu {
    position: absolute;
    top: 48px;
    left: 0;
    min-width: 240px;
    background: #fff;
    padding: 8px 0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.25s ease;
    z-index: 99999;
}

.main-menu li:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Submenu items */
.main-menu li ul.sub-menu li {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.main-menu li ul.sub-menu li:last-child {
    border-bottom: none;
}

.main-menu li ul.sub-menu li a {
    display:block;
    padding:12px 18px;
    color:#111;
    font-size:15px;
    white-space:nowrap;
}

.main-menu li ul.sub-menu li a:hover {
    background:#f5f5f5;
    color:var(--primary);
}
/* ---------- END SUBMENU FIX ---------- */

.header-cta{
    background:#ff8c00;
    color:#fff;
    padding:10px 20px;
    border-radius:30px;
    font-weight:700;
}

/* HERO */
.hero{padding:72px 0 64px;background:linear-gradient(180deg,#fff,#fbfdfd)}
.hero .eyebrow{color:var(--muted);text-transform:uppercase;font-weight:600;letter-spacing:1px}
.hero h1{font-size:42px;margin:12px 0 16px}
.btn{
    display:inline-block;
    padding:12px 18px;
    border-radius:8px;
    background:var(--primary);
    color:#fff;
    font-weight:600;
}

/* SERVICES */
.services{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:40px}
.service-card{
    background:#fff;
    padding:28px;
    border-radius:14px;
    box-shadow:var(--card-shadow);
}

/* FOOTER */
.footer{
    background:#0f1b1f;
    color:#fff;
    padding:60px 0 20px;
    margin-top:0;
    clear:both;
    position:relative;
    z-index:999;
}

.footer-grid{
    display:grid;
    grid-template-columns:1fr 2fr 1.5fr;
    gap:50px;
    align-items:flex-start;
}

.footer-logo img{
    width:160px;
    border-radius:10px;
}

.footer-services h3,
.footer-contact h3{
    margin-bottom:20px;
    font-size:22px;
    font-weight:700;
}

.footer-services ul{
    list-style:none;
    margin:0;
    padding:0;
}

.footer-services ul li{
    margin-bottom:10px;
    font-size:16px;
}

.footer-contact p{
    font-size:16px;
    margin:8px 0;
}

.footer-social a{
    display:inline-block;
    margin-right:12px;
}

.footer-social img{
    width:28px;
    height:28px;
}

.footer-bottom{
    text-align:center;
    padding-top:30px;
    font-size:15px;
    color:#cfd3d4;
    border-top:1px solid rgba(255,255,255,0.1);
    margin-top:40px;
}


/* RESPONSIVE */
@media(max-width:992px){
    .services{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:768px){
    .footer-grid{
        grid-template-columns:1fr;
        text-align:center;
    }

    .footer-social a{
        margin:0 8px;
    }
}

.footer-social a {
    display: inline-block;
    margin-right: 12px;
    font-size: 26px;
    color: #000000;
    transition: 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary); /* pink hover */
}

/*
  Note: This CSS uses common class names. If your WordPress theme already uses
  similar names (like .container), you may need to rename these classes
  (e.g., .nvs-container) to avoid conflicts.
  Also, ensure you link a font-awesome library for icons (fas fa-...)
*/

/* --- Basic Setup & Containers --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
    text-align: center;
}

h2 {
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: 700;
}

/* --- Call to Action Buttons --- */
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.primary {
    background-color: #007bff; /* Primary Brand Color (Blue) */
    color: #ffffff;
    border: 2px solid #007bff;
}

.primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.secondary {
    background-color: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.secondary:hover {
    background-color: #e9ecef;
}

/* --- 1. Hero Section --- */
.hero-section {
    padding: 120px 0;
    background-color: #f8f9fa; /* Light background */
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-section .subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    color: #555;
	color: rgba(255,255,255,0.9) !important;
}

/* --- 2. Value Proposition Section --- */
.value-proposition-section {
    background-color: #ffffff;
}
.value-proposition-section p {
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-size: 18px;
    line-height: 1.6;
}

/* --- 3. Industry Expertise --- */
.expertise-section {
    background-color: #e9ecef; /* Slightly darker background */
}

.expertise-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.expertise-item {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    width: calc(33.333% - 20px); /* 3 items per row, adjust for smaller screens */
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.expertise-item i {
    font-size: 30px;
    color: #007bff;
    margin-bottom: 10px;
}

/* --- 4. Our Services --- */
.services-section {
    background-color: #ffffff;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 40px;
}

.service-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    width: calc(33.333% - 30px);
    text-align: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-card h3 {
    color: #007bff;
    margin-top: 0;
}

.service-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.all-services-cta {
    display: inline-block;
    margin-top: 20px;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #333;
}

/* --- 5. Success Roadmap (Process) --- */
.process-section {
    background-color: #f8f9fa;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 20px;
    border-top: 4px solid #007bff;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-step {
    width: 25%; /* Adjust based on number of steps */
    text-align: center;
    position: relative;
    padding-top: 30px;
}

.timeline-step::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #007bff;
    border: 3px solid #ffffff;
    z-index: 1;
}

.step-day {
    display: block;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 5px;
}

/* --- 6. Trust & Credentials --- */
.trust-section {
    background-color: #ffffff;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 50px;
    font-weight: 800;
    color: #007bff;
    display: block;
    line-height: 1.2;
}

/* --- 7. Final Call to Action --- */
.final-cta-section {
    background-color: #007bff; /* Primary Brand Color */
    color: #ffffff;
    padding: 60px 0;
}

.final-cta-section h2 {
    color: #ffffff;
}

.final-cta-section .cta-button.final {
    background-color: #ffffff;
    color: #007bff;
}

.final-cta-section .cta-button.final:hover {
    background-color: #f0f0f0;
}


/* --- Responsive Adjustments (Optional but Recommended) --- */
@media (max-width: 992px) {
    .expertise-item,
    .service-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 36px;
    }
    .expertise-item,
    .service-card {
        width: 100%;
    }
    .process-timeline {
        flex-direction: column;
        align-items: center;
        border-left: 4px solid #007bff;
        border-top: none;
    }
    .timeline-step {
        width: 100%;
        text-align: left;
        padding-left: 30px;
        padding-top: 0;
        margin-bottom: 30px;
    }
    .timeline-step::before {
        top: 0;
        left: -12px;
        transform: none;
    }
}
/* --- Global Variables & Colors --- */
:root {
    --primary-color: #ff8c00; /* Bright Orange/Amber from Logo */
    --secondary-color: #000000; /* Black from Header/Background */
    --text-color: #333333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
}

/* --- Basic Setup & Containers --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
    text-align: center;
}

h2 {
    font-size: 36px;
    margin-bottom: 40px;
    font-weight: 700;
    color: var(--secondary-color);
}

/* --- Call to Action Buttons --- */
.cta-button {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Added shadow for glossy vibe */
}

/* Primary Button (Used in Hero Section) */
.primary {
    background: linear-gradient(145deg, var(--primary-color), #ff6f00); /* Gradient for Glossy look */
    color: var(--white);
    border: none;
}

.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

/* Secondary Button */
.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* --- 1. Hero Section (Updated Look) --- */
.hero-section {
    padding: 150px 0;
    background-color: var(--light-bg); /* Use light background for contrast */
}

.hero-section h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.hero-section .subtitle {
    font-size: 22px;
    margin-bottom: 50px;
    color: var(--text-color);
}

/* --- 2. Value Proposition Section --- */
.value-proposition-section {
    background-color: var(--white);
}
.value-proposition-section p {
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-color);
}

/* --- 3. Industry Expertise --- */
.expertise-section {
    background-color: var(--light-bg);
}

.expertise-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.expertise-item {
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    width: calc(25% - 25px); /* 4 items per row */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); /* Elevated feel */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.expertise-item i {
    font-size: 40px;
    color: var(--primary-color); /* Orange Icon */
    margin-bottom: 15px;
}
.expertise-item h4 {
    margin: 0;
    font-size: 18px;
    color: var(--secondary-color);
}

/* --- NEW: 4. Portfolio Showcase (Added Content) --- */

.portfolio-item img {
    width: 100%;
    height: auto;
    display: block;
}

.portfolio-item-content {
    padding: 20px;
    background-color: var(--light-bg);
    text-align: left;
}

.portfolio-item-content h4 {
    color: var(--primary-color);
    margin-top: 0;
}

/* --- 5. Our Services --- */
.services-section {
    background-color: var(--light-bg);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 40px;
}

.service-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    width: calc(30% - 30px);
    text-align: left;
    background-color: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.service-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.service-card h3 {
    color: var(--secondary-color);
    margin-top: 0;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* --- 6. Success Roadmap (Process) --- */
.process-section {
    background-color: var(--white);
}

.process-timeline {
    border-top: 4px solid var(--primary-color);
}

.timeline-step::before {
    background-color: var(--primary-color);
}

.step-day {
    color: var(--primary-color);
}

/* --- 7. Trust & Credentials --- */
.trust-section {
    background-color: var(--light-bg);
}

.stat-number {
    color: var(--primary-color);
}

/* --- 8. Final Call to Action --- */
.final-cta-section {
    background-color: var(--secondary-color); /* Black Background for Header Color Match */
    color: var(--white);
    padding: 60px 0;
}

.final-cta-section h2 {
    color: var(--white);
}

.final-cta-section .cta-button.final {
    background-color: var(--primary-color);
    color: var(--white);
}

.final-cta-section .cta-button.final:hover {
    background-color: #ffb84d;
}

/* --- Responsive Adjustments --- */
/* (Previous responsive styles are still valid and should be kept) */
/* ... */
/* ==================================== */
/* --- Mobile Responsiveness (Media Queries) --- */
/* ==================================== */

/* ট্যাবলেট এবং ছোট ল্যাপটপ (Max-width: 992px) */
@media (max-width: 992px) {
    /* General Adjustments */
    .container {
        padding: 0 20px;
    }
    section {
        padding: 60px 0;
    }
    h2 {
        font-size: 30px;
    }

    /* Hero Section */
    .hero-section {
        padding: 100px 0;
    }
    .hero-section h1 {
        font-size: 40px;
    }
    .hero-section .subtitle {
        font-size: 18px;
    }

    /* Grid Layouts - 4 Columns to 2 Columns */
    .expertise-item,
    .service-card,
    .portfolio-item {
        width: calc(50% - 20px); /* 2 items per row with 20px gap */
    }

    /* Portfolio Grid */
    .portfolio-grid {
        gap: 20px;
    }
}

/* মোবাইল ফোন (Max-width: 768px) */
@media (max-width: 768px) {
    /* Hero Section */
    .hero-section {
        padding: 80px 0;
    }
    .hero-section h1 {
        font-size: 32px;
    }
    .hero-section .subtitle {
        font-size: 16px;
    }
    .cta-button {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    /* Grid Layouts - 2 Columns to 1 Column (Full Width) */
    .expertise-item,
    .service-card,
    .portfolio-item {
        width: 100%; /* Full width on mobile */
    }

    /* Expertise & Service Section Styling */
    .expertise-item {
        padding: 20px;
    }
    .service-card {
        padding: 25px;
    }

    /* Process Timeline (Vertical Layout) */
    .process-timeline {
        flex-direction: column;
        align-items: flex-start;
        border-left: 4px solid var(--primary-color);
        border-top: none; /* Remove horizontal line */
        max-width: 100%;
        padding-top: 0;
    }
    
    .timeline-step {
        width: 100%;
        text-align: left;
        padding: 0 0 30px 30px; /* Padding for content and space below */
        position: relative;
    }
    
    .timeline-step::before {
        left: -12px; /* Position the circle left of the vertical line */
        top: 0;
        transform: none; /* Reset transform */
    }

    /* Trust Section Stats (Stacked Layout) */
    .stats-grid {
        flex-direction: column;
        gap: 30px;
    }
    .stat-number {
        font-size: 40px;
    }
}