/* ========================================= */
/* 1. VARIABLES & RESET                      */
/* ========================================= */
:root {
    --primary-orange: #FF5722;
    --primary-dark: #1A1A1A;
    --primary-navy: #0F172A;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #F4F4F4;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --sidebar-width: 260px;
    --header-height: 70px;
    --max-width: 1280px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #fff;
    font-size: 16px;
    width: 100%;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================= */
/* 2. UTILITIES & TYPOGRAPHY                 */
/* ========================================= */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section-padding {
    padding: 80px 0;
}

.text-center { text-align: center; }
.justify-center { justify-content: center; }
.hidden { display: none !important; }
.w-full { width: 100%; }

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

.section-subtitle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.section-subtitle i {
    color: var(--primary-orange);
    width: 18px;
    height: 18px;
}

/* ========================================= */
/* 3. BUTTONS                                */
/* ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    gap: 10px;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 14px rgba(255, 87, 34, 0.3);
}

.btn-primary:hover {
    background-color: #e64a19;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-dark);
}

.btn-dark {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-dark:hover {
    background-color: #333;
}

/* ========================================= */
/* 4. NAVIGATION                             */
/* ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 80px;
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    height: 70px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-dark);
    font-size: 1.25rem;
    font-weight: 800;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-orange);
    color: var(--white);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-orange);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-profile-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-dark);
}

.user-profile-nav img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.search-btn, .mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    border-top: 1px solid #eee;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu a:last-child { border-bottom: none; }

/* ========================================= */
/* 5. HERO SECTION                           */
/* ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px;
    width: 100%;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 100%;
}

.hero-title {
    color: var(--white);
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--primary-orange);
    background: -webkit-linear-gradient(left, var(--primary-orange), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    font-size: 1.25rem;
    color: #e5e7eb;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.help-card {
    position: absolute;
    bottom: 0;
    right: 40px;
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 25px;
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 350px;
    z-index: 10;
}

.help-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--white);
    object-fit: cover;
}

/* ========================================= */
/* 6. HOME PAGE SECTIONS                     */
/* ========================================= */
.bg-gray { background-color: var(--bg-light); }
.bg-white { background-color: var(--white); }

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}

.stat-card:hover {
    background-color: var(--primary-orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-orange);
    margin-bottom: 10px;
}

.stat-card:hover .stat-number,
.stat-card:hover h3,
.stat-card:hover p {
    color: var(--white);
}

/* Why Choose Us */
.choose-layout {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.choose-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    width: 100%;
}

.choose-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.choose-content {
    flex: 1;
    min-width: 300px;
    width: 100%;
}

.check-list {
    list-style: none;
    margin: 30px 0;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--white);
}

.service-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-card:hover .service-arrow {
    background: var(--primary-orange);
    color: var(--white);
}

/* Process Grid */
.process-section {
    background-color: var(--primary-dark);
    color: var(--white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.process-step {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    position: relative;
    transition: var(--transition);
}

.process-step:hover {
    background: rgba(255,255,255,0.1);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-orange);
    display: block;
    margin-bottom: 20px;
}

/* Offerings Grid */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.offer-card {
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition);
}

.offer-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.offer-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    align-items: flex-start;
}

.offer-header i {
    color: var(--primary-orange);
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.offer-price {
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.offer-list li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    align-items: flex-start;
}

.offer-list i {
    color: var(--primary-orange);
    width: 20px;
    flex-shrink: 0;
    margin-top: 3px;
}

/* FAQ Layout */
.faq-layout {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.faq-content {
    flex: 1;
    min-width: 300px;
    width: 100%;
}

.faq-list {
    flex: 2;
    min-width: 300px;
    width: 100%;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 25px 25px;
    color: var(--text-light);
    display: none;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question i { transform: rotate(180deg); }

/* ========================================= */
/* 7. FOOTER                                 */
/* ========================================= */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer h4 { margin-bottom: 25px; }

.footer ul { list-style: none; }
.footer ul li { margin-bottom: 15px; }

.footer a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover { color: var(--white); }

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    color: var(--white);
}

.social-icon:hover {
    background: var(--primary-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    color: #9ca3af;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 20px;
}

/* ========================================= */
/* DROPDOWN STYLES (Add this to style.css)   */
/* ========================================= */

/* --- Desktop Dropdown --- */
.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%; /* Position directly below navbar */
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) translateX(-50%);
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary-orange);
    display: flex;
    flex-direction: column;
}

/* Show menu on hover */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) translateX(-50%);
}

.dropdown-menu a {
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 0.95rem;
    white-space: nowrap;
    border-bottom: 1px solid #f5f5f5;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background-color: #fff8f6; /* Light orange tint */
    color: var(--primary-orange);
    padding-left: 25px; /* Slight slide effect */
}

/* --- Mobile Dropdown Styles --- */
.mobile-item-wrapper {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Remove border from the link inside wrapper since wrapper has it */
.mobile-item-header a {
    border-bottom: none;
    flex-grow: 1;
}

.mobile-dropdown-btn {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: var(--text-light);
}

.mobile-submenu {
    background-color: #f9f9f9;
    padding-left: 0;
    display: flex;
    flex-direction: column;
}

.mobile-submenu a {
    padding-left: 30px; /* Indent sub items */
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    border-bottom: 1px solid #eee;
}

.mobile-submenu a:last-child {
    border-bottom: none;
}

/* Utility to hide elements */
.hidden {
    display: none !important;
}





/* ========================================= */
/* 8. RESPONSIVE & DROPDOWN FIXES            */
/* ========================================= */
/* ========================================= */
/* 8. RESPONSIVE & DROPDOWN FIXES            */
/* ========================================= */

/* Ensure Dropdown sits above everything */
.dropdown-menu {
    z-index: 1100;
    white-space: nowrap;
}

/* --- UPDATE: TABLET & MOBILE BREAKPOINT (1024px and below) --- */
/* This covers iPad Pro, iPad Air, and Mobile Phones */
@media screen and (max-width: 1024px) {
    
    /* 1. FORCE HIDE Desktop Elements */
    .nav-links {
        display: none !important; 
    }
    
    /* Hide the desktop "Login" button specifically */
    .nav-actions {
        display: none !important;
    }

    /* 2. SHOW Mobile Menu Button */
    .mobile-menu-btn {
        display: block !important;
    }

    /* 3. Adjust Layout for Mobile/Tablet Header */
    .container {
        padding: 0 20px;
    }

    /* Fix Mobile Menu positioning */
    .mobile-menu {
        width: 100%;
        left: 0;
        right: 0;
        border-top: 1px solid #eee;
    }
    
    /* Adjust Hero Text for smaller screens */
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn { width: 100%; }
}

/* --- DESKTOP BREAKPOINT (1025px and above) --- */
/* Only shows full menu on Laptops and large Desktops */
@media screen and (min-width: 1025px) {
    
    /* FORCE HIDE Mobile Elements */
    .mobile-menu-btn {
        display: none !important;
    }
    
    /* Ensure Mobile Menu is hidden even if JS toggled it open */
    .mobile-menu {
        display: none !important;
    }

    /* Ensure Desktop Nav & Actions are Visible */
    .nav-links {
        display: flex !important;
    }
    
    .nav-actions {
        display: flex !important;
    }
}
/* ========================================= */
/* 8. SERVICES & CONTACT ADDITIONS           */
/* ========================================= */
.services-hero, .contact-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px;
    width: 100%;
}
.services-hero { background-image: url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&w=1950&q=80'); }
.contact-hero { background-image: url('https://images.unsplash.com/photo-1516387938699-a93567ec168e?auto=format&fit=crop&w=1950&q=80'); }

.services-hero .hero-overlay, .contact-hero .hero-overlay { background: linear-gradient(to bottom, rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.4)); }

.services-grid-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.service-detail-card { background: var(--white); padding: 40px; border: 1px solid #eee; border-radius: 16px; transition: var(--transition); }
.service-detail-card:hover { box-shadow: 0 15px 40px rgba(0,0,0,0.08); transform: translateY(-5px); border-color: var(--primary-orange); }
.service-detail-card .icon-wrapper { width: 60px; height: 60px; background: var(--bg-light); color: var(--primary-orange); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service-features { list-style: none; margin-top: 20px; padding-top: 20px; border-top: 1px solid #eee; }
.service-features li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--text-light); margin-bottom: 10px; }
.service-features i { color: var(--primary-orange); width: 16px; height: 16px; }

.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; }
.contact-form-wrapper { background: var(--white); }
.form-row { display: flex; gap: 20px; }
.form-group { flex: 1; margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 8px; font-size: 1rem; transition: var(--transition); }
.contact-form input:focus { outline: none; border-color: var(--primary-orange); box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1); }
.contact-info-sidebar { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card { background: var(--bg-light); padding: 25px; border-radius: 12px; display: flex; gap: 20px; align-items: flex-start; }
.info-icon { width: 40px; height: 40px; background: var(--white); color: var(--primary-orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.map-container { position: relative; border-radius: 12px; overflow: hidden; height: 250px; margin-top: 10px; }
.map-container img { width: 100%; height: 100%; object-fit: cover; }
.map-btn { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--white); color: var(--primary-dark); padding: 10px 20px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; text-decoration: none; box-shadow: 0 4px 12px rgba(0,0,0,0.15); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.offices-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-top: 40px; }
.office-card { background: var(--white); padding: 25px; border-radius: 12px; text-align: center; border: 1px solid #eee; }
.text-orange { color: var(--primary-orange); font-weight: 600; }
.industries-flex { display: flex; gap: 20px; flex-wrap: wrap; }
.industry-item { flex: 1; min-width: 250px; height: 300px; position: relative; border-radius: 20px; overflow: hidden; }
.industry-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.industry-item:hover img { transform: scale(1.1); }
.ind-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); display: flex; align-items: flex-end; padding: 30px; }
.ind-overlay h4 { color: var(--white); font-size: 1.3rem; margin: 0; }

/* ========================================= */
/* 9. ABOUT MODERN                           */
/* ========================================= */
.modern-hero { position: relative; padding: 180px 0 100px; background-color: var(--primary-navy); color: var(--white); overflow: hidden; width: 100%; }
.shape-blob { position: absolute; border-radius: 50%; filter: blur(80px); z-index: 0; }
.shape-1 { top: -80px; right: -80px; width: 400px; height: 400px; background: rgba(255, 87, 34, 0.15); }
.shape-2 { bottom: -80px; left: -80px; width: 300px; height: 300px; background: rgba(59, 130, 246, 0.15); }
.modern-hero .container { position: relative; z-index: 1; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.value-card { background: var(--white); padding: 40px; border-radius: 15px; border-top: 4px solid var(--primary-orange); box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: var(--transition); }
.value-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.value-card.border-navy { border-top-color: var(--primary-navy); }
.value-icon { width: 60px; height: 60px; background: #FFF3E0; color: var(--primary-orange); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 25px; }
.value-card.border-navy .value-icon { background: #E2E8F0; color: var(--primary-navy); }
.timeline-section { position: relative; overflow: hidden; }
.timeline-container { position: relative; padding: 20px 0; }
.timeline-container::before { content: ''; position: absolute; top: 0; bottom: 0; left: 20px; width: 2px; background: #cbd5e1; }
.timeline-item { position: relative; margin-bottom: 50px; padding-left: 60px; }
.timeline-dot { position: absolute; left: 0; top: 0; width: 40px; height: 40px; background: #cbd5e1; border: 4px solid var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); z-index: 2; transition: var(--transition); }
.timeline-item:hover .timeline-dot { background: var(--primary-orange); }
.timeline-content { background: var(--white); padding: 20px; border-radius: 8px; border: 1px solid #e2e8f0; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.leadership-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.leader-card { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 15px; padding: 30px; text-align: center; transition: var(--transition); }
.leader-card:hover { border-color: var(--primary-orange); transform: translateY(-5px); }
.leader-img { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 20px; border: 3px solid rgba(255, 255, 255, 0.1); overflow: hidden; }
.leader-card:hover .leader-img { border-color: var(--primary-orange); }
.leader-img img { width: 100%; height: 100%; object-fit: cover; }
.leader-social { display: flex; justify-content: center; gap: 15px; margin-top: 20px; }
.leader-social a { color: #94a3b8; transition: var(--transition); }
.leader-social a:hover { color: var(--white); }

@media (min-width: 768px) {
    .timeline-container::before { left: 50%; margin-left: -1px; }
    .timeline-item { width: 50%; padding-left: 0; margin-left: 0; }
    .timeline-item:nth-child(odd) { margin-left: auto; padding-left: 50px; }
    .timeline-item:nth-child(even) { margin-right: auto; padding-right: 50px; text-align: right; }
    .timeline-item:nth-child(odd) .timeline-dot { left: -20px; }
    .timeline-item:nth-child(even) .timeline-dot { left: auto; right: -20px; }
}

/* ========================================= */
/* 10. AUTHENTICATION & ERROR PAGES          */
/* ========================================= */
.auth-section {
    min-height: calc(100vh - 80px - 300px); 
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f3f4f6;
    padding: 80px 20px;
}

.auth-card {
    background: var(--white);
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
}

.auth-header { text-align: center; margin-bottom: 30px; }
.auth-header h2 { font-size: 1.8rem; color: var(--primary-dark); margin-bottom: 10px; }
.auth-header p { color: var(--text-light); font-size: 0.95rem; }
.auth-form .form-group { margin-bottom: 20px; }
.auth-form label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; color: var(--primary-dark); }
.input-icon-wrapper { position: relative; }
.input-icon-wrapper input { width: 100%; padding: 12px 15px 12px 45px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 1rem; transition: var(--transition); }
.input-icon-wrapper input:focus { outline: none; border-color: var(--primary-orange); box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1); }
.field-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #9ca3af; width: 20px; height: 20px; }
.eye-icon { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: #9ca3af; width: 20px; height: 20px; cursor: pointer; transition: color 0.3s; }
.eye-icon:hover { color: var(--primary-dark); }
.form-options { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; font-size: 0.9rem; }
.checkbox-container { display: flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.checkbox-container input { cursor: pointer; }
.forgot-link { color: var(--primary-orange); text-decoration: none; font-weight: 600; }
.forgot-link:hover { text-decoration: underline; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--text-light); }
.auth-footer a { color: var(--primary-orange); text-decoration: none; font-weight: 700; }
.auth-footer a:hover { text-decoration: underline; }

.error-body { height: 100vh; background-color: #f9fafb; display: flex; align-items: center; justify-content: center; margin: 0; }
.error-container { text-align: center; padding: 20px; width: 100%; }
.error-content { background: white; padding: 50px; border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.05); max-width: 600px; width: 100%; margin: 0 auto; }
.error-icon-wrapper { width: 80px; height: 80px; background-color: #fee2e2; color: #dc2626; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 30px; }
.error-icon-wrapper i { width: 40px; height: 40px; }
.error-content h1 { font-size: 2rem; color: #111827; margin-bottom: 15px; }
.error-content p { color: #6b7280; margin-bottom: 30px; font-size: 1.1rem; }
.error-actions { display: flex; gap: 15px; justify-content: center; }

/* ========================================= */
/* 11. LIGHT DASHBOARD STYLES                */
/* ========================================= */
.dashboard-light-body { background-color: #f9fafb; color: #1f2937; padding-top: 100px; }
.dashboard-content { padding-bottom: 50px; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.dashboard-header h1 { font-size: 2rem; margin-bottom: 5px; color: #111827; }
.dashboard-header p { color: #6b7280; font-size: 1rem; }
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 25px; margin-bottom: 40px; }
.metric-card { background-color: #fff; border-radius: 16px; padding: 25px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); border: 1px solid #e5e7eb; position: relative; transition: var(--transition); }
.metric-card:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.06); }
.metric-info { position: relative; z-index: 2; }
.metric-label { display: block; font-size: 0.8rem; font-weight: 600; color: #9ca3af; margin-bottom: 8px; letter-spacing: 0.5px; }
.metric-value { font-size: 1.8rem; font-weight: 800; color: #111827; margin: 0; line-height: 1.2; }
.metric-trend { display: inline-flex; align-items: center; gap: 4px; font-size: 0.85rem; font-weight: 600; margin-top: 10px; padding: 4px 8px; border-radius: 6px; }
.metric-trend.positive { color: #059669; background-color: #d1fae5; }
.metric-trend.negative { color: #dc2626; background-color: #fee2e2; }
.metric-trend.neutral { color: #4b5563; background-color: #f3f4f6; }
.metric-icon { position: absolute; top: 25px; right: 25px; width: 50px; height: 50px; background-color: #f9fafb; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--primary-orange); }
.chart-card { background-color: #fff; border-radius: 16px; padding: 30px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); border: 1px solid #e5e7eb; margin-bottom: 30px; }
.chart-header { margin-bottom: 30px; }
.chart-header h2 { font-size: 1.25rem; margin: 0 0 5px 0; color: #111827; }
.chart-header p { font-size: 0.9rem; color: #6b7280; }
.bar-chart-container { height: 300px; display: flex; gap: 15px; position: relative; }
.y-axis { display: flex; flex-direction: column; justify-content: space-between; color: #9ca3af; font-size: 0.8rem; text-align: right; padding-right: 10px; min-width: 40px; }
.bars-wrapper { flex: 1; display: flex; justify-content: space-around; align-items: flex-end; border-bottom: 1px solid #e5e7eb; padding-bottom: 5px; }
.bar-group { display: flex; flex-direction: column; align-items: center; flex: 1; max-width: 50px; height: 100%; justify-content: flex-end; position: relative; }
.bar-fill { width: 80%; background-color: #8b1588; border-radius: 6px 6px 0 0; transition: height 0.5s ease; position: relative; cursor: pointer; }
.bar-fill:hover { opacity: 0.85; }
.bar-fill .tooltip { position: absolute; top: -35px; left: 50%; transform: translateX(-50%); background-color: #111827; color: #fff; padding: 6px 10px; border-radius: 6px; font-size: 0.8rem; font-weight: 600; opacity: 0; transition: opacity 0.2s; pointer-events: none; white-space: nowrap; box-shadow: 0 4px 6px rgba(0,0,0,0.1); z-index: 10; }
.bar-fill:hover .tooltip { opacity: 1; }
.x-label { margin-top: 10px; font-size: 0.85rem; color: #6b7280; font-weight: 500; white-space: nowrap; }
.bottom-charts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.pie-chart-wrapper { display: flex; justify-content: center; margin: 20px 0; }
.pie-container { position: relative; width: 250px; height: 250px; }
.pie-chart-svg { width: 100%; height: 100%; transform: rotate(-90deg); border-radius: 50%; }
.pie-slice { fill: transparent; stroke-width: 32; transition: stroke-width 0.3s ease; cursor: pointer; }
.pie-slice:hover { stroke-width: 36; }
.pie-tooltip-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; }
.pt-val { font-size: 1.5rem; font-weight: 700; color: #111827; display: none; }
.chart-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-top: 20px; }
.legend-item { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; color: #4b5563; font-weight: 500; }
.dot { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.horiz-chart-container { display: flex; flex-direction: column; gap: 20px; margin-top: 10px; }
.horiz-bar-group { display: flex; align-items: center; gap: 15px; }
.h-label { width: 90px; text-align: right; font-size: 0.9rem; font-weight: 500; color: #4b5563; flex-shrink: 0; }
.h-bar-track { flex: 1; height: 28px; background-color: #f3f4f6; border-radius: 6px; position: relative; }
.h-bar-fill { height: 100%; border-radius: 6px; cursor: pointer; position: relative; transition: width 0.5s ease; }
.h-bar-fill:hover { opacity: 0.9; }
.tooltip-h { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: white; font-size: 0.75rem; font-weight: 700; opacity: 0; transition: opacity 0.2s; pointer-events: none; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.h-bar-fill:hover .tooltip-h { opacity: 1; }
.h-axis { display: flex; justify-content: space-between; margin-left: 105px; margin-top: 5px; color: #9ca3af; font-size: 0.75rem; }

/* Differentiating Bar Colors */
.bars-wrapper .bar-group:nth-child(1) .bar-fill { background-color: #8b1588; } 
.bars-wrapper .bar-group:nth-child(2) .bar-fill { background-color: #7b61ff; } 
.bars-wrapper .bar-group:nth-child(3) .bar-fill { background-color: #c29829; } 
.bars-wrapper .bar-group:nth-child(4) .bar-fill { background-color: #FF5722; } 
.bars-wrapper .bar-group:nth-child(5) .bar-fill { background-color: #2a9d8f; } 
.bars-wrapper .bar-group:nth-child(6) .bar-fill { background-color: #e76f51; } 

/* ========================================= */
/* 12. RESPONSIVE MEDIA QUERIES              */
/* ========================================= */
@media (max-width: 1024px) { 
    .nav-links, .nav-actions { display: none; } 
    .mobile-menu-btn { display: block; } 
    .help-card { display: none; }
    .timeline-image { margin-top: 40px; }
    .hero-title h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; } 
    h2 { font-size: 2rem; }
    h3 { font-size: 1.25rem; }
    
    /* IMPORTANT: Reset flex items to prevent overflow */
    .choose-image, .choose-content, .faq-content, .faq-list, .industry-item {
        min-width: 100% !important;
        flex: 1 1 100%;
    }

    /* Stack grids on mobile */
    .stats-grid,
    .services-grid,
    .process-grid,
    .offer-grid,
    .services-grid-layout,
    .values-grid,
    .leadership-grid,
    .footer-grid,
    .bottom-charts-grid,
    .metrics-grid,
    .offices-grid {
        grid-template-columns: 1fr;
    }

    /* Flex Layouts - Force column */
    .choose-layout, 
    .faq-layout,
    .hero-buttons,
    .dashboard-header,
    .form-row { 
        flex-direction: column; 
        align-items: stretch;
        gap: 30px;
    }

    /* Contact Page Responsive Fix */
    .contact-layout {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    /* Dashboard specific adjustments */
    .dashboard-header { align-items: flex-start; }
    .dashboard-header .btn { width: 100%; }
    
    /* Sales Statistics Chart Mobile Fix */
    .bar-chart-container {
        gap: 5px;
        overflow-x: auto; /* Safe scroll if needed */
    }
    .y-axis {
        font-size: 0.7rem;
        padding-right: 5px;
        min-width: 35px;
    }
    .x-label {
        font-size: 0.7rem;
    }
    .bar-fill {
        width: 100%; /* Allow bars to be thinner if needed */
        min-width: 15px;
    }
    
    /* Contact form specific */
    .form-row { gap: 0; }
    
    /* Footer */
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    
    /* Error page buttons */
    .error-actions { flex-direction: column; width: 100%; }
    
    /* Timeline mobile view */
    .timeline-container::before { left: 20px; }
    .timeline-item { width: 100%; margin-left: 0; padding-left: 60px; }
    .timeline-item:nth-child(even) { text-align: left; padding-right: 0; padding-left: 60px; }
    .timeline-item:nth-child(even) .timeline-dot { left: 0; right: auto; }
    
    /* Auth Card spacing */
    .auth-card { width: 90%; padding: 20px; }
    
    /* Hero adjustments */
    .hero-content { padding-right: 0; text-align: center; }
    .hero-buttons { justify-content: center; }
    
    /* Service Card Overlay Fix */
    .service-overlay { position: relative; background: var(--primary-orange); bottom: auto; left: auto; width: 100%; transform: none; }
    .service-overlay h3, .service-overlay p { color: white; }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .container { padding: 0 15px; }
    .btn { width: 100%; }
    .stat-card, .service-card, .offer-card { padding: 20px; }
    
    /* Services Hero height adjust */
    .services-hero, .contact-hero { height: 50vh; min-height: 300px; }
}