/* css/style.css - C2G MALL DEFINITIVE REDESIGN */

/* --- Google Font & Global Styles --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
:root {
    --primary-blue: #0052FF;
    --primary-dark: #0d1f33;
    --text-dark: #212529;
    --text-body: #495057;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --white: #FFFFFF;
    --border-color: #e9ecef;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);

    /* Added from your example for consistency */
    --card-bg: var(--white); /* Assuming card-bg is white */
    --card-shadow: var(--shadow); /* Using existing shadow */
    --text-light: #6c757d; /* Assuming text-light maps to text-muted */
    --secondary-color: var(--primary-blue); /* Using primary blue as secondary */
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-body);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden; /* Prevents horizontal scroll from menu sliding in/out */
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; display: block; } /* GLOBAL: Ensures all images are responsive */


/* --- Reusable Components --- */
.btn { display: inline-block; padding: 12px 28px; border-radius: 8px; font-weight: 600; text-decoration: none; cursor: pointer; transition: all 0.3s ease; border: 1px solid transparent; }
.btn-primary { background-color: var(--primary-blue); color: var(--white); box-shadow: 0 2px 8px rgba(0, 82, 255, 0.3); }
.btn-primary:hover { background-color: #0045d1; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 82, 255, 0.4); }
.btn-secondary { background-color: var(--white); color: var(--text-dark); border-color: var(--border-color); }
.btn-secondary:hover { background-color: var(--bg-light); border-color: #ced4da; transform: translateY(-2px); }
.btn-lg { padding: 16px 40px; font-size: 1.1rem; }
.btn-cta { background-color: var(--white); color: var(--primary-blue); font-size: 1.1rem; padding: 15px 35px; box-shadow: 0 4px 15px rgba(255,255,255,0.2); }
.btn-cta:hover { background-color: #f0f5ff; }

.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.8rem; color: var(--primary-dark); font-weight: 700; }
.section-title p { color: var(--text-muted); max-width: 600px; margin: 10px auto 0 auto; font-size: 1.1rem; }

/* --- HEADER & NAVIGATION (DESKTOP FIRST) --- */
.main-header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--card-shadow);
}

.main-nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 20px;
}

.main-nav .logo {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#desktop-nav-links {
    display: flex;
    gap: 2rem;
}
#desktop-nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}
#desktop-nav-links a:hover {
    color: var(--text-dark);
}
#desktop-nav-links a.active {
    color: var(--text-dark);
    border-bottom-color: var(--secondary-color);
}

#desktop-nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* AUTHENTICATION STATE (STAYS THE SAME) */
.logged-out-view { display: none; gap: 10px; }
body:not(.is-logged-in) .logged-out-view { display: flex; } 

/* This is defined for general use on index.html, not specific dashboard.html header */
.logged-in-view { display: none; }
body.is-logged-in .logged-in-view { display: flex; }

/* HAMBURGER ICON: HIDDEN ON DESKTOP by default */
.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-dark);
}

/* --- MOBILE MENU (HIDDEN BY DEFAULT ON ALL SCREENS INITIALLY) --- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 80%;
    height: 100vh;
    background: var(--white);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transform: translateX(100%); /* Hidden off-screen by default */
    transition: transform 0.3s ease-in-out;
    z-index: 2000;

    display: none; /* Crucial: Completely hidden from layout on desktop/initial state */
    flex-direction: column;
    padding: 20px;
}

.mobile-menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 20px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}
.mobile-menu-top h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
}
.close-icon {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-dark);
}

.mobile-nav-links-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.mobile-nav-links-wrapper a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 10px 15px; /* Added horizontal padding for touch targets */
    transition: color 0.3s ease, background-color 0.3s ease;
    width: 100%; /* Ensures links take full width and stack */
    border-radius: 5px;
}
.mobile-nav-links-wrapper a:hover {
    color: var(--primary-blue);
    background-color: var(--bg-light); /* Added hover background */
}

.mobile-auth-wrapper {
    display: flex;
    flex-direction: column; /* Ensures buttons stack */
    gap: 15px;
    width: 100%;
}
.mobile-auth-wrapper .logged-out-view,
.mobile-auth-wrapper .logged-in-view {
    display: flex; /* Ensure these are flex for column direction */
    flex-direction: column; /* Ensure buttons inside stack */
    width: 100%;
    gap: 15px;
}
.mobile-auth-wrapper .btn {
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
}

/* Add an overlay to dim content when menu is open */
/* !!! CRITICAL: MOVED THESE BASE MODAL/OVERLAY STYLES TO HERE from dashboard.css !!! */
/* This ensures the fundamental modal overlay behavior is defined globally */
.modal-overlay {
    position: fixed; /* Crucial for full screen overlay */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dimming background */
    display: flex; /* Centering content */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    z-index: 1000; /* Ensure it's on top */
    opacity: 0; /* Hidden by default for transition */
    visibility: hidden; /* Hidden by default */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--white);
    color: var(--text-dark);
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 450px; /* Default width for standard modals */
    position: relative;
    transform: translateY(-20px); /* Initial position for slide-in effect */
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);

    max-height: 90vh; /* Limit height to 90% of viewport height */
    overflow-y: auto; /* Enable vertical scrolling when content exceeds max-height */
    -webkit-overflow-scrolling: touch; /* For smoother scrolling on iOS */
}

.modal-overlay.active .modal-content {
    transform: translateY(0); /* Slide into final position */
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
}
/* --- END NEW Modal Overlay Styles (Moved from dashboard.css) --- */


/* --- Hero Section --- */
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; padding: 80px 0; }
.hero-content h1 { font-size: 3.5rem; font-weight: 700; line-height: 1.2; margin-bottom: 20px; color: var(--primary-dark); }
.hero-subtitle { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 35px; max-width: 500px; }
.hero-image img { width: 100%; border-radius: 16px; box-shadow: var(--shadow-lg); }

/* --- Trusted Partners Section --- */
.trusted-partners { padding: 40px 0; background-color: var(--bg-light); text-align: center; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.trusted-partners p { font-weight: 600; color: var(--text-muted); margin-bottom: 20px; letter-spacing: 0.5px; }
.partner-logos { display: flex; justify-content: center; align-items: center; gap: 50px; flex-wrap: wrap; }
.partner-logos img { height: 40px; opacity: 0.7; transition: opacity 0.3s ease; }
.partner-logos img:hover { opacity: 1; }

/* --- Services & How it Works --- */
.services-section { padding: 100px 0; }
.services-grid.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.service-card.professional { background-color: var(--white); padding: 40px; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--border-color); text-align: left; transition: all 0.3s ease; }
.service-card.professional:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary-blue); }
.service-icon { font-size: 2.5rem; color: var(--primary-blue); margin-bottom: 20px; }
.service-card h4 { font-size: 1.5rem; margin-bottom: 15px; color: var(--primary-dark); }
.learn-more-link { font-weight: 600; color: var(--primary-blue); text-decoration: none; display: inline-block; margin-top: 20px; }
.learn-more-link i { transition: transform 0.2s ease; }
.learn-more-link:hover i { transform: translateX(5px); }

.how-it-works-section { padding: 100px 0; background-color: var(--bg-light); }
.how-it-works-grid { display: grid; grid-template-columns: 1fr; gap: 30px; position: relative; max-width: 800px; margin: 0 auto; }
.how-it-works-grid::before { content: ''; position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background-color: #dbeaff; z-index: 1; }
.step-item { display: flex; align-items: flex-start; gap: 25px; position: relative; z-index: 2; background: var(--bg-light); padding: 10px 0; }
.step-number { width: 50px; height: 50px; flex-shrink: 0; background-color: var(--primary-blue); color: var(--white); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-weight: 700; font-size: 1.2rem; border: 4px solid var(--bg-light); }
.step-content h4 { font-size: 1.3rem; font-weight: 600; color: var(--text-dark); margin-bottom: 5px; }

/* --- Procurement & Why Choose Us --- */
.procurement-details-section { padding: 100px 0; }
.procurement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.procurement-content h2 { font-size: 2.8rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 15px; }
.procurement-content .section-subtitle { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 30px; }
.procurement-steps { list-style: none; margin-bottom: 30px; padding: 0; }
.procurement-steps li { font-size: 1.2rem; font-weight: 600; color: var(--text-dark); display: flex; align-items: center; gap: 15px; position: relative; padding-left: 40px; margin-bottom: 25px; }
.procurement-steps li i { position: absolute; left: 0; font-size: 1.5rem; color: var(--primary-blue); }
.procurement-steps li:not(:last-child)::before { content: ''; position: absolute; left: 12px; top: 30px; height: 30px; width: 2px; background-color: #dbeaff; }
.procurement-image img { width: 100%; border-radius: 16px; box-shadow: var(--shadow-lg); }

.why-choose-us-section { padding: 100px 0; background-color: var(--bg-light); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item .stat-number { font-size: 3rem; font-weight: 700; color: var(--primary-blue); }
.stat-item .stat-label { font-size: 1rem; font-weight: 500; color: var(--text-muted); }

/* --- CTA & Footer --- */
.cta-section { text-align: center; padding: 100px 20px; background-color: var(--primary-dark); color: var(--white); }
.cta-section h2 { font-size: 2.8rem; margin-bottom: 15px; }
.cta-section p { font-size: 1.2rem; opacity: 0.8; margin-bottom: 35px; max-width: 600px; margin-left: auto; margin-right: auto; }
.professional-footer { background-color: var(--bg-light); color: var(--text-body); padding-top: 60px; border-top: 1px solid var(--border-color); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-col .logo { color: var(--primary-blue); } .footer-col p { color: var(--text-muted); }
.footer-col h4 { font-size: 1rem; margin-bottom: 20px; font-weight: 600; color: var(--text-dark); }
.footer-col ul { list-style: none; padding: 0; } .footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: var(--text-muted); text-decoration: none; transition: all 0.3s ease; }
.footer-col ul a:hover { color: var(--primary-blue); }
.social-icons { margin-top: 20px; display: flex; gap: 10px; }
.social-icons a { display: inline-flex; justify-content: center; align-items: center; width: 40px; height: 40px; background-color: var(--white); border: 1px solid var(--border-color); color: var(--text-muted); border-radius: 50%; text-decoration: none; transition: all 0.3s ease; }
.social-icons a:hover { background-color: var(--primary-blue); color: var(--white); border-color: var(--primary-blue); }
.footer-bottom { border-top: 1px solid var(--border-color); padding: 20px 0; text-align: center; color: var(--text-muted); font-size: 0.9rem; }

/* --- Auth Pages --- */
.auth-body { background-color: var(--bg-light); display: flex; justify-content: center; align-items: center; min-height: 100vh; padding: 20px; }
.auth-container { width: 100%; max-width: 420px; }
.auth-form-container { background: var(--white); padding: 40px; border-radius: 16px; box-shadow: var(--shadow-lg); text-align: center; }
.auth-logo { font-weight: 700; text-decoration: none; font-size: 1.5rem; margin-bottom: 25px; display: inline-block; color: var(--primary-blue); }
.auth-form-container h2 { font-size: 2rem; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.auth-form-container form { text-align: left; }
.auth-form-container .form-group { margin-bottom: 20px; }
.auth-form-container .form-group label { font-weight: 500; color: var(--text-dark); display: block; margin-bottom: 8px; }
.auth-form-container .form-group input { width: 100%; padding: 12px 15px; border: 1px solid var(--border-color); border-radius: 8px; font-size: 1rem; }
.auth-btn { width: 100%; padding: 12px; font-size: 1rem; font-weight: 600; margin-top: 10px; }
.auth-switch { margin-top: 30px; font-size: 1rem; color: var(--text-muted); }
.auth-switch a { color: var(--primary-blue); font-weight: 600; text-decoration: none; }


/* --- RESPONSIVE STYLES FOR MOBILE / TABLET --- */
@media (max-width: 992px) {
    .main-nav { padding: 0 15px; } /* Adjust main-nav padding for smaller screens */

    /* Desktop navigation elements are HIDDEN on mobile */
    #desktop-nav-links,
    #desktop-nav-right {
        display: none;
    }

    body{
        overflow-x: hidden;
        justify-content: center;
        width: 100%;
    }

    /* Hamburger icon is SHOWN on mobile */
    .hamburger {
        display: block;
        z-index: 1002;
    }

    /* When mobile menu is open, body gets a class */
    body.mobile-menu-open .mobile-menu {
        transform: translateX(0); /* Slide mobile menu into view */
    }

    section{
        padding: 10px;
    }

    .main-nav .logo{
        font-size: 2rem;
    }



    .mobile-menu a{
        overflow: hidden;
        display: block;

    }

    /* General Layout Adjustments */
    .hero { grid-template-columns: 1fr; text-align: center; padding: 60px 0; }
    .hero-content { order: 1; }
    .hero-image { order: 2; margin-bottom: 30px; justify-self: center; width: 90%; }
    .hero-subtitle { margin-left: auto; margin-right: auto; max-width: 90%; }
    .hero-content h1 { font-size: 2.8rem; } /* Adjusted for mobile */

    .section-title { margin-bottom: 40px; }
    .section-title h2, .cta-section h2 { font-size: 2.4rem; }
    .section-title p { font-size: 1rem; }

    .partner-logos { gap: 30px; } /* Reduce gap for smaller screens */
    .partner-logos img { height: 35px; }

    .services-section,
    .procurement-details-section,
    .why-choose-us-section,
    .how-it-works-section,
    .cta-section {
        padding: 80px 0; /* Slightly reduce section padding */
        justify-self: center;
        width: 90%;
    }
    .services-grid.two-cols,
    .procurement-grid { grid-template-columns: 1fr; justify-self: center; width: 90%;}
    .procurement-image { order: -1; margin-bottom: 40px; }

    .procurement-content h2 { font-size: 2.4rem; }
    .procurement-content .section-subtitle { font-size: 1rem; }
    .procurement-steps { padding-left: 20px; /* Adjust for mobile list */ }
    .procurement-steps li { font-size: 1.1rem; padding-left: 40px; margin-bottom: 20px; }
    .procurement-steps li i { left: 5px; font-size: 1.3rem; }
    .procurement-steps li:not(:last-child)::before { left: 16px; top: 30px; height: 25px; }


    .stats-grid { grid-template-columns: 1fr 1fr; } /* 2 columns for tablets */
    .stat-item .stat-number { font-size: 2.5rem; }

    .how-it-works-grid::before { left: 16px; } /* Adjust timeline line position */
    .step-number { width: 40px; height: 40px; font-size: 1rem; border: 3px solid var(--bg-light); }
    .step-item { gap: 15px; }
    .step-content h4 { font-size: 1.2rem; }
    .step-content p { font-size: 0.95rem; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-col h4 { margin-bottom: 15px; }
    .social-icons { justify-content: flex-start; }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .section-title h2, .cta-section h2 { font-size: 2rem; }
    .stat-item .stat-number { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col { margin-bottom: 20px; }
    .footer-col:last-child { margin-bottom: 0; }
    .social-icons { justify-content: center; } /* Center social icons on smallest screens */
    .footer-col h4 { text-align: center; } /* Center footer titles */

    /* Smallest screen adjustments */
    .hero { padding: 40px 0; }
    .services-section,
    .procurement-details-section,
    .why-choose-us-section,
    .how-it-works-section,
    .cta-section {
        padding: 60px 0;
    }
    .procurement-content h2 { font-size: 2rem; }
    .procurement-steps { padding-left: 0; } /* Remove extra padding for smallest */
    .procurement-steps li { font-size: 1rem; padding-left: 30px; gap: 10px; }
    .procurement-steps li i { font-size: 1.2rem; left: 0; }
    .procurement-steps li:not(:last-child)::before { left: 10px; height: 20px; top: 25px; }
}





    /* style.css (Add this wherever you put your form styles or reusable components) */

.form-group.math-captcha-group #math-puzzle {
    font-weight: 600;
    color: var(--primary-dark);
    margin-left: 5px; /* Space between "Solve:" and the puzzle */
}

#math-error {
    margin-top: 5px;
    font-size: 0.85em;
    color: #dc3545; /* Red color for error messages */
    display: none; /* Hidden by default */
}

/* You might want to adjust the form group margin if it feels too close */
.auth-form-container .form-group {
    margin-bottom: 20px; /* Keep consistent spacing */
}


.forgot-password-link{
    text-decoration: none;
    font-weight: 500;
    color: var(--primary-blue);
    margin-top: 200px;
}  /* css/dashboard.css - The Final, Definitive Stylesheet for the User Dashboard */
/* css/dashboard.css - The Final, Definitive Stylesheet for the User Dashboard */

/* --- Main Dashboard Layout & Theme --- */
.dashboard-body {
    background-color: var(--bg-light);
    color: var(--text-dark);
}
.dashboard-body.sidebar-open {
    overflow: hidden; /* Prevent scrolling when mobile sidebar is open */
}
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}
.dashboard-main {
    flex-grow: 1;
    padding: 40px;
    overflow-y: auto; /* Allow main content to scroll if it overflows */
}
.dashboard-header {
    margin-bottom: 40px;
}
.dashboard-header h1 {
    color: var(--text-dark);
    font-size: 2.5rem;
}
.content-panel {
    display: none; /* Hidden by default, shown by JS */
    opacity: 0; /* For smooth transitions */
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.content-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* --- Sidebar --- */
.sidebar {
    width: 280px; /* Slightly wider sidebar */
    background-color: var(--white);
    border-right: 1px solid var(--border-color);
    padding: 30px;
    flex-shrink: 0;
    transition: transform 0.3s ease-in-out;
}
.sidebar .logo {
    color: var(--primary-blue);
    margin-bottom: 40px;
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
}
.sidebar-profile {
    display: flex;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}
.profile-avatar {
    width: 45px; /* Slightly larger avatar */
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 1.2rem; /* Make initial stand out */
}
.profile-info {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}
.profile-name {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
}
.profile-id {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.sidebar-nav ul {
    list-style: none;
    padding: 0;
}
.sidebar-nav li {
    margin-bottom: 8px; /* Slightly reduced margin */
}
.sidebar-nav a {
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.sidebar-nav a:hover {
    color: var(--primary-blue);
    background: #e6f0ff;
}
.sidebar-nav a.active {
    background-color: var(--primary-blue);
    color: var(--white);
    font-weight: 600;
}
.sidebar-nav .icon {
    font-size: 1.2rem;
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

/* --- Dashboard Cards & Components --- */
.dash-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dash-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.dash-card h3 {
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--primary-dark);
}
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.stat-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center; /* Center content in stat cards */
}
.stat-card .icon { font-size: 1.8rem; margin-bottom: 10px; color: var(--primary-blue); } /* Larger icon */
.stat-card .value { color: var(--text-dark); font-size: 2.2rem; font-weight: 700; margin-bottom: 5px; } /* Larger value */
.stat-card .label { color: var(--text-muted); font-size: 0.95rem; }
.quick-actions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.action-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; text-decoration: none; background: #f1f3f5; color: var(--text-dark); padding: 30px 20px; border-radius: 12px; transition: background 0.3s ease; font-weight: 500; }
.action-card:hover { background: #e9ecef; }
.action-card i { font-size: 2.2rem; margin-bottom: 15px; color: var(--primary-blue); }
.shipment-list { display: flex; flex-direction: column; gap: 20px; }
.shipment-item-detailed {
    display: grid;
    grid-template-columns: auto 1fr auto auto; /* image, info, progress, eta */
    align-items: center;
    gap: 20px;
    background-color: var(--bg-light); /* Slight background for items */
    padding: 15px;
    border-radius: 8px;
}
.shipment-image { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; }
.shipment-info strong { color: var(--primary-dark); font-size: 1.1rem; }
.progress-container { display: flex; align-items: center; gap: 10px; width: 120px; }
.progress-bar { flex-grow: 1; height: 8px; background-color: #e9ecef; border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; background-color: var(--secondary-green); border-radius: 4px; } /* Define secondary-green if not existing */
.eta { font-weight: 600; text-align: right; color: var(--text-dark); }
.card-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 15px; }
.card-toolbar input { padding: 10px 15px; border: 1px solid var(--border-color); border-radius: 8px; width: 250px; background-color: var(--bg-light); color: var(--text-dark); }
.btn-icon { background: none; border: 1px solid var(--border-color); color: var(--text-muted); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; transition: all .2s ease; }
.btn-icon:hover { background-color: var(--bg-light); color: var(--primary-blue); }
.address-card { background: var(--bg-light); border: 1px solid var(--border-color); color: var(--text-dark); border-radius: 12px; padding: 25px; line-height: 2; font-size: 1.05rem; }
#copy-address-btn { width: 100%; margin-top: 20px; }
#copy-address-btn.copied { background-color: #5cb85c; border-color: #5cb85c; color: var(--white); }
.important-notes { margin-top: 20px; padding: 15px; background: #fffbe6; border: 1px solid #ffe58f; border-radius: 8px; }
.important-notes h4 { color: #d46b08; margin-bottom: 10px; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.important-notes h4 i { font-size: 1.3rem; }

/* --- General Table Styles (Applied to link orders) --- */
.data-table {
    width: 100%;
    border-collapse: collapse;
}
.data-table .table-header {
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    display: inline-block;
    /* !!! CRITICAL FIX: Desktop column layout !!! */
    grid-template-columns: 0.8fr 2.5fr 1fr 1.2fr 0.8fr 0.3fr; /* Order ID, Product, Date, Status, Total, Actions */
    gap: 10px;
    padding-bottom: 10px;
    padding-top: 10px;
    text-align: left; /* Ensure text alignment */
}
.data-table .table-header div:last-child {
    text-align: right; /* Align action icon column */
}
.data-table .table-row {
    display: grid;
    /* !!! CRITICAL FIX: Desktop column layout !!! */
    grid-template-columns: 0.8fr 2.5fr 1fr 1.2fr 0.8fr 0.3fr; /* Order ID, Product, Date, Status, Total, Actions */
    gap: 10px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}
.data-table .table-row:last-child {
    border-bottom: none;
}
/* Ensure product/status text doesn't wrap unnecessarily if it's long */
.data-table .table-row > div:nth-child(2), /* Product column */
.data-table .table-row > div:nth-child(4) { /* Status column */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.data-table .table-row > div:last-child {
    text-align: right; /* Align action icon column */
}

/* --- Status Badges (already good) --- */
.amount-credit { color: #237804; font-weight: 600; }
.amount-debit { color: #cf1322; font-weight: 600; }
.status-badge { padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; text-align: center; display: inline-block; }
.status-processing { background-color: #e6f0ff; color: #0052FF; }
.status-transit { background-color: #f3eaff; color: #8a3ffc; }
.status-delivered { background-color: #e6fff8; color: #008a75; }
.status-cancelled { background-color: #f7f7f7; color: var(--text-muted); border: 1px solid var(--border-color); }
.text-right { text-align: right; }

/* --- Settings Forms (already good) --- */
.settings-form { margin-top: 20px; }
.settings-form .form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.settings-form .form-group input { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 1rem; background: var(--white); color: var(--text-dark); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.settings-form .form-group input:focus { border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.15); outline: none; }
.settings-form .form-group input:disabled { opacity: 0.6; background: var(--bg-light); cursor: not-allowed; }
.settings-form .form-group-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.settings-form .btn { margin-top: 10px; }
.danger-zone { border-color: #ff4d4f; }
.danger-zone h3 { color: #cf1322; }
.danger-zone-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }


/* --- Base Modal Overlay Styles (from last successful fix) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000; /* Increased z-index to ensure it's on top of everything */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--white);
    color: var(--text-dark);
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 450px; /* Default width for standard modals */
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);

    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
}


/* --- Order Form Modal Specific Styles (already good) --- */
.modal-content.large-modal {
    max-width: 700px;
    padding: 30px;
}
.modal-form .form-group { margin-bottom: 20px; }
.modal-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.modal-form .weight-input-group { display: flex; align-items: center; gap: 10px; }
.modal-form .weight-input-group input, .modal-form .weight-input-group select {
    flex-grow: 1; padding: 12px 15px; border: 1px solid var(--border-color); border-radius: 8px;
    font-family: 'Inter', sans-serif; font-size: 1rem; background: var(--white); color: var(--text-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.modal-form input[type="text"], .modal-form input[type="url"], .modal-form input[type="number"], .modal-form textarea {
    width: 100%; padding: 12px 15px; border: 1px solid var(--border-color); border-radius: 8px;
    font-family: 'Inter', sans-serif; font-size: 1rem; background: var(--white); color: var(--text-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.modal-form input:focus, .modal-form select:focus, .modal-form textarea:focus {
    border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.15); outline: none;
}
.modal-form textarea { resize: vertical; min-height: 80px; }
.modal-form .file-upload-wrapper {
    position: relative; border: 2px dashed var(--border-color); border-radius: 8px;
    padding: 20px; text-align: center; cursor: pointer; transition: all 0.3s ease;
}
.modal-form .file-upload-wrapper:hover { border-color: var(--primary-blue); background-color: var(--bg-light); }
.modal-form .file-input { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.modal-form .file-label {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: var(--text-muted); font-size: 1rem;
}
.modal-form .file-label i { font-size: 2.5rem; margin-bottom: 10px; color: var(--primary-blue); }
.modal-form .live-summary-card {
    padding: 20px; margin-top: 30px; margin-bottom: 20px; border: 1px solid var(--border-color);
    border-radius: 8px; box-shadow: none;
}
.modal-form .live-summary-card h3 { margin-bottom: 15px; font-size: 1.2rem; color: var(--primary-dark); }
.modal-form .exchange-rate-display { text-align: center; margin-bottom: 15px; font-size: 0.95rem; color: var(--text-muted); }
.modal-form .exchange-rate-display span { font-weight: 600; color: var(--primary-dark); }
.modal-form .cost-breakdown { border-top: 1px dashed var(--border-color); padding-top: 15px; margin-bottom: 15px; }
.modal-form .summary-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.95rem; color: var(--text-body); }
.modal-form .summary-row span:last-child { font-weight: 600; color: var(--primary-dark); }
.modal-form .summary-row.total {
    border-top: 1px solid var(--border-color); padding-top: 10px; margin-top: 10px;
    font-size: 1.1rem; font-weight: 700; color: var(--primary-blue);
}
.modal-form .summary-note { font-size: 0.85rem; color: var(--text-muted); text-align: center; margin-top: 10px; }


/* --- NEW: Order Details Modal Specific Styles --- */
.modal-content.medium-modal {
    max-width: 500px; /* Slightly smaller than large-modal */
    padding: 25px;
}
.order-details-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    font-size: 0.95rem;
}
.order-details-content .detail-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--border-color);
}
.order-details-content .detail-row:last-child {
    border-bottom: none;
}
.order-details-content .detail-row span:first-child {
    font-weight: 600;
    color: var(--primary-dark);
    margin-right: 10px; /* Space between label and value */
    flex-shrink: 0; /* Prevent label from shrinking */
}
.order-details-content .detail-row span:last-child,
.order-details-content .detail-row a {
    text-align: right;
    color: var(--text-body);
    word-break: break-all; /* Allow long links to break words */
    text-decoration: none;
    color: var(--primary-blue);
}
.order-details-content .detail-row a:hover {
    text-decoration: underline;
}
.order-details-content .detail-row.full-width {
    flex-direction: column; /* Stack label and value */
    align-items: flex-start;
    gap: 5px;
}
.order-details-content .detail-row.full-width span:first-child {
    width: 100%;
    margin-bottom: 5px;
}


/* --- Mobile Dashboard --- */
.mobile-dashboard-header { display: none; }
.mobile-overlay { display: none; }
@media (max-width: 992px) {
    .mobile-dashboard-header { display: flex; align-items: center; margin-bottom: 20px; padding: 0 15px; }
    .mobile-dashboard-header .hamburger { display: inline-block; background: none; border: none; font-size: 1.5rem; margin-right: 15px; color: var(--text-dark); }
    .mobile-header-title { font-size: 1.5rem; font-weight: 600; color: var(--primary-dark); }
    .sidebar { position: fixed; top: 0; left: 0; height: 100%; z-index: 1002; transform: translateX(-100%); box-shadow: var(--shadow-lg); }
    body.sidebar-open .sidebar { transform: translateX(0); }
    .mobile-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); z-index: 1001; }
    body.sidebar-open .mobile-overlay { display: block; }
    .dashboard-main { width: 100%; }

    /* !!! CRITICAL FIX: MOBILE TABLE RESPONSIVENESS !!! */
    .data-table .table-header,
    .data-table .table-row {
        /* On mobile, only show Order ID, Status, and the action button */
        grid-template-columns: 1.5fr 1.5fr 0.5fr; /* ID, Status, Action Button */
        gap: 5px; /* Reduce gap */
        padding: 10px 0;
        font-size: 0.9rem;
    }
    /* Hide desktop-only columns */
    .data-table .desktop-col {
        display: none;
    }
    /* Adjust alignment for remaining columns */
    .data-table .table-header div:last-child,
    .data-table .table-row > div:last-child {
        text-align: center; /* Center the 3 dots button */
    }
    .data-table .table-row > div:nth-child(1), /* Order ID */
    .data-table .table-row > div:nth-child(2) { /* Status */
        text-align: left;
    }
    .status-badge {
        font-size: 0.75rem; /* Smaller badge text */
        padding: 3px 8px;
    }
}
@media (max-width: 768px) {
    .dashboard-main { padding: 20px; }
    .dashboard-header h1 { font-size: 2rem; }
    .dashboard-grid, .settings-form .form-group-grid { grid-template-columns: 1fr; }
    .danger-zone-content { flex-direction: column; align-items: flex-start; gap: 10px; }
    .shipment-item-detailed { grid-template-columns: auto 1fr; grid-template-areas: "img info" "progress progress" "eta eta"; }
    .shipment-image { grid-area: img; } .shipment-info { grid-area: info; } .progress-container { grid-area: progress; } .eta { grid-area: eta; text-align: left; margin-top: 10px; }
}


/* css/contact.css - New Dedicated Styles for the Contact Us Page */

/* --- General Section Padding --- */
.contact-page-header,
.contact-main-grid,
.contact-lower-cta-section {
    padding: 80px 0;
}

.contact{
    overflow-x: hidden;
    align-items: center;
}



/* --- Contact Page Header --- */
.contact-page-header {
    text-align: center;
    margin-bottom: 40px;
}
.contact-page-header .breadcrumbs {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    letter-spacing: 0.5px; /* Added letter spacing */
    text-transform: uppercase; /* Added uppercase */
}
.contact-page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
}
.contact-page-header .description {
    font-size: 1.1rem;
    color: var(--text-body);
    max-width: 700px;
    margin: 0 auto 10px auto;
    line-height: 1.6;
}

/* --- Contact Main Grid (Info Blocks + Form) --- */
.contact-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 2fr; /* Info blocks slightly smaller, form larger */
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 80px;
    background-color: var(--white); /* Added background for the whole grid area */
    border-radius: 16px; /* Rounded corners for the grid area */
    box-shadow: var(--shadow-lg); /* Soft shadow */
    padding: 40px; /* Internal padding for the grid */
    border: 1px solid var(--border-color); /* Subtle border */
}

.contact-info-blocks {
    display: grid;
    grid-template-columns: 1fr; /* Stack blocks vertically */
    gap: 20px;
    padding-right: 20px; /* Space from the form */
}
.contact-block {
    background-color: var(--bg-light); /* Lighter background for info blocks */
    padding: 25px;
    border-radius: 12px;
    /* box-shadow: var(--shadow); Removed redundant shadow */
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.contact-block:hover {
    transform: translateY(-3px); /* Subtle lift */
    background-color: #e6f0ff; /* Light blue on hover */
    border-color: var(--primary-blue);
}
.contact-block h4 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-weight: 600;
}
.contact-block p {
    color: var(--text-body);
    margin-bottom: 10px;
    font-size: 0.95rem;
}
.contact-block a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.contact-block a:hover {
    text-decoration: underline;
}

.contact-form-card {
    /* Reuses .dash-card styling, but often needs less padding for form */
    padding: 0; /* Removed padding here as it's part of the parent grid now */
    border: none; /* Remove border if parent grid has one */
    box-shadow: none; /* Remove shadow if parent grid has one */
    background: none; /* Remove background if parent grid has one */
}
.contact-form-card h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
    font-weight: 700;
}

/* Form Specific Styles (similar to auth forms) */
.contact-form-card .form-group {
    margin-bottom: 20px;
}
.contact-form-card label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}
.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="subject"], /* Specific for subject input */
.contact-form-card textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background: var(--white);
    color: var(--text-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form-card input:focus,
.contact-form-card textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.15);
    outline: none;
}
.contact-form-card textarea {
    resize: vertical;
    min-height: 120px;
}
.contact-form-card .form-grid-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.contact-form-card .btn-primary {
    width: auto;
    margin-top: 15px;
}

/* --- Lower CTA Section --- */
.contact-lower-cta-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 100px;
}
.lower-cta-card {
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    color: var(--white);
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.lower-cta-card:hover {
    transform: translateY(-5px);
}
.lower-cta-card.primary-bg {
    background-color: var(--primary-blue);
}
.lower-cta-card.secondary-info-bg {
    background-color: var(--primary-dark);
}
.lower-cta-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--white);
}
.lower-cta-card h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--white);
}
.lower-cta-card p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 20px;
    color: var(--white);
}
.lower-cta-card p.phone-number,
.lower-cta-card p.email-address {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--white);
}
.lower-cta-card p i {
    font-size: 1.2rem;
    color: var(--white);
}
.lower-cta-card .btn-white-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}
.lower-cta-card .btn-white-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
}


/* --- Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366; /* WhatsApp green */
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    font-size: 28px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}
.whatsapp-float i {
    margin-top: 0;
    color: var(--white);
}

/* --- Status Message Styling (Success/Error) --- */
.auth-message {
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}
#contact-message-status.success {
    background-color: #e6fff8;
    color: #008a75;
}
#contact-message-status.error {
    background-color: #fff1f0;
    color: #cf1322;
}


/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .contact-page-header {
        padding: 60px 0;
        margin-bottom: 30px;
    }
    .contact-page-header h1 {
        font-size: 2.8rem;
    }
    .contact-page-header .description {
        font-size: 1.1rem;
    }

    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
        padding: 30px; /* Adjust padding for stacked layout */
    }
    .contact-info-blocks {
        padding-right: 0; /* Remove right padding when stacked */
    }
    .contact-block {
        padding: 25px;
    }
    .contact-block h4 {
        font-size: 1.2rem;
    }
    .contact-form-card {
        padding: 0; /* No card padding when stacked */
    }
    .contact-form-card h3 {
        font-size: 1.8rem;
        text-align: center;
    }
    .contact-lower-cta-section {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 80px;
        padding: 30px; /* Add padding to section */
    }
    .lower-cta-card {
        padding: 30px;
    }
    .lower-cta-card h2 {
        font-size: 1.8rem;
    }
    .lower-cta-card p {
        font-size: 1rem;
    }
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .contact-page-header {
        padding: 40px 0;
        margin-bottom: 20px;
    }
    .contact-page-header h1 {
        font-size: 2.2rem;
    }
    .contact-page-header .description {
        font-size: 1rem;
    }
    .contact-main-grid {
        gap: 30px;
        margin-bottom: 40px;
    }
    .contact-block {
        padding: 20px;
    }
    .contact-block h4 {
        font-size: 1.1rem;
    }
    .contact-form-card h3 {
        font-size: 1.5rem;
    }
    .contact-lower-cta-section {
        margin-bottom: 60px;
    }
    .lower-cta-card {
        padding: 25px;
    }
    .lower-cta-card h2 {
        font-size: 1.5rem;
    }
    .lower-cta-card p {
        font-size: 0.9rem;
    }
}


/* css/faq.css - New Dedicated Styles for the FAQ Page (FIXED SPACING) */

/* --- FAQ Hero Section --- */
.faq-hero {
    background: linear-gradient(rgba(0, 82, 255, 0.7), rgba(0, 82, 255, 0.7)), url('https://images.pexels.com/photos/1036329/pexels-photo-1036329.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') center center/cover no-repeat; /* Placeholder image */
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    margin-bottom: 60px;
}
.faq-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.faq-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* --- FAQ Accordion Section --- */
.faq-accordion-section {
    padding: 60px 0;
    max-width: 900px; /* Max width for accordion content */
    margin: 0 auto; /* Center the accordion */
    margin-bottom: 100px;
}

.faq-accordion {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden; /* Ensures rounded corners apply to content */
    box-shadow: var(--shadow-lg);
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
    /* FIXED: Added margin between items */
    margin-bottom: 10px; /* Space between accordion items */
    border-radius: 8px; /* Rounded corners for individual items */
    overflow: hidden; /* Ensure content is clipped */
    transition: all 0.3s ease; /* Smooth transition for background/border */
}
.accordion-item:last-child {
    border-bottom: none; /* No border on the last item */
    margin-bottom: 0; /* No margin on the last item */
}
.accordion-item.active {
    background-color: var(--primary-blue); /* Active item background */
    border-color: var(--primary-blue);
    color: var(--white);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 25px;
    background-color: var(--white);
    color: var(--primary-dark);
    font-size: 1.15rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.accordion-header:hover {
    background-color: var(--bg-light);
    color: var(--primary-blue);
}
.accordion-item.active .accordion-header {
    background-color: var(--primary-blue); /* Override hover background when active */
    color: var(--white);
}

.accordion-icon {
    font-size: 1.1rem;
    color: var(--text-muted); /* Default icon color */
    transition: transform 0.3s ease, color 0.2s ease;
}
.accordion-item.active .accordion-icon {
    color: var(--white); /* White icon when active */
    transform: rotate(180deg); /* Rotate for 'up' arrow */
}

.accordion-content {
    background-color: #fcfcfc; /* Light background for content */
    padding: 0 25px;
    max-height: 0; /* Hidden by default */
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}
.accordion-item.active .accordion-content {
    max-height: 200px; /* Adjust as needed or use JS to calculate dynamic height */
    padding: 20px 25px;
    border-top: 1px solid var(--border-color); /* Separator for content */
}
.accordion-content p {
    font-size: 1rem;
    line-height: 1.8; /* FIXED: Increased line height for readability */
    color: var(--text-body);
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .faq-hero {
        padding: 80px 0;
        margin-bottom: 40px;
    }
    .faq-hero h1 {
        font-size: 2.8rem;
    }
    .faq-hero p {
        font-size: 1.1rem;
    }
    .faq-accordion-section {
        padding: 40px 0;
        margin-bottom: 60px;
    }
    .accordion-header {
        font-size: 1.05rem;
        padding: 18px 20px;
    }
    .accordion-content {
        padding: 15px 20px;
    }
    .accordion-content p {
        font-size: 0.95rem;
    }
     .accordion-item{
        padding-top: 200px;
    }

}

@media (max-width: 768px) {
    .faq-hero {
        padding: 60px 0;
        margin-bottom: 30px;
    }
    .faq-hero h1 {
        font-size: 2.2rem;
    }
    .faq-hero p {
        font-size: 1rem;
    }
    .faq-accordion-section {
        padding: 30px 0;
        margin-bottom: 40px;
    }
    .accordion-header {
        font-size: 1rem;
        padding: 15px;
    }
    .accordion-icon {
        font-size: 1rem;
        margin-left: 10px;
    }
    .accordion-content {
        padding: 15px;
    }

    .accordion-item{
        padding-top: 200px;
    }
}

/* css/about.css - New Dedicated Styles for the About Us Page */

/* --- About Hero Section --- */
.about-hero-section {
    background: linear-gradient(rgba(0, 82, 255, 0.7), rgba(0, 82, 255, 0.7)), url('https://images.pexels.com/photos/3184328/pexels-photo-3184328.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') center center/cover no-repeat; /* Placeholder image */
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    margin-bottom: 60px;
}
.about-hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.about-hero-section .hero-subtitle { /* Using existing class name for consistency */
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Our Mission Section --- */
.our-mission-section {
    padding: 80px 0;
    margin-bottom: 60px;
}
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Content on left, image on right */
    gap: 60px;
    align-items: center; /* Vertically align items */
}
.mission-content h2 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 25px;
}
.mission-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 15px;
}
.mission-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* --- Our Values Section --- */
.our-values-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    text-align: center;
    margin-bottom: 60px;
}
.our-values-section .section-title { /* Reusing section-title for consistent heading */
    margin-bottom: 50px;
}
.our-values-section .section-title h2 {
    color: var(--primary-dark);
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.value-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.value-card .value-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}
.value-card h4 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-weight: 600;
}
.value-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-body);
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .about-hero-section {
        padding: 80px 0;
        margin-bottom: 40px;
    }
    .about-hero-section h1 {
        font-size: 2.8rem;
    }
    .about-hero-section .hero-subtitle {
        font-size: 1.1rem;
    }

    .our-mission-section {
        padding: 60px 0;
        margin-bottom: 40px;
    }
    .mission-grid {
        grid-template-columns: 1fr; /* Stack content and image vertically */
        gap: 40px;
    }
    .mission-content h2 {
        font-size: 2.2rem;
        text-align: center; /* Center text heading */
    }
    .mission-content p {
        text-align: center; /* Center text paragraphs */
    }

    .our-values-section {
        padding: 60px 0;
        margin-bottom: 40px;
    }
    .our-values-section .section-title {
        margin-bottom: 40px;
    }
    .our-values-section .section-title h2 {
        font-size: 2.2rem;
    }
    .values-grid {
        gap: 20px;
    }
    .value-card {
        padding: 25px;
    }
    .value-card h4 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .about-hero-section {
        padding: 60px 0;
        margin-bottom: 30px;
    }
    .about-hero-section h1 {
        font-size: 2.2rem;
    }
    .about-hero-section .hero-subtitle {
        font-size: 1rem;
    }

    .our-mission-section {
        padding: 40px 0;
        margin-bottom: 30px;
    }
    .mission-content h2 {
        font-size: 1.8rem;
    }
    .mission-content p {
        font-size: 1rem;
    }

    .our-values-section {
        padding: 40px 0;
        margin-bottom: 30px;
    }
    .our-values-section .section-title h2 {
        font-size: 1.8rem;
    }
    .value-card {
        padding: 20px;
    }
    .value-card h4 {
        font-size: 1.2rem;
    }
}