/* ============================================================================
   MLM Software Solutions - Global Styles
   ============================================================================ */

/* CSS Variables - Modern Color Scheme and Theme */
:root {
    /* Primary Colors */
    --primary-dark: #01614e;
    --primary: #00d084;
    --primary-light: #4ae8b5;
    --accent-gold: #00b894;
    --accent-gold-dark: #008566;

    /* Aliases used by page-level styles */
    --bg-card: #ffffff;
    --border-subtle: rgba(1, 97, 78, 0.10);
    --text-secondary: #64748b;

    /* Extended Color Palette */
    --primary-50: #f0fef9;
    --primary-100: #ddfcf3;
    --primary-200: #b7f7e5;
    --primary-300: #7ff1d0;
    --primary-400: #4ae8b5;
    --primary-500: #00d084;
    --primary-600: #00b894;
    --primary-700: #008566;
    --primary-800: #064e3b;
    --primary-900: #003d30;

    /* Text Colors */
    --text-dark: #0f172a;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --text-white: #ffffff;

    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-lighter: #f0fef9;
    --bg-dark: #0f172a;

    /* Border & Divider */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --divider-color: #cbd5e1;

    /* Shadows - Modern Depth */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-dark: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(0, 208, 132, 0.15);
    --shadow-glow-soft: 0 6px 18px rgba(0, 208, 132, 0.10);
    --shadow-glow-strong: 0 12px 28px -8px rgba(0, 208, 132, 0.2);
    --shadow-card-hover: 0 24px 48px -16px rgba(1, 97, 78, 0.28);

    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;

    /* Fluid Type Scale */
    --text-hero: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
    --text-h2: clamp(1.75rem, 1.45rem + 1.4vw, 2.25rem);
    --tracking-tight: -0.02em;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 5rem;

    /* Breakpoints */
    --breakpoint-mobile: 480px;
    --breakpoint-tablet: 768px;
    --breakpoint-desktop: 1024px;
    --breakpoint-large: 1440px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-full: 9999px;

    /* Transitions - Modern Easing */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================================
   Base Styles
   ============================================================================ */

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

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-secondary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* ============================================================================
   Accessibility
   ============================================================================ */

.skip-link {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-100%);
    background-color: var(--primary-dark);
    color: #fff;
    padding: var(--spacing-sm) var(--spacing-md);
    text-decoration: none;
    z-index: 9999;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    transition: transform 0.15s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

/* ============================================================================
   Typography
   ============================================================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--primary-dark);
}

h1 {
    font-size: var(--text-hero);
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--spacing-lg);
}

h2 {
    font-size: var(--text-h2);
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--spacing-lg);
    text-align: center;
    text-wrap: balance;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-md);
}

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

a:hover {
    color: var(--accent-gold-dark);
}

/* ============================================================================
   Container and Layout
   ============================================================================ */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

section {
    padding: var(--spacing-2xl) 0;
}

/* ============================================================================
   Header and Navigation
   ============================================================================ */

.header {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 1px solid rgba(1, 97, 78, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-light);
    transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-medium);
}

.navbar {
    padding: var(--spacing-md) 0;
    transition: padding var(--transition-normal);
}

.header.scrolled .navbar {
    padding: calc(var(--spacing-md) * 0.65) 0;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform var(--transition-fast);
    text-decoration: none;
    color: inherit;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-dark);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-menu a, .nav-link {
    color: var(--primary-dark);
    font-weight: 500;
    transition: color var(--transition-fast);
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.95rem;
    padding: var(--spacing-xs) 0;
}

.nav-menu a:hover, .nav-link:hover {
    color: var(--accent-gold);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-dropdown .nav-link::after {
    content: '';
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform var(--transition-fast);
    margin-top: -3px;
}

.nav-dropdown:hover .nav-link::after,
.nav-dropdown:focus-within .nav-link::after,
.nav-dropdown.active .nav-link::after {
    transform: rotate(-135deg);
    margin-top: 3px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    background: var(--bg-white);
    min-width: 520px;
    border-radius: 16px;
    border: 1px solid rgba(1, 97, 78, 0.10);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -12px);
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.22s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.04),
                0 12px 40px rgba(1, 97, 78, 0.10),
                0 24px 64px rgba(0, 0, 0, 0.08);
    margin-top: 10px;
    padding: 0;
    overflow: hidden;
}

/* Colored top accent strip */
.dropdown-menu::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 60%, #4ae8b5 100%);
}

@media (min-width: 769px) {
    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown:focus-within .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }
}

.dropdown-title {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary-dark);
    opacity: 0.5;
    padding: 18px 20px 12px;
    border-bottom: 1px solid rgba(1, 97, 78, 0.07);
    margin-bottom: 0;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 10px 10px 12px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text-dark);
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: background 0.18s ease,
                border-color 0.18s ease,
                transform 0.18s ease;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(1, 97, 78, 0.04) 0%, rgba(0, 208, 132, 0.06) 100%);
    border-left-color: var(--primary);
    transform: translateX(3px);
}

.dropdown-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(1, 97, 78, 0.08) 0%, rgba(0, 208, 132, 0.12) 100%);
    color: var(--primary-dark);
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dropdown-item:hover .dropdown-icon {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #ffffff;
    transform: scale(1.10) rotate(-3deg);
}

.dropdown-item-text strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1px;
    transition: color 0.18s ease;
}

.dropdown-item:hover .dropdown-item-text strong {
    color: var(--primary-dark);
}

.dropdown-item-text small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    line-height: 1.45;
}

.dropdown-item.active .dropdown-icon {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
}

.dropdown-item.active .dropdown-item-text strong {
    color: var(--primary-dark);
}

/* Resources (narrow) — single column, wider, cleaner */
.dropdown-menu-narrow {
    min-width: 360px;
}

.dropdown-menu-narrow .dropdown-grid {
    grid-template-columns: 1fr;
}

.dropdown-menu-narrow .dropdown-item {
    align-items: flex-start;
}

.dropdown-menu-narrow .dropdown-icon {
    margin-top: 1px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(1, 97, 78, 0.07);
    border-radius: 100px;
    padding: 3px;
    margin-left: var(--spacing-md);
    flex-shrink: 0;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-light);
    padding: 5px 10px;
    border-radius: 100px;
    transition: background var(--transition-fast), color var(--transition-fast);
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.lang-btn:hover {
    color: var(--primary-dark);
    background: rgba(1, 97, 78, 0.08);
}

.lang-btn.active {
    background: linear-gradient(135deg, #01614e 0%, #00b894 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(1, 97, 78, 0.28);
}

@media (max-width: 768px) {
    .lang-switcher {
        margin-left: 0;
        margin-top: var(--spacing-md);
        justify-content: center;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-dark);
    transition: all var(--transition-fast);
}

/* ============================================================================
   Hero Section
   ============================================================================ */

.hero {
    background: var(--bg-white);
    color: var(--text-dark);
    padding: var(--spacing-3xl) 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -10%;
    background: radial-gradient(circle at 20% 30%, rgba(0, 208, 132, 0.14), transparent 55%),
                radial-gradient(circle at 80% 20%, rgba(0, 184, 148, 0.12), transparent 55%),
                radial-gradient(circle at 50% 95%, rgba(1, 97, 78, 0.10), transparent 55%);
    background-size: 150% 150%;
    animation: auroraDrift 24s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(1, 97, 78, 0.08) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

@keyframes auroraDrift {
    0% {
        background-position: 0% 0%, 100% 0%, 50% 100%;
    }
    100% {
        background-position: 10% 15%, 88% 18%, 60% 85%;
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: var(--text-hero);
    font-weight: 700;
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--spacing-md);
    color: var(--primary-dark);
    text-wrap: balance;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-light);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.hero .btn-secondary {
    background: var(--bg-white);
    color: var(--primary-dark);
    border: 1.5px solid rgba(1, 97, 78, 0.15);
}

.hero .btn-secondary:hover {
    background: var(--primary-50);
    border-color: var(--primary-dark);
    color: var(--primary-dark);
}

.hero-trust {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.85rem;
    color: var(--primary-dark);
    font-weight: 500;
    background: var(--primary-50);
    border: 1px solid rgba(1, 97, 78, 0.1);
    border-radius: var(--radius-full);
    padding: var(--spacing-xs) var(--spacing-md);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    width: 100%;
    max-width: 350px;
}

.hero-graphic svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(1, 97, 78, 0.12));
}

/* ============================================================================
   Buttons
   ============================================================================ */

.btn {
    padding: var(--spacing-sm) calc(var(--spacing-lg) * 1.25);
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left var(--transition-normal);
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-600));
    color: var(--primary-dark);
    box-shadow: var(--shadow-glow-soft);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-strong);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--bg-white);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    transition: all var(--transition-normal);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.12);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* ============================================================================
   Overview Section
   ============================================================================ */

.overview {
    background-color: var(--bg-light);
    padding: var(--spacing-2xl) 0;
}

.overview h2 {
    margin-bottom: var(--spacing-xl);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.overview-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(0, 208, 132, 0.1);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-normal);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.overview-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover), var(--shadow-glow-soft);
    border-color: rgba(0, 208, 132, 0.25);
}

.overview-card:hover::before {
    opacity: 1;
}

.icon-box {
    width: 100%;
    height: 96px;
    margin: 0 0 var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 2.5rem;
    box-shadow: var(--shadow-glow-soft);
    transition: transform var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.icon-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
}

.overview-card:hover .icon-box {
    transform: scale(1.05);
}

.icon-box svg {
    width: 56px;
    height: 56px;
    position: relative;
    z-index: 1;
}

.illustration-box {
    width: 100%;
    height: 180px;
    margin: 0 0 var(--spacing-md);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform var(--transition-normal);
}

.overview-card:hover .illustration-box,
.service-card:hover .illustration-box {
    transform: scale(1.02);
}

.illustration-box svg {
    width: 100%;
    height: 100%;
    display: block;
}

.overview-card h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
}

.overview-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ============================================================================
   Why Choose Us Section
   ============================================================================ */

.why-choose-us {
    background-color: var(--bg-white);
    padding: var(--spacing-2xl) 0;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.why-choose-content h2 {
    text-align: left;
    margin-bottom: var(--spacing-lg);
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.benefits-list li:last-child {
    border-bottom: none;
}

.checkmark {
    color: var(--accent-gold);
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.benefits-list h3 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
}

.benefits-list p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.why-choose-image {
    display: flex;
    justify-content: center;
}

.why-choose-image svg {
    width: 100%;
    max-width: 350px;
    height: auto;
}

/* ============================================================================
   Comparison Section
   ============================================================================ */

.comparison {
    background-color: var(--bg-lighter);
    padding: var(--spacing-2xl) 0;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-light);
}

.comparison-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background-color: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.comparison-table th {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 600;
}

.comparison-feature-col {
    color: var(--text-dark);
    background-color: var(--bg-white);
    width: 28%;
}

.comparison-col-ours {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: var(--bg-white);
    width: 36%;
}

.comparison-col-others {
    color: var(--text-light);
    width: 36%;
}

.comparison-table tbody td.comparison-feature-col {
    font-weight: 600;
    color: var(--text-dark);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-yes,
.comparison-no {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.comparison-no {
    color: var(--text-light);
}

.comparison-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ============================================================================
   Services Section
   ============================================================================ */

.services {
    background-color: var(--bg-light);
    padding: var(--spacing-2xl) 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xl);
}

.section-light {
    background-color: var(--bg-light);
}

.section-title {
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    font-weight: 700;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(0, 208, 132, 0.1);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover), var(--shadow-glow-soft);
    border-color: rgba(0, 208, 132, 0.25);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
}

.service-desc {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.service-features {
    list-style: none;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.service-features li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-md);
    color: var(--text-light);
    position: relative;
}

.service-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

.service-link {
    color: var(--accent-gold);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all var(--transition-fast);
}

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

/* ============================================================================
   Features Section
   ============================================================================ */

.features {
    background-color: var(--bg-white);
    padding: var(--spacing-2xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.feature-item {
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(0, 208, 132, 0.05), rgba(0, 180, 148, 0.05));
    border: 1px solid rgba(0, 208, 132, 0.15);
    border-radius: var(--radius-xl);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    box-shadow: var(--shadow-glow-soft);
    transition: transform var(--transition-normal);
}

.feature-item:hover .feature-icon {
    transform: scale(1.05);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--accent-gold), var(--primary-light));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--transition-normal);
}

.feature-item:hover {
    background: linear-gradient(135deg, rgba(0, 208, 132, 0.1), rgba(0, 180, 148, 0.1));
    transform: translateX(4px);
    box-shadow: var(--shadow-glow-soft);
    border-color: rgba(0, 208, 132, 0.3);
}

.feature-item:hover::before {
    transform: scaleY(1);
}

.feature-item h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.feature-item p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ============================================================================
   Testimonials Section
   ============================================================================ */

.testimonials {
    background: linear-gradient(135deg, #01614e 0%, #00d084 50%, #00b894 100%);
    color: var(--bg-white);
    padding: var(--spacing-2xl) 0;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.05), transparent 50%);
    pointer-events: none;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
}

.testimonial-card:hover {
    background-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
}

.stars {
    color: #ffd166;
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    letter-spacing: 2px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.testimonial-author {
    color: var(--primary-100);
    font-weight: 600;
    margin-bottom: 0;
}

/* ============================================================================
   FAQ Section
   ============================================================================ */

.faq {
    background-color: var(--bg-light);
    padding: var(--spacing-2xl) 0;
}

.faq h2 {
    margin-bottom: var(--spacing-xl);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--spacing-md);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 208, 132, 0.1);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(0, 208, 132, 0.25);
    box-shadow: var(--shadow-glow-soft);
}

.faq-item summary {
    padding: var(--spacing-lg);
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-dark);
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-normal);
    background: linear-gradient(90deg, rgba(0, 208, 132, 0.02), transparent);
}

.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--accent-gold);
    transition: transform var(--transition-normal);
    font-weight: 700;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary:hover {
    background: linear-gradient(90deg, rgba(0, 208, 132, 0.08), rgba(0, 208, 132, 0.02));
    color: var(--accent-gold);
}

.faq-item p {
    padding: 0 var(--spacing-lg) var(--spacing-lg) var(--spacing-lg);
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.8;
}

.faq-item p.blog-meta {
    padding-top: var(--spacing-md);
    padding-bottom: 0;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-gold);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================================================
   Contact CTA Section
   ============================================================================ */

.contact-cta {
    background: linear-gradient(135deg, #00b894 0%, #008566 100%);
    color: var(--bg-white);
    padding: var(--spacing-2xl) 0;
    text-align: center;
}

.contact-cta h2 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-md);
}

.contact-cta p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--bg-white);
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.contact-cta .btn-primary {
    background-color: var(--bg-white);
    color: #00d084;
}

.contact-cta .btn-primary:hover {
    background-color: #f0fef9;
}

.contact-cta .btn-secondary {
    border-color: var(--bg-white);
    color: var(--bg-white);
}

.contact-cta .btn-secondary:hover {
    background-color: var(--bg-white);
    color: #00d084;
}

/* ============================================================================
   Contact Section
   ============================================================================ */

.contact {
    background-color: var(--bg-white);
    padding: var(--spacing-2xl) 0;
}

.contact h2 {
    margin-bottom: var(--spacing-xl);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
}

.contact-info h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
}

.contact-details {
    list-style: none;
}

.contact-details li {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.contact-details li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-details strong {
    color: var(--primary-dark);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.contact-details a {
    color: var(--accent-gold);
    transition: color var(--transition-fast);
}

.contact-details a:hover {
    color: var(--accent-gold-dark);
}

/* Contact Form */
.contact-form {
    background-color: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
}

.contact-form h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-lg);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-dark);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group select {
    background-color: var(--bg-white);
    color: var(--text-dark);
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.contact-form .btn {
    width: 100%;
    margin-top: var(--spacing-sm);
}

/* ============================================================================
   Footer
   ============================================================================ */

.footer {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent-gold), var(--primary-light));
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
    color: var(--accent-gold);
    margin-bottom: var(--spacing-md);
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #e8e8e8;
    display: block;
    padding: var(--spacing-xs) 0;
    transition: all var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: var(--spacing-lg);
    text-align: center;
    color: #a8a8a8;
}

.footer-bottom p {
    margin-bottom: var(--spacing-sm);
}

.footer-bottom p:last-child {
    margin-bottom: 0;
}

/* ============================================================================
   Responsive Design - Tablet
   ============================================================================ */

@media (max-width: 1024px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        padding: 0 var(--spacing-md);
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Narrow desktop/tablet - tighten nav so items don't wrap before the mobile menu kicks in */
@media (min-width: 769px) and (max-width: 880px) {
    .nav-menu {
        gap: 1rem;
    }

    .nav-menu a,
    .nav-link {
        font-size: 0.875rem;
    }
}

/* ============================================================================
   Responsive Design - Mobile
   ============================================================================ */

@media (max-width: 768px) {
    :root {
        --spacing-lg: 1.5rem;
        --spacing-2xl: 2.5rem;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    section {
        padding: var(--spacing-xl) 0;
    }

    /* Mobile Navigation */
    .nav-menu {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background-color: var(--bg-white);
        border-bottom: 1px solid rgba(1, 97, 78, 0.08);
        box-shadow: var(--shadow-medium);
        padding: 0 var(--spacing-md);
        gap: var(--spacing-md);
        transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.3s ease, visibility 0.35s;
    }

    .nav-menu > li > a {
        display: block;
        width: 100%;
        text-align: left;
        padding: var(--spacing-xs) 0;
    }

    .nav-menu.active {
        max-height: 1200px;
        opacity: 1;
        visibility: visible;
        padding: var(--spacing-md);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Typography */
    h1 {
        font-size: 1.75rem;
        margin-bottom: var(--spacing-md);
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Hero Section */
    .hero {
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    /* Grid Layouts */
    .overview-grid,
    .services-grid,
    .features-grid,
    .testimonials-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .benefits-list li {
        gap: var(--spacing-md);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-buttons {
        flex-direction: column;
    }

    /* Form */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: var(--spacing-sm);
    }

    /* FAQ */
    .faq-item summary {
        padding: var(--spacing-md);
    }

    .faq-item p {
        padding: 0 var(--spacing-md) var(--spacing-md) var(--spacing-md);
    }

    /* ---- Mobile dropdown menus ---- */
    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none !important;
        box-shadow: none !important;
        background-color: transparent !important;
        border: none !important;
        border-left: 2px solid rgba(0, 208, 132, 0.35) !important;
        margin: 0 0 4px 8px !important;
        padding: 0 !important;
        min-width: 0 !important;
        transition: max-height 0.3s ease, visibility 0.3s ease;
    }

    .nav-dropdown.active .dropdown-menu {
        visibility: visible;
        max-height: 800px;
    }

    /* Hide desktop-only chrome */
    .dropdown-title,
    .dropdown-menu::before {
        display: none !important;
    }

    /* Stack items vertically — override grid for BOTH dropdowns */
    .dropdown-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 4px 0 !important;
    }

    /* Each item: horizontal flex row with icon + text */
    .dropdown-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 9px 12px !important;
        color: var(--primary-dark) !important;
        font-size: 0.9rem !important;
        font-weight: 500 !important;
        border-left: none !important;
        border-radius: 6px !important;
        background: transparent !important;
        transform: none !important;
        text-decoration: none !important;
    }

    .dropdown-item:hover,
    .dropdown-item:active {
        background: rgba(0, 208, 132, 0.08) !important;
        transform: none !important;
    }

    /* Small teal icon — visible on mobile */
    .dropdown-icon {
        display: flex !important;
        flex-shrink: 0 !important;
        align-items: center !important;
        justify-content: center !important;
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        background: none !important;
        border-radius: 0 !important;
        color: var(--primary) !important;
        margin-top: 0 !important;
    }

    .dropdown-icon svg,
    .dropdown-icon i {
        width: 18px !important;
        height: 18px !important;
        color: var(--primary) !important;
        stroke: var(--primary) !important;
    }

    /* Text container */
    .dropdown-item-text {
        display: block !important;
        flex: 1 !important;
        min-width: 0 !important;
    }

    .dropdown-item-text strong,
    .dropdown-item strong {
        display: block !important;
        color: var(--primary-dark) !important;
        font-size: 0.875rem !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
    }

    /* Hide description text on mobile to keep it compact */
    .dropdown-item-text small {
        display: none !important;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown .nav-link {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: var(--spacing-xs) 0;
        color: var(--primary-dark);
    }
}

/* ============================================================================
   Performance and Animations
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================================
   About Page Styles
   ============================================================================ */

.about-intro {
    padding: var(--spacing-2xl) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.about-content h2 {
    text-align: left;
    margin-bottom: var(--spacing-lg);
}

.about-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.stat-card {
    background-color: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    text-align: center;
    border-left: 4px solid var(--accent-gold);
    transition: all var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    color: var(--text-dark);
    font-weight: 600;
}

.mission-vision {
    background-color: var(--bg-light);
    padding: var(--spacing-2xl) 0;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.mission-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    margin-bottom: var(--spacing-md);
    flex-shrink: 0;
}

.mission-icon svg {
    width: 22px;
    height: 22px;
}

.mission-card {
    background-color: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-normal);
}

.mission-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-6px);
}

.mission-card h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
}

.mission-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

.values-list {
    list-style: none;
    margin-top: var(--spacing-md);
}

.values-list li {
    padding: var(--spacing-sm) 0;
    color: var(--text-light);
}

.values-list li strong {
    color: var(--primary-dark);
}

.team {
    padding: var(--spacing-2xl) 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.team-card {
    background-color: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-light);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.team-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    box-shadow: var(--shadow-glow-soft);
    transition: transform var(--transition-normal);
}

.team-card:hover .team-avatar {
    transform: scale(1.05);
}

.team-card h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-xs);
}

.team-role {
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.team-bio {
    color: var(--text-light);
    font-size: 0.95rem;
}

.why-section {
    padding: var(--spacing-2xl) 0;
}

.features-list {
    display: grid;
    gap: var(--spacing-lg);
}

.feature-row {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background-color: var(--bg-light);
    border-radius: var(--radius-xl);
    align-items: start;
    transition: all var(--transition-normal);
}

.feature-row:hover {
    background-color: #f0f0f0;
    transform: translateX(4px);
    box-shadow: var(--shadow-light);
}

.feature-icon {
    font-size: 2rem;
    display: flex;
    align-items: center;
}

.feature-details h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.feature-details p {
    color: var(--text-light);
    margin-bottom: 0;
}

.implementation {
    background-color: var(--bg-light);
    padding: var(--spacing-2xl) 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.step {
    background: linear-gradient(160deg, rgba(0,208,132,0.06) 0%, rgba(0,180,148,0.04) 100%);
    border: 1px solid rgba(0,208,132,0.18);
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px -4px rgba(1,97,78,0.10);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.step:hover {
    background: linear-gradient(160deg, rgba(0,208,132,0.10) 0%, rgba(0,180,148,0.07) 100%);
    border-color: rgba(0,208,132,0.35);
    box-shadow: 0 16px 40px -12px rgba(1,97,78,0.18);
    transform: translateY(-6px);
}

.step-number {
    width: 50px;
    height: 50px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: var(--shadow-glow-soft);
    transition: transform var(--transition-normal);
}

.step:hover .step-number {
    transform: scale(1.05);
}

.step h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
}

.step p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.legal-content {
    color: var(--text-dark);
    line-height: 1.8;
}

.legal-content h2 {
    text-align: left;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    color: var(--primary-dark);
}

.legal-content p {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

/* ============================================================================
   Form Validation Styles
   ============================================================================ */

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.field-error {
    display: block;
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: var(--spacing-xs);
    font-weight: 500;
}

.form-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    animation: slideDown 0.3s ease-in-out;
}

.form-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================================
   Modal Styles
   ============================================================================ */

.demo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-dark);
    position: relative;
    animation: slideUp 0.3s ease-in-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color var(--transition-fast);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--accent-gold);
}

.modal-content h2 {
    text-align: left;
    margin-bottom: var(--spacing-lg);
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
}

.demo-form {
    width: 100%;
}

/* ============================================================================
   Scroll Animation
   ============================================================================ */

.in-view {
    animation: fadeInUp 0.6s ease-in-out forwards;
}

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

/* ============================================================================
   Active Navigation Link
   ============================================================================ */

.nav-menu a.active {
    color: var(--accent-gold);
    font-weight: 700;
}

/* ============================================================================
   Loading State
   ============================================================================ */

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loader {
    border: 4px solid var(--bg-light);
    border-top: 4px solid var(--accent-gold);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: var(--spacing-lg) auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ============================================================================
   Scroll To Top Button
   ============================================================================ */

.scroll-top-btn {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-600));
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.85);
    transition: all var(--transition-normal);
    z-index: 999;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-glow-strong);
}

.scroll-top-btn svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: var(--spacing-md);
        right: var(--spacing-md);
        width: 44px;
        height: 44px;
    }
}

/* ============================================================================
   Print Styles
   ============================================================================ */

/* ============================================================================
   Page load fade-in
   ============================================================================ */

@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

main {
    animation: pageFadeIn 0.4s ease both;
}

/* ============================================================================
   WhatsApp Float Button
   ============================================================================ */

.whatsapp-float {
    position: fixed;
    bottom: 88px;
    right: var(--spacing-lg);
    width: 52px;
    height: 52px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    z-index: 1000;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 80px;
        right: var(--spacing-md);
        width: 48px;
        height: 48px;
    }
}

/* ============================================================================
   Inner-page hero (no hero-image): tighten height, single column
   ============================================================================ */

.hero:not(:has(.hero-image)) {
    min-height: 360px;
}

.hero-container:not(:has(.hero-image)) {
    grid-template-columns: 1fr;
    max-width: 760px;
}

@media print {
    .header,
    .footer,
    .mobile-menu-toggle,
    .contact-form,
    .demo-modal,
    .scroll-top-btn {
        display: none;
    }

    body {
        background-color: white;
        color: black;
    }

    a {
        color: var(--primary-dark);
    }
}

/* ============================================================================
   Stats Strip — homepage social proof bar
   ============================================================================ */

.stats-strip {
    background: linear-gradient(135deg, #01614e 0%, #01856a 60%, #00a37f 100%);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.stats-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.stats-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-chip {
    padding: var(--spacing-md) var(--spacing-lg);
    border-right: 1px solid rgba(255,255,255,0.15);
}

.stat-chip:last-child {
    border-right: none;
}

.stat-chip-number {
    display: block;
    font-size: 2.6rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat-chip-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@media (max-width: 600px) {
    .stats-strip-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-chip {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.12);
        padding: var(--spacing-md);
    }
    .stat-chip:nth-child(odd) {
        border-right: 1px solid rgba(255,255,255,0.12);
    }
    .stat-chip:last-child,
    .stat-chip:nth-last-child(2):nth-child(odd) {
        border-bottom: none;
    }
}

/* ============================================================================
   Service Icon — icon badge added to service cards on homepage
   ============================================================================ */

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-lighter);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: var(--primary-dark);
    flex-shrink: 0;
}

.service-icon svg {
    width: 22px;
    height: 22px;
}

.service-card > p {
    flex-grow: 1;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.services-view-all {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* ============================================================================
   Why ByteStraits Section
   ============================================================================ */

.why-us {
    background: var(--bg-light);
    padding: var(--spacing-2xl) 0;
}

.why-us h2 {
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.why-us-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    border: 1px solid var(--border-color);
    border-bottom: 3px solid transparent;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition-normal), transform var(--transition-normal), border-color var(--transition-normal);
}

.why-us-card:hover {
    box-shadow: 0 12px 40px rgba(1, 97, 78, 0.10);
    transform: translateY(-5px);
    border-bottom-color: var(--primary-light);
}

.why-us-icon {
    width: 52px;
    height: 52px;
    background: var(--bg-lighter);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: var(--primary-dark);
}

.why-us-icon svg {
    width: 24px;
    height: 24px;
}

.why-us-stat {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-dark);
    background: rgba(0, 208, 132, 0.10);
    border-radius: 100px;
    padding: 4px 10px;
    display: inline-block;
    margin-bottom: 10px;
}

.why-us-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 var(--spacing-sm) 0;
}

.why-us-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 0 auto 0;
    padding-bottom: var(--spacing-md);
}

.why-us-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: var(--spacing-sm);
    transition: gap 0.2s ease;
}

.why-us-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.why-us-link:hover { gap: 8px; }
.why-us-link:hover svg { transform: translateX(3px); }

@media (max-width: 768px) {
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* ============================================================================
   Hero Badge & Trust Row
   ============================================================================ */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(0, 208, 132, 0.1);
    color: var(--primary-dark);
    border: 1px solid rgba(0, 208, 132, 0.28);
    border-radius: 100px;
    padding: 7px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.01em;
}

.hero-trust-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-avatars {
    display: flex;
    align-items: center;
}

.avatar-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2.5px solid #fff;
    display: inline-block;
    margin-left: -9px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.hero-avatars .avatar-dot:first-child {
    margin-left: 0;
}

.hero-trust-text {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.4;
}

.hero-trust-text strong {
    color: var(--text-dark);
}

/* Remove old hero-trust plain text style */
.hero-trust { display: none; }

/* ============================================================================
   Section Eyebrow Label
   ============================================================================ */

.section-eyebrow {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary-light);
    margin-bottom: 8px;
}

/* ============================================================================
   How It Works — 3-step process section
   ============================================================================ */

.how-it-works {
    background: var(--bg-white);
    padding: var(--spacing-2xl) 0;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.how-it-works h2 {
    margin-bottom: var(--spacing-2xl);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr 40px 1fr 40px 1fr;
    gap: 0;
    align-items: start;
    text-align: left;
}

.step-item {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--primary-light);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    box-shadow: 0 2px 12px rgba(1, 97, 78, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-top-color 0.25s ease;
}

.step-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 44px rgba(1, 97, 78, 0.12);
    border-top-color: var(--primary-dark);
}

/* Icon + badge wrapper */
.step-head {
    margin-bottom: 6px;
}

.step-icon-wrap {
    position: relative;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #01614e 0%, #00b894 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(1, 97, 78, 0.28);
    transition: transform 0.25s ease;
}

.step-item:hover .step-icon-wrap {
    transform: scale(1.08) rotate(-4deg);
}

/* Step number badge on icon */
.step-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    color: var(--primary-dark);
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-light);
    box-shadow: 0 2px 6px rgba(0,0,0,0.10);
}

.step-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.step-item p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

/* Small tag at the bottom of each card */
.step-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.73rem;
    font-weight: 600;
    color: var(--primary-dark);
    background: rgba(0, 208, 132, 0.10);
    border-radius: 100px;
    padding: 4px 10px;
    margin-top: 4px;
    width: fit-content;
}

/* Connector arrow */
.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 28px;
    color: var(--primary-dark);
    opacity: 0.7;
}

.step-connector svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    .step-connector {
        display: none;
    }
}

/* ============================================================================
   Feature Highlights — alternating split layout
   ============================================================================ */

.feature-highlights {
    background: var(--bg-light);
    padding: var(--spacing-2xl) 0;
}

.feature-highlights > .container > .section-eyebrow,
.feature-highlights > .container > h2 {
    text-align: center;
}

.feature-highlights > .container > h2 {
    margin-bottom: var(--spacing-2xl);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
    border-bottom: 1px solid var(--border-light);
}

.feature-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.feature-row--reversed > .feature-visual {
    order: 2;
}

.feature-row--reversed > .feature-text {
    order: 1;
}

.feature-visual {
    background: var(--bg-white);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(1, 97, 78, 0.10), 0 2px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
}

.feature-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
    pointer-events: none;
}

.feature-row:hover .feature-visual {
    box-shadow: 0 20px 60px rgba(1, 97, 78, 0.16), 0 4px 12px rgba(0,0,0,0.06);
    transform: translateY(-4px);
}

.feature-visual svg {
    width: 100%;
    height: auto;
    display: block;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 208, 132, 0.10);
    color: var(--primary-dark);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: var(--spacing-sm);
    border: 1px solid rgba(0, 208, 132, 0.25);
}

.feature-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
}

.feature-text > p {
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: var(--spacing-md);
}

.feature-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-md) 0;
}

.feature-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.92rem;
    padding: 6px 0;
    line-height: 1.4;
}

.feature-bullets li::before {
    content: '';
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    background-color: rgba(0, 208, 132, 0.13);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2301614e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-dark);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid rgba(0, 184, 148, 0.35);
    padding-bottom: 2px;
    transition: gap 0.2s ease, border-color 0.2s ease;
}

.feature-link:hover {
    gap: 10px;
    border-color: var(--primary-dark);
}

.feature-link svg {
    transition: transform 0.2s ease;
}

.feature-link:hover svg {
    transform: translateX(3px);
}

@media (max-width: 900px) {
    .feature-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    .feature-row--reversed > .feature-visual {
        order: 0;
    }
    .feature-row--reversed > .feature-text {
        order: 0;
    }
}

/* ============================================================================
   Compliance Trust Bar
   ============================================================================ */

.compliance-bar {
    background: linear-gradient(135deg, #f0fdf9 0%, #f8fffe 100%);
    border-top: 1px solid rgba(0, 184, 148, 0.18);
    border-bottom: 1px solid rgba(0, 184, 148, 0.18);
    padding: var(--spacing-lg) 0;
}

.compliance-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.compliance-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ffffff;
    color: var(--text-dark);
    border: 1px solid rgba(0, 184, 148, 0.22);
    border-radius: 100px;
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(1, 97, 78, 0.07);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.compliance-badge:hover {
    border-color: var(--primary-light);
    box-shadow: 0 2px 10px rgba(1, 97, 78, 0.13);
}

.compliance-badge svg {
    color: var(--primary-dark);
    flex-shrink: 0;
}

.compliance-divider {
    display: none;
}

@media (max-width: 768px) {
    .compliance-inner {
        gap: 8px;
        justify-content: center;
    }
    .compliance-badge {
        font-size: 0.78rem;
        padding: 7px 13px;
    }
}

/* ============================================================================
   Hero graphic improvements
   ============================================================================ */

.hero-graphic svg {
    filter: drop-shadow(0 16px 40px rgba(1, 97, 78, 0.12));
}

/* ============================================================================
   Icon Container Upgrade — gradient bg, white icons, shadow & hover motion
   ============================================================================ */

.service-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: linear-gradient(135deg, #01614e 0%, #00b894 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(1, 97, 78, 0.28), inset 0 1px 0 rgba(255,255,255,0.14);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    flex-shrink: 0;
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 14px 34px rgba(1, 97, 78, 0.4), inset 0 1px 0 rgba(255,255,255,0.14);
}

.why-us-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, #01614e 0%, #00b894 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(1, 97, 78, 0.25), inset 0 1px 0 rgba(255,255,255,0.14);
    transition: transform 0.22s ease;
}

.why-us-icon svg {
    width: 26px;
    height: 26px;
}

.why-us-card:hover .why-us-icon {
    transform: scale(1.08) rotate(-4deg);
}

/* ============================================================================
   Contact section — tighter spacing (--spacing-lg was 2rem = too much gap)
   ============================================================================ */

.contact h2 {
    margin-bottom: var(--spacing-md);
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.contact-details li {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.contact-details li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* ============================================================================
   Contact section — compact icon cards + tighter form
   ============================================================================ */

.contact {
    padding: var(--spacing-xl) 0;
}

.contact h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.contact-info > p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: var(--spacing-md);
}

/* 2x2 icon card grid */
.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    background: var(--bg-light);
    border-radius: 10px;
    padding: 13px;
    border: 1px solid var(--border-light);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

a.contact-card:hover {
    border-color: rgba(0, 208, 132, 0.35);
    box-shadow: 0 2px 14px rgba(0, 208, 132, 0.1);
}

.contact-card-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: linear-gradient(135deg, #01614e, #00b894);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.contact-card-label {
    display: block;
    font-size: 0.67rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 3px;
}

.contact-card-value {
    display: block;
    font-size: 0.82rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.35;
}

a.contact-card .contact-card-value {
    color: var(--primary-dark);
}

/* Slim form inputs */
.contact-form {
    padding: var(--spacing-md);
}

.contact-form h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

.contact-form .form-group {
    margin-bottom: 11px;
}

.contact-form label {
    font-size: 0.8rem;
    margin-bottom: 4px;
    display: block;
    font-weight: 600;
    color: var(--text-dark);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 9px 12px;
    font-size: 0.875rem;
}

@media (max-width: 480px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

/* Contact map embed */
.contact-map {
    margin-top: 10px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    height: 200px;
    background: var(--bg-light);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
}

/* ============================================================================
   CTA Section — enhanced with dot pattern, fixed buttons, direct contact line
   ============================================================================ */

.contact-cta {
    position: relative;
    overflow: hidden;
    padding: var(--spacing-2xl) 0;
}

/* Dot overlay pattern */
.cta-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.14) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}

/* Eyebrow label */
.cta-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.65);
    margin-bottom: 10px;
}

/* Fix: use background shorthand so it overrides the gradient on .btn-primary */
.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    background: #ffffff;
    color: #01614e;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cta-btn-primary:hover {
    background: #f0fef9;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.7);
}

.cta-btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Direct contact line */
.cta-direct {
    margin-top: var(--spacing-md);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0;
}

.cta-direct a {
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s;
}

.cta-direct a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ============================================================================
   ANIMATION SYSTEM — Hero entrance, scroll reveal, counters
   ============================================================================ */

/* --- Keyframes --- */
@keyframes bs-fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes bs-fade-left {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes bs-fade-right {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes bs-scale-in {
    from { opacity: 0; transform: scale(0.82); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes bs-badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 208, 132, 0.4); }
    50%       { box-shadow: 0 0 0 8px rgba(0, 208, 132, 0); }
}
@keyframes bs-float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}
@keyframes bs-line-grow {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

/* --- Hero entrance (CSS-only, fires on page load) --- */
.hero-badge {
    animation: bs-fade-up 0.55s cubic-bezier(0.22,1,0.36,1) 0.05s both;
}
.hero-badge::after {
    content: '';
    animation: bs-badge-pulse 2.5s ease-in-out 0.8s infinite;
}
.hero-title {
    animation: bs-fade-up 0.65s cubic-bezier(0.22,1,0.36,1) 0.18s both;
}
.hero-subtitle {
    animation: bs-fade-up 0.65s cubic-bezier(0.22,1,0.36,1) 0.32s both;
}
.hero-cta {
    animation: bs-fade-up 0.65s cubic-bezier(0.22,1,0.36,1) 0.46s both;
}
.hero-trust-row {
    animation: bs-fade-up 0.65s cubic-bezier(0.22,1,0.36,1) 0.60s both;
}
.hero-image {
    animation: bs-fade-left 0.85s cubic-bezier(0.22,1,0.36,1) 0.30s both;
}
.hero-graphic {
    animation: bs-float 5s ease-in-out 1.2s infinite;
}

/* --- Scroll reveal base states --- */
.bs-reveal,
.bs-reveal-left,
.bs-reveal-right,
.bs-reveal-scale {
    opacity: 0;
    will-change: opacity, transform;
    transition: opacity 0.68s cubic-bezier(0.22,1,0.36,1),
                transform 0.68s cubic-bezier(0.22,1,0.36,1);
}
.bs-reveal       { transform: translateY(36px); }
.bs-reveal-left  { transform: translateX(-42px); }
.bs-reveal-right { transform: translateX(42px); }
.bs-reveal-scale { transform: scale(0.84); }

.bs-reveal.bs-visible,
.bs-reveal-left.bs-visible,
.bs-reveal-right.bs-visible,
.bs-reveal-scale.bs-visible {
    opacity: 1;
    transform: none;
}

/* Stagger delays */
.bs-delay-1 { transition-delay: 0.07s; }
.bs-delay-2 { transition-delay: 0.14s; }
.bs-delay-3 { transition-delay: 0.21s; }
.bs-delay-4 { transition-delay: 0.28s; }
.bs-delay-5 { transition-delay: 0.35s; }

/* Stat number flash on count-up complete */
@keyframes bs-stat-pop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.12); }
    100% { transform: scale(1); }
}
.stat-chip-number.bs-count-done {
    animation: bs-stat-pop 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}

/* Section heading underline animation */
.bs-heading-line {
    display: block;
    height: 3px;
    width: 48px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-light));
    border-radius: 2px;
    margin: 10px auto 0;
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 0.55s cubic-bezier(0.22,1,0.36,1) 0.3s;
}
.bs-visible .bs-heading-line,
.bs-heading-line.bs-visible {
    transform: scaleX(1);
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .bs-reveal, .bs-reveal-left, .bs-reveal-right, .bs-reveal-scale {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .hero-badge, .hero-title, .hero-subtitle, .hero-cta, .hero-trust-row, .hero-image, .hero-graphic {
        animation: none !important;
    }
}

/* ============================================================================
   Hero Visual Enhancements — floating cards, glow, larger dashboard
   ============================================================================ */

/* Wrapper holds the graphic + floats in a relative container */
.hero-visual-wrap {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

/* Enlarge the dashboard */
.hero-visual-wrap .hero-graphic {
    max-width: 100%;
    filter: drop-shadow(0 24px 60px rgba(1, 97, 78, 0.22))
            drop-shadow(0 8px 20px rgba(0, 0, 0, 0.10));
}

/* Ambient glow disc behind the graphic */
.hero-visual-wrap::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    right: 5%;
    bottom: 10%;
    background: radial-gradient(ellipse at center, rgba(0, 208, 132, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

/* Floating micro-card base */
.hero-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: 0 8px 32px rgba(1, 97, 78, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 208, 132, 0.2);
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 2;
}

.hero-float div {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.hero-float strong {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero-float span {
    font-size: 0.72rem;
    color: var(--text-light);
    line-height: 1.2;
}

/* Top-left float — new members */
.hero-float--top {
    top: -18px;
    left: -20px;
    animation: bs-float 4s ease-in-out 0.5s infinite;
}

.hero-float-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    border-radius: 50%;
    background: #00d084;
    box-shadow: 0 0 0 3px rgba(0, 208, 132, 0.25);
    animation: bs-badge-pulse 2s ease-in-out infinite;
    display: inline-block;
}

/* Bottom-right float — commissions */
.hero-float--bottom {
    bottom: -14px;
    right: -16px;
    animation: bs-float 4.5s ease-in-out 1.2s infinite;
    color: var(--primary-dark);
}

.hero-float--bottom svg {
    color: var(--primary-dark);
    flex-shrink: 0;
}

/* Gradient highlight on hero title "Malaysia" */
.hero-title-accent {
    background: linear-gradient(135deg, #01614e, #00b894);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stronger hero background — radial spotlight from top-right */
.hero::before {
    background: radial-gradient(ellipse at 75% 15%, rgba(0, 208, 132, 0.22), transparent 52%),
                radial-gradient(ellipse at 10% 80%, rgba(1, 97, 78, 0.12), transparent 48%),
                radial-gradient(ellipse at 50% 50%, rgba(0, 184, 148, 0.07), transparent 70%);
}

/* Request Demo — add arrow icon via CSS */
/* Hero CTA buttons — differentiated primary vs secondary */
.hero-cta .btn-primary {
    background: linear-gradient(135deg, #01614e 0%, #00b894 100%);
    color: #ffffff;
    box-shadow: 0 8px 28px rgba(1, 97, 78, 0.38);
    font-size: 1rem;
    font-weight: 700;
    padding: 15px 32px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.hero-cta .btn-primary:hover {
    box-shadow: 0 12px 36px rgba(1, 97, 78, 0.50);
    transform: translateY(-2px);
}
.hero-cta .btn-primary .btn-arrow {
    transition: transform 0.22s ease;
    display: flex;
    align-items: center;
}
.hero-cta .btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.hero-cta .btn-secondary {
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid rgba(1, 97, 78, 0.3);
    font-size: 1rem;
    font-weight: 600;
    padding: 13px 28px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.hero-cta .btn-secondary:hover {
    background: rgba(1, 97, 78, 0.06);
    border-color: var(--primary-dark);
}
.hero-cta .btn-secondary svg {
    fill: #25d366;
    transition: transform 0.2s ease;
}
.hero-cta .btn-secondary:hover svg {
    transform: scale(1.15);
}

@media (max-width: 768px) {
    .hero-visual-wrap { max-width: 100%; }
    .hero-float { display: none; }
}

/* ============================================================================
   mlm-software.html — Implementation grid + feature grid overrides
   ============================================================================ */

/* 6-col implementation grid */
.impl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.impl-step {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--primary-light);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    box-shadow: 0 2px 12px rgba(1, 97, 78, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-top-color 0.25s ease;
}

.impl-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(1, 97, 78, 0.11);
    border-top-color: var(--primary-dark);
}

.impl-step-icon {
    position: relative;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #01614e 0%, #00b894 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(1, 97, 78, 0.26);
    margin-bottom: 6px;
    transition: transform 0.25s ease;
}

.impl-step:hover .impl-step-icon {
    transform: scale(1.08) rotate(-4deg);
}

.impl-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    width: 20px;
    height: 20px;
    background: #ffffff;
    color: var(--primary-dark);
    border-radius: 50%;
    font-size: 0.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-light);
    box-shadow: 0 2px 5px rgba(0,0,0,0.10);
}

.impl-step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.impl-step p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

/* Feature items with icons (mlm-software page) */
.mlm-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.mlm-feature-item {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    border: 1px solid var(--border-color);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.mlm-feature-item:hover {
    box-shadow: 0 12px 36px rgba(1, 97, 78, 0.10);
    transform: translateY(-4px);
}

.mlm-feature-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: var(--spacing-sm) 0 6px;
}

.mlm-feature-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 900px) {
    .impl-grid { grid-template-columns: repeat(2, 1fr); }
    .mlm-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .impl-grid { grid-template-columns: 1fr; }
    .mlm-features-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Icon badge motion & micro-interactions
   ═══════════════════════════════════════════════════════════════════════════ */

/* Positioning + clip for shimmer (only badges without overflow children) */
.why-us-icon,
.service-icon {
    position: relative;
    overflow: hidden;
}

/* ── Keyframes ─────────────────────────────────────────────────────────── */

@keyframes bs-shimmer {
    0%   { left: -80%; }
    100% { left: 180%; }
}

/* Spring pop-in on scroll reveal */
@keyframes bs-icon-pop {
    0%   { transform: scale(0.35) rotate(-14deg); opacity: 0; }
    52%  { transform: scale(1.20) rotate(6deg);   opacity: 1; }
    75%  { transform: scale(0.93) rotate(-2deg);              }
    100% { transform: scale(1)    rotate(0deg);               }
}

/* SVG inner wiggle on card hover */
@keyframes bs-icon-wiggle {
    0%   { transform: rotate(0deg)  scale(1);    }
    18%  { transform: rotate(-11deg) scale(1.18); }
    40%  { transform: rotate(8deg)  scale(1.14); }
    62%  { transform: rotate(-5deg) scale(1.08); }
    82%  { transform: rotate(3deg)  scale(1.04); }
    100% { transform: rotate(0deg)  scale(1);    }
}

/* Hero badge star pulse */
@keyframes bs-star-pulse {
    0%, 100% { transform: scale(1) rotate(0deg);   }
    50%       { transform: scale(1.3) rotate(22deg); }
}

/* ── Shimmer layer (only why-us-icon & service-icon) ───────────────────── */
.why-us-icon::after,
.service-icon::after {
    content: '';
    position: absolute;
    top: -25%;
    left: -80%;
    width: 45%;
    height: 150%;
    background: linear-gradient(105deg,
        transparent 15%,
        rgba(255,255,255,0.44) 50%,
        transparent 85%
    );
    transform: skewX(-15deg);
    pointer-events: none;
}

/* Fire shimmer on card hover */
.why-us-card:hover .why-us-icon::after,
.overview-card:hover .why-us-icon::after,
.service-card:hover .service-icon::after,
.mlm-feature-item:hover .service-icon::after {
    animation: bs-shimmer 0.58s ease-out forwards;
}

/* ── Pop-in when parent card enters viewport ────────────────────────────── */
.bs-visible .why-us-icon,
.bs-visible .service-icon,
.bs-visible .step-icon-wrap,
.bs-visible .impl-step-icon {
    animation: bs-icon-pop 0.72s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* Stagger with parent delay */
.bs-delay-1.bs-visible .why-us-icon,
.bs-delay-1.bs-visible .service-icon,
.bs-delay-1.bs-visible .step-icon-wrap,
.bs-delay-1.bs-visible .impl-step-icon { animation-delay: 0.10s; }

.bs-delay-2.bs-visible .why-us-icon,
.bs-delay-2.bs-visible .service-icon,
.bs-delay-2.bs-visible .step-icon-wrap,
.bs-delay-2.bs-visible .impl-step-icon { animation-delay: 0.19s; }

.bs-delay-3.bs-visible .why-us-icon,
.bs-delay-3.bs-visible .service-icon,
.bs-delay-3.bs-visible .step-icon-wrap,
.bs-delay-3.bs-visible .impl-step-icon { animation-delay: 0.28s; }

.bs-delay-4.bs-visible .why-us-icon,
.bs-delay-4.bs-visible .service-icon,
.bs-delay-4.bs-visible .step-icon-wrap,
.bs-delay-4.bs-visible .impl-step-icon { animation-delay: 0.37s; }

.bs-delay-5.bs-visible .why-us-icon,
.bs-delay-5.bs-visible .service-icon,
.bs-delay-5.bs-visible .step-icon-wrap,
.bs-delay-5.bs-visible .impl-step-icon { animation-delay: 0.46s; }

/* ── SVG wiggle on card hover (inner svg element) ───────────────────────── */
.why-us-card:hover .why-us-icon svg,
.overview-card:hover .why-us-icon svg,
.service-card:hover .service-icon svg,
.mlm-feature-item:hover .service-icon svg,
.step-item:hover .step-icon-wrap svg,
.impl-step:hover .impl-step-icon svg {
    animation: bs-icon-wiggle 0.5s ease-in-out both;
}

/* ── Hero badge star slow pulse ─────────────────────────────────────────── */
.hero-badge svg {
    animation: bs-star-pulse 3.5s ease-in-out infinite;
    display: inline-flex;
}

/* ── Accessibility: respect reduced-motion preference ───────────────────── */
@media (prefers-reduced-motion: reduce) {
    .why-us-icon::after,
    .service-icon::after { display: none; }

    .bs-visible .why-us-icon,
    .bs-visible .service-icon,
    .bs-visible .step-icon-wrap,
    .bs-visible .impl-step-icon { animation: none; }

    .why-us-card:hover .why-us-icon svg,
    .overview-card:hover .why-us-icon svg,
    .service-card:hover .service-icon svg,
    .mlm-feature-item:hover .service-icon svg,
    .step-item:hover .step-icon-wrap svg,
    .impl-step:hover .impl-step-icon svg { animation: none; }

    .hero-badge svg { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FAQ category headers
   ═══════════════════════════════════════════════════════════════════════════ */

.faq-category {
    margin-bottom: var(--spacing-2xl);
}

.faq-category-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid rgba(0, 208, 132, 0.18);
}

.faq-cat-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    background: linear-gradient(135deg, #01614e 0%, #00b894 100%);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 5px 16px rgba(1, 97, 78, 0.26), inset 0 1px 0 rgba(255,255,255,0.14);
    position: relative;
    overflow: hidden;
}

.faq-cat-icon::after {
    content: '';
    position: absolute;
    top: -25%;
    left: -70%;
    width: 45%;
    height: 150%;
    background: linear-gradient(105deg, transparent 15%, rgba(255,255,255,0.38) 50%, transparent 85%);
    transform: skewX(-15deg);
    pointer-events: none;
}

.faq-category-header:hover .faq-cat-icon::after {
    animation: bs-shimmer 0.55s ease-out forwards;
}

.faq-cat-title h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 3px 0;
}

.faq-cat-title p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Contact info item cards
   ═══════════════════════════════════════════════════════════════════════════ */

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    margin-bottom: var(--spacing-md);
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.contact-item:hover {
    box-shadow: 0 6px 24px rgba(1, 97, 78, 0.09);
    border-color: rgba(0, 208, 132, 0.30);
    transform: translateY(-2px);
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, #01614e 0%, #00b894 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(1, 97, 78, 0.24), inset 0 1px 0 rgba(255,255,255,0.14);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.contact-item-icon::after {
    content: '';
    position: absolute;
    top: -25%;
    left: -70%;
    width: 45%;
    height: 150%;
    background: linear-gradient(105deg, transparent 15%, rgba(255,255,255,0.38) 50%, transparent 85%);
    transform: skewX(-15deg);
    pointer-events: none;
}

.contact-item:hover .contact-item-icon::after {
    animation: bs-shimmer 0.55s ease-out forwards;
}

.contact-item-body strong {
    display: block;
    font-size: 0.73rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-item-body span,
.contact-item-body a {
    font-size: 0.92rem;
    color: var(--text-dark);
    line-height: 1.65;
    text-decoration: none;
}

.contact-item-body a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Contact form overrides — brand-green focus, gradient submit */
.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.13);
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #01614e 0%, #00b894 100%);
    color: #ffffff;
    border: none;
    padding: 15px 32px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 28px rgba(1, 97, 78, 0.32);
    transition: box-shadow 0.25s ease, transform 0.22s ease;
    margin-top: var(--spacing-sm);
    font-family: var(--font-primary);
}

.btn-submit:hover {
    box-shadow: 0 12px 36px rgba(1, 97, 78, 0.46);
    transform: translateY(-2px);
}

/* ============================================================================
   Animation & Motion System
   ============================================================================ */

/* ---------------------------------------------------------------------------
   1. Scroll-reveal — data-animate / data-animate-stagger
      script.js Intersection Observer adds .is-visible when element enters view
   --------------------------------------------------------------------------- */

[data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].is-visible {
    opacity: 1;
    transform: none;
}

/* Stagger delays for grid children */
[data-animate-stagger] > *:nth-child(1) { transition-delay: 0s; }
[data-animate-stagger] > *:nth-child(2) { transition-delay: 0.08s; }
[data-animate-stagger] > *:nth-child(3) { transition-delay: 0.16s; }
[data-animate-stagger] > *:nth-child(4) { transition-delay: 0.24s; }
[data-animate-stagger] > *:nth-child(5) { transition-delay: 0.32s; }
[data-animate-stagger] > *:nth-child(6) { transition-delay: 0.40s; }

[data-animate-stagger] > * {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate-stagger].is-visible > * {
    opacity: 1;
    transform: none;
}

/* Directional & scale variants */
[data-animate="slide-left"]  { transform: translateX(-32px); }
[data-animate="slide-right"] { transform: translateX(32px); }
[data-animate="scale-up"]    { transform: scale(0.92); }
[data-animate="fade"]        { transform: none; }

/* ---------------------------------------------------------------------------
   2. Hero section — cinematic entrance
      Overrides the existing bs-fade-up animations with the heroFadeUp keyframe
      at the bottom of the cascade (higher specificity due to file order)
   --------------------------------------------------------------------------- */

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}

.hero-badge    { animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-title    { animation: heroFadeUp 0.7s 0.12s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-subtitle { animation: heroFadeUp 0.7s 0.22s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-cta      { animation: heroFadeUp 0.7s 0.32s cubic-bezier(0.16, 1, 0.3, 1) both; }

/* ---------------------------------------------------------------------------
   3. Stat counter pulse on reveal
   --------------------------------------------------------------------------- */

@keyframes statPop {
    from { transform: scale(0.88); opacity: 0; }
    to   { transform: none; opacity: 1; }
}

.stat-card[data-animate].is-visible {
    animation: statPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* ---------------------------------------------------------------------------
   4. Button press micro-interaction
   --------------------------------------------------------------------------- */

.btn:active {
    transform: translateY(0) scale(0.97);
    transition-duration: 0.08s;
}

/* ---------------------------------------------------------------------------
   5. Card shimmer / travelling shine on hover
      .overview-card already has ::before (top gradient bar) — ::after is free.
      .step already has no pseudo-elements — ::after is free.
      .mission-card has no pseudo-elements — ::after is free.
      Note: position: relative and overflow: hidden already set on all three.
   --------------------------------------------------------------------------- */

.overview-card::after,
.step::after,
.mission-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 60%
    );
    transform: translateX(-100%);
    transition: transform 0.5s ease;
    pointer-events: none;
}

.overview-card:hover::after,
.step:hover::after,
.mission-card:hover::after {
    transform: translateX(100%);
}

/* ---------------------------------------------------------------------------
   6. Navbar scroll glass effect — smooth transition
      .header already has the .scrolled state; this enhances the transition
      to cover backdrop-filter as well
   --------------------------------------------------------------------------- */

.header {
    transition: background 0.3s ease,
                backdrop-filter 0.3s ease,
                -webkit-backdrop-filter 0.3s ease,
                box-shadow 0.3s ease;
}

/* ---------------------------------------------------------------------------
   7. Feature item left-border animation
      Note: .feature-item already uses ::before for an animated left bar
      (scaleY gradient). The border-left rule here adds a complementary
      color-only transition on the actual border property.
   --------------------------------------------------------------------------- */

.feature-item {
    border-left: 3px solid transparent;
    transition: border-color 0.25s ease,
                transform 0.25s ease,
                background 0.25s ease,
                box-shadow 0.25s ease;
}

.feature-item:hover {
    border-left-color: var(--primary-light);
}

/* ---------------------------------------------------------------------------
   8. Number counter animation class
   --------------------------------------------------------------------------- */

.counter-value {
    display: inline-block;
    font-variant-numeric: tabular-nums;
    transition: none;
}

/* ---------------------------------------------------------------------------
   9. Section divider wave
   --------------------------------------------------------------------------- */

.section-wave {
    position: relative;
}

.section-wave::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 48px;
    background: var(--wave-fill, var(--bg-white));
    clip-path: ellipse(55% 100% at 50% 100%);
    pointer-events: none;
}

/* ---------------------------------------------------------------------------
   10. Floating animation for hero illustration / decorative icons
   --------------------------------------------------------------------------- */

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

.float-anim {
    animation: floatY 4s ease-in-out infinite;
}

/* ---------------------------------------------------------------------------
   11. Typing cursor blink — append to badge / accent text via class
   --------------------------------------------------------------------------- */

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

.cursor-blink::after {
    content: '|';
    animation: blink 1s step-end infinite;
    color: var(--primary-light);
    margin-left: 2px;
}

/* ---------------------------------------------------------------------------
   12. Respect prefers-reduced-motion — disable complex animations
   --------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    [data-animate],
    [data-animate-stagger] > *,
    .hero-badge,
    .hero-title,
    .hero-subtitle,
    .hero-cta,
    .float-anim {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============================================================================
   WOW Experience Layer
   ============================================================================ */

/* --- Preloader ------------------------------------------------------------ */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.55s cubic-bezier(0.76, 0, 0.24, 1),
                transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
}
#preloader.hidden {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}
.preloader-inner {
    text-align: center;
    animation: preloaderReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes preloaderReveal {
    from { opacity: 0; transform: scale(0.85) translateY(16px); }
    to   { opacity: 1; transform: none; }
}
.preloader-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 28px;
}
.preloader-logo-wrap img {
    filter: brightness(0) invert(1);
    animation: preloaderSpin 1s ease infinite alternate;
}
@keyframes preloaderSpin {
    from { transform: rotate(-6deg) scale(0.95); }
    to   { transform: rotate(6deg)  scale(1.05); }
}
.preloader-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 0.08em;
    color: #ffffff;
}
.preloader-track {
    width: 160px;
    height: 3px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    overflow: hidden;
    margin: 0 auto;
}
.preloader-progress {
    height: 100%;
    width: 0;
    background: var(--primary);
    border-radius: 999px;
    animation: preloaderBar 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes preloaderBar {
    0%   { width: 0;   }
    60%  { width: 75%; }
    100% { width: 100%; }
}

/* --- Particle canvas ----------------------------------------------------- */
#hero-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.65;
}

/* --- Plan-type word cycler ----------------------------------------------- */
.hero-plan-cycler {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(0, 208, 132, 0.35);
    border-radius: 999px;
    padding: 5px 16px 5px 12px;
    font-size: 0.82rem;
    color: #01614e;
    margin-bottom: var(--spacing-md);
    backdrop-filter: blur(8px);
    animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.cycler-dot {
    width: 7px;
    height: 7px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    animation: cycleDotPulse 2s ease-in-out infinite;
}
@keyframes cycleDotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 208, 132, 0.4); }
    50%       { box-shadow: 0 0 0 5px rgba(0, 208, 132, 0); }
}
.cycler-track {
    position: relative;
    height: 1.3em;
    overflow: hidden;
    transition: width 0.3s ease;
    text-align: left;
}
.cycler-word {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    color: var(--primary);
    font-weight: 600;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.38s ease, transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}
.cycler-word.active {
    opacity: 1;
    transform: none;
}
.cycler-word.exit {
    opacity: 0;
    transform: translateY(-14px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* --- Button ripple ------------------------------------------------------- */
@keyframes rippleWave {
    to { transform: scale(1); opacity: 0; }
}
.ripple-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    transform: scale(0);
    animation: rippleWave 0.65s ease-out forwards;
    pointer-events: none;
}

/* --- Cursor spotlight ---------------------------------------------------- */
.cursor-spotlight {
    position: fixed;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 208, 132, 0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: left 0.08s linear, top 0.08s linear;
    will-change: left, top;
}

/* --- Notification pop-in ------------------------------------------------- */
.wow-toast {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 9000;
    background: var(--bg-white);
    border: 1px solid var(--border-subtle, #e5e7eb);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 14px 18px 14px 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 280px;
    transform: translateX(-120%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}
.wow-toast.show { transform: none; }
.wow-toast-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}
.wow-toast-body strong {
    display: block;
    font-size: 0.82rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 2px;
}
.wow-toast-body span {
    font-size: 0.76rem;
    color: var(--text-light, #6b7280);
}
.wow-toast-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light, #9ca3af);
    font-size: 14px;
    line-height: 1;
    padding: 2px;
}

/* prefers-reduced-motion guard for new WOW layer */
@media (prefers-reduced-motion: reduce) {
    #preloader,
    .hero-plan-cycler,
    .cycler-word,
    .cursor-spotlight,
    .wow-toast { animation: none !important; transition: none !important; }
    .cycler-word.active { opacity: 1; transform: none; }
}
