/* ==========================================================================
   TASKMATE LTD - DESIGN SYSTEM & STYLESHEET
   Branding Strategy 2026 Compliant | WCAG AA Contrast (4.5:1) Approved
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & RESET
   -------------------------------------------------------------------------- */
:root {
    /* Color Tokens */
    --navy-primary: #0B2545;
    --navy-dark: #081A33;
    --gold-heritage: #C9A227;
    --gold-light: #E8D48A;
    --neutral-slate: #44536A;
    --neutral-light: #EDF1F5;
    --neutral-bg: #F7F8FA;
    --white: #FFFFFF;
    
    /* Semantic Colors */
    --success: #1E7B4D;
    --warning: #C97A1F;
    --error: #B23A2F;
    --info: #2E6E9E;
    
    /* Typography */
    --font-heading: 'Montserrat', 'Poppins', sans-serif;
    --font-body: 'Inter', 'Calibri', sans-serif;
    --font-alt: 'Plus Jakarta Sans', sans-serif;
    
    /* Layout Details */
    --header-height: 80px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --box-shadow-sm: 0 2px 4px rgba(8, 26, 51, 0.05);
    --box-shadow-md: 0 10px 20px rgba(8, 26, 51, 0.08);
    --box-shadow-lg: 0 20px 40px rgba(8, 26, 51, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--navy-primary);
    background-color: var(--neutral-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--neutral-light);
}
::-webkit-scrollbar-thumb {
    background: var(--neutral-slate);
    border-radius: var(--border-radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--navy-primary);
}

/* --------------------------------------------------------------------------
   2. REUSABLE UTILITIES & LAYOUT
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-navy { color: var(--navy-primary); }

.divider {
    height: 3px;
    width: 60px;
    margin: 16px 0;
    border-radius: var(--border-radius-sm);
}
.gold-divider {
    background: linear-gradient(90deg, var(--gold-light), var(--gold-heritage));
}
.gold-divider.center {
    margin: 16px auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-heritage));
    color: var(--navy-dark);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
    background: linear-gradient(135deg, var(--gold-heritage), #A67C1E);
    color: var(--white);
}

.btn-navy {
    background-color: var(--navy-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(11, 37, 69, 0.2);
}
.btn-navy:hover {
    transform: translateY(-2px);
    background-color: var(--navy-dark);
    box-shadow: 0 6px 20px rgba(8, 26, 51, 0.3);
    border-color: var(--gold-heritage);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline:hover {
    background-color: var(--white);
    color: var(--navy-dark);
    transform: translateY(-2px);
}

.btn-navy-outline {
    background-color: transparent;
    color: var(--navy-primary);
    border-color: var(--navy-primary);
}
.btn-navy-outline:hover {
    background-color: var(--navy-primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-disabled, .btn-disabled:hover {
    background: var(--neutral-light) !important;
    color: var(--neutral-slate) !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
    border-color: transparent !important;
}

/* Helper Animation triggers */
.hover-lift {
    transition: var(--transition-normal);
}
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-lg);
}

/* --------------------------------------------------------------------------
   3. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold-heritage));
    width: 0%;
    z-index: 1001;
    transition: width 0.1s ease-out;
}

#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    transition: var(--transition-normal);
}

#main-header.scrolled {
    background-color: rgba(8, 26, 51, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow-md);
    height: 70px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    transition: var(--transition-normal);
}

.logo-img {
    height: 48px; /* Bigger & clearer icon */
    width: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px; /* Smooth rounded corners for the white-bg icon */
    transition: var(--transition-normal);
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.15));
}

.logo:hover {
    transform: none;
    box-shadow: none;
}

.logo:hover .logo-img {
    transform: rotate(15deg) scale(1.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px; /* Bigger wordmark font */
    letter-spacing: 1px;
    color: var(--white);
    line-height: 1.1;
}

.logo-title .gold-letter {
    color: var(--gold-heritage);
}

.logo-sub {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 3.5px;
    margin-top: -2px;
    align-self: flex-end;
}

.mobile-menu-drawer .logo {
    gap: 10px;
}

.mobile-menu-drawer .logo-img {
    height: 40px;
}

.footer-logo {
    display: flex;
    gap: 14px;
    margin-bottom: 12px;
    max-width: none;
}

.footer-logo .logo-img {
    height: 44px;
}

.desktop-nav ul {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
    border-color: var(--gold-heritage);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile toggle button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle .bar {
    width: 25px;
    height: 2.5px;
    background-color: var(--white);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

/* Scrolled variations */
#main-header:not(.scrolled) .nav-link {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
   4. MOBILE DRAWER MENU
   -------------------------------------------------------------------------- */
.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background-color: var(--navy-dark);
    z-index: 1010;
    padding: 32px 24px;
    box-shadow: var(--box-shadow-lg);
    transform: translateX(100%);
    transition: transform var(--transition-fast);
    overflow-y: auto;
    will-change: transform;
}

.mobile-menu-drawer.open {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
}

.drawer-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    display: block;
    padding: 8px 0;
}

.mobile-nav-link:hover {
    color: var(--gold-light);
    padding-left: 8px;
}

.drawer-cta {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.drawer-contact-info {
    font-family: var(--font-heading);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer-contact-info a:hover {
    color: var(--gold-light);
}

.rc-label {
    font-weight: 600;
    color: var(--gold-heritage);
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 26, 51, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1009;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 650px;
    background-color: var(--navy-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 26, 51, 0.95) 30%, rgba(8, 26, 51, 0.7) 100%);
    z-index: 1;
}

.hero-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    animation: zoomEffect 20s infinite alternate;
}

@keyframes zoomEffect {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-container {
    position: relative;
    z-index: 2;
    margin-top: 60px;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-title .hero-line {
    display: block;
}

.hero-title .hero-line:nth-child(2) {
    color: var(--gold-heritage);
}

.hero-description {
    font-size: 18px;
    font-weight: 400;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.7;
    font-family: var(--font-alt);
    border-left: 3px solid var(--gold-heritage);
    padding-left: 20px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-buttons .arrow {
    margin-left: 8px;
    transition: var(--transition-fast);
}

.hero-buttons .btn-gold:hover .arrow {
    transform: translateX(4px);
}

/* Sub-badges Bar */
.hero-badges-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(8, 26, 51, 0.85);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 16px 0;
    z-index: 2;
}

.badges-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
}

.badge-icon {
    color: var(--gold-heritage);
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   6. STATS SECTION
   -------------------------------------------------------------------------- */
.stats-section {
    padding: 60px 0;
    background-color: var(--white);
    box-shadow: var(--box-shadow-sm);
    position: relative;
    z-index: 3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.stat-card {
    background-color: var(--neutral-bg);
    border: 1px solid rgba(11, 37, 69, 0.08);
    border-radius: var(--border-radius-md);
    padding: 24px 16px;
    text-align: center;
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-md);
    border-color: var(--gold-heritage);
}

.stat-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(201, 162, 39, 0.1);
    color: var(--gold-heritage);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: var(--transition-fast);
}

.stat-card:hover .stat-icon-wrapper {
    background-color: var(--navy-primary);
    color: var(--gold-light);
}

.stat-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    color: var(--navy-primary);
    margin-bottom: 6px;
}

.stat-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--neutral-slate);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   7. ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-section {
    padding: 100px 0;
    background-color: var(--neutral-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.section-subtitle {
    display: block;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--gold-heritage);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.about-desc-p {
    font-size: 15px;
    color: var(--neutral-slate);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-desc-p.highlight-p {
    font-weight: 500;
    color: var(--navy-primary);
    border-left: 3px solid var(--gold-light);
    padding-left: 16px;
}

.about-ctas {
    margin-top: 32px;
}

/* Country Cards showcase */
.about-countries-showcase {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
}

.countries-wrapper {
    display: flex;
    gap: 16px;
    height: 300px;
    align-items: stretch;
}

.country-card {
    flex: 1;
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-slow);
    box-shadow: var(--box-shadow-sm);
}

.country-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition-slow);
}

.country-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8, 26, 51, 0.2) 0%, rgba(8, 26, 51, 0.85) 100%);
    transition: var(--transition-normal);
}

.country-card-content {
    position: absolute;
    bottom: 24px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.country-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    color: var(--white);
    letter-spacing: 2px;
    transition: var(--transition-fast);
}

/* Card hover animation */
.country-card:hover {
    flex: 1.5;
    box-shadow: var(--box-shadow-lg);
    border: 1px solid var(--gold-heritage);
}

.country-card:hover .country-card-bg {
    transform: scale(1.1);
}

.country-card:hover .country-card-overlay {
    background: linear-gradient(180deg, rgba(8, 26, 51, 0.1) 0%, rgba(8, 26, 51, 0.9) 100%);
}

.country-card:hover .country-label {
    color: var(--gold-light);
    transform: scale(1.1);
}

/* Curved dotted line under cards */
.connection-line-container {
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

.connection-svg {
    width: 100%;
    max-width: 400px;
    height: 50px;
    margin: 0 auto;
}

.connection-text {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--gold-heritage);
    letter-spacing: 2.5px;
    margin-top: 8px;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   8. SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-section {
    padding: 100px 0;
    background-color: var(--navy-dark);
    position: relative;
    border-top: 4px solid var(--gold-heritage);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    padding: 40px 24px;
    box-shadow: var(--box-shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-icon-container {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(11, 37, 69, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-heritage);
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon-container {
    background-color: var(--navy-primary);
    color: var(--gold-light);
}

.service-card .service-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-primary);
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.service-card .service-desc {
    font-size: 14px;
    color: var(--neutral-slate);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-link {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--gold-heritage);
    background: transparent;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
}

.service-link:hover {
    color: var(--navy-primary);
}

.service-link .arrow {
    transition: var(--transition-fast);
}

.service-link:hover .arrow {
    transform: translateX(4px);
}

.services-footer-action {
    display: flex;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   9. FEATURED PROJECTS SECTION
   -------------------------------------------------------------------------- */
.projects-section {
    padding: 100px 0;
    background-color: var(--white);
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    background-color: var(--navy-dark);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--box-shadow-md);
    display: flex;
    flex-direction: column;
}

.project-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8, 26, 51, 0) 40%, rgba(8, 26, 51, 0.4) 100%);
}

.project-content-block {
    padding: 32px 24px;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.project-meta-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.meta-icon {
    color: var(--gold-heritage);
    flex-shrink: 0;
}

.project-btn-arrow {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--gold-heritage);
    color: var(--navy-dark);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(201, 162, 39, 0.3);
    transition: var(--transition-normal);
}

.project-card:hover .project-btn-arrow {
    background-color: var(--white);
    color: var(--navy-dark);
    transform: rotate(45deg);
}

.project-card:hover .project-img {
    transform: scale(1.08);
}

/* --------------------------------------------------------------------------
   10. TRUSTED BY SECTION
   -------------------------------------------------------------------------- */
.trusted-section {
    padding: 80px 0;
    background-color: var(--neutral-bg);
    border-top: 1px solid rgba(11, 37, 69, 0.05);
    border-bottom: 1px solid rgba(11, 37, 69, 0.05);
}

.trusted-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.logo-carousel-container {
    margin-top: 40px;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.logo-track {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.partner-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    filter: grayscale(1);
    opacity: 0.55;
    transition: var(--transition-fast);
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    background-color: transparent;
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 0.9;
    background-color: var(--white);
    box-shadow: var(--box-shadow-sm);
}

.partner-logo .logo-icon {
    font-size: 28px;
    color: var(--navy-primary);
}

.partner-logo .logo-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    line-height: 1.1;
    color: var(--navy-primary);
    text-align: left;
    letter-spacing: 0.5px;
}

.partner-logo .logo-dept {
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--neutral-slate);
}

/* --------------------------------------------------------------------------
   11. CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-section {
    padding: 100px 0;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.contact-p {
    font-size: 15px;
    color: var(--neutral-slate);
    margin-bottom: 32px;
    line-height: 1.8;
}

.office-hours-card {
    background-color: var(--neutral-bg);
    border-left: 4px solid var(--gold-heritage);
    padding: 24px;
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    box-shadow: var(--box-shadow-sm);
}

.office-hours-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 8px;
}

.office-hours-card p {
    font-size: 13px;
    color: var(--neutral-slate);
    line-height: 1.6;
}

.contact-form-wrapper {
    background-color: var(--neutral-bg);
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-md);
    border: 1px solid rgba(11, 37, 69, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    color: var(--navy-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input, .form-group select, .form-group textarea {
    padding: 12px 16px;
    border: 1px solid rgba(11, 37, 69, 0.15);
    border-radius: var(--border-radius-sm);
    background-color: var(--white);
    color: var(--navy-primary);
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--gold-heritage);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.form-group textarea {
    resize: vertical;
}

/* --------------------------------------------------------------------------
   12. FOOTER SECTION
   -------------------------------------------------------------------------- */
.footer-section {
    background-color: var(--navy-dark);
    color: var(--white);
    padding: 80px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1.3fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    justify-content: flex-start;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--gold-heritage);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 8px;
    text-transform: uppercase;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--gold-heritage);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    cursor: pointer;
    background: transparent;
    border: none;
    text-align: left;
    padding: 0;
}

.footer-links a:hover {
    color: var(--gold-light);
    transform: translateX(4px);
}

.contact-detail {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-detail .icon {
    color: var(--gold-heritage);
}

.contact-detail a:hover {
    color: var(--gold-light);
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background-color: var(--gold-heritage);
    color: var(--navy-dark);
    transform: translateY(-2px);
}

/* Stamp Column styling */
.rc-text {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-light);
}

.cac-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

.cac-logo-container {
    display: inline-block;
    margin-top: 16px;
    background-color: rgba(255, 255, 255, 0.02);
    padding: 10px 16px;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
}

.cac-logo-container:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(201, 162, 39, 0.25);
    transform: translateY(-2px);
}

.cac-official-logo {
    display: block;
}

/* Copyright Bar */
.footer-bottom {
    margin-top: 60px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #06152a;
}

.bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.legal-links {
    display: flex;
    gap: 12px;
}

.legal-links a:hover {
    color: var(--white);
}

.separator {
    color: rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------------------------------
   13. MODALS & INTERACTIVE OVERLAYS
   -------------------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 26, 51, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

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

.modal-container {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-lg);
    width: 100%;
    max-width: 650px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: var(--transition-normal);
    border-top: 5px solid var(--gold-heritage);
}

.modal-overlay.open .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--navy-primary);
    font-size: 32px;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}

.modal-header {
    padding: 32px 40px 16px;
    border-bottom: 1px solid rgba(11, 37, 69, 0.08);
}

.modal-title {
    font-size: 22px;
    color: var(--navy-primary);
    margin-bottom: 6px;
}

.modal-subtitle {
    font-size: 13px;
    color: var(--neutral-slate);
}

/* Multi-Step Wizard Styling */
.step-indicator-bar {
    display: flex;
    align-items: center;
    margin-top: 24px;
    justify-content: space-between;
}

.step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    color: var(--neutral-light);
    gap: 6px;
    position: relative;
}

.step-dot span {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 10px;
    color: var(--neutral-slate);
    text-transform: capitalize;
}

.step-dot::before {
    content: '';
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--neutral-light);
    color: var(--neutral-slate);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.step-dot[data-step="1"]::before { content: '1'; }
.step-dot[data-step="2"]::before { content: '2'; }
.step-dot[data-step="3"]::before { content: '3'; }

.step-dot.active {
    color: var(--navy-primary);
}

.step-dot.active::before {
    background-color: var(--navy-primary);
    color: var(--white);
    box-shadow: 0 0 0 4px rgba(11, 37, 69, 0.1);
}

.step-dot.completed::before {
    background-color: var(--success);
    color: var(--white);
}

.step-line {
    flex-grow: 1;
    height: 2px;
    background-color: var(--neutral-light);
    margin: 0 10px;
    margin-top: -16px;
}

.step-line.active {
    background-color: var(--navy-primary);
}

.modal-body-form {
    padding: 32px 40px;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
}

.step-heading {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 24px;
}

/* Service Options Grid */
.service-option-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.service-opt-card {
    border: 1px solid rgba(11, 37, 69, 0.12);
    border-radius: var(--border-radius-md);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: left;
}

.service-opt-card:hover {
    border-color: var(--navy-primary);
    background-color: rgba(11, 37, 69, 0.02);
}

.service-opt-card.selected {
    border-color: var(--gold-heritage);
    background-color: rgba(201, 162, 39, 0.05);
    box-shadow: 0 0 0 1px var(--gold-heritage);
}

.opt-icon {
    font-size: 24px;
    color: var(--gold-heritage);
    margin-bottom: 12px;
}

.service-opt-card h5 {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 6px;
}

.service-opt-card p {
    font-size: 11px;
    color: var(--neutral-slate);
    line-height: 1.4;
}

.wizard-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    border-top: 1px solid rgba(11, 37, 69, 0.08);
    padding-top: 24px;
    margin-top: 8px;
}

/* Success Screen */
.wizard-success-screen {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 40px;
}

.wizard-success-screen.active {
    display: flex;
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(30, 123, 77, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.success-heading {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 12px;
}

.success-desc {
    font-size: 14px;
    color: var(--neutral-slate);
    max-width: 420px;
    margin-bottom: 16px;
}

.success-ref-id {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gold-heritage);
}

.success-follow-up {
    font-size: 12px;
    color: var(--neutral-slate);
    max-width: 360px;
    margin-bottom: 32px;
    line-height: 1.5;
}

/* Detail Modals */
.detail-modal {
    max-width: 750px;
    border-top-color: var(--navy-primary);
}

.detail-modal-body {
    padding: 40px;
}

.detail-header {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 32px;
}

.detail-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(201, 162, 39, 0.1);
    color: var(--gold-heritage);
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-title {
    font-size: 24px;
    color: var(--navy-primary);
}

.detail-content h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-primary);
    margin-top: 24px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.detail-content p {
    font-size: 14px;
    color: var(--neutral-slate);
    line-height: 1.7;
    margin-bottom: 16px;
}

.detail-list {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-list li {
    font-size: 13px;
    color: var(--neutral-slate);
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-list li::before {
    content: '\2713';
    color: var(--success);
    font-weight: bold;
}

/* Project Detail Specifics */
.project-detail-hero {
    height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.project-detail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8, 26, 51, 0.1) 0%, rgba(8, 26, 51, 0.8) 100%);
}

.project-detail-title-box {
    position: absolute;
    bottom: 32px;
    left: 40px;
    right: 40px;
}

.project-detail-title {
    font-size: 26px;
    color: var(--white);
}

.project-spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    margin-bottom: 32px;
}

.project-spec-table tr {
    border-bottom: 1px solid rgba(11, 37, 69, 0.08);
}

.project-spec-table td {
    padding: 12px 16px;
    font-size: 13px;
}

.project-spec-table td.spec-label {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--navy-primary);
    width: 40%;
}

.project-spec-table td.spec-value {
    color: var(--neutral-slate);
}

/* --------------------------------------------------------------------------
   14. MEDIA QUERIES (RESPONSIVENESS)
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-countries-showcase {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    .about-section, .services-section, .projects-section, .contact-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .desktop-nav, .header-actions .btn {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    #main-header:not(.scrolled) .mobile-menu-toggle .bar {
        background-color: var(--white);
    }

    #main-header.scrolled .mobile-menu-toggle .bar {
        background-color: var(--white);
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 15px;
        margin-bottom: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-container {
        padding: 0;
    }
    
    .modal-header {
        padding: 24px 24px 12px;
    }
    
    .modal-body-form {
        padding: 24px;
    }
    
    .service-option-grid {
        grid-template-columns: 1fr;
    }
    
    .bottom-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
}

@media (max-width: 580px) {
    .countries-wrapper {
        flex-direction: column;
        height: auto;
        gap: 12px;
    }
    .country-card {
        height: 120px;
        flex: none;
    }
    .country-card:hover {
        flex: none;
        height: 140px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .project-detail-title-box {
        left: 20px;
        right: 20px;
    }
    
    .project-detail-title {
        font-size: 20px;
    }
    
    .step-dot span {
        display: none;
    }
    
    .section-title {
        font-size: 26px;
    }
}

/* --------------------------------------------------------------------------
   15. ANIMATIONS & SCROLL REVEAL STATES
   -------------------------------------------------------------------------- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.scroll-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-scale.reveal-active {
    opacity: 1;
    transform: scale(1);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   16. DARK & LIGHT THEME TOGGLES & OVERRIDES (HIGH CONTRAST)
   ========================================================================= */

/* Action Divider Styling */
.action-divider {
    width: 1.5px;
    height: 22px;
    background-color: rgba(255, 255, 255, 0.2);
    align-self: center;
    transition: var(--transition-fast);
}

#main-header.scrolled .action-divider {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Header Theme Toggle */
.header-theme-toggle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    outline: none;
    padding: 0;
    margin-right: 4px;
}

.header-theme-toggle:hover {
    color: var(--gold-heritage);
    border-color: var(--gold-heritage);
    background-color: rgba(255, 255, 255, 0.08);
    transform: scale(1.05);
}

body.dark-theme .header-theme-toggle {
    color: var(--gold-heritage);
    border-color: rgba(201, 162, 39, 0.5);
}

body.dark-theme .header-theme-toggle:hover {
    color: var(--white);
    border-color: var(--white);
    background-color: rgba(255, 255, 255, 0.08);
}

/* Sun/Moon display toggle */
body.dark-theme .sun-icon {
    display: block !important;
}

body.dark-theme .moon-icon {
    display: none !important;
}

/* Smooth transitions for theme swapping */
body, section, .stat-card, .contact-form-wrapper, .form-group input, .form-group select, 
.form-group textarea, .modal-container, .service-opt-card, .about-countries-showcase,
.partner-logo, #main-header {
    transition: background-color var(--transition-normal), border-color var(--transition-normal), 
                color var(--transition-normal), box-shadow var(--transition-normal);
}

/* Dark Theme Overrides */
body.dark-theme {
    background-color: var(--navy-dark);
    color: var(--white);
}

body.dark-theme .stats-section,
body.dark-theme .projects-section,
body.dark-theme .contact-section {
    background-color: var(--navy-dark);
    color: var(--white);
}

body.dark-theme .about-section,
body.dark-theme .trusted-section,
body.dark-theme .stat-card,
body.dark-theme .contact-form-wrapper {
    background-color: var(--navy-primary);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .section-title.text-navy,
body.dark-theme .stat-number,
body.dark-theme .trusted-title,
body.dark-theme .form-group label,
body.dark-theme .about-desc-p.highlight-p {
    color: var(--white);
}

body.dark-theme .about-desc-p,
body.dark-theme .stat-label,
body.dark-theme .contact-p,
body.dark-theme .office-hours-card p,
body.dark-theme .partner-logo .logo-name {
    color: var(--neutral-light);
}

body.dark-theme .office-hours-card {
    background-color: var(--navy-dark);
}

body.dark-theme .partner-logo:hover {
    background-color: var(--navy-dark);
}

body.dark-theme .form-group input,
body.dark-theme .form-group select,
body.dark-theme .form-group textarea {
    background-color: var(--navy-dark);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

body.dark-theme .form-group input:focus,
body.dark-theme .form-group select:focus,
body.dark-theme .form-group textarea:focus {
    border-color: var(--gold-heritage);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.25);
}

/* Modals Dark Mode support */
body.dark-theme .modal-container {
    background-color: var(--navy-dark);
    color: var(--white);
    border-top-color: var(--gold-heritage);
}

body.dark-theme .modal-title,
body.dark-theme .modal-close,
body.dark-theme .step-heading,
body.dark-theme .wizard-step h5,
body.dark-theme .step-dot.active {
    color: var(--white);
}

body.dark-theme .modal-subtitle,
body.dark-theme .wizard-step p {
    color: var(--neutral-light);
}

body.dark-theme .service-opt-card {
    border-color: rgba(255, 255, 255, 0.1);
    background-color: var(--navy-primary);
}

body.dark-theme .service-opt-card:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .service-opt-card.selected {
    border-color: var(--gold-heritage);
    background-color: rgba(201, 162, 39, 0.1);
}

body.dark-theme .step-dot::before {
    background-color: var(--navy-primary);
    color: var(--neutral-light);
}

body.dark-theme .step-dot.active::before {
    background-color: var(--white);
    color: var(--navy-dark);
}

body.dark-theme .step-line {
    background-color: var(--navy-primary);
}

body.dark-theme .step-line.active {
    background-color: var(--gold-heritage);
}

body.dark-theme .project-spec-table tr {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .project-spec-table td.spec-label {
    color: var(--white);
}

body.dark-theme .project-spec-table td.spec-value {
    color: var(--neutral-light);
}

/* ==========================================================================
   17. CO-FOUNDERS SECTION
   ========================================================================== */
.founders-section {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
}

body.dark-theme .founders-section {
    background-color: var(--navy-dark);
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.founder-card {
    background-color: var(--neutral-bg);
    border: 1px solid rgba(11, 37, 69, 0.08);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    transition: var(--transition-normal);
    box-shadow: var(--box-shadow-sm);
}

body.dark-theme .founder-card {
    background-color: var(--navy-primary);
    border-color: rgba(255, 255, 255, 0.1);
}

.founder-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--gold-heritage);
}

.founder-img-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid var(--gold-heritage);
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition-normal);
}

.founder-card:hover .founder-img-wrapper {
    transform: scale(1.05);
    border-color: var(--gold-light);
}

.founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.founder-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--navy-primary);
    margin-bottom: 4px;
}

body.dark-theme .founder-name {
    color: var(--white);
}

.founder-role {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--gold-heritage);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.founder-bio {
    font-size: 14px;
    color: var(--neutral-slate);
    line-height: 1.6;
}

body.dark-theme .founder-bio {
    color: var(--neutral-light);
}

@media (max-width: 768px) {
    .founders-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==========================================================================
   18. LEGAL MODALS (PRIVACY & TERMS)
   ========================================================================== */
.legal-modal {
    max-width: 700px !important;
}

.legal-modal-content {
    padding: 30px 10px 10px 10px;
}

.legal-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--navy-primary);
    margin-bottom: 6px;
}

body.dark-theme .legal-title {
    color: var(--white);
}

.legal-scroll-box {
    max-height: 400px;
    overflow-y: auto;
    margin-top: 24px;
    padding-right: 12px;
    text-align: left;
}

/* Custom scrollbar for legal text */
.legal-scroll-box::-webkit-scrollbar {
    width: 6px;
}

.legal-scroll-box::-webkit-scrollbar-track {
    background: rgba(11, 37, 69, 0.04);
    border-radius: 3px;
}

body.dark-theme .legal-scroll-box::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
}

.legal-scroll-box::-webkit-scrollbar-thumb {
    background: var(--gold-heritage);
    border-radius: 3px;
}

.legal-date {
    font-size: 12px;
    color: var(--neutral-slate);
    font-style: italic;
    margin-bottom: 16px;
}

body.dark-theme .legal-date {
    color: var(--neutral-light);
}

.legal-scroll-box h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-primary);
    margin: 24px 0 8px 0;
}

body.dark-theme .legal-scroll-box h4 {
    color: var(--white);
}

.legal-scroll-box p {
    font-size: 14px;
    color: var(--neutral-slate);
    line-height: 1.6;
    margin-bottom: 12px;
}

body.dark-theme .legal-scroll-box p {
    color: var(--neutral-light);
}

.legal-scroll-box ul {
    margin-bottom: 16px;
    padding-left: 20px;
}

.legal-scroll-box li {
    font-size: 14px;
    color: var(--neutral-slate);
    line-height: 1.6;
    margin-bottom: 8px;
}

body.dark-theme .legal-scroll-box li {
    color: var(--neutral-light);
}

/* ==========================================================================
   19. MEDIA SHOWCASE SECTION
   ========================================================================== */
.media-section {
    padding: 100px 0;
    background-color: var(--neutral-bg);
}

body.dark-theme .media-section {
    background-color: var(--navy-dark);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(11, 37, 69, 0.15);
    color: var(--navy-primary);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 10px 24px;
    border-radius: var(--border-radius-pill);
    cursor: pointer;
    transition: var(--transition-normal);
}

body.dark-theme .filter-btn {
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--neutral-light);
}

.filter-btn.active {
    background-color: var(--navy-primary);
    color: var(--white);
    border-color: var(--navy-primary);
}

@media (hover: hover) {
    .filter-btn:hover {
        background-color: var(--navy-primary);
        color: var(--white);
        border-color: var(--navy-primary);
    }
}

body.dark-theme .filter-btn.active {
    background-color: var(--gold-heritage);
    color: var(--navy-dark);
    border-color: var(--gold-heritage);
}

@media (hover: hover) {
    body.dark-theme .filter-btn:hover {
        background-color: var(--gold-heritage);
        color: var(--navy-dark);
        border-color: var(--gold-heritage);
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
    border: 1px solid rgba(11, 37, 69, 0.05);
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

body.dark-theme .gallery-item {
    background-color: var(--navy-primary);
    border-color: rgba(255, 255, 255, 0.05);
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--box-shadow-md);
}

.gallery-media-wrapper {
    position: relative;
    width: 100%;
    padding-top: 66.66%; /* 3:2 Aspect Ratio */
    overflow: hidden;
    background-color: #000;
}

.gallery-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 37, 69, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.play-button-icon,
.zoom-button-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: var(--gold-heritage);
    color: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.4);
    transform: scale(0.8);
    transition: transform var(--transition-normal);
}

.play-svg {
    transform: translateX(2px);
}

.gallery-item:hover .play-button-icon,
.gallery-item:hover .zoom-button-icon {
    transform: scale(1);
}

.gallery-info {
    padding: 20px;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.media-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.video-badge {
    background-color: rgba(19, 115, 231, 0.1);
    color: #1373e7;
}

.photo-badge {
    background-color: rgba(201, 162, 39, 0.1);
    color: var(--gold-heritage);
}

.media-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: var(--navy-primary);
    margin-bottom: 6px;
}

body.dark-theme .media-title {
    color: var(--white);
}

.media-desc {
    font-size: 13px;
    color: var(--neutral-slate);
    line-height: 1.5;
}

body.dark-theme .media-desc {
    color: var(--neutral-light);
}

/* Lightbox styles */
#media-modal-overlay {
    padding: 0 !important;
}

.media-lightbox-container {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    background: #000 !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.media-lightbox-content {
    position: relative;
    width: 100%;
    height: calc(100vh - 60px);
    overflow: hidden;
}

.lightbox-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.22s;
    z-index: 1;
}

.lightbox-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.lightbox-img,
.lightbox-video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0 !important;
    box-shadow: none !important;
    background-color: #000;
    flex-shrink: 0;
}

/* Project Detail Modal Media Styles */
.project-detail-media-section {
    margin-top: 30px;
    border-top: 1px solid rgba(11, 37, 69, 0.08);
    padding-top: 24px;
}

body.dark-theme .project-detail-media-section {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.project-detail-media-section h4.media-section-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: var(--navy-primary);
    margin-bottom: 12px;
    text-transform: uppercase;
}

body.dark-theme .project-detail-media-section h4.media-section-title {
    color: var(--white);
}

.project-detail-media-wrapper {
    width: 100%;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 380px;
}

.project-detail-media-img,
.project-detail-media-video {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
}

/* Project detail modal carousel container styles */
.project-media-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 380px;
    background-color: #000;
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.project-carousel-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.project-lightbox-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.22s;
    z-index: 1;
}

.project-lightbox-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.project-lightbox-slide img,
.project-lightbox-slide video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0 !important;
    box-shadow: none !important;
    background-color: #000;
    flex-shrink: 0;
}

/* Hover effects for project modal navigation controls */
.project-carousel-nav:hover {
    background: var(--gold-heritage) !important;
    color: var(--navy-dark) !important;
    border-color: rgba(8, 26, 51, 0.1) !important;
}

/* ==========================================================================
   20. MEDIA CAROUSEL LIGHTBOX
   ========================================================================== */
.media-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    padding: 0;
}

.media-carousel-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    justify-content: space-between;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(11, 37, 69, 0.7);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 32px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    z-index: 10;
    line-height: 1;
}

.carousel-nav:hover {
    background-color: var(--gold-heritage);
    color: var(--navy-dark);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.4);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

@media (max-width: 580px) {
    .media-carousel-wrapper {
        padding: 0;
    }
    .carousel-nav {
        width: 44px;
        height: 44px;
        font-size: 24px;
    }
    .prev-btn {
        left: 10px;
    }
    .next-btn {
        right: 10px;
    }
}

.carousel-meta-bar {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    padding: 16px 20px;
    border-radius: 0 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    box-sizing: border-box;
    z-index: 10;
}

body.dark-theme .carousel-meta-bar {
    background-color: rgba(0, 0, 0, 0.95);
}

.carousel-caption {
    font-size: 14px;
    color: var(--white);
    margin: 0;
    font-weight: 500;
    text-align: left;
}

.carousel-counter {
    font-size: 12px;
    color: var(--gold-heritage);
    font-weight: 700;
    white-space: nowrap;
}

/* Lightbox items adjustments */
.media-lightbox-content {
    width: 100%;
    height: calc(100vh - 60px);
    background-color: #000;
    border-radius: 0 !important;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-img,
.lightbox-video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    background-color: #000;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#media-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    font-size: 32px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 99;
}

#media-modal-close:hover {
    background-color: var(--gold-heritage);
    color: var(--navy-dark);
}

/* ==========================================================================
   21. SUCCESS POPUP MODAL
   ========================================================================== */
.success-modal {
    max-width: 500px !important;
    padding: 40px !important;
}

.modal-body-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.success-icon-wrapper.pulsing-glow {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: rgba(30, 123, 77, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 0 0 0 rgba(30, 123, 77, 0.4);
    animation: success-pulse 2s infinite;
}

@keyframes success-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(30, 123, 77, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(30, 123, 77, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(30, 123, 77, 0);
    }
}

.success-heading {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--navy-primary);
    margin-bottom: 8px;
}

body.dark-theme .success-heading {
    color: var(--white);
}

.success-subtitle {
    font-size: 16px;
    color: var(--neutral-slate);
    font-weight: 600;
    margin-bottom: 0;
}

body.dark-theme .success-subtitle {
    color: var(--neutral-light);
}

.success-desc {
    font-size: 14px;
    color: var(--neutral-slate);
    line-height: 1.6;
    margin-bottom: 30px;
}

body.dark-theme .success-desc {
    color: var(--neutral-light);
}

.success-highlight-email {
    color: var(--navy-primary);
    font-weight: 700;
    border-bottom: 1.5px dashed var(--gold-heritage);
    padding-bottom: 1px;
}

body.dark-theme .success-highlight-email {
    color: var(--white);
}

/* ==========================================================================
   22. INTERNATIONAL TEL INPUT CUSTOMIZATIONS
   ========================================================================== */
.iti {
    width: 100%;
    display: block;
}

.iti__country-list {
    background-color: var(--white);
    color: var(--navy-primary);
    border: 1px solid var(--border-color);
    font-family: var(--font-body);
}

body.dark-theme .iti__country-list {
    background-color: var(--navy-dark);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .iti__country.iti__highlight {
    background-color: rgba(212, 175, 55, 0.2);
}

.iti__selected-flag {
    background-color: rgba(0, 0, 0, 0.05);
    border-top-left-radius: var(--border-radius-md);
    border-bottom-left-radius: var(--border-radius-md);
}

body.dark-theme .iti__selected-flag {
    background-color: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   23. INDUSTRIES SECTION
   ========================================================================== */
.industries-section {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
}

body.dark-theme .industries-section {
    background-color: var(--navy-dark);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.industry-card {
    background-color: var(--white);
    border: 1px solid rgba(11, 37, 69, 0.06);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(11, 37, 69, 0.02);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

body.dark-theme .industry-card {
    background-color: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--gold-heritage);
    transition: var(--transition-normal);
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-md);
    border-color: rgba(201, 162, 39, 0.2);
}

body.dark-theme .industry-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.industry-card:hover::before {
    height: 100%;
}

.industry-icon-box {
    width: 64px;
    height: 64px;
    background-color: rgba(11, 37, 69, 0.03);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--gold-heritage);
    transition: var(--transition-normal);
}

body.dark-theme .industry-icon-box {
    background-color: rgba(255, 255, 255, 0.03);
}

.industry-card:hover .industry-icon-box {
    background-color: var(--gold-heritage);
    color: var(--navy-dark);
}

.industry-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--navy-primary);
    margin-bottom: 12px;
}

body.dark-theme .industry-title {
    color: var(--white);
}

.industry-desc {
    font-size: 14px;
    color: var(--neutral-slate);
    line-height: 1.6;
    margin: 0;
}

body.dark-theme .industry-desc {
    color: var(--neutral-light);
}

/* Center the 7th item if grid is 3 columns */
@media (min-width: 1024px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .industries-grid .industry-card:last-child {
        grid-column: 2;
    }
}

@media (max-width: 1023px) and (min-width: 768px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .industries-grid .industry-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }
    .industries-grid .industry-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }
}

/* ==========================================================================
   24. FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-section {
    padding: 100px 0;
    background-color: var(--white-cream);
    position: relative;
    border-top: 1px solid rgba(11, 37, 69, 0.04);
}

body.dark-theme .faq-section {
    background-color: rgba(5, 15, 30, 0.2);
    border-top-color: rgba(255, 255, 255, 0.04);
}

.faq-accordion-container {
    max-width: 800px;
    margin: 50px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--white);
    border: 1px solid rgba(11, 37, 69, 0.06);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
}

body.dark-theme .faq-item {
    background-color: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}

.faq-question-btn {
    width: 100%;
    background: transparent;
    border: none;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-primary);
    cursor: pointer;
    gap: 20px;
    transition: var(--transition-normal);
}

body.dark-theme .faq-question-btn {
    color: var(--white);
}

.faq-question-btn:hover {
    color: var(--gold-heritage);
}

.faq-toggle-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-heritage);
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.faq-item.active {
    border-color: rgba(201, 162, 39, 0.3);
    box-shadow: 0 4px 20px rgba(11, 37, 69, 0.03);
}

body.dark-theme .faq-item.active {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg); /* Turns '+' into 'x' */
}

.faq-answer-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer-inner {
    padding: 0 24px 24px 24px;
    border-top: 1px solid rgba(11, 37, 69, 0.04);
}

body.dark-theme .faq-answer-inner {
    border-top-color: rgba(255, 255, 255, 0.04);
}

.faq-answer-inner p {
    font-size: 14px;
    color: var(--neutral-slate);
    line-height: 1.6;
    margin: 0;
}

body.dark-theme .faq-answer-inner p {
    color: var(--neutral-light);
}

/* ==========================================================================
   25. MOBILE RESPONSIVENESS OVERRIDES & UX FIXES
   ========================================================================== */
@media (max-width: 767px) {
    .gallery-filters {
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin-bottom: 25px !important;
        padding: 0 16px !important;
    }
    .filter-btn {
        padding: 8px 16px !important;
        font-size: 11px !important;
        letter-spacing: 0.8px !important;
    }
    /* Display play and zoom icons by default on touchscreens */
    .gallery-overlay {
        opacity: 1 !important;
        background-color: rgba(11, 37, 69, 0.25) !important;
    }
    .zoom-button-icon, .play-button-icon {
        transform: scale(0.85) !important;
        opacity: 0.95 !important;
    }
    /* FAQ Mobile Overrides */
    .faq-section {
        padding: 60px 0 !important;
    }
    .faq-question-btn {
        padding: 16px 20px !important;
        font-size: 14px !important;
        gap: 12px !important;
    }
    .faq-answer-inner {
        padding: 0 20px 20px 20px !important;
    }
    .faq-answer-inner p {
        font-size: 13px !important;
    }
}

@media (max-width: 576px) {
    /* Fullscreen Wizard Modal for Mobile Phones to accommodate keyboards */
    .modal-overlay {
        padding: 0 !important;
    }
    .modal-container {
        max-height: 100% !important;
        height: 100% !important;
        border-radius: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        border-top: none !important;
    }
    .modal-header {
        padding: 20px 20px 10px 20px !important;
        flex-shrink: 0 !important;
    }
    .modal-body-form {
        padding: 20px !important;
        flex-grow: 1 !important;
        overflow-y: auto !important;
    }
    .modal-close {
        top: 12px !important;
        right: 15px !important;
        font-size: 28px !important;
    }
}

/* Additional mobile brand spacing fixes */
@media (max-width: 768px) {
    /* Hero section title spacing to header logo */
    .hero-section {
        height: auto !important;
        min-height: 100vh !important;
        padding-top: 135px !important; /* Fixed tight padding from header logo */
        padding-bottom: 80px !important;
        justify-content: flex-start !important;
    }
    .hero-container {
        margin-top: 0 !important;
    }

    /* Footer logo to tagline spacing */
    .footer-col.brand-col {
        gap: 12px !important; /* Reduces space between Taskmate Logo and Global Sourcing tagline */
    }
}

/* ==========================================================================
   26. FLOATING AI CHATBOT WIDGET
   ========================================================================== */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: var(--font-body);
}

.chat-bubble-trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--navy-primary);
    color: var(--white);
    border: 2px solid var(--gold-heritage);
    box-shadow: 0 4px 20px rgba(11, 37, 69, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-normal);
}

.chat-bubble-trigger:hover {
    transform: scale(1.05);
    background-color: var(--navy-dark);
}

.chat-notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--gold-heritage);
    color: var(--navy-dark);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.chat-panel {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 500px;
    background-color: var(--white);
    border: 1px solid rgba(11, 37, 69, 0.1);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark-theme .chat-panel {
    background-color: var(--navy-dark);
    border-color: rgba(255, 255, 255, 0.08);
}

.chat-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-panel-header {
    background-color: var(--navy-primary);
    color: var(--white);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--gold-heritage);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--gold-heritage);
    color: var(--navy-dark);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-title-block {
    display: flex;
    flex-direction: column;
}

.chat-bot-name {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}

.chat-bot-status {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--success);
    border-radius: 50%;
    display: inline-block;
}

.chat-panel-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    opacity: 0.8;
    transition: var(--transition-normal);
}

.chat-panel-close:hover {
    opacity: 1;
}

.chat-panel-body {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: var(--border-radius-md);
    font-size: 13px;
    line-height: 1.5;
}

.bot-message {
    background-color: var(--neutral-bg);
    color: var(--navy-primary);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

body.dark-theme .bot-message {
    background-color: rgba(255,255,255,0.03);
    color: var(--neutral-light);
}

.user-message {
    background-color: var(--navy-primary);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

body.dark-theme .user-message {
    background-color: var(--gold-heritage);
    color: var(--navy-dark);
    border-color: var(--gold-heritage);
}

.chat-quick-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 20px 12px 20px;
    background-color: transparent;
}

.suggestion-chip {
    background-color: transparent;
    border: 1px solid rgba(11, 37, 69, 0.15);
    color: var(--navy-primary);
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--border-radius-pill);
    cursor: pointer;
    transition: var(--transition-normal);
}

body.dark-theme .suggestion-chip {
    border-color: rgba(255,255,255,0.15);
    color: var(--neutral-light);
}

.suggestion-chip:hover {
    background-color: var(--navy-primary);
    color: var(--white);
    border-color: var(--navy-primary);
}

body.dark-theme .suggestion-chip:hover {
    background-color: var(--gold-heritage);
    color: var(--navy-dark);
    border-color: var(--gold-heritage);
}

.chat-panel-footer {
    padding: 12px 20px;
    border-top: 1px solid rgba(11, 37, 69, 0.08);
    background-color: var(--white);
}

body.dark-theme .chat-panel-footer {
    background-color: var(--navy-dark);
    border-top-color: rgba(255, 255, 255, 0.08);
}

.chat-input-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-input-form input {
    flex-grow: 1;
    border: 1px solid rgba(11, 37, 69, 0.15);
    background-color: transparent;
    padding: 10px 14px;
    border-radius: var(--border-radius-md);
    font-size: 13px;
    color: var(--navy-primary);
    outline: none;
    transition: var(--transition-normal);
}

body.dark-theme .chat-input-form input {
    border-color: rgba(255,255,255,0.15);
    color: var(--white);
}

.chat-input-form input:focus {
    border-color: var(--navy-primary);
}

body.dark-theme .chat-input-form input:focus {
    border-color: var(--gold-heritage);
}

.chat-send-btn {
    background-color: var(--gold-heritage);
    color: var(--navy-dark);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.chat-send-btn:hover {
    background-color: var(--gold-light);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background-color: var(--neutral-bg);
    border-radius: var(--border-radius-md);
    align-self: flex-start;
    width: fit-content;
}

body.dark-theme .typing-indicator {
    background-color: rgba(255,255,255,0.03);
}

.typing-dot {
    width: 6px;
    height: 6px;
    background-color: var(--neutral-slate);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

@media (max-width: 576px) {
    .chatbot-widget {
        bottom: 20px !important;
        right: 20px !important;
    }
    .chat-panel {
        position: fixed !important;
        bottom: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        border-radius: 0 !important;
        border: none !important;
        bottom: 0 !important;
        z-index: 2000 !important;
    }
    .chat-panel.open {
        transform: translateY(0) scale(1) !important;
    }
}
