@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/**
 * SWASTHYA ELITE DESIGN SYSTEM v3.0
 * Production-ready CSS for swasthyafoodconsulting.com
 */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */

:root {
    /* Brand Palette */
    --clr-primary: #5A4FCF;
    --clr-primary-light: #4DB6AC;
    --clr-primary-dark: #00695C;
    --clr-secondary: #0A1F1F;
    --clr-vibrant-green: #43A047;
    --clr-organic-gold: #FB8C00;
    --clr-accent: #FF7043;
    --clr-accent-soft: #FFAB91;
    
    /* Gradients — Made 'colour full' with 3-stop depth */
    --grad-primary: linear-gradient(135deg, #00897B 0%, #00796B 50%, #43A047 100%);
    --grad-surface: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.45) 100%);
    --grad-dark: linear-gradient(135deg, #0A1F1F 0%, #152E2E 100%);
    --grad-lively: linear-gradient(135deg, #00897B 0%, #FB8C00 100%);

    /* Neutral */
    --clr-bg-pure: #FFFFFF;
    --clr-bg-light: #F7FAFA;
    --clr-bg-alt: #EEF4F4;
    --clr-text-main: #0F172A;
    --clr-text-soft: #334155;
    --clr-text-muted: #64748B;
    --clr-border: #E2E8F0;

    /* Spacing — 8px scale */
    --sp-xs: 0.5rem;
    --sp-sm: 1rem;
    --sp-md: 1.5rem;
    --sp-lg: 2rem;
    --sp-xl: 2.5rem;
    --sp-2xl: 3.5rem;
    --sp-3xl: 5rem;

    /* Typography */
    --ff-body: 'Plus Jakarta Sans', sans-serif;
    --ff-heading: 'Outfit', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.03);
    --shadow-md: 0 8px 24px rgba(10,31,31,0.12);
    --shadow-elite: 0 30px 60px rgba(10,31,31,0.18), 0 15px 30px rgba(10,31,31,0.08);
    --shadow-glass: 0 15px 45px rgba(0,122,122,0.18);
    --glass-blur: blur(16px);
    --glass-border: rgba(255,255,255,0.35);

    /* UI */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;
    --radius-full: 9999px;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --header-h: 80px;
    --container-max: 1280px;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

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

html {
    overflow-x: hidden;
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
    font-family: var(--ff-body);
    background: var(--clr-bg-pure);
    color: var(--clr-text-main);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

/* ==========================================================================
   MILESTONE PERFORMANCE STATS (SATELLITE ORBIT EFFECT)
   'Car LED Backlight' Aesthetic - Ultra Premium
   ========================================================================== */
@keyframes fluid-led {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.milestone-stats-section {
    padding: 130px 0 !important;
    background: #050508 !important;
    background: linear-gradient(-45deg, #050508, #0a0a1a, #050508, #0d0d25) !important;
    background-size: 400% 400% !important;
    animation: fluid-led 15s ease infinite !important;
    position: relative !important;
    z-index: 90 !important;
    overflow: hidden;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.milestone-stats-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(90, 79, 207, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.milestone-stats-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 60px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    position: relative;
    z-index: 5;
}

.stat-satellite-card {
    flex: 1 1 250px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

.stat-circle-outer {
    position: relative !important;
    width: 200px !important;
    height: 200px !important;
    margin-bottom: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.stat-center-circle {
    width: 140px !important;
    height: 140px !important;
    background: linear-gradient(135deg, var(--stat-color) 0%, rgba(0,0,0,0.8) 100%) !important;
    border: 4px solid var(--stat-color) !important;
    border-radius: 50% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    box-shadow: 0 0 40px rgba(0,0,0,0.8), inset 0 0 20px rgba(255,255,255,0.3) !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-satellite-card:hover .stat-center-circle {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 70px var(--stat-color) !important;
}

.stat-number {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 !important;
    line-height: 1;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.stat-orbit {
    position: absolute !important;
    inset: 0 !important;
    border: 2px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 50% !important;
    animation: rotateme 12s linear infinite !important;
}

/* Glowing Backlight Effect */
.stat-orbit::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--stat-color) 0%, transparent 70%);
    opacity: 0.15;
    filter: blur(10px);
}

.stat-satellite-card.reverse .stat-orbit {
    animation-name: rotatemetwo !important;
}

.stat-orb {
    position: absolute !important;
    top: -12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 24px !important;
    height: 24px !important;
    background: #fff !important; /* White Core */
    border: 4px solid var(--stat-color) !important; /* Colored Halo */
    border-radius: 50% !important;
    box-shadow: 0 0 20px #fff, 0 0 40px var(--stat-color), 0 0 80px var(--stat-color) !important;
    z-index: 15 !important;
}

.stat-label {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-top: 10px !important;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Theme Colors - Radiant & Vibrant */
.stat-experience { --stat-color: #00f2ff; } 
.stat-trainings { --stat-color: #ff9d00; }  
.stat-audits { --stat-color: #7000ff; }     
.stat-projects { --stat-color: #ff3c3c; }    

/* ==========================================================================
   END MILESTONE STATS
   ========================================================================== */

h1, h2, h3, h4 {

    font-family: var(--ff-heading);
    color: var(--clr-secondary);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.15; }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -0.015em; }
h4 { font-size: clamp(1.1rem, 2vw, 1.3rem); letter-spacing: -0.01em; }

p { line-height: 1.75; }

.pre-heading {
    display: block;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    color: var(--clr-primary);
    margin-bottom: var(--sp-sm);
}

.text-lead   { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--clr-text-soft); font-weight: 400; line-height: 1.8; }
.text-small  { font-size: 0.875rem; }
.text-bold   { font-weight: 700; }
.text-primary { color: var(--clr-primary); }
.text-center  { text-align: center; }
.text-soft   { color: var(--clr-text-soft); }

.text-high-contrast { color: var(--clr-secondary); font-weight: 500; }
.text-shadow-hero { text-shadow: 0 2px 10px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.3); }
.text-balance { max-width: 700px; margin-left: auto; margin-right: auto; text-wrap: balance; }
.centered-heading { text-align: center; max-width: 800px; margin: 0 auto var(--sp-2xl); }

a { text-decoration: none; color: inherit; transition: var(--transition-smooth); }
a:hover { color: var(--clr-primary); }

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.section    { padding: var(--sp-2xl) 0; }
.section-xl { padding: var(--sp-3xl) 0; }

/* Grid */
.grid   { display: grid; gap: var(--sp-md); }
.grid-2 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 640px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); gap: var(--sp-xl); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); gap: var(--sp-xl); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); gap: var(--sp-lg); }
}

/* Flex helpers */
.flex         { display: flex; align-items: center; gap: var(--sp-sm); flex-wrap: wrap; }
.flex-between { justify-content: space-between; }
.flex-center  { justify-content: center; }
.flex-column  { flex-direction: column; }

/* Background */
.bg-light { background: var(--clr-bg-light); }

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    font-family: var(--ff-body);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 2px solid transparent;
    gap: 10px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--clr-primary);
    color: white;
}
.btn-primary:hover {
    background: var(--clr-primary-dark);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,122,122,0.25);
}

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

.btn-white {
    background: white;
    color: var(--clr-primary);
}
.btn-white:hover {
    background: #f8f8f8;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.btn-outline-white {
    border-color: rgba(255,255,255,0.4);
    color: white;
    background: transparent;
}
.btn-outline-white:hover {
    background: white;
    color: var(--clr-primary);
    transform: translateY(-4px);
}

.btn-small  { padding: 0.6rem 1.4rem; font-size: 0.82rem; }
.btn-large  { padding: 1.1rem 3rem;   font-size: 1rem; }

/* ==========================================================================
   6. HEADER / NAVIGATION
   ========================================================================== */

.header {
    height: var(--header-h);
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 96%;
    max-width: var(--container-max);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 0 var(--sp-lg);
}

.header.scrolled {
    top: 8px;
    height: 68px;
    background: white;
    box-shadow: var(--shadow-elite);
}

.header.scrolled .nav-links a { color: var(--clr-text-soft); }
.header.scrolled .nav-links a:hover { color: var(--clr-primary); }

.logo { display: flex; align-items: center; }
.logo img { height: 42px; transition: var(--transition-smooth); }

.nav-links { display: flex; align-items: center; gap: var(--sp-md); margin-left: auto; }
.nav-item-wrap { position: relative; display: inline-block; }
.nav-links a, .nav-item {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--clr-text-main);
    padding: 24px 0; /* Increase hit area */
    transition: var(--transition-smooth);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
}
.nav-links a:hover, .nav-item:hover {
    color: var(--clr-primary);
}

/* Dropdown Menu - Elite Glassmorphism */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 260px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-elite);
    padding: var(--sp-sm) 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
    border: 1px solid rgba(0,0,0,0.05);
}

.nav-item-wrap:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 24px !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    color: var(--clr-text-main) !important;
    border: none !important;
    white-space: nowrap;
    transition: all 0.2s ease;
    text-decoration: none;
}

.dropdown-item:hover {
    background: rgba(0,137,123,0.05);
    color: var(--clr-primary) !important;
    padding-left: 28px !important;
}

.dropdown-divider {
    height: 1px;
    background: rgba(0,0,0,0.05);
    margin: 8px 0;
}

.nav-links a.active, .nav-item.active {
    color: var(--clr-primary);
    border-bottom-color: var(--clr-primary);
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    margin-left: auto;
}
.mobile-toggle .bar {
    height: 2px;
    width: 100%;
    background: white;
    border-radius: 2px;
    transition: var(--transition-smooth);
}
.header.scrolled .mobile-toggle .bar { background: var(--clr-secondary); }

/* Mobile overlay */
.mobile-menu-overlay {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: white;
    z-index: 999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s ease;
}
.mobile-menu-overlay a {
    display: block;
    font-size: clamp(2rem, 8vw, 3rem);
    font-family: var(--ff-heading);
    font-weight: 700;
    color: var(--clr-secondary);
    padding: 8px 0;
    text-align: center;
}
.mobile-menu-overlay a:hover { color: var(--clr-primary); }

@media (max-width: 900px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
}

/* ==========================================================================
   7. CARDS
   ========================================================================== */

.card {
    background: var(--clr-bg-pure);
    padding: clamp(var(--sp-lg), 5vw, var(--sp-xl));
    border-radius: var(--radius-md);
    border: 1.5px solid var(--clr-border);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    position: relative;
}

.card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow-elite);
    border-color: rgba(0,122,122,0.2);
}

/* Limit hover lift for layout cards */
.card[style*="order"] { /* no hover for layout containers */ }

.card-icon {
    width: 58px; height: 58px;
    background: var(--clr-bg-alt);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--clr-primary);
    font-size: 1.5rem;
    margin-bottom: var(--sp-lg);
    transition: var(--transition-smooth);
}
.card:hover .card-icon {
    background: var(--clr-primary);
    color: white;
}

/* ==========================================================================
   8. BADGES
   ========================================================================== */

.badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.badge-primary { background: rgba(0,122,122,0.1); color: var(--clr-primary); }
.badge-accent  { background: rgba(255,107,53,0.1); color: var(--clr-accent); }
.badge-dark    { background: var(--clr-secondary); color: white; }

/* ==========================================================================
   9. SPACING UTILITIES
   ========================================================================== */

.mb-0  { margin-bottom: 0; }
.mb-xs { margin-bottom: var(--sp-xs); }
.mb-sm { margin-bottom: var(--sp-sm); }
.mb-md { margin-bottom: var(--sp-md); }
.mb-lg { margin-bottom: var(--sp-lg); }
.mb-xl { margin-bottom: var(--sp-xl); }
.mb-2xl { margin-bottom: var(--sp-2xl); }
.mb-3xl { margin-bottom: var(--sp-3xl); }

.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-xl { margin-top: var(--sp-xl); }
.mt-3xl { margin-top: var(--sp-3xl); }

.py-lg  { padding: var(--sp-lg) 0; }
.rounded-elite { border-radius: var(--radius-md); }

/* ==========================================================================
   10. REVEAL ANIMATION ENGINE
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

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

/* ==========================================================================
   Trust Badge Animations
   ========================================================================== */
@keyframes checkPulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; text-shadow: 0 0 10px var(--clr-primary); }
    100% { transform: scale(1); opacity: 0.8; }
}

@keyframes badgeFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

.trust-badge-item {
    padding: 8px 18px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: default;
    animation: badgeFloat 4s ease-in-out infinite;
}

.trust-badge-item i {
    animation: checkPulse 2s ease-in-out infinite;
    color: var(--clr-primary);
}

.trust-badge-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--clr-primary);
    color: white;
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 137, 123, 0.15);
}

/* ==========================================================================
   Capability Card Revitalization
   ========================================================================== */
.capabilities-section {
    position: relative;
    overflow: hidden;
    padding-bottom: var(--sp-3xl);
}

/* Background decorative nodes */
.vibrant-node {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.15;
}

.capability-card {
    position: relative;
    z-index: 1;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
}

.capability-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 45px 90px rgba(0,0,0,0.2);

}

.capability-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-lg);
    transition: all 0.4s ease;
    font-size: 2.2rem;
}

.capability-card:hover .capability-icon-box {
    transform: rotate(10deg) scale(1.1);
}

/* Theme: Regulatory (Teal/Emerald) */
.card-regulatory:hover {
    border-color: rgba(0, 137, 123, 0.3);
    background: linear-gradient(to bottom right, #ffffff, #f0fdfa);
}
.card-regulatory .capability-icon-box { background: rgba(0, 137, 123, 0.1); color: #00897B; }
.card-regulatory:hover .capability-icon-box { background: #00897B; color: white; box-shadow: 0 10px 20px rgba(0, 137, 123, 0.2); }

/* Theme: Consultancy (Gold/Orange) */
.card-consultancy:hover {
    border-color: rgba(251, 140, 0, 0.5);
    border-width: 3px;

    background: linear-gradient(to bottom right, #ffffff, #fff7ed);
}
.card-consultancy .capability-icon-box { background: rgba(251, 140, 0, 0.1); color: #FB8C00; }
.card-consultancy:hover .capability-icon-box { background: #FB8C00; color: white; box-shadow: 0 10px 20px rgba(251, 140, 0, 0.2); }

/* Theme: Technical (Indigo/Blue) */
.card-technical:hover {
    border-color: rgba(48, 63, 159, 0.5);
    border-width: 3px;

    background: linear-gradient(to bottom right, #ffffff, #eef2ff);
}
.card-technical .capability-icon-box { background: rgba(48, 63, 159, 0.1); color: #3949AB; }
.card-technical:hover .capability-icon-box { background: #3949AB; color: white; box-shadow: 0 10px 20px rgba(48, 63, 159, 0.2); }

/* ==========================================================================
   Founder Section Revitalization
   ========================================================================== */
.founder-section {
    position: relative;
    overflow: hidden;
    background: white;
}

.founder-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 137, 123, 0.08) 0%, rgba(251, 140, 0, 0.05) 50%, transparent 70%);
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
    animation: slowPulse 10s ease-in-out infinite alternate;
}

@keyframes slowPulse {
    0% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes floatSoft {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

.credential-box {
    animation: floatSoft 4s ease-in-out infinite alternate;
    padding: var(--sp-md) var(--sp-lg);
    background: white;
    border-radius: var(--radius-md);
    border-left: 6px solid var(--clr-primary);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.credential-box:nth-child(2) { animation-delay: 0.8s; }
.credential-box:nth-child(3) { animation-delay: 1.6s; }

.credential-box:hover {
    transform: translateX(10px) scale(1.05);
    border-left-width: 12px;
}

.credential-box-teal:hover { box-shadow: 0 15px 35px rgba(0, 137, 123, 0.25); background: #f0fdfa !important; }
.credential-box-orange:hover { box-shadow: 0 15px 35px rgba(251, 140, 0, 0.25); background: #fff7ed !important; }
.credential-box-indigo:hover { box-shadow: 0 15px 35px rgba(90, 79, 207, 0.25); background: #f5f3ff !important; }

.credential-box p:first-child {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--clr-primary);
    margin-bottom: 2px;
}

.founder-portrait-container {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.founder-portrait-container::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--clr-primary);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.1;
    transition: var(--transition-smooth);
}

.founder-portrait-container:hover::after {
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
    opacity: 0.3;
}

/* ==========================================================================
   Industry Expertise Revitalization (Orange Theme)
   ========================================================================== */
.industry-expertise-section {
    position: relative;
    overflow: hidden;
    background: #fff;
    padding-bottom: var(--sp-3xl);
}

.industry-glow-orange {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(251, 140, 0, 0.08) 0%, rgba(255, 111, 0, 0.03) 60%, transparent 80%);
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
    animation: slowDrift 15s ease-in-out infinite alternate;
}

@keyframes slowDrift {
    0% { transform: translateY(-50%) translateX(0); }
    100% { transform: translateY(-40%) translateX(-50px); }
}

.industry-item-card {
    text-align: center;
    padding: var(--sp-xl);
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border);
    background: white;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.industry-item-card:hover {
    transform: translateY(-12px) scale(1.05);
    border-color: #FB8C00;
    box-shadow: 0 20px 40px rgba(251, 140, 0, 0.12);
}

.industry-item-card i {
    font-size: 2.2rem;
    color: #FB8C00;
    margin-bottom: var(--sp-md);
    transition: all 0.4s ease;
    display: inline-block;
}

.industry-item-card:hover i {
    transform: scale(1.2) translateY(-5px);
    filter: drop-shadow(0 5px 10px rgba(251, 140, 0, 0.3));
}

.industry-item-card p {
    font-weight: 700;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.industry-item-card:hover p {
    color: #E65100;
}

/* ==========================================================================
   Testimonial Slider Revitalization
   ========================================================================== */
.testimonial-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--clr-bg-light) 0%, #E0F2F2 100%);
}

.testimonial-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 137, 123, 0.08) 0%, rgba(251, 140, 0, 0.05) 50%, transparent 70%);
    top: 50%;
    right: 0%;
    transform: translate(-50%, -50%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
    animation: slowPulse 10s ease-in-out infinite alternate;
}

.testimonial-box {
    position: relative;
    z-index: 1;
}

.testimonial-text-animate {
    transition: all 0.5s ease-in-out;
}

.testimonial-text-animate.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.testimonial-text-animate.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-progress-container {
    width: 100%;
    height: 3px;
    background: rgba(0,0,0,0.05);
    margin-top: var(--sp-lg);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.testimonial-progress-bar {
    height: 100%;
    background: var(--clr-primary);
    width: 0%;
    transition: width 4s linear;
}

/* ==========================================================================
   CTA & Accreditation Final Polish
   ========================================================================== */
.vibrant-cta-section {
    position: relative;
    padding: var(--sp-4xl) 0;
    background: linear-gradient(-45deg, #004D40, #00695C, #004D40, #00332E);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    color: white;
    text-align: center;
    overflow: hidden;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.glass-cta-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--sp-3xl) var(--sp-2xl);
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.logo-float-item {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: logoSway 4s ease-in-out infinite alternate;
}

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

.logo-float-item:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.animate-fade-in {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* ==========================================================================
   11. FOOTER
   ========================================================================== */

.footer-elite {
    background: var(--clr-secondary);
    padding: var(--sp-3xl) 0 var(--sp-xl);
    color: white;
}

.footer-grid-elite {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--sp-2xl);
    margin-bottom: var(--sp-2xl);
    padding-bottom: var(--sp-2xl);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--sp-md);
    color: var(--clr-text-muted);
    font-size: 0.82rem;
}

@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.footer-bottom a { color: var(--clr-text-muted); }
.footer-bottom a:hover { color: var(--clr-primary); }

@media (max-width: 1024px) {
    .footer-grid-elite { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .footer-grid-elite { grid-template-columns: 1fr; gap: var(--sp-xl); }
}

/* ==========================================================================
   12. FLOATING ACTIONS
   ========================================================================== */

.floating-actions-elite {
    position: fixed;
    bottom: 28px; right: 28px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.floating-actions-elite a {
    width: 54px; height: 54px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transition: var(--transition-smooth);
}

.floating-actions-elite a:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 16px 32px rgba(0,0,0,0.2);
}

/* ==========================================================================
   16. FLORAL & BOTANICAL DESIGN ELEMENTS
   ========================================================================== */

.floral-bg {
    background-image: url('../images/floral-pattern.png');
    background-repeat: repeat;
    background-size: 400px;
    opacity: 0.04;
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floral-divider {
    height: 120px;
    width: 100%;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%2300897B" fill-opacity="0.05" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,213.3C672,224,768,224,864,197.3C960,171,1056,117,1152,112C1248,107,1344,149,1392,170.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    margin: -1px 0;
}

.organic-blob {
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--clr-primary-light) 0%, transparent 70%);
    opacity: 0.1;
    filter: blur(80px);
    border-radius: 50%;
    z-index: 0;
}

.card.glass-card::before {
    content: '';
    position: absolute;
    top: -10px; right: -10px;
    width: 60px; height: 60px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 2L14.5 10H12L9.5 10L12 2Z" fill="%2300897B" fill-opacity="0.1"/></svg>');
    background-size: contain;
    opacity: 0.4;
    pointer-events: none;
}

.hero-elite {
    min-height: 100vh;
    background: var(--clr-secondary);
    color: white;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-h);
    overflow: hidden;
}

.hero-bg-accent {
    position: absolute; top: -20%; right: -10%;
    width: 60%; height: 140%;
    background: var(--clr-primary);
    opacity: 0.04;
    transform: rotate(-15deg);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-2xl);
    align-items: center;
    z-index: 5;
    padding: 100px 0 60px;
    min-height: 100%;
}

@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--sp-2xl);
    }
    .hero-text {
        max-width: 800px;
        margin: 0 auto;
    }
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-text .flex {
        justify-content: center;
    }
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }
}

.hero-text {
    max-width: 720px;
    position: relative;
    z-index: 10;
}

/* Animated gradient keyframe for hero h1 */
@keyframes heroGradientFlow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-text h1 { 
    background: linear-gradient(
        120deg,
        #005F5F,
        #00897B,
        #FF6F00,
        #FF8C00,
        #FFA726,
        #FF7043,
        #E65100,
        #00897B,
        #005F5F
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: heroGradientFlow 6s ease infinite;
    margin-bottom: var(--sp-md); 
    line-height: 1.15; 
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    filter:
        drop-shadow(3px 5px 0px rgba(251,140,0,0.22))
        drop-shadow(0px 10px 20px rgba(255,112,0,0.18))
        drop-shadow(0px 2px 2px rgba(0,0,0,0.10));
    letter-spacing: -0.02em;
}
/* Span inside h1 — complementary orange-dominant animated gradient */
.hero-text h1 span.text-primary {
    background: linear-gradient(
        120deg,
        #FF6F00,
        #FFA726,
        #FF7043,
        #FF8C00,
        #E65100,
        #FFA726,
        #FF6F00
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: heroGradientFlow 5s ease infinite reverse;
    filter: none;
}
.hero-visual { position: relative; }
.visual-overlap { position: relative; padding-right: 20px; padding-bottom: 20px; }
.main-video { 
    width: 100%; 
    height: auto; 
    max-height: 60vh;
    min-height: 350px;
    border-radius: var(--radius-md); 
    box-shadow: var(--shadow-elite); 
    object-fit: cover; 
    display: block; 
}

.floating-metric {
    position: absolute; bottom: 0; right: 0;
    background: white;
    padding: var(--sp-md) var(--sp-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-elite);
    text-align: center;
    color: var(--clr-secondary);
}

.metric-num { display: block; font-size: 2.8rem; font-family: var(--ff-heading); font-weight: 800; color: var(--clr-primary); line-height: 1; }
.metric-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; color: var(--clr-text-muted); display: block; margin-top: 4px; }

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    min-height: 100vh;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.7s ease;
    display: flex;
    align-items: center;
    z-index: 1;
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 60px;
}

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

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

/* Video Cinematic Slide & Fade Animation */
.slide.active .slide-in-video {
    animation: stunningVideoEntry 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes stunningVideoEntry {
    0% { 
        transform: translateX(80px) scale(1.1); 
        opacity: 0; 
        filter: blur(10px) drop-shadow(0 0 0 rgba(0,0,0,0)); 
    }
    100% { 
        transform: translateX(0) scale(1); 
        opacity: 1; 
        filter: blur(0) drop-shadow(0 15px 30px rgba(0,0,0,0.3)); 
    }
}

.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 100;
}

.slider-nav .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.slider-nav .dot.active {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    transform: scale(1.2);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    right: var(--sp-2xl);
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(0,0,0,0.4);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 100;
    writing-mode: vertical-lr;
}

.scroll-down .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--clr-primary), transparent);
}

/* Marquee / Auto-moving Clientele */
.marquee-container {
    padding: var(--sp-2xl) 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 109, 109, 0.03) 0%, rgba(251, 140, 0, 0.02) 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.marquee-content {
    display: inline-flex;
    animation: marquee 45s linear infinite;
    gap: var(--sp-4xl);
    align-items: center;
}

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

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

.marquee-content.reverse {
    animation: marquee-reverse 45s linear infinite;
}

.marquee-track {
    margin: var(--sp-xl) 0;
}

.marquee-item {
    padding: 10px;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    opacity: 0.85;
    transition: var(--transition-smooth);

    height: 70px;
    width: 140px;
    object-fit: contain;
}

.marquee-item:hover {
    opacity: 1;
    transform: scale(1.1) translateY(-5px);
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

/* Glass Card */
.glass-card {
    background: var(--grad-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glass);
}

/* Side Verification Block */
.side-verify-card {
    position: relative;
    padding: var(--sp-lg);
    background: white;
    border-radius: var(--radius-md);
    border-left: 6px solid var(--clr-primary);
    box-shadow: var(--shadow-elite);
    z-index: 20;
    transition: var(--transition-smooth);
}

.side-verify-card:hover {
    transform: translateX(5px);
}

/* Metric Cards */
.metric-card {
    background: white;
    padding: var(--sp-xl) var(--sp-lg);
    border-bottom: 4px solid transparent;
    transition: var(--transition-smooth);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.metric-card h2 { 
    font-size: 3.5rem; 
    color: var(--clr-primary); 
    margin-bottom: var(--sp-sm); 
}

.metric-card:hover { 
    border-color: var(--clr-primary); 
    transform: translateY(-8px); 
    box-shadow: var(--shadow-elite); 
}

/* Narrative Journey Layout */
.narrative-row {
    display: flex;
    align-items: center;
    gap: var(--sp-3xl);
    margin-bottom: var(--sp-3xl);
}

.narrative-row:nth-child(even) {
    flex-direction: row-reverse;
}

.narrative-content {
    flex: 1;
}

.narrative-image-wrap {
    flex: 1;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-elite);
    aspect-ratio: 16 / 10;
}

.narrative-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.narrative-row:hover .narrative-image-wrap img {
    transform: scale(1.08);
}

.narrative-year {
    font-family: var(--ff-heading);
    font-weight: 800;
    font-size: 3.5rem;
    color: var(--clr-primary);
    line-height: 1;
    margin-bottom: var(--sp-sm);
    opacity: 0.15;
}

@media (max-width: 900px) {
    .narrative-row, .narrative-row:nth-child(even) {
        flex-direction: column;
        gap: var(--sp-xl);
    }
    .narrative-year { font-size: 2.5rem; }
}

/* Academy & Professional Development Enhancements */
.academy-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(0, 137, 123, 0.1) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.glass-card {
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 137, 123, 0.3);
}

.text-high-contrast {
    color: var(--clr-bg-pure);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.radiant-text {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine-text 5s linear infinite;
}

@keyframes shine-text {
    to { background-position: 200% center; }
}

/* Navigation Responsiveness */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    .header { width: 94%; padding: 0 16px; }
}

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; padding: var(--sp-2xl) 0; }
    .hero-visual {
        display: block;
        margin: 40px auto 0;
        max-width: 100%;
    }
    .hero-text .flex { justify-content: center; }
}

@media (max-width: 768px) {
    .hero-text h1 { font-size: clamp(2.2rem, 7vw, 3.5rem); }
    .metric-card h2 { font-size: 2.8rem; }
}

/* ==========================================================================
   VERTIZONE DESIGN SYSTEM TOKENS & UTILS
   ========================================================================== */

:root {
    --clr-coral: #FF6B6B;
    --clr-mint: #4ECDC4;
    --clr-yellow: #FFD166;
    --clr-purple: #A599E9;
    --clr-ocean: #118AB2;
    --clr-pink: #EF476F;
    --grad-rainbow: linear-gradient(135deg, #FF6B6B, #4ECDC4, #FFD166, #A599E9);
}

@keyframes floatParticle {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 0.2; }
    33% { transform: translate(30px, -50px) rotate(120deg); opacity: 0.5; }
    66% { transform: translate(-20px, 20px) rotate(240deg); opacity: 0.3; }
    100% { transform: translate(0, 0) rotate(360deg); opacity: 0.2; }
}

.float-particle {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
    animation: floatParticle 20s infinite ease-in-out;
}

@keyframes ringPulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.fab-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: ringPulse 2s infinite;
}

@keyframes heroFadeIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.tex-bg {
    /* 
       ELITE FOOD SAFETY TEXTURE MIXTURE:
       1. Regulatory Icons (Safety Ticks)
       2. Molecular structures (Food Science)
       3. Fluid Waves (Dairy Expertise)
    */
    background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%235A4FCF' fill-opacity='0.02' fill-rule='evenodd'%3E%3C!-- Regulatory Ticks --%3E%3Cpath d='M10 10l2 2 4-4' stroke='%235A4FCF' stroke-width='1' fill='none' opacity='0.15'/%3E%3Cpath d='M70 50l2 2 4-4' stroke='%235A4FCF' stroke-width='1' fill='none' opacity='0.15'/%3E%3C!-- Molecular Bonds --%3E%3Ccircle cx='40' cy='20' r='1.5'/%3E%3Ccircle cx='50' cy='30' r='1.5'/%3E%3Cline x1='40' y1='20' x2='50' y2='30' stroke='%235A4FCF' stroke-width='0.4'/%3E%3C!-- Dairy Waves --%3E%3Cpath d='M0 60 Q 30 40 60 60 T 120 60' stroke='%235A4FCF' stroke-width='0.4' fill='none' opacity='0.1'/%3E%3C/g%3E%3C/svg%3E") !important;
    background-size: 120px 120px;
}

.tex-bg-dark {
    background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M10 10l2 2 4-4' stroke='%23FFFFFF' stroke-width='1.5' fill='none'/%3E%3Cpath d='M70 50l2 2 4-4' stroke='%23FFFFFF' stroke-width='1.5' fill='none'/%3E%3Ccircle cx='40' cy='20' r='2'/%3E%3Ccircle cx='50' cy='30' r='2'/%3E%3Cline x1='40' y1='20' x2='50' y2='30' stroke='%23FFFFFF' stroke-width='0.5'/%3E%3Cpath d='M0 60 Q 30 40 60 60 T 120 60' stroke='%23FFFFFF' stroke-width='0.5' fill='none' opacity='0.2'/%3E%3C/g%3E%3C/svg%3E") !important;
    background-size: 120px 120px;
}

.stat-card {
    background: white;
    padding: var(--sp-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-elite);
    text-align: center;
    border-top: 4px solid var(--card-color);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}
.stat-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad-rainbow);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}
.stat-card:hover {
    transform: translateY(-5px);
}
.stat-card:hover::before {
    opacity: 0.05;
}
.stat-card > div { position: relative; z-index: 2; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--card-color); line-height: 1; margin-bottom: var(--sp-xs); }
.stat-label { font-size: 0.9rem; font-weight: 700; color: var(--clr-text-soft); text-transform: uppercase; letter-spacing: 0.05em; }

.timeline-track { position: relative; padding-left: 40px; }
.timeline-track::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: 15px;
    width: 2px;
    background: repeating-linear-gradient(to bottom, var(--clr-primary) 0, var(--clr-primary) 8px, transparent 8px, transparent 16px);
}
.timeline-rocket {
    position: sticky;
    top: 200px;
    left: -32px;
    width: 30px;
    height: 30px;
    background: var(--clr-organic-gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(251, 140, 0, 0.4);
    z-index: 10;
    transform: translateY(-20px);
}
.timeline-item { position: relative; margin-bottom: var(--sp-xl); }
.timeline-item::before {
    content: "";
    position: absolute;
    top: 6px; left: -29px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--clr-primary);
    border: 2px solid white;
}
/* ==========================================================================
   FOLKDRIVE ANIMATIONS
   ========================================================================== */
@keyframes rotateme {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

.rotateme {
    animation-name: rotateme;
    animation-duration: 20s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.rotatemetwo {
    animation-name: rotatemetwo;
    animation-duration: 25s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.rotating-ring {
    position: absolute;
    border: 1px solid rgba(90, 79, 207, 0.2);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.rotating-ring-accent {
    border: 1px dashed rgba(251, 140, 0, 0.3);
}

.floral-bg-bold {
    background-image: url('../images/floral-pattern.png');
    background-repeat: repeat;
    background-size: 350px;
    opacity: 0.18; /* Bold visibility as requested */
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
    filter: brightness(1.1);
}

.elite-mesh-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 0% 0%, rgba(0, 150, 136, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 100% 0%, rgba(251, 140, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(90, 79, 207, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 0% 100%, rgba(0, 150, 136, 0.1) 0%, transparent 50%);
    z-index: 0;
    animation: mesh-drift 15s ease infinite alternate;
}

@keyframes mesh-drift {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(-2%, -2%); }
}

.founder-bg-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}


/* Dynamic Card Coloring */
.capability-card {
    border-top: 4px solid var(--card-color, var(--clr-primary)) !important;
}
.capability-card .capability-icon-box {
    background: rgba(var(--card-color-rgb, 0,137,123), 0.12) !important;
    color: var(--card-color, var(--clr-primary)) !important;
}
.capability-card:hover .capability-icon-box {
    background: var(--card-color, var(--clr-primary)) !important;
    color: white !important;
    box-shadow: 0 10px 20px rgba(var(--card-color-rgb, 0,137,123), 0.2) !important;
}

.industry-item-card {
    border-top: 4px solid transparent;
    transition: all 0.4s ease;
}
.industry-item-card:hover {
    border-top-color: var(--card-color, var(--clr-primary));
    transform: translateY(-8px);
}
.industry-item-card:hover i {
    color: var(--card-color, var(--clr-primary));
}

/* ==========================================================================
   ELITE 5-SLIDE HERO CAROUSEL — FULL OVERRIDE
   ========================================================================== */

/* ── Hero wrapper ── */
.hero-elite {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background: #06061a;
    padding-top: 0;
}

/* ── Slider container ── */
#hero-slider {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
}

/* ── Individual slide ── */
.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    min-height: 100vh;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.1s ease;
    display: flex;
    align-items: flex-start;
    z-index: 1;
    overflow: hidden;
    padding-top: 110px; /* Increased to avoid overlap with header/logo */
    padding-bottom: 60px;
}

@media (max-width: 1024px) {
    .slide { padding-top: 25px; }
    .hero-elite { padding-top: 60px !important; }
}

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

/* ── Ken Burns Background ── */
.slide-bg-kenburns {
    position: absolute;
    inset: -10%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    will-change: transform;
    transform: scale(1.18) translate(2%, 1%);
    transition: none;
}

.slide.active .slide-bg-kenburns {
    animation: kenBurnsIn 13s ease-out forwards;
}

.slide-kb-reverse {
    transform: scale(1.18) translate(-2%, -1%);
}

.slide.active .slide-kb-reverse {
    animation: kenBurnsReverse 13s ease-out forwards;
}

@keyframes kenBurnsIn {
    from { transform: scale(1.18) translate(2%, 1%); }
    to   { transform: scale(1.0) translate(0%, 0%); }
}

@keyframes kenBurnsReverse {
    from { transform: scale(1.18) translate(-2%, -1%); }
    to   { transform: scale(1.0) translate(0%, 0%); }
}

/* ── Colour Overlays ── */
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(6,6,26,.86) 0%, rgba(6,6,26,.62) 55%, rgba(6,6,26,.36) 100%);
    z-index: 1;
}
.slide-overlay-warm {
    background: linear-gradient(120deg, rgba(20,6,0,.88) 0%, rgba(80,30,0,.62) 55%, rgba(20,6,0,.34) 100%);
}
.slide-overlay-deep {
    background: linear-gradient(120deg, rgba(6,14,40,.91) 0%, rgba(6,14,40,.66) 55%, rgba(6,14,40,.34) 100%);
}
.slide-overlay-teal {
    background: linear-gradient(120deg, rgba(0,38,38,.91) 0%, rgba(0,80,80,.62) 55%, rgba(0,50,50,.34) 100%);
}

/* ── Content Layer ── */
.slide-content-wrap {
    position: relative;
    z-index: 10;
    width: 100%;
    padding-top: 0; /* Handled by parent slide padding-top now */
    padding-bottom: 120px; /* To prevent overlap with bottom wave/indicators */
    display: flex;
    align-items: flex-start;
}

.elite-slide-inner {
    max-width: 740px;
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .elite-slide-inner {
    animation: heroContentFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

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

/* ── Eyebrow Pill ── */
.slide-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.09);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.18);
    padding: 7px 20px;
    border-radius: 100px;
    font-size: .70rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.92);
    margin-bottom: 1.2rem; /* Reduced from 1.6rem */
}

.slide-eyebrow-brcgs {
    background: rgba(251,140,0,.14);
    border-color: rgba(251,140,0,.35);
    color: #FFB74D;
}

/* ── Headline ── */
.slide-headline {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(1.8rem, 3.8vw, 3.2rem) !important; /* Reduced further to avoid logo overlap */
    font-weight: 800 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    animation: none !important;
    filter: none !important;
    line-height: 1.1 !important;
    letter-spacing: -0.03em !important;
    margin-bottom: 1rem !important; /* Reduced from 1.5rem */
    text-shadow: 0 4px 28px rgba(0,0,0,.55) !important;
}

.slide-highlight {
    background: linear-gradient(135deg, #4DB6AC, #80DEEA, #4DD0E1) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-shadow: none !important;
    animation: none !important;
    filter: none !important;
}

.slide-highlight-gold {
    background: linear-gradient(135deg, #FB8C00, #FFB74D, #FF8F00) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-shadow: none !important;
    animation: none !important;
    filter: none !important;
}

/* ── Subtext ── */
.slide-subtext {
    font-size: clamp(0.95rem, 1.6vw, 1.1rem); /* Slightly reduced */
    color: rgba(255,255,255,.78);
    line-height: 1.75;
    max-width: 580px;
    margin-bottom: 1.5rem; /* Reduced from 2.2rem */
}

/* ── CTA Buttons ── */
.slide-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 2rem; /* Reduced from 2.6rem */
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    padding: 14px 34px;
    background: linear-gradient(135deg, #00897B, #00695C);
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    border-radius: 100px;
    text-decoration: none;
    border: none;
    transition: all .4s cubic-bezier(.16,1,.3,1);
    box-shadow: 0 8px 28px rgba(0,137,123,.4);
}

.btn-hero-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 42px rgba(0,137,123,.58);
    background: linear-gradient(135deg, #00A896, #00897B);
    color: #fff;
}

.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    padding: 14px 34px;
    background: transparent;
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    border-radius: 100px;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,.42);
    transition: all .4s cubic-bezier(.16,1,.3,1);
    backdrop-filter: blur(8px);
}

.btn-hero-ghost:hover {
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.75);
    transform: translateY(-4px);
    color: #fff;
}

/* ── Stats Row ── */
.slide-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.slide-stat { padding: 0 24px 0 0; }
.slide-stat:first-child { padding-left: 0; }

.s-num {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800;
    color: #4DB6AC;
    line-height: 1.1;
}

.s-lbl {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.50);
    margin-top: 3px;
}

.slide-stat-divider {
    width: 1px;
    height: 38px;
    background: rgba(255,255,255,.18);
    margin-right: 24px;
    flex-shrink: 0;
}

/* ── Credential Logos ── */
.slide-cred-logos {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.slide-cred-logo {
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.4));
}

/* ── Decorative Accent Rings ── */
.slide-accent-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.06);
    pointer-events: none;
    z-index: 2;
    animation: ringPulse 7s ease-in-out infinite;
}

.slide-accent-1 {
    width: 580px; height: 580px;
    top: -180px; right: -130px;
    border-color: rgba(77,182,172,.12);
}

.slide-accent-2 {
    width: 480px; height: 480px;
    bottom: -160px; right: -70px;
    border-color: rgba(251,140,0,.10);
    animation-delay: -2.5s;
}

.slide-accent-3 {
    width: 680px; height: 680px;
    top: 50%; right: -240px;
    transform: translateY(-50%);
    border-color: rgba(255,255,255,.05);
    animation-delay: -4.5s;
}

@keyframes ringPulse {
    0%, 100% { opacity: .45; }
    50%       { opacity: .95; }
}

/* ── Slider Dots (override old) ── */
#slider-nav {
    position: absolute;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 100;
}

#slider-nav .dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,.28);
    cursor: pointer;
    transition: all .4s cubic-bezier(.16,1,.3,1);
    border: 1.5px solid rgba(255,255,255,.18);
}

#slider-nav .dot.active {
    background: #4DB6AC;
    border-color: #4DB6AC;
    transform: scale(1.55);
    box-shadow: 0 0 14px rgba(77,182,172,.70);
}

/* ── Prev / Next Arrows ── */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255,255,255,.20);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .35s cubic-bezier(.16,1,.3,1);
    outline: none;
}

.hero-arrow:hover {
    background: rgba(255,255,255,.22);
    border-color: rgba(255,255,255,.50);
    transform: translateY(-50%) scale(1.1);
}

.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

/* ── Hero Wave ── */
.hero-wave {
    position: absolute;
    bottom: -1px; left: 0;
    width: 100%;
    z-index: 20;
    pointer-events: none;
    line-height: 0;
}

.waves {
    position:relative;
    width: 100%;
    height: 15vh;
    margin-bottom:-7px; /*Fix for safari gap*/
    min-height:100px;
    max-height:150px;
}

/* Animation */
.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px,0,0);
    }
    100% { 
        transform: translate3d(85px,0,0);
    }
}

/* Shrinking for mobile */
@media (max-width: 768px) {
    .waves {
        height:40px;
        min-height:40px;
    }
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .hero-arrow { display: none; }
    .slide-content-wrap { padding-top: 120px; padding-bottom: 160px; }
    .slide-headline { font-size: clamp(2rem,7.5vw,3rem) !important; }
    .elite-slide-inner { max-width: 100%; }
    .slide-eyebrow { font-size: .62rem; white-space: normal; }
}

@media (max-width: 640px) {
    .slide-content-wrap { padding-top: 15px; padding-bottom: 90px; }
    .slide-stats { gap: 15px; flex-wrap: wrap; justify-content: center; }
    .slide-stat { padding-right: 0; text-align: center; min-width: 120px; }
    .slide-stat-divider { display: none; }
    .btn-hero-primary, .btn-hero-ghost { padding: 12px 22px; font-size: .88rem; width: 100%; text-align: center; }
    .s-num { font-size: 1.4rem; }
}

/* ==========================================================================
   FOLKDRIVE ANIMATION SUITE — Applied to Swasthya Homepage
   Source: D:\folkdrive.in\css\animation.css & custom-animate.css
   ========================================================================== */

/* 1. ROTATEME — Slow clockwise spin for decorative rings */
@keyframes rotateme {
    0%   { transform: rotate(0deg);   opacity: 1; }
    50%  { transform: rotate(180deg); opacity: 0.7; }
    100% { transform: rotate(360deg); opacity: 1; }
}
@-webkit-keyframes rotateme {
    0%   { -webkit-transform: rotate(0deg);   opacity: 1; }
    50%  { -webkit-transform: rotate(180deg); opacity: 0.7; }
    100% { -webkit-transform: rotate(360deg); opacity: 1; }
}

/* 1b. ROTATEMETWO — Counter-clockwise spin */
@keyframes rotatemetwo {
    0%   { transform: rotate(0deg);   opacity: 1; }
    50%  { transform: rotate(-180deg); opacity: 0.7; }
    100% { transform: rotate(-360deg); opacity: 1; }
}
@-webkit-keyframes rotatemetwo {
    0%   { -webkit-transform: rotate(0deg);   opacity: 1; }
    50%  { -webkit-transform: rotate(-180deg); opacity: 0.7; }
    100% { -webkit-transform: rotate(-360deg); opacity: 1; }
}

/* Applied: hero accent rings spin slowly */
.slide-accent-1 {
    animation: rotateme 40s linear infinite;
    -webkit-animation: rotateme 40s linear infinite;
}
.slide-accent-3 {
    animation: rotateme 60s linear infinite reverse;
    -webkit-animation: rotateme 60s linear infinite reverse;
}

/* 2. FLOAT_UP_DOWN — Gentle vertical bob for decorative hero shapes */
@keyframes float_up_down {
    0%   { transform: translateY(0px);  opacity: 1; }
    50%  { transform: translateY(22px); opacity: 0.85; }
    100% { transform: translateY(0px);  opacity: 1; }
}
@-webkit-keyframes float_up_down {
    0%   { -webkit-transform: translateY(0px);  opacity: 1; }
    50%  { -webkit-transform: translateY(22px); opacity: 0.85; }
    100% { -webkit-transform: translateY(0px);  opacity: 1; }
}

/* Applied: floating decorative orbs in hero */
.hero-float-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
    animation: float_up_down 6s ease-in-out infinite;
    -webkit-animation: float_up_down 6s ease-in-out infinite;
}
.hero-float-orb:nth-child(2) { animation-delay: -2s; animation-duration: 8s; }
.hero-float-orb:nth-child(3) { animation-delay: -4s; animation-duration: 5s; }

/* Applied: trust badge floating */
.trust-badge-item {
    animation: float_up_down 4s ease-in-out infinite;
    -webkit-animation: float_up_down 4s ease-in-out infinite;
}
.trust-badge-item:nth-child(2) { animation-delay: -0.8s; }
.trust-badge-item:nth-child(3) { animation-delay: -1.6s; }
.trust-badge-item:nth-child(4) { animation-delay: -2.4s; }
.trust-badge-item:nth-child(5) { animation-delay: -3.2s; }

/* 3. SHINE — Shimmer sweep for CTA buttons */
@keyframes shine {
    0%   { left: -80%; }
    100% { left: 130%; }
}
@-webkit-keyframes shine {
    0%   { left: -80%; }
    100% { left: 130%; }
}

/* Applied: shimmer on primary hero button */
.btn-hero-primary {
    position: relative;
    overflow: hidden;
}
.btn-hero-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0.28) 50%,
        transparent 100%
    );
    transform: skewX(-20deg);
    animation: shine 3.5s ease-in-out infinite;
    -webkit-animation: shine 3.5s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* 4. ZOOM-FADE — Breathing scale pulse for credential logos */
@keyframes zoom-fade {
    0%   { transform: scale(0.95); }
    50%  { transform: scale(1.04); }
    100% { transform: scale(0.95); }
}
@-webkit-keyframes zoom-fade {
    0%   { -webkit-transform: scale(0.95); }
    50%  { -webkit-transform: scale(1.04); }
    100% { -webkit-transform: scale(0.95); }
}

/* Applied: credential logos breathe gently */
.slide-cred-logo {
    animation: zoom-fade 4s ease-in-out infinite;
    -webkit-animation: zoom-fade 4s ease-in-out infinite;
}

/* Applied: founder portrait container subtle pulse */
.founder-portrait-container img {
    animation: zoom-fade 8s ease-in-out infinite;
    -webkit-animation: zoom-fade 8s ease-in-out infinite;
}

/* 5. ZOOMINOUT — Rotate+scale pulse for stat highlights */
@keyframes zoomInOut {
    0%   { transform: rotate(0deg)   scale(0.92); opacity: 0.7; }
    50%  { transform: rotate(180deg) scale(1.0);  opacity: 1; }
    100% { transform: rotate(360deg) scale(0.92); opacity: 0.7; }
}

/* Applied: floating badge icons in hero eyebrow */
.slide-eyebrow i {
    animation: rotateme 6s linear infinite;
    -webkit-animation: rotateme 6s linear infinite;
    display: inline-block;
}

/* Applied: stat card numbers glow pulse on hover */
.stat-card:hover .stat-number {
    animation: zoom-fade 1.2s ease-in-out infinite;
}

/* Logo portal hover spin already exists; add subtle float */
.logo-portal-circle-glass {
    animation: float_up_down 5s ease-in-out infinite;
    -webkit-animation: float_up_down 5s ease-in-out infinite;
}

/* ==========================================================================
   HERO DECORATIVE FLOATING ORBS
   (Added inline to HTML section — styles here)
   ========================================================================== */
.hero-orb-teal {
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(77,182,172,0.18) 0%, transparent 70%);
    top: 15%; left: 8%;
    animation-duration: 7s;
}
.hero-orb-gold {
    width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(251,140,0,0.14) 0%, transparent 70%);
    bottom: 20%; right: 10%;
    animation-duration: 9s;
    animation-delay: -3s;
}
.hero-orb-white {
    width: 80px; height: 80px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    top: 60%; left: 18%;
    animation-duration: 5s;
    animation-delay: -1.5s;
}

/* ── Side Half Circle Decoration (Folkdrive Style) ── */
.side-half-circle-wrap {
    position: absolute;
    top: 50%;
    right: -200px; /* Anchored to the right side of the section */
    transform: translateY(-50%);
    width: 450px;
    height: 450px;
    z-index: 1; 
    pointer-events: none;
    opacity: 0.6; 
}

.side-half-circle {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, 
        rgba(0, 137, 123, 0.4) 0%, 
        rgba(251, 140, 0, 0.4) 25%, 
        rgba(255, 107, 107, 0.4) 50%, 
        rgba(77, 85, 209, 0.4) 75%, 
        rgba(0, 137, 123, 0.4) 100%
    );
    filter: blur(40px);
}

.side-half-circle-inner {
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4); /* Solid single line */
    background: transparent;
    z-index: 2;
}

/* Two colored circles (Satellites) that rotate with the ring */
.side-half-circle-inner::before,
.side-half-circle-inner::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255,255,255,0.3);
}

.side-half-circle-inner::before {
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--clr-primary); /* Teal Satellite */
}

.side-half-circle-inner::after {
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--clr-coral); /* Coral Satellite */
}
/* ==========================================================================
   TRUST BADGES & CLIENT MARQUEE
   ========================================================================== */

.trust-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    max-width: 180px;
    transition: var(--transition-smooth);
}

.trust-badge-item i {
    font-size: 2rem;
    color: var(--clr-primary);
    background: rgba(0, 137, 123, 0.08);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.trust-badge-item:hover i {
    background: var(--clr-primary);
    color: white;
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 10px 20px rgba(0, 137, 123, 0.2);
}

.trust-badge-item span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--clr-text-main);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Marquee Engine ── */
.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 10px 0;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
}

.marquee-item {
    flex-shrink: 0;
    width: 180px;
    height: 80px;
    margin: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.4s ease;
}

.marquee-item:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

.marquee-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

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

/* ── Reveal Fixes ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   MOBILE OPTIMIZATION (Home Page & General Layout)
   ========================================================================== */
/* Tablet Optimization */
@media (min-width: 769px) and (max-width: 1100px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
    :root {
        --sp-3xl: 3rem;
        --sp-2xl: 2.5rem;
        --sp-xl: 2rem;
        --sp-lg: 1.5rem;
    }
    
    .hero-elite { padding-top: 130px !important; }
    .marquee-track { animation-duration: 60s !important; }



    /* 1. Global Spacing & Typography */
    .section-xl { padding: var(--sp-2xl) 0 !important; }
    .section-md { padding: var(--sp-lg) 0 !important; }
    
    /* Global Grid Collapse */
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; }
    
    h1 { font-size: clamp(2rem, 8vw, 2.5rem) !important; }
    h2 { font-size: clamp(1.8rem, 7vw, 2.2rem) !important; }
    .text-lead { font-size: 1rem !important; }

    /* 2. Hero Carousel Adjustments */
    .slide-headline { font-size: clamp(2rem, 8vw, 2.8rem) !important; margin-bottom: 15px !important; }
    .slide-subtext { font-size: 0.95rem !important; margin-bottom: 30px !important; }
    .slide-content-wrap { padding-top: 110px !important; }
    .slide-actions { flex-direction: column; align-items: stretch; gap: 12px !important; }
    .slide-actions .btn { width: 100%; text-align: center; }
    .hero-stats-row { flex-direction: column; gap: 10px !important; }


    /* 3. Founder Authority Block */
    .founder-portrait-container img { max-width: 100% !important; }
    .rotating-ring { display: none; } /* Hide complex decorative rings on small mobile to save space and processing */
    .founder-bg-element { transform: scale(0.6); }

    /* 4. Satellite Stats Grid */
    .milestone-stats-section { padding: 80px 0 !important; }
    .milestone-stats-grid { gap: 40px !important; }
    .stat-circle-outer { width: 160px !important; height: 160px !important; }
    .stat-center-circle { width: 120px !important; height: 120px !important; }
    .stat-number { font-size: 2rem !important; }
    .stat-label { font-size: 0.9rem !important; }

    /* 5. Call-To-Action (Sunrise) */
    .hero-float-orb { display: none; } /* Remove large orb in CTA to prevent crowding */
    .vibrant-cta-section .btn-hero-primary, 
    .vibrant-cta-section .btn-hero-ghost { width: 100%; margin-bottom: 10px; }

    /* Fix Trust Badges wrapper spacing */
    .trust-badge-item { padding: 10px; flex: 1 1 100%; justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
    /* 6. FoSTaC Training Stats specifically */
    .counter { font-size: 2rem !important; }
    .fostac-stat-box { padding: var(--sp-md) !important; }
}

