/* ============================================
   LOTUS VALLEY - CLASSIC LIGHT ACADEMIC THEME
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ============================================
   CSS VARIABLES - DESIGN TOKENS
   ============================================ */
:root {
    /* Colors - Matching Lotus Valley Logo (Green/Teal) */
    --color-primary: #0D9488;
    --color-primary-dark: #0F766E;
    --color-primary-light: #14B8A6;
    --color-secondary: #F59E0B;
    --color-secondary-dark: #D97706;
    --color-secondary-light: #FBBF24;

    /* Background Colors */
    --bg-light: #F5F7FB;
    --bg-white: #FFFFFF;
    --bg-gray: #F1F5F9;

    /* Text Colors */
    --text-heading: #111827;
    --text-body: #4B5563;
    --text-muted: #6B7280;
    --text-white: #FFFFFF;

    /* Border & Shadows */
    --border-light: #E5E7EB;
    --border-medium: #D1D5DB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Poppins', 'Inter', sans-serif;

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

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

/* ============================================
   BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-body);
    background-color: var(--bg-light);
}

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

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
    font-size: 1.25rem;
}

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

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

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

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 5rem 0;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: 6rem 0;
    }
}

/* Flexbox Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

/* Grid Utilities */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lg\:grid-cols-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

/* Text Utilities */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-sm {
    font-size: 0.875rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-display {
    font-family: var(--font-display);
}

/* Color Utilities */
.text-primary {
    color: var(--color-primary);
}

.text-secondary {
    color: var(--color-secondary);
}

.text-heading {
    color: var(--text-heading);
}

.text-body {
    color: var(--text-body);
}

.text-muted {
    color: var(--text-muted);
}

.text-white {
    color: var(--text-white);
}

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

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

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

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

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

/* Spacing Utilities */
.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.my-4 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.p-2 {
    padding: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Display Utilities */
.hidden {
    display: none;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.inline-flex {
    display: inline-flex;
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }

    .md\:hidden {
        display: none;
    }

    .md\:block {
        display: block;
    }
}

@media (min-width: 1024px) {
    .lg\:flex {
        display: flex;
    }

    .lg\:hidden {
        display: none;
    }

    .lg\:block {
        display: block;
    }
}

/* Width Utilities */
.w-full {
    width: 100%;
}

.max-w-md {
    max-width: 28rem;
}

.max-w-lg {
    max-width: 32rem;
}

.max-w-xl {
    max-width: 36rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

/* ============================================
   COMPONENTS
   ============================================ */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--text-heading);
}

.btn-secondary:hover {
    background-color: var(--color-secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--text-white);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-pill {
    border-radius: var(--radius-full);
}

/* Cards */
.card {
    background-color: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-normal);
}

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

.card-body {
    padding: 1.5rem;
}

.card-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    gap: 0.375rem;
}

.badge-primary {
    background-color: rgba(13, 148, 136, 0.1);
    color: var(--color-primary);
}

.badge-secondary {
    background-color: rgba(245, 158, 11, 0.15);
    color: var(--color-secondary-dark);
}

.badge-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #059669;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .badge {
    margin-bottom: 1rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    max-width: 42rem;
    margin: 0 auto;
    font-size: 1.125rem;
}

/* Icon Box */
.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-xl);
    background-color: var(--color-primary);
    color: var(--text-white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.icon-box-sm {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
}

.icon-box-lg {
    width: 5rem;
    height: 5rem;
    font-size: 2rem;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.top-bar {
    background-color: var(--color-primary);
    color: var(--text-white);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.top-bar a {
    color: var(--text-white);
    opacity: 0.9;
}

.top-bar a:hover {
    opacity: 1;
    color: var(--color-secondary-light);
}

.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-brand img {
    height: 3.5rem;
    width: auto;
}

.navbar-brand-text {
    display: flex;
    flex-direction: column;
}

.navbar-brand-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.1;
}

.navbar-brand-tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-menu {
    display: none;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    font-weight: 500;
    color: var(--text-body);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-toggle::after {
    display: none;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    list-style: none;
    z-index: 1000;
    border: 1px solid var(--border-light);
    margin-top: 0.5rem;
}

.nav-item-dropdown:hover .dropdown-menu {
    display: block;
    animation: slideDown 0.2s ease;
}

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

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-body);
    text-decoration: none;
    transition: all var(--transition-normal);
    font-size: 0.9375rem;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
    background: var(--bg-light);
    color: var(--color-primary);
    padding-left: 1.25rem;
}

.dropdown-menu a i {
    width: 1rem;
    text-align: center;
    color: var(--color-primary);
}

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: none;
    color: var(--text-heading);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    border-top: 1px solid var(--border-light);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-body);
    border-radius: var(--radius-md);
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background-color: var(--bg-light);
    color: var(--color-primary);
}

/* ============================================
   MODERN HERO SECTION
   ============================================ */
.hero-modern {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 50%, #F0F7FF 100%);
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .hero-modern {
        min-height: 75vh;
        padding: 5rem 0;
    }
}

/* Background decorative shapes */
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    top: 50%;
    left: 30%;
}

/* Hero Grid Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* Hero Content Column */
.hero-content-col {
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-content-col {
        text-align: left;
    }
}

/* Pill Badge */
.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(13, 148, 136, 0.08);
    border: 1px solid rgba(13, 148, 136, 0.2);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out;
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    font-size: 0.625rem;
}

/* Hero Heading */
.hero-heading {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, #3B82F6 50%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Subheading */
.hero-subheading {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 32rem;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

@media (min-width: 1024px) {
    .hero-subheading {
        font-size: 1.25rem;
    }
}

@media (max-width: 1023px) {
    .hero-subheading {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Hero CTA Buttons */
.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

@media (min-width: 640px) {
    .hero-cta-group {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .hero-cta-group {
        justify-content: flex-start;
    }
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.hero-btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(13, 148, 136, 0.35);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px 0 rgba(13, 148, 136, 0.45);
    color: white;
}

.hero-btn-outline {
    background: white;
    color: var(--text-heading);
    border: 2px solid var(--border-medium);
    box-shadow: var(--shadow-sm);
}

.hero-btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Trust Row */
.hero-trust-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

@media (min-width: 640px) {
    .hero-trust-row {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .hero-trust-row {
        justify-content: flex-start;
    }
}

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

.trust-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    border: 3px solid white;
    margin-left: -0.5rem;
    box-shadow: var(--shadow-sm);
}

.trust-avatar:first-child {
    margin-left: 0;
}

.trust-avatar-count {
    background: var(--bg-light);
    color: var(--text-heading);
    font-weight: 700;
    font-size: 0.625rem;
}

.trust-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

@media (max-width: 639px) {
    .trust-text {
        align-items: center;
    }
}

.trust-highlight {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-heading);
}

.trust-rating {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    color: #F59E0B;
    font-size: 0.75rem;
}

.trust-rating span {
    margin-left: 0.375rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Hero Image Column */
.hero-image-col {
    position: relative;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

@media (max-width: 1023px) {
    .hero-image-col {
        max-width: 500px;
        margin: 0 auto;
    }
}

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

/* Decorative blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
}

.hero-blob-1 {
    width: 120%;
    height: 120%;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.12) 0%, rgba(20, 184, 166, 0.08) 100%);
    top: -10%;
    left: -10%;
    animation: blobFloat 8s ease-in-out infinite;
}

.hero-blob-2 {
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    bottom: -20%;
    right: -15%;
    animation: blobFloat 10s ease-in-out infinite reverse;
}

@keyframes blobFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(10px, -15px) scale(1.02);
    }
}

/* Hero Image Frame */
.hero-image-frame {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 12px 24px -8px rgba(0, 0, 0, 0.1);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* Floating Stats Cards */
.hero-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    padding: 0.875rem 1.25rem;
    border-radius: 1rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 10;
    animation: cardFloat 4s ease-in-out infinite;
}

.hero-float-card-top {
    top: 8%;
    right: -5%;
    animation-delay: 0s;
}

.hero-float-card-bottom {
    bottom: 10%;
    left: -5%;
    animation-delay: 2s;
}

@media (max-width: 767px) {
    .hero-float-card-top {
        top: 5%;
        right: 2%;
        padding: 0.625rem 1rem;
    }

    .hero-float-card-bottom {
        bottom: 5%;
        left: 2%;
        padding: 0.625rem 1rem;
    }
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.float-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .float-card-icon {
        width: 2rem;
        height: 2rem;
        font-size: 0.875rem;
    }
}

.float-card-content {
    display: flex;
    flex-direction: column;
}

.float-card-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1;
}

.float-card-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.125rem;
}

@media (max-width: 767px) {
    .float-card-value {
        font-size: 1rem;
    }

    .float-card-label {
        font-size: 0.625rem;
    }
}

/* Legacy hero styles for backward compatibility */
.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text {
    max-width: 36rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(13, 148, 136, 0.1);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    color: var(--color-primary);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-strip {
    background-color: var(--bg-white);
    padding: 2rem 0;
    box-shadow: var(--shadow-sm);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(13, 148, 136, 0.1);
    color: var(--color-primary);
    border-radius: var(--radius-lg);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.feature-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-light);
}

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

.feature-card .icon-box {
    margin: 0 auto 1.5rem;
}

.feature-card h4 {
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* ============================================
   PAGE HEADER (Inner Pages)
   ============================================ */
.page-header {
    background-color: var(--color-primary);
    color: var(--text-white);
    padding: 4rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M30 30c0-5.52 4.48-10 10-10V10C30 10 22.18 14.48 16 20.66V30h14zm-8 0c0-5.52 4.48-10 10-10V10c-9.94 0-18.73 4.98-24 12.57V30h8z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: var(--text-white);
    opacity: 0.8;
}

.breadcrumb a:hover {
    opacity: 1;
    color: var(--color-secondary-light);
}

.breadcrumb span {
    opacity: 0.6;
}

.page-header h1 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 42rem;
}

/* Wave decoration */
.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.wave-bottom svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: #1E293B;
    color: var(--text-white);
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand img {
    height: 3rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.footer h4 {
    color: var(--text-white);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-secondary-light);
}

.footer-links a i {
    font-size: 0.75rem;
    color: var(--color-primary-light);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-contact .icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(13, 148, 136, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-light);
    flex-shrink: 0;
}

.footer-contact .text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--color-secondary-light);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-bottom-links a:hover {
    color: var(--text-white);
}

/* ============================================
   FORM STYLES
   ============================================ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    background-color: var(--bg-white);
    color: var(--text-heading);
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

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

/* ============================================
   UTILITY ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background-color: var(--color-primary);
    color: var(--text-white);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 50;
    transition: all var(--transition-normal);
}

.scroll-top:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
}

.scroll-top.visible {
    display: flex;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

/* ============================================
   HERO SLIDER MODERN
   ============================================ */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 90vh; /* Full viewport height minus header usually */
    min-height: 600px;
    max-height: 1000px;
    overflow: hidden;
    background: #111;
}

.hero-slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Gradient Overlay for Readability */
.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.hero-slide-content-wrapper {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
}

.hero-slide-content {
    max-width: 800px;
    padding: 0 2rem;
    width: 100%;
    margin: 0 auto; /* Center in container if valid */
    /* Container class handles margin auto usually, but we need to ensure alignment */
}

/* Animations for content */
.hero-slide-content > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active .hero-slide-content > *:nth-child(1) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); } /* Badge */
.hero-slide.active .hero-slide-content > *:nth-child(2) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); } /* Title */
.hero-slide.active .hero-slide-content > *:nth-child(3) { transition-delay: 0.7s; opacity: 1; transform: translateY(0); } /* Desc */
.hero-slide.active .hero-slide-content > *:nth-child(4) { transition-delay: 0.9s; opacity: 1; transform: translateY(0); } /* Buttons */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    color: #fbbf24; /* Amber-400 */
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-family: var(--font-display, sans-serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.hero-desc {
    font-size: clamp(1.125rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.hero-btn-primary {
    background: var(--color-primary);
    color: white;
    border: 2px solid var(--color-primary);
    box-shadow: 0 10px 20px -5px rgba(13, 148, 136, 0.5);
}

.hero-btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(13, 148, 136, 0.6);
}

.hero-btn-white {
    background: white;
    color: var(--color-primary);
    border: 2px solid white;
    box-shadow: 0 10px 20px -5px rgba(255, 255, 255, 0.3);
}

.hero-btn-white:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
}

/* Slider Controls */
.slider-dots {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.slider-dot {
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.slider-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: white;
    transition: width 0s;
}

.slider-dot.active {
    background: rgba(255, 255, 255, 0.3);
}

.slider-dot.active::after {
    width: 100%;
    transition: width 5s linear; /* Matches auto-slide duration */
}

/* Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: white;
    color: var(--color-primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev { left: 3rem; }
.slider-next { right: 3rem; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .hero-slider-section { min-height: 100svh; } /* Full mobile height */
    .hero-slide { background-position: center; }
    .hero-slide::after {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.3) 100%);
    }
    .hero-slide-content {
        text-align: center;
        padding-top: 4rem; /* Space for header */
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    .hero-desc {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }
    .hero-btn {
        width: 100%;
        justify-content: center;
    }
    .slider-arrow { display: none; }
    .slider-dots { bottom: 2rem; }
    .slider-dot { width: 40px; }
}