/* ============================================
   Innovsource - Workforce Solutions Platform
   Main Stylesheet (UPDATED)
   ============================================ */

/* ---- CSS Variables (Design Tokens) ---- */
:root {
    --brand-red: #E31E24;
    --brand-red-hover: #C41920;
    --deep-blue: #0B3D91;
    --deep-blue-hover: #082E6E;
    --sky-blue: #4A90E2;
    --warm-yellow: #F5A623;
    --light-blue-bg: #E8F0FE;
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    --text-white: #FFFFFF;
    --text-muted: #888888;
    --border-light: #E0E0E0;
    --white: #FFFFFF;
    --shader-bg: #F5F0EB;
    --shader-coral: #E8A598;
    --shader-sky: #A8C8E8;
    --shader-sage: #B8C4A8;

    --container-max: 1280px;
    --section-pad-y: 80px;
    --section-pad-y-lg: 100px;
    --card-gap: 24px;
    --card-pad: 32px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--text-primary); line-height: 1.6; background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 48px; } }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; transition: all 200ms ease; cursor: pointer; }
.btn-primary { background: var(--brand-red); color: var(--text-white); }
.btn-primary:hover { background: var(--brand-red-hover); }
.btn-secondary { background: var(--deep-blue); color: var(--text-white); }
.btn-secondary:hover { background: var(--deep-blue-hover); }
.btn-outline { border: 2px solid var(--deep-blue); color: var(--deep-blue); background: transparent; }
.btn-outline:hover { background: var(--deep-blue); color: var(--text-white); }

/* ============================================
   TOP BAR & HEADER
   ============================================ */
.top-bar { background: var(--deep-blue); height: 40px; display: flex; align-items: center; }
.top-bar .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.top-bar-left { display: flex; align-items: center; gap: 0; }
.top-bar-link { display: flex; align-items: center; gap: 6px; color: var(--text-white); font-size: 12px; padding: 0 16px; height: 40px; line-height: 40px; transition: background 200ms ease; white-space: nowrap; }
.top-bar-link:hover { background: rgba(255,255,255,0.1); }
.top-bar .divider { width: 1px; height: 20px; background: rgba(255,255,255,0.2); }
.top-bar-right { display: none; }
.top-bar-tagline { color: var(--text-muted); font-size: 11px; }
@media (min-width: 768px) { .top-bar-right { display: block; } }

.main-header { background: var(--white); height: 70px; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.08); transition: background 300ms ease, box-shadow 300ms ease; }
.main-header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; flex-direction: column; align-items: flex-start; flex-shrink: 0; }
.logo-main { display: flex; align-items: center; gap: 2px; }
.logo-text { font-size: 26px; font-weight: 800; color: var(--deep-blue); letter-spacing: -1px; line-height: 1; }
.logo-swoosh { display: inline-block; width: 12px; height: 12px; background: var(--brand-red); border-radius: 0 50% 50% 50%; transform: rotate(45deg); margin-left: 2px; }
.logo-tagline { font-size: 9px; font-weight: 600; color: var(--deep-blue); letter-spacing: 0.5px; line-height: 1.2; margin-top: 1px; }
.logo-sub { font-size: 8px; color: var(--text-muted); line-height: 1.2; }

.main-nav { display: none; align-items: center; gap: 4px; }
.nav-link { display: flex; align-items: center; gap: 4px; padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--text-primary); border-radius: 6px; transition: color 200ms ease, background 200ms ease; }
.nav-link:hover, .nav-link.active { color: var(--brand-red); }
.nav-link.active { position: relative; }
.nav-link.active::after { content: ''; position: absolute; bottom: 0; left: 14px; right: 14px; height: 2px; background: var(--brand-red); }

.nav-dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 0; background: var(--white); border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,0.12); padding: 8px 0; min-width: 220px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 200ms ease; z-index: 100; }
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 10px 16px; font-size: 14px; color: var(--text-primary); transition: background 200ms ease; white-space: nowrap; }
.dropdown-menu a:hover { background: var(--light-blue-bg); color: var(--deep-blue); }

.header-cta { display: none; padding: 10px 24px; background: var(--deep-blue); color: var(--text-white); font-size: 14px; font-weight: 600; border-radius: 6px; transition: background 200ms ease; }
.header-cta:hover { background: var(--deep-blue-hover); }

.mobile-menu-toggle { display: flex; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; cursor: pointer; }
.mobile-menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text-primary); transition: all 300ms ease; }

.mobile-menu { position: fixed; inset: 0; z-index: 2000; pointer-events: none; }
.mobile-menu.active { pointer-events: all; }
.mobile-menu-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; transition: opacity 300ms ease; }
.mobile-menu.active .mobile-menu-overlay { opacity: 1; }
.mobile-menu-panel { position: absolute; top: 0; right: 0; width: 280px; height: 100%; background: var(--white); padding: 60px 24px 24px; transform: translateX(100%); transition: transform 300ms ease; }
.mobile-menu.active .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-close { position: absolute; top: 16px; right: 16px; background: none; border: none; cursor: pointer; color: var(--text-primary); }
.mobile-nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-link { padding: 12px 16px; font-size: 16px; font-weight: 500; color: var(--text-primary); border-radius: 8px; transition: background 200ms ease, color 200ms ease; }
.mobile-nav-link:hover, .mobile-nav-link.active { background: var(--light-blue-bg); color: var(--brand-red); }

@media (min-width: 1024px) {
    .main-nav, .header-cta { display: flex; }
    .mobile-menu-toggle { display: none; }
}

/* ============================================
   HERO SECTION (FIXED BLANK SPACE)
   ============================================ */
.hero-section { position: relative; min-height: calc(100vh - 110px); display: flex; align-items: center; overflow: hidden; background: linear-gradient(135deg, var(--shader-bg) 0%, var(--white) 100%); }
#heroCanvas { position: absolute; inset: 0; z-index: 0; }
.hero-content { position: relative; z-index: 1; width: 100%; padding: 60px 0; }
.hero-slide { display: none; opacity: 0; transition: opacity 600ms ease-in-out; }
.hero-slide.active { display: block; opacity: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 55% 45%; } }

.hero-title { font-size: 36px; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 24px; }
.hero-title .accent { color: var(--brand-red); }
@media (min-width: 768px) { .hero-title { font-size: 48px; } }

.hero-description { font-size: 16px; color: var(--text-secondary); margin-bottom: 32px; max-width: 500px; line-height: 1.6; }

.hero-cards { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.hero-card { background: var(--white); border-radius: 12px; padding: 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.hero-card-title { font-size: 18px; font-weight: 600; margin-bottom: 16px; color: var(--text-primary); }
.hero-card-select { width: 100%; padding: 12px 16px; border: 1px solid var(--border-light); border-radius: 8px; font-size: 14px; color: var(--text-primary); background: var(--white); margin-bottom: 16px; cursor: pointer; }
.hero-card-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: var(--brand-red); color: var(--text-white); border-radius: 8px; font-size: 14px; font-weight: 600; transition: background 200ms ease; }
.hero-card-btn:hover { background: var(--brand-red-hover); }

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

/* FIXED: Added gradient background to prevent blank space if image is missing */
.hero-image-wrap { 
    position: relative; display: flex; justify-content: center; align-items: center; 
    background: linear-gradient(135deg, var(--light-blue-bg) 0%, var(--shader-sky) 100%); 
    border-radius: 16px; min-height: 400px; 
}
.hero-image { border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.15); position: relative; z-index: 1; max-height: 500px; object-fit: cover; width: 100%; }

.hero-shape-circle { position: absolute; width: 300px; height: 300px; background: var(--sky-blue); border-radius: 50%; opacity: 0.3; z-index: 0; animation: rotateShape 30s linear infinite; }
.hero-shape-quarter { position: absolute; width: 200px; height: 200px; background: var(--warm-yellow); border-radius: 0 0 0 100%; opacity: 0.4; z-index: 0; bottom: -20px; left: -20px; animation: pulseShape 4s ease-in-out infinite; }
@keyframes rotateShape { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulseShape { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.hero-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-light); border: none; cursor: pointer; transition: all 300ms ease; }
.hero-dot.active { background: var(--brand-red); transform: scale(1.2); }

/* ============================================
   SERVICES SECTION (EXACT INNOV.IN DESIGN)
   ============================================ */
.services-section { background: var(--light-blue-bg); padding: var(--section-pad-y) 0; }
.section-header { text-align: center; margin-bottom: 48px; position: relative; }
.section-header.decorated::before, .section-header.decorated::after { content: ''; position: absolute; width: 60px; height: 3px; top: 50%; transform: translateY(-50%) rotate(45deg); }
.section-header.decorated::before { background: var(--sky-blue); left: calc(50% - 140px); }
.section-header.decorated::after { background: var(--brand-red); right: calc(50% - 140px); }
.section-title { font-size: 36px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.section-title .accent { color: var(--brand-red); }

/* NEW: 3-Column Layout */
.services-three-column-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 40px;
    margin: 60px 0;
    align-items: start;
}

.services-left-column, .services-right-column { display: flex; flex-direction: column; gap: 30px; }

.service-sidebar-item {
    display: flex; align-items: center; gap: 20px; padding: 25px;
    background: #ffffff; border-radius: 12px; transition: all 0.3s ease; cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.service-sidebar-item:hover { box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); transform: translateY(-3px); }

.service-sidebar-icon {
    flex-shrink: 0; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
    color: var(--deep-blue); background: var(--light-blue-bg); border-radius: 10px;
}
.service-sidebar-icon svg { width: 28px; height: 28px; }
.service-sidebar-title { font-size: 1.1rem; font-weight: 600; color: var(--text-primary); line-height: 1.4; }

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

.service-featured-card {
    background: #ffffff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; width: 100%;
}
.service-featured-card:hover { box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15); transform: translateY(-5px); }

/* FIXED: Added gradient background to prevent blank space */
.service-featured-image {
    width: 100%; height: 350px; overflow: hidden;
    background: linear-gradient(135deg, var(--light-blue-bg) 0%, var(--shader-sky) 100%);
    display: flex; align-items: center; justify-content: center;
}
.service-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.service-featured-card:hover .service-featured-image img { transform: scale(1.05); }

.service-featured-content { padding: 30px; }
.service-featured-title { font-size: 1.8rem; font-weight: 700; color: var(--text-primary); margin-bottom: 15px; }
.service-featured-description { font-size: 1rem; line-height: 1.7; color: var(--text-secondary); }

@media (max-width: 1024px) {
    .services-three-column-layout { grid-template-columns: 1fr; gap: 30px; }
    .services-left-column, .services-right-column { flex-direction: row; flex-wrap: wrap; }
    .service-sidebar-item { flex: 1 1 calc(50% - 15px); min-width: 250px; }
    .service-featured-image { height: 250px; }
}
@media (max-width: 768px) {
    .services-left-column, .services-right-column { flex-direction: column; }
    .service-sidebar-item { flex: 1 1 100%; }
    .service-featured-image { height: 200px; }
    .service-featured-title { font-size: 1.5rem; }
}

.services-cta { background: var(--white); border-radius: 12px; padding: 24px 32px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.services-cta-text { font-size: 18px; }
.services-cta-line1 { color: var(--text-primary); }
.services-cta-line2 { color: var(--brand-red); font-weight: 600; }
@media (min-width: 640px) { .services-cta { flex-direction: row; justify-content: space-between; text-align: left; } }

/* ============================================
   WHY, INDUSTRIES, BENEFITS, TECH, FOOTER
   ============================================ */
.why-section { background: var(--white); padding: var(--section-pad-y) 0; }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 60px; align-items: center; }
@media (min-width: 1024px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.why-mosaic { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 12px; aspect-ratio: 1; }
.mosaic-item { border-radius: 12px; overflow: hidden; position: relative; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; }
.mosaic-shape { border-radius: 12px; }
.mosaic-shape.blue { background: var(--sky-blue); opacity: 0.7; }
.mosaic-shape.red { background: var(--brand-red); opacity: 0.7; }
.mosaic-shape.yellow { background: var(--warm-yellow); opacity: 0.7; }
.mosaic-stat { position: absolute; background: var(--white); border-radius: 12px; padding: 16px; box-shadow: 0 4px 16px rgba(0,0,0,0.1); text-align: center; z-index: 2; }
.mosaic-stat .stat-number { font-size: 32px; font-weight: 700; color: var(--text-primary); line-height: 1; }
.mosaic-stat .stat-label { font-size: 12px; color: var(--text-secondary); margin-top: 4px; }
.mosaic-stat.clients { top: 10%; right: 5%; }
.mosaic-stat.associates { bottom: 15%; left: -10px; writing-mode: vertical-rl; text-orientation: mixed; }
.mosaic-stat.associates .stat-number { writing-mode: horizontal-tb; }
.mosaic-stat.years { bottom: 5%; left: 30%; }
.mosaic-stat.recruiters { bottom: 5%; right: 5%; }
.why-content { padding: 20px 0; }
.why-title { font-size: 36px; font-weight: 700; margin-bottom: 24px; line-height: 1.2; }
.why-title .accent { color: var(--brand-red); }
.why-text { font-size: 16px; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.7; }
.why-buttons { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

.industries-section { background: var(--light-blue-bg); padding: var(--section-pad-y) 0; }
.industries-grid-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 1024px) { .industries-grid-layout { grid-template-columns: 380px 1fr; } }
.industry-icons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (min-width: 640px) { .industry-icons-grid { grid-template-columns: repeat(4, 1fr); } }
.industry-icon-item { background: var(--white); border-radius: 12px; padding: 16px 8px; text-align: center; cursor: pointer; border: 2px solid transparent; transition: all 200ms ease; }
.industry-icon-item:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.industry-icon-item.active { border-color: var(--brand-red); background: rgba(227, 30, 36, 0.05); }
.industry-icon { width: 40px; height: 40px; margin: 0 auto 8px; color: var(--deep-blue); display: flex; align-items: center; justify-content: center; }
.industry-icon-item.active .industry-icon { color: var(--brand-red); }
.industry-icon-name { font-size: 11px; color: var(--text-secondary); font-weight: 500; }
.industry-icon-item.active .industry-icon-name { color: var(--brand-red); }
.industry-detail { background: var(--white); border-radius: 12px; padding: 32px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.industry-detail-title { font-size: 24px; font-weight: 600; color: var(--deep-blue); margin-bottom: 16px; }
.industry-detail-desc { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.testimonial-card { border-top: 1px solid var(--border-light); padding-top: 24px; position: relative; }
.testimonial-quote-mark { font-size: 48px; color: var(--brand-red); line-height: 1; font-family: Georgia, serif; margin-bottom: -10px; }
.testimonial-text { font-size: 16px; color: var(--text-primary); font-style: italic; line-height: 1.7; margin-bottom: 20px; }
.testimonial-author { font-size: 16px; font-weight: 600; color: var(--text-primary); }
.testimonial-role { font-size: 14px; color: var(--text-secondary); }
.testimonial-nav { display: flex; gap: 8px; margin-top: 20px; }
.testimonial-nav-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-light); background: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 200ms ease; color: var(--text-primary); }
.testimonial-nav-btn:hover { background: var(--deep-blue); color: var(--text-white); border-color: var(--deep-blue); }

.benefits-section { background: var(--white); padding: var(--section-pad-y) 0; position: relative; }
.benefits-section::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(0,0,0,0.015) 20px, rgba(0,0,0,0.015) 21px); pointer-events: none; }
.benefits-content { position: relative; z-index: 1; }
.benefits-subtitle { font-size: 18px; font-weight: 500; color: var(--text-secondary); margin-bottom: 8px; }
.benefits-title { font-size: 40px; font-weight: 700; margin-bottom: 16px; line-height: 1.1; }
.benefits-title .highlight { color: var(--brand-red); }
.benefits-desc { font-size: 16px; color: var(--text-secondary); max-width: 600px; margin-bottom: 32px; line-height: 1.7; }

.technologies-section { background: var(--light-blue-bg); padding: var(--section-pad-y) 0; }
.tech-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border-light); margin-bottom: 40px; overflow-x: auto; }
.tech-tab { padding: 16px 32px; font-size: 18px; font-weight: 500; color: var(--text-secondary); background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; cursor: pointer; white-space: nowrap; transition: all 200ms ease; }
.tech-tab:hover { color: var(--text-primary); }
.tech-tab.active { color: var(--brand-red); border-bottom-color: var(--brand-red); }
.tech-content { display: none; opacity: 0; transition: opacity 400ms ease; }
.tech-content.active { display: block; opacity: 1; }
.tech-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .tech-grid { grid-template-columns: 45% 55%; } }
/* FIXED: Added gradient background to tech images */
.tech-image { text-align: center; background: linear-gradient(135deg, var(--light-blue-bg) 0%, var(--shader-sky) 100%); border-radius: 16px; padding: 40px; min-height: 300px; display: flex; align-items: center; justify-content: center; }
.tech-image img { max-height: 400px; margin: 0 auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1)); transition: transform 400ms ease; }
.tech-title { font-size: 32px; font-weight: 700; background: linear-gradient(135deg, var(--deep-blue), var(--sky-blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 20px; }
.tech-desc { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }

.cta-banner-section { background: var(--white); padding: 40px 0; border-bottom: 1px solid var(--border-light); }
.cta-banner { display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
@media (min-width: 640px) { .cta-banner { flex-direction: row; justify-content: space-between; text-align: left; } }
.cta-banner-text { font-size: 20px; line-height: 1.3; }
.cta-line1 { color: var(--text-primary); font-weight: 500; }
.cta-line2 { color: var(--brand-red); font-weight: 600; }
.cta-banner-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: var(--brand-red); color: var(--text-white); border-radius: 8px; font-size: 14px; font-weight: 600; transition: background 200ms ease; white-space: nowrap; }
.cta-banner-btn:hover { background: var(--brand-red-hover); }

.main-footer { background: var(--deep-blue); color: var(--text-white); }
.footer-main { padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.2fr 1.5fr 1fr; } }
.footer-title { font-size: 16px; font-weight: 600; color: var(--text-white); margin-bottom: 16px; }
.footer-logo { display: flex; align-items: center; gap: 4px; margin-bottom: 4px; }
.footer-logo-text { font-size: 24px; font-weight: 800; color: var(--text-white); letter-spacing: -1px; }
.footer-logo-swoosh { display: inline-block; width: 10px; height: 10px; background: var(--brand-red); border-radius: 0 50% 50% 50%; transform: rotate(45deg); }
.footer-tagline { font-size: 9px; font-weight: 600; color: rgba(255,255,255,0.8); letter-spacing: 0.5px; margin-bottom: 2px; }
.footer-sub { font-size: 8px; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.footer-address { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 12px; }
.footer-cin { font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.footer-links-col { display: flex; flex-direction: column; gap: 8px; }
.footer-links-col a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 200ms ease; }
.footer-links-col a:hover { color: var(--text-white); }
.footer-training-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--brand-red); color: var(--text-white); border-radius: 6px; font-size: 14px; font-weight: 500; margin-top: 16px; transition: background 200ms ease; }
.footer-training-btn:hover { background: var(--brand-red-hover); }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 16px; color: rgba(255,255,255,0.6); }
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; }
.footer-label { display: block; font-size: 14px; font-weight: 600; color: var(--text-white); margin-bottom: 4px; }
.footer-value { font-size: 14px; color: var(--text-white); }
.footer-email-line { display: block; font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.footer-expertise { margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-expertise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; }
@media (min-width: 768px) { .footer-expertise-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-expertise-grid a { font-size: 12px; color: rgba(255,255,255,0.5); transition: color 200ms ease; }
.footer-expertise-grid a:hover { color: var(--text-white); }
.footer-about { margin-top: 32px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.1); display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
@media (min-width: 768px) { .footer-about { grid-template-columns: 200px 1fr; } }
.footer-fm-logo { font-size: 20px; font-weight: 700; color: var(--text-white); letter-spacing: -0.5px; }
.footer-about-text { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; }
.footer-know-more { color: var(--brand-red); font-weight: 500; }
.footer-copyright { background: rgba(0,0,0,0.2); padding: 16px 0; margin-top: 32px; }
.footer-copyright .container { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
.footer-copyright p { font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-legal-links { display: flex; gap: 16px; }
.footer-legal-links a { font-size: 12px; color: rgba(255,255,255,0.5); transition: color 200ms ease; }
.footer-legal-links a:hover { color: var(--text-white); }
@media (min-width: 640px) { .footer-copyright .container { flex-direction: row; justify-content: space-between; } }

.floating-chat { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; background: var(--brand-red); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-white); box-shadow: 0 4px 16px rgba(227,30,36,0.4); z-index: 999; transition: transform 200ms ease; }
.floating-chat:hover { transform: scale(1.1); }
.chat-pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand-red); animation: chatPulse 3s ease-out infinite; }
@keyframes chatPulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.5); opacity: 0; } }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(60px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right.revealed { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: opacity 0.4s ease, transform 0.4s ease; }
.reveal-scale.revealed { opacity: 1; transform: scale(1); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

.particles-container { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.particle { position: absolute; border-radius: 50%; opacity: 0.3; animation: floatParticle linear infinite; }
@keyframes floatParticle { 0% { transform: translateY(100vh) rotate(0deg); opacity: 0; } 10% { opacity: 0.3; } 90% { opacity: 0.3; } 100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; } }

@media (max-width: 767px) {
    .section-title { font-size: 28px; }
    .hero-title { font-size: 32px; }
    .benefits-title { font-size: 28px; }
    .why-title { font-size: 28px; }
    .tech-title { font-size: 24px; }
}
/* Clean Why Section Layout */
.why-mosaic-new {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 500px;
}

.mosaic-img {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}

.mosaic-img:hover {
    transform: translateY(-5px);
}

.mosaic-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Clean Stats Grid */
.stats-clean-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 16px;
    border-left: 4px solid #E31E24;
}

.stat-clean-box {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.stat-clean-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.stat-clean-number {
    font-size: 36px;
    font-weight: 800;
    color: #E31E24;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-clean-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stats-clean-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 20px;
    }
    
    .stat-clean-number {
        font-size: 28px;
    }
}
/* Associate Support Dropdown - FIXED */
.top-bar-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.top-bar-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--deep-blue);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    padding: 12px 0;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 200ms ease;
    z-index: 9999; /* Very high z-index to appear above everything */
    margin-top: 8px;
}

.top-bar-dropdown:hover .top-bar-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--text-white);
    font-size: 13px;
    transition: background 200ms ease;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: rgba(255,255,255,0.1);
}

.dropdown-item svg {
    flex-shrink: 0;
    opacity: 0.8;
}

/* ============================================
ASSOCIATE SUPPORT DROPDOWN - COMPLETE FIX
============================================ */

/* Ensure top-bar has proper stacking context */
.top-bar {
    background: var(--deep-blue);
    height: 40px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001; /* Higher than main-header */
    overflow: visible;
}

.top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    overflow: visible;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 0;
    overflow: visible;
}

/* Associate Support Dropdown */
.top-bar-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.top-bar-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--deep-blue);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    padding: 12px 0;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 200ms ease;
    z-index: 9999; /* Very high z-index */
    margin-top: 8px;
}

.top-bar-dropdown:hover .top-bar-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--text-white);
    font-size: 13px;
    transition: background 200ms ease;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: rgba(255,255,255,0.1);
}

.dropdown-item svg {
    flex-shrink: 0;
    opacity: 0.8;
}

/* Fix main-header z-index to be lower than dropdown */
.main-header {
    z-index: 1000; /* Lower than top-bar dropdown */
}
/* ============================================
SUPPORT DROPDOWN - FIXED OVERLAP
============================================ */
.top-bar {
    background: var(--deep-blue);
    height: 40px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001;
    overflow: visible;
}

.top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    overflow: visible;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 0;
    overflow: visible;
}

.top-bar-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.top-bar-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--deep-blue);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    padding: 12px 0;
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 200ms ease;
    z-index: 9999;
    margin-top: 8px;
}

.top-bar-dropdown:hover .top-bar-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--text-white);
    font-size: 13px;
    transition: background 200ms ease;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: rgba(255,255,255,0.1);
}

.dropdown-item svg {
    flex-shrink: 0;
    opacity: 0.8;
}

/* Ensure header doesn't overlap dropdown */
.main-header {
    z-index: 1000;
}