/* 
 * NextMile Corporate Website Style Sheet
 * Brand Theme: Premium Tech Feel
 * Typography: Space Grotesk (Headings) + Inter (Body)
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=Sora:wght@400;600;700;800&display=swap');

:root {
    /* ☀️ Light Theme (Default) Variables */
    --bg-primary: #F4F7FA;         /* Light Gray */
    --bg-secondary: #FFFFFF;       /* Pure White */
    --color-electric: #0066FF;     /* Electric Blue */
    --color-teal: #00C2A8;         /* Teal */
    --color-orange: #FF8C42;       /* Accent Orange (CTAs Only) */
    --color-gray: #F4F7FA;
    --color-white: #FFFFFF;
    
    --text-primary: #121212;       /* Dark Charcoal */
    --text-secondary: #4A5568;     /* Muted Charcoal */
    --text-dark: #121212;
    
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-bg-hover: #FFFFFF;
    --border-color: rgba(0, 102, 255, 0.1);
    --border-glow: rgba(0, 102, 255, 0.18);
    --shadow-glow: 0 8px 30px rgba(0, 102, 255, 0.05);
    
    --header-bg: rgba(244, 247, 250, 0.85);
    --header-bg-scrolled: rgba(255, 255, 255, 0.98);
    --header-shadow: 0 10px 30px rgba(0, 102, 255, 0.05);
    
    --mega-menu-bg: rgba(255, 255, 255, 0.98);
    --form-bg: rgba(244, 247, 250, 0.6);
    --form-border: rgba(0, 102, 255, 0.1);
    --stats-bg: rgba(0, 102, 255, 0.04);
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-sora: 'Sora', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --header-height: 80px;
}

/* 🌙 Dark Theme Overrides */
html.dark-theme, body.dark-theme {
    --bg-primary: #121212;         /* Dark Charcoal */
    --bg-secondary: #0B1F3A;       /* Midnight Blue */
    
    --text-primary: #FFFFFF;       /* Pure White */
    --text-secondary: #A0B3C6;     /* Muted blue-gray */
    
    --card-bg: rgba(11, 31, 58, 0.35);
    --card-bg-hover: rgba(11, 31, 58, 0.6);
    --border-color: rgba(0, 102, 255, 0.15);
    --border-glow: rgba(0, 102, 255, 0.35);
    --shadow-glow: 0 0 25px rgba(0, 102, 255, 0.12);
    
    --header-bg: rgba(18, 18, 18, 0.8);
    --header-bg-scrolled: rgba(18, 18, 18, 0.96);
    --header-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    
    --mega-menu-bg: rgba(18, 18, 18, 0.98);
    --form-bg: rgba(18, 18, 18, 0.6);
    --form-border: rgba(0, 102, 255, 0.15);
    --stats-bg: rgba(11, 31, 58, 0.25);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--text-primary);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-tag {
    font-family: var(--font-sora);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-teal);
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 17px;
    font-weight: 300;
}

/* Subtle Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sora);
    font-weight: 600;
    font-size: 15px;
    padding: 13px 26px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

/* Accent Button - restricted to CTA only */
.btn-cta {
    background-color: var(--color-orange);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(255, 140, 66, 0.35);
}

.btn-cta:hover {
    background-color: #ff9d5c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.5);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-electric);
    color: var(--text-primary);
}

.btn-outline:hover {
    background-color: rgba(0, 102, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.25);
}

.btn-secondary {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--card-bg-hover);
    border-color: var(--color-electric);
    transform: translateY(-2px);
}

/* Header & Mega Menu Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header.header-scrolled {
    background: var(--header-bg-scrolled);
    box-shadow: var(--header-shadow);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    background-color: #FFFFFF; /* High-contrast white background so the logo looks clean and consistent in all modes */
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.logo-img:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.08);
    border-color: var(--color-electric);
}
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle-btn:hover {
    border-color: var(--color-electric);
    background-color: rgba(0, 102, 255, 0.05);
    color: var(--color-electric);
}

.theme-toggle-btn .sun-icon {
    display: none;
}

.theme-toggle-btn .moon-icon {
    display: block;
}

html.dark-theme .theme-toggle-btn .sun-icon,
body.dark-theme .theme-toggle-btn .sun-icon {
    display: block;
}

html.dark-theme .theme-toggle-btn .moon-icon,
body.dark-theme .theme-toggle-btn .moon-icon {
    display: none;
}

html.dark-theme .theme-toggle-btn:hover,
body.dark-theme .theme-toggle-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Navigation & Mega Menu Dropdown */
.nav-menu-wrapper {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-item {
    position: relative;
}

.nav-btn {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 28px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.nav-btn:hover, .nav-item:hover .nav-btn {
    color: var(--text-primary);
}

.nav-btn svg {
    transition: transform 0.2s ease;
}

.nav-item:hover .nav-btn svg {
    transform: rotate(180deg);
}

/* Mega Menu Dropdown Container */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 600px;
    background-color: var(--mega-menu-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.05), var(--shadow-glow);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-title {
    font-family: var(--font-sora);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-teal);
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(0, 194, 168, 0.1);
    padding-bottom: 6px;
}

.mega-menu-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mega-menu-link {
    display: flex;
    flex-direction: column;
}

.mega-menu-link-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}

.mega-menu-link:hover .mega-menu-link-title {
    color: var(--color-electric);
}

.mega-menu-link-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

/* Page Sub-Hero Banner component */
.subpage-hero {
    padding: 160px 0 80px 0;
    background: radial-gradient(circle at 50% 10%, rgba(0, 102, 255, 0.08) 0%, rgba(18, 18, 18, 0) 60%);
    border-bottom: 1px solid var(--border-color);
}

html.dark-theme .subpage-hero,
body.dark-theme .subpage-hero {
    background: radial-gradient(circle at 50% 10%, rgba(11, 31, 58, 0.6) 0%, rgba(18, 18, 18, 0) 60%);
}

.subpage-hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subpage-hero-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 700px;
    font-weight: 300;
}

/* 1. Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
    background-color: var(--bg-primary);
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: right top;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-bg-slide.slide-1 {
    background-image: linear-gradient(to right, rgba(244, 247, 250, 0.95) 0%, rgba(244, 247, 250, 0.8) 35%, rgba(244, 247, 250, 0) 65%), url('../assets/images/hero_background.png');
    animation: bgSlideshow1 16s infinite;
}

.hero-bg-slide.slide-2 {
    background-image: linear-gradient(to right, rgba(244, 247, 250, 0.95) 0%, rgba(244, 247, 250, 0.8) 35%, rgba(244, 247, 250, 0) 65%), url('../assets/images/hero_background_2.png');
    animation: bgSlideshow2 16s infinite;
}

html.dark-theme .hero-bg-slide.slide-1,
body.dark-theme .hero-bg-slide.slide-1 {
    background-image: linear-gradient(to right, rgba(18, 18, 18, 0.98) 0%, rgba(18, 18, 18, 0.8) 35%, rgba(18, 18, 18, 0) 65%), url('../assets/images/hero_background.png');
}

html.dark-theme .hero-bg-slide.slide-2,
body.dark-theme .hero-bg-slide.slide-2 {
    background-image: linear-gradient(to right, rgba(18, 18, 18, 0.98) 0%, rgba(18, 18, 18, 0.8) 35%, rgba(18, 18, 18, 0) 65%), url('../assets/images/hero_background_2.png');
}

@keyframes bgSlideshow1 {
    0%, 45%, 100% { opacity: 1; z-index: 1; }
    50%, 95% { opacity: 0; z-index: 0; }
}

@keyframes bgSlideshow2 {
    0%, 45%, 100% { opacity: 0; z-index: 0; }
    50%, 95% { opacity: 1; z-index: 1; }
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 3;
}

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

.hero-title {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 300;
}

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


.hero-spacer-wrapper {
    position: relative;
    pointer-events: none;
    opacity: 0;
    height: 450px;
}

.hero-visual-wrapper {
    position: relative;
}

.hero-visual {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.05), var(--shadow-glow);
    position: relative;
}

html.dark-theme .hero-visual,
body.dark-theme .hero-visual {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}

.hero-visual img {
    width: 100%;
    transform: scale(1.01);
    transition: var(--transition);
}

.hero-visual:hover img {
    transform: scale(1.04);
}

.hero-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    top: -80px;
    right: -80px;
    z-index: 2;
    pointer-events: none;
}

html.dark-theme .hero-glow,
body.dark-theme .hero-glow {
    background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

/* 2. Solutions Section (Business Problems Focused) */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.solution-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 36px 28px;
    transition: var(--transition);
}

.solution-card:hover {
    background-color: var(--card-bg-hover);
    border-color: var(--color-electric);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.solution-icon {
    color: var(--color-electric);
    margin-bottom: 20px;
    display: inline-flex;
}

.solution-card:hover .solution-icon {
    color: var(--color-teal);
    transform: scale(1.05);
}

.solution-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.solution-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.solution-bullets {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.solution-bullet {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.solution-bullet svg {
    color: var(--color-teal);
    flex-shrink: 0;
}

/* 3. Why NextMile Section */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.why-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.why-feature-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 10px;
    display: flex;
    gap: 20px;
    transition: var(--transition);
}

.why-feature-card:hover {
    border-color: var(--color-teal);
    background-color: var(--card-bg-hover);
}

.why-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: rgba(0, 194, 168, 0.08);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-feature-title {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.why-feature-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 4. Numbers Section (Premium Stats) */
.stats {
    background-color: var(--stats-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 10px;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: var(--border-color);
}

.stat-item:last-child::after {
    display: none;
}

.stat-icon {
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-teal);
}

.stat-number {
    font-size: 38px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 5. Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    background-color: var(--card-bg-hover);
    border-color: var(--color-electric);
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
}

.service-card.size-35 { grid-column: span 7; }
.service-card.size-25 { grid-column: span 5; }
.service-card.size-10 { grid-column: span 3; } /* 4 cards per row (12 columns total) */

/* Horizontal Flex Layout for Software Development on large desktop screens */
@media (min-width: 1025px) {
    .service-card.size-35 {
        flex-direction: row;
        gap: 30px;
        align-items: stretch;
    }
    .service-card.size-35 .service-image {
        width: 45%;
        height: auto;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .service-card.size-35 .service-content-wrapper {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        height: 100%;
        justify-content: center;
    }
}

.team-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 880px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Compact details for the 4 small vertical cards */
.service-card.size-10 {
    padding: 30px 24px;
}
.service-card.size-10 .service-image {
    height: 135px;
    margin-bottom: 18px;
}
.service-card.size-10 .service-title {
    font-size: 18px;
    margin-bottom: 8px;
}
.service-card.size-10 .service-desc {
    font-size: 13px;
    margin-bottom: 0;
}

/* Premium Highlight Colors (inspired by user mockup) */

/* Software Development: Vibrant Cyan/Teal to Electric Blue primary highlight */
.service-card.highlight-primary {
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-teal) 100%);
    border: none;
    box-shadow: 0 15px 35px rgba(255, 140, 66, 0.2);
}

.service-card.highlight-primary .service-title {
    color: #FFFFFF !important;
}

.service-card.highlight-primary .service-desc {
    color: rgba(255, 255, 255, 0.9) !important;
}

.service-card.highlight-primary .service-list {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.service-card.highlight-primary .service-list-item {
    color: rgba(255, 255, 255, 0.9) !important;
}

html.dark-theme .service-card.highlight-primary,
body.dark-theme .service-card.highlight-primary {
    background: linear-gradient(135deg, #0B1F3A 0%, var(--color-orange) 100%);
    border: 1px solid rgba(255, 140, 66, 0.25);
    box-shadow: 0 15px 35px rgba(255, 140, 66, 0.15);
}

/* Data Analytics: Secondary highlight with glowing borders */
.service-card.highlight-secondary {
    border: 1.5px solid var(--color-orange);
    box-shadow: 0 0 25px rgba(255, 140, 66, 0.1);
}

html.dark-theme .service-card.highlight-secondary,
body.dark-theme .service-card.highlight-secondary {
    background-color: rgba(11, 31, 58, 0.5);
    border-color: var(--color-orange);
    box-shadow: 0 0 25px rgba(255, 140, 66, 0.15);
}

.service-image {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

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

.service-card:hover .service-image img {
    transform: scale(1.06);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(0, 102, 255, 0.1);
    border: 1px solid var(--color-electric);
    color: var(--color-electric);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

html.dark-theme .service-badge,
body.dark-theme .service-badge {
    background-color: rgba(0, 102, 255, 0.15);
    color: var(--color-white);
}

.service-title {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-list {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.service-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.service-list-item:last-child {
    margin-bottom: 0;
}

.service-list-item svg {
    color: var(--color-teal);
    flex-shrink: 0;
}

/* 6. Tech Stack Slider (Marquee) */
.tech-slider-wrapper {
    background-color: var(--stats-bg);
    padding: 50px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.tech-slider-wrapper::before,
.tech-slider-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.tech-slider-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary) 0%, rgba(18, 18, 18, 0) 100%);
}

.tech-slider-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary) 0%, rgba(18, 18, 18, 0) 100%);
}

.tech-slider-title {
    text-align: center;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-family: var(--font-sora);
}

.marquee {
    display: flex;
    width: 200%;
    animation: marquee 30s linear infinite;
}

.marquee:hover {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 50%;
    min-width: max-content;
}

.tech-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 10px 22px;
    border-radius: 20px;
    margin: 0 12px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.tech-badge:hover {
    color: var(--text-primary);
    border-color: var(--color-electric);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 7. Industries Section */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.industry-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
}

.industry-card:hover {
    border-color: var(--color-teal);
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

.industry-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(0, 194, 168, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-teal);
    margin-bottom: 20px;
    transition: var(--transition);
}

.industry-card:hover .industry-icon-wrapper {
    background-color: var(--color-teal);
    color: var(--bg-primary);
}

.industry-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
}

/* 8. Case Studies Section */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.case-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.case-card:hover {
    box-shadow: var(--shadow-glow);
    border-color: var(--color-electric);
}

.case-img {
    height: 240px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

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

.case-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    color: var(--color-electric);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

html.dark-theme .case-badge,
body.dark-theme .case-badge {
    background-color: rgba(18, 18, 18, 0.85);
    color: var(--color-teal);
}

.case-content {
    padding: 30px;
}

.case-title {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.case-psr {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.psr-item {
    padding-left: 20px;
    position: relative;
}

.psr-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.psr-problem::before { background-color: #FF5A5F; }
.psr-solution::before { background-color: var(--color-electric); }
.psr-result::before { background-color: var(--color-teal); }

.psr-label {
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 4px;
}

.psr-problem .psr-label { color: #FF5A5F; }
.psr-solution .psr-label { color: var(--color-electric); }
.psr-result .psr-label { color: var(--color-teal); }

.psr-text {
    font-size: 13.5px;
    color: var(--text-secondary);
}

/* 9. Products Section (Credibility Booster) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 32px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    border-color: var(--color-electric);
    background-color: var(--card-bg-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.product-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-color: rgba(0, 102, 255, 0.08);
    color: var(--color-electric);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 22px;
}

.product-card:hover .product-icon {
    background-color: var(--color-electric);
    color: var(--color-white);
}

.product-title {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.product-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-features-list {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-feature-bullet {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.product-feature-bullet svg {
    color: var(--color-teal);
}

/* 10. Testimonials */
.testimonial-toggle {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.toggle-pill {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 24px;
    border-radius: 30px;
    font-family: var(--font-sora);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 102, 255, 0.02);
}

.toggle-pill.active {
    background-color: var(--color-electric);
    color: var(--color-white);
    border-color: var(--color-electric);
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
}

.testimonial-group {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
    animation: fadeIn 0.4s ease;
}

.testimonial-group.active {
    display: grid;
}

.testimonial-visual-wrapper {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-glow);
    height: 100%;
}

.testimonial-side-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.testimonial-side-img:hover {
    transform: scale(1.02);
}

.testimonial-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: space-between;
}

.testimonial-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 16px;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 40px;
    color: rgba(0, 102, 255, 0.08);
    line-height: 1;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 24px;
    position: relative;
    z-index: 3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-electric);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-sora);
    border: 2px solid var(--border-color);
}

.author-info h4 {
    font-size: 15px;
    color: var(--text-primary);
}

.author-info p {
    font-size: 13px;
    color: var(--color-teal);
}

/* 11. Training & Academia Section (20% Weight) */
.training-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.training-content {
    max-width: 550px;
}

.training-features {
    margin-top: 30px;
}

.training-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.training-feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background-color: rgba(0, 102, 255, 0.08);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-electric);
    flex-shrink: 0;
}

.training-feature-title {
    font-size: 17px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.training-feature-desc {
    font-size: 13.5px;
    color: var(--text-secondary);
}

.training-visual {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-glow);
}

.training-stats {
    display: flex;
    gap: 24px;
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.t-stat {
    display: flex;
    flex-direction: column;
}

.t-stat-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-teal);
    font-family: var(--font-heading);
}

.t-stat-lbl {
    font-size: 12px;
    color: var(--text-secondary);
}

/* 12. Process Timeline Section */
.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
    transform: translateX(-50%);
    z-index: 1;
}

.process-line-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0;
    background-color: var(--color-teal);
    transition: height 0.1s ease;
    box-shadow: 0 0 10px rgba(0, 194, 168, 0.5);
}

.process-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 3;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-node {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 16px;
    height: 16px;
    background-color: var(--bg-primary);
    border: 3px solid var(--color-electric);
    border-radius: 50%;
    transform: translateX(-50%);
    transition: var(--transition);
    z-index: 3;
}

.process-step.active .process-node {
    border-color: var(--color-teal);
    background-color: var(--color-teal);
    box-shadow: 0 0 12px var(--color-teal);
}

.process-meta {
    text-align: right;
    padding-top: 14px;
}

.process-number {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-electric);
    margin-bottom: 6px;
}

.process-step.active .process-number {
    color: var(--color-teal);
}

.process-detail {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition);
}

.process-step:nth-child(even) .process-meta {
    order: 2;
    text-align: left;
}

.process-step:nth-child(even) .process-detail {
    order: 1;
}

.process-step.active .process-detail {
    border-color: var(--color-teal);
    background-color: var(--card-bg-hover);
}

.process-step-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.process-step-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 13. Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: var(--color-electric);
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
}

.blog-meta-wrapper {
    padding: 24px 24px 10px 24px;
}

.blog-category {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-teal);
    letter-spacing: 0.05em;
    font-family: var(--font-sora);
}

.blog-card-content {
    padding: 0 24px 24px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-title {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.blog-title:hover {
    color: var(--color-electric);
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: auto;
    font-size: 12.5px;
    color: var(--text-secondary);
}

/* 14. Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    padding-right: 20px;
}

.contact-title {
    font-size: 40px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-info-list {
    margin-top: 40px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(0, 102, 255, 0.08);
    color: var(--color-electric);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-text h4 {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-info-text p {
    font-size: 16px;
    color: var(--text-primary);
}

.contact-form-wrapper {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-glow);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background-color: var(--form-bg);
    border: 1px solid var(--form-border);
    color: var(--text-primary);
    padding: 14px 18px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-electric);
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.submit-btn-wrapper {
    display: flex;
    justify-content: flex-end;
}

.form-message {
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 14.5px;
    margin-bottom: 24px;
    display: none;
}

.form-message.success {
    display: block;
    background-color: rgba(0, 194, 168, 0.12);
    border: 1px solid var(--color-teal);
    color: var(--color-teal);
}

.form-message.error {
    display: block;
    background-color: rgba(255, 90, 95, 0.12);
    border: 1px solid #FF5A5F;
    color: #FF5A5F;
}

/* Footer styling (FORCED dark theme for premium contrast frame) */
.footer {
    background-color: #080d18;
    border-top: 1px solid rgba(0, 102, 255, 0.15);
    padding: 80px 0 30px 0;
    color: #FFFFFF;
}

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

.footer-col-about {
    padding-right: 40px;
}

.footer-col-about p {
    color: #A0B3C6;
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(18, 18, 18, 0.6);
    border: 1px solid rgba(0, 102, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #A0B3C6;
}

.social-link:hover {
    color: #FFFFFF;
    border-color: var(--color-electric);
    background-color: var(--color-electric);
    transform: translateY(-2px);
}

.footer-col-title {
    font-size: 14px;
    color: #FFFFFF;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-sora);
}

.footer .logo {
    color: #FFFFFF;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 13.5px;
    color: #A0B3C6;
}

.footer-links a:hover {
    color: #FFFFFF;
    padding-left: 4px;
}

.footer-contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: #A0B3C6;
    margin-bottom: 12px;
}

.footer-contact-info svg {
    color: var(--color-electric);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 102, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 13px;
    color: #A0B3C6;
}

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

.footer-legal-links a {
    font-size: 13px;
    color: #A0B3C6;
}

.footer-legal-links a:hover {
    color: #FFFFFF;
}

/* Responsiveness adjustments */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 46px;
    }
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .stat-item:nth-child(3)::after {
        display: none;
    }
    .services-grid {
        gap: 20px;
    }
    .service-card.size-35, .service-card.size-25 {
        grid-column: span 6;
    }
    .service-card.size-10 {
        grid-column: span 6;
    }
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-col-about {
        grid-column: span 2;
        padding-right: 0;
    }
    .mega-menu {
        width: 500px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }
    .subpage-hero {
        padding: 130px 0 60px 0;
    }
    .subpage-hero-title {
        font-size: 36px;
    }
    .hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 70px;
        background-color: var(--bg-primary) !important;
        background-image: none !important;
    }
    .hero-bg-slide.slide-1 {
        background-image: linear-gradient(to bottom, rgba(244, 247, 250, 0.95) 0%, rgba(244, 247, 250, 0.85) 100%), url('../assets/images/hero_background.png') !important;
    }
    .hero-bg-slide.slide-2 {
        background-image: linear-gradient(to bottom, rgba(244, 247, 250, 0.95) 0%, rgba(244, 247, 250, 0.85) 100%), url('../assets/images/hero_background_2.png') !important;
    }
    html.dark-theme .hero-bg-slide.slide-1,
    body.dark-theme .hero-bg-slide.slide-1 {
        background-image: linear-gradient(to bottom, rgba(18, 18, 18, 0.95) 0%, rgba(18, 18, 18, 0.85) 100%), url('../assets/images/hero_background.png') !important;
    }
    html.dark-theme .hero-bg-slide.slide-2,
    body.dark-theme .hero-bg-slide.slide-2 {
        background-image: linear-gradient(to bottom, rgba(18, 18, 18, 0.95) 0%, rgba(18, 18, 18, 0.85) 100%), url('../assets/images/hero_background_2.png') !important;
    }
    .hero-spacer-wrapper {
        display: none;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item::after {
        display: none;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card.size-35, .service-card.size-25, .service-card.size-10 {
        grid-column: span 12;
    }
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    .training-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .testimonial-group {
        grid-template-columns: 1fr;
    }
    .testimonial-visual-wrapper {
        height: 300px;
    }
    .process-timeline::before {
        left: 20px;
    }
    .process-line {
        left: 20px;
    }
    .process-step {
        grid-template-columns: 1fr;
        gap: 15px;
        padding-left: 50px;
    }
    .process-node {
        left: 20px;
    }
    .process-meta {
        text-align: left;
        padding-top: 0;
        margin-bottom: 10px;
    }
    .process-step:nth-child(even) .process-meta {
        order: 1;
    }
    .process-step:nth-child(even) .process-detail {
        order: 2;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile Mega Menu transforms to Accordion style links */
    .nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-primary);
        flex-direction: column;
        padding: 40px 24px;
        gap: 0;
        transition: var(--transition);
        overflow-y: auto;
        align-items: flex-start;
        z-index: 1000;
        border-top: 1px solid var(--border-color);
    }
    .nav.active {
        left: 0;
    }
    .nav-list {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
        gap: 0;
    }
    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-btn {
        width: 100%;
        padding: 20px 0;
        justify-content: space-between;
    }
    .mega-menu {
        position: static;
        transform: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
        padding: 0 0 20px 16px;
        box-shadow: none;
        border: none;
        background: none;
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .nav-item.active .mega-menu {
        display: grid;
    }
    .nav-toggle {
        display: flex;
    }
    .nav-toggle span {
        background-color: var(--text-primary);
    }
    .header-actions .btn-cta {
        display: none;
    }
    .logo-img {
        height: 38px;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 34px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-col-about {
        grid-column: span 1;
    }
}


/* ==========================================================================
   🤖 AI-Powered Qualification Chatbot Assistant Styles
   ========================================================================== */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: var(--font-body);
}

.chatbot-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-electric) 0%, var(--color-teal) 100%);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: var(--transition);
    position: relative;
}

.chatbot-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.chatbot-toggle-btn.active .chatbot-icon-container {
    transform: rotate(90deg);
}

.chatbot-toggle-btn:not(.active) .chatbot-icon-container {
    animation: bobbleIcon 3s ease-in-out infinite;
}

@keyframes bobbleIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.chatbot-toggle-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.35);
}

.chatbot-toggle-btn .pulse-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background-color: var(--color-orange);
    border: 2px solid var(--bg-secondary);
    border-radius: 50%;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(0.9); opacity: 1; }
}

.chatbot-window {
    position: fixed;
    bottom: 105px;
    right: 30px;
    width: 380px;
    height: 520px;
    max-height: calc(100vh - 140px);
    border-radius: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15), var(--shadow-glow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1001;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.chatbot-window.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.chatbot-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(0, 102, 255, 0.05) 100%);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.chatbot-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-electric);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 14px;
}

.chatbot-status-container {
    display: flex;
    flex-direction: column;
}

.chatbot-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
}

.chatbot-status {
    font-size: 11px;
    color: var(--color-teal);
    display: flex;
    align-items: center;
    gap: 4px;
}

.chatbot-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--color-teal);
    border-radius: 50%;
    display: inline-block;
}

.chatbot-close-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
}

.chatbot-close-btn:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: rgba(244, 247, 250, 0.3);
}

html.dark-theme .chatbot-messages {
    background: rgba(18, 18, 18, 0.2);
}

.chat-bubble {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.5;
}

.chat-bubble.bot {
    background: var(--card-bg-hover);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-bubble.user {
    background: var(--color-electric);
    color: #FFFFFF;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chatbot-controls {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.chat-options-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-btn-option {
    width: 100%;
    padding: 10px 14px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.chat-btn-option:hover {
    background: var(--color-electric);
    color: #FFFFFF;
    border-color: var(--color-electric);
    transform: translateX(3px);
}

.chat-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-text-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--form-bg);
    color: var(--text-primary);
    font-size: 13.5px;
}

.chat-text-input:focus {
    border-color: var(--color-electric);
    outline: none;
}

.chat-submit-btn {
    width: 100%;
    padding: 10px;
    background: var(--color-orange);
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.chat-submit-btn:hover {
    background: #ff7b2b;
}

.chat-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 150px;
    overflow-y: auto;
    padding: 8px 4px;
    margin-bottom: 10px;
}

.chat-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
}

.chat-checkbox-label input {
    cursor: pointer;
}

.chat-file-upload {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 14px;
    text-align: center;
    cursor: pointer;
    background: var(--form-bg);
    transition: var(--transition);
}

.chat-file-upload:hover {
    border-color: var(--color-electric);
}

.chat-file-upload span {
    font-size: 12.5px;
    color: var(--text-secondary);
}

.chat-file-upload input {
    display: none;
}

@media (max-width: 480px) {
    .chatbot-window {
        width: calc(100vw - 40px);
        right: 20px;
        bottom: 95px;
    }
}
