/* WonderHug Professional Design System - Inspired by Modern Pregnancy Platforms */

:root {
    /* Primary Color Palette - Purple & Teal Wellness Theme */
    --primary-color: #7F3E9B;
    --secondary-color: #298B85;
    --primary-color-dark: #5a2b6f;
    --accent-color: #a560c0;
    --soft-purple: #e8d9f0;
    --soft-lavender: #f4edf7;
    --soft-cream: #d4e8e6;

    /* Functional Colors */
    --success-color: #4CAF50;
    --danger-color: #DC3545;
    --warning-color: #FFC107;
    --info-color: #4C83A6;

    /* Neutral Colors */
    --light-color: #FFFFFF;
    --dark-color: #2B2A28;
    --text-primary: #2B2A28;
    --text-secondary: #6F6A66;
    --text-muted: #9C9490;

    /* Gray Scale */
    --gray-50: #FAFBFC;
    --gray-100: #F7FAFC;
    --gray-200: #EDF2F7;
    --gray-300: #E2E8F0;
    --gray-400: #CBD5E0;
    --gray-500: #A0AEC0;
    --gray-600: #718096;
    --gray-700: #4A5568;
    --gray-800: #2D3748;
    --gray-900: #1A202C;

    /* Typography */
    --font-primary: 'Manrope', 'Segoe UI', sans-serif;
    --font-display: 'Fraunces', 'Georgia', serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;

    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Shadows */
    --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);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

/* Global Styles */
* {
    box-sizing: border-box;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    font-size: var(--font-size-base);
    font-weight: 400;
    background-color: var(--soft-cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(40% 35% at 15% 15%, rgba(127, 62, 155, 0.12) 0%, rgba(127, 62, 155, 0) 70%),
        radial-gradient(35% 30% at 85% 10%, rgba(41, 139, 133, 0.14) 0%, rgba(41, 139, 133, 0) 70%),
        rgba(248, 244, 251, 0.96);
    z-index: -1;
}

main {
    flex: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.25;
    color: var(--gray-900);
    margin-bottom: var(--spacing-4);
}

h1 {
    font-size: var(--font-size-4xl);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

h5 {
    font-size: var(--font-size-lg);
}

h6 {
    font-size: var(--font-size-base);
}

p {
    margin-bottom: var(--spacing-4);
    line-height: 1.7;
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.text-accent {
    color: var(--accent-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.bg-secondary {
    background-color: var(--secondary-color);
}

.bg-light {
    background-color: var(--light-color);
}

.bg-gray-50 {
    background-color: var(--gray-50);
}

.bg-gray-100 {
    background-color: var(--gray-100);
}

/* Bootstrap Color Overrides */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

.btn-primary:hover {
    background-color: var(--primary-color-dark) !important;
    border-color: var(--primary-color-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(127, 62, 155, 0.32) !important;
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.bg-dark {
    background-color: var(--gray-800) !important;
}

.bg-light {
    background-color: var(--light-color) !important;
}

.bg-info {
    background-color: var(--info-color) !important;
}

.bg-success {
    background-color: var(--success-color) !important;
}

.bg-warning {
    background-color: var(--warning-color) !important;
}

.bg-danger {
    background-color: var(--danger-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-success {
    color: var(--success-color) !important;
}

.text-danger {
    color: var(--danger-color) !important;
}

.text-warning {
    color: var(--warning-color) !important;
}

.text-info {
    color: var(--info-color) !important;
}

.text-light {
    color: var(--light-color) !important;
}

.text-dark {
    color: var(--dark-color) !important;
}

.text-muted {
    color: var(--gray-500) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.border-secondary {
    border-color: var(--secondary-color) !important;
}

.border-dark {
    border-color: var(--gray-800) !important;
}

.border-light {
    border-color: var(--gray-200) !important;
}

/* Navigation Styles */
.navbar {
    background: var(--light-color);
    border-bottom: 1px solid var(--gray-200);
    padding: var(--spacing-4) 0;
    box-shadow: 0 6px 18px rgba(43, 42, 40, 0.06);
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    font-size: var(--font-size-xl);
    color: var(--gray-900);
}

.navbar-brand:hover {
    color: var(--gray-900);
    text-decoration: none;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar-nav {
    gap: var(--spacing-6);
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    transition: all 0.2s ease;
    text-decoration: none;
    padding: var(--spacing-2) 0;
    position: relative;
    letter-spacing: 0.025em;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: var(--radius-full);
}

.navbar-toggler {
    border: none;
    padding: var(--spacing-2);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Button Styles */
.btn {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: var(--font-size-sm);
    padding: var(--spacing-3) var(--spacing-6);
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.025em;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--gray-100);
    border-color: var(--gray-200);
    color: var(--gray-700);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--gray-200);
    border-color: var(--gray-300);
    color: var(--gray-800);
}

.btn-outline-primary {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--gray-900);
}

.btn-lg {
    padding: var(--spacing-4) var(--spacing-8);
    font-size: var(--font-size-lg);
    border-radius: var(--radius-xl);
}

.btn-sm {
    padding: var(--spacing-2) var(--spacing-4);
    font-size: var(--font-size-xs);
    border-radius: var(--radius-md);
}

/* Form Styles */
.form-control {
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-300);
    padding: var(--spacing-3) var(--spacing-4);
    font-size: var(--font-size-base);
    font-family: var(--font-primary);
    transition: all 0.2s ease;
    background-color: var(--light-color);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(252, 203, 200, 0.1);
    outline: none;
}

.form-label {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: var(--spacing-2);
    font-size: var(--font-size-sm);
    letter-spacing: 0.025em;
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: var(--spacing-8);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    background: var(--light-color);
    transition: all 0.2s ease;
    height: 100%;
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-4);
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: var(--font-size-base);
}

/* Dashboard Styles */
.dashboard-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    transition: all 0.2s ease;
}

.dashboard-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.dashboard-stat {
    background: var(--primary-color);
    color: var(--gray-900);
    border-radius: var(--radius-xl);
    padding: var(--spacing-6);
    text-align: center;
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-2);
}

/* Footer Styles */
footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--spacing-16) 0 var(--spacing-8);
}

footer h5,
footer h6 {
    color: var(--light-color);
    font-weight: 600;
}

footer a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--primary-color);
}

/* Utility Classes */
.section-padding {
    padding: var(--spacing-16) 0;
}

.section-padding-sm {
    padding: var(--spacing-10) 0;
}

.section-padding-lg {
    padding: var(--spacing-20) 0;
}

.text-muted {
    color: var(--gray-500);
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: var(--spacing-1);
}

.mb-2 {
    margin-bottom: var(--spacing-2);
}

.mb-3 {
    margin-bottom: var(--spacing-3);
}

.mb-4 {
    margin-bottom: var(--spacing-4);
}

.mb-5 {
    margin-bottom: var(--spacing-5);
}

.mb-6 {
    margin-bottom: var(--spacing-6);
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: var(--spacing-1);
}

.mt-2 {
    margin-top: var(--spacing-2);
}

.mt-3 {
    margin-top: var(--spacing-3);
}

.mt-4 {
    margin-top: var(--spacing-4);
}

.mt-5 {
    margin-top: var(--spacing-5);
}

.mt-6 {
    margin-top: var(--spacing-6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: var(--spacing-16) 0 var(--spacing-12);
        min-height: 60vh;
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-lg);
    }

    .feature-card {
        padding: var(--spacing-6);
    }

    .section-padding {
        padding: var(--spacing-12) 0;
    }

    .section-padding-lg {
        padding: var(--spacing-16) 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .btn-lg {
        padding: var(--spacing-3) var(--spacing-6);
        font-size: var(--font-size-base);
    }
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.05);
    color: var(--success-color);
    border-color: var(--success-color);
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.05);
    color: var(--danger-color);
    border-color: var(--danger-color);
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.05);
    color: var(--warning-color);
    border-color: var(--warning-color);
}

.alert-info {
    background-color: rgba(59, 130, 246, 0.05);
    color: var(--info-color);
    border-color: var(--info-color);
}

/* Loading Spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Utility Classes */
.text-gradient {
    color: var(--primary-color);
}

.bg-gradient-primary {
    background: var(--primary-color);
}

.shadow-soft {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Responsive Design */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    .btn-lg {
        padding: 10px 20px;
        font-size: 16px;
    }

    .hero-section {
        padding: 60px 0;
        text-align: center;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Dashboard Specific Styles */
.dashboard-card {
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    border-left: 4px solid var(--secondary-color);
    transform: translateX(5px);
}

.progress-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-color) 0deg, var(--primary-color) 220deg, #e9ecef 220deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.progress-circle::before {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: white;
}

.progress-text {
    position: relative;
    z-index: 1;
    font-weight: bold;
    color: var(--primary-color);
}

/* Authentication Forms */
.auth-container {
    min-height: 100vh;
    background: var(--gray-50);
    display: flex;
    align-items: center;
}

.auth-card {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
footer {
    background-color: var(--gray-800) !important;
    color: var(--light-color);
}

footer h5,
footer h6 {
    color: var(--light-color) !important;
    font-weight: 600;
}

footer .text-muted {
    color: var(--gray-400) !important;
}

footer a {
    color: var(--gray-400) !important;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

footer hr {
    border-color: var(--gray-600) !important;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Homepage Specific Styles */

/* Hero Section */
.hero-section {
    padding: 60px 0;
    background: var(--gray-50);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-stats {
    margin-bottom: 2rem;
}

.rating-stars {
    color: #FFD700;
    font-size: 1.5rem;
}

.hero-image {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 400px;
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.hero-overlay-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    max-width: 250px;
    text-align: center;
}

.hero-overlay-card.top-right {
    top: 20px;
    right: 20px;
}

.hero-overlay-card.bottom-left {
    bottom: 20px;
    left: 20px;
}

.hero-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 300px;
}

/* Service Cards */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.fertility-icon {
    background: var(--primary-color);
}

.pregnancy-icon {
    background: var(--secondary-color);
}

.parenting-icon {
    background: var(--accent-color);
}

/* Program Cards */
.programs-section {
    padding: 80px 0;
}

.program-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    height: 100%;
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-card.featured {
    border: 2px solid var(--primary-color);
}

.program-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
}

.program-subtitle {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.program-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.program-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.feature-visual {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    text-align: center;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.testimonial-author {
    color: var(--text-primary);
    font-weight: 600;
}

/* Call to Action Section */
.cta-section {
    padding: 80px 0;
    background: var(--primary-color);
}

.cta-section .text-white {
    color: white !important;
}

/* Hero Carousel Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-slider .carousel {
    width: 100%;
    height: 100%;
}

.hero-slider .carousel-item {
    height: 700px;
    position: relative;
}

.hero-slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.carousel-caption-custom {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.carousel-caption-custom h1 {
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.carousel-caption-custom p {
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.carousel-caption-custom .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
}

.carousel-caption-custom .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 0.8s ease-out forwards;
}

.animate-fade-in-delay {
    animation: fade-in 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.animate-fade-in-delay-2 {
    animation: fade-in 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
        min-height: 60vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-visual {
        height: 300px;
        margin-top: 2rem;
    }

    .hero-overlay-card {
        padding: 1rem;
        max-width: 200px;
    }

    .hero-overlay-card.top-right,
    .hero-overlay-card.bottom-left {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        margin: 1rem auto;
        display: block;
    }

    .programs-section,
    .features-section,
    .testimonials-section,
    .cta-section {
        padding: 60px 0;
    }

    .program-card,
    .service-card {
        margin-bottom: 2rem;
    }

    .service-image {
        height: 180px;
    }
}