/* Critical CSS - Above the fold styles for initial render */
/* Generated: Optimized for First Contentful Paint (FCP) */

:root {
    /* Modern Coastal Palette */
    --primary-color: #0f766e;
    --primary-light: #14b8a6;
    --primary-dark: #115e59;
    --secondary-color: #2563eb;
    --accent-color: #f97316;
    --accent-light: #fb923c;
    --accent-hover: #ea580c;
    --info-light: #38bdf8;
    --success-light: #22c55e;
    --font-body: "Manrope", sans-serif;
    --font-display: "Space Grotesk", sans-serif;
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #0f766e 0%, #14b8a6 55%, #38bdf8 100%);
    --navbar-gradient: linear-gradient(135deg, #0f766e 0%, #2563eb 100%);
    --hero-gradient: linear-gradient(135deg, #0f766e 0%, #2563eb 100%);
    --gradient-hero: linear-gradient(135deg, #0f766e 0%, #1e40af 55%, #38bdf8 100%);
    --gradient-accent: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    --gradient-cta: linear-gradient(135deg, #0f766e 0%, #1e40af 100%);
    /* Radius */
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    /* Navbar */
    --navbar-height: 72px;
    --navbar-bg: rgba(15, 118, 110, 0.92);
    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(14, 116, 144, 0.16);
    --shadow-medium: 0 8px 30px rgba(14, 116, 144, 0.22);
}

[data-bs-theme="dark"] {
    --bs-body-bg: #0b1120;
    --bs-body-color: #e2e8f0;
    --navbar-bg: rgba(8, 47, 73, 0.95);
}

body {
    font-family: var(--font-body);
    padding-top: var(--navbar-height);
}

/* CRITICAL: Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero) !important;
    color: #fff;
    padding: 4rem 0;
}
.hero-section .hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657 8.787 5.07 13.857 0H11.03zm32.284 0L49.8 6.485 48.384 7.9l-7.9-7.9h2.83zM16.686 0L10.2 6.485 11.616 7.9l7.9-7.9h-2.83zM22.344 0L13.858 8.485 15.272 9.9l9.9-9.9h-2.828zM32 0l-3.486 3.485 1.414 1.415L35.485 0H32z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 0;
}
.hero-section .container { position: relative; z-index: 2; }
.hero-section h1, .hero-section .display-4 { color: #fff !important; }
.hero-section .lead { color: rgba(255,255,255,0.9) !important; }

/* Hero Stat Cards */
.hero-section .stat-card-modern,
.stat-card-modern {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.stat-card-modern:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.stat-card-modern .stat-icon-wrapper {
    width: 56px; height: 56px;
    background: rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-lg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: var(--accent-light);
    font-size: 1.5rem;
}
.stat-card-modern .stat-icon-wrapper.text-info { background: rgba(6, 182, 212, 0.2); color: var(--info-light); }
.stat-card-modern .stat-icon-wrapper.text-success { background: rgba(16, 185, 129, 0.2); color: var(--success-light); }
.stat-card-modern .stat-icon-wrapper.text-primary { background: rgba(14, 116, 144, 0.2); color: var(--primary-light); }
.stat-card-modern .stat-value { font-size: 1.75rem; font-weight: 700; color: #fff; line-height: 1.2; }
.stat-card-modern .stat-label { color: rgba(255, 255, 255, 0.65); font-size: 0.875rem; font-weight: 500; margin-top: 0.25rem; }

/* Hero Buttons */
.hero-section .btn-warning,
.hero-section .btn-accent {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    border: none;
    color: #1f2937;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
}
.hero-section .btn-outline-light {
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
}
.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    transform: translateY(-2px);
}
.bg-gradient-accent { background: var(--gradient-accent) !important; color: #1f2937 !important; font-weight: 600; }
.text-gradient-accent { background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* CTA Section */
.cta-section { background: var(--gradient-cta) !important; color: #fff; padding: 4rem 0; text-align: center; }
.cta-section h2 { color: #fff !important; }
.cta-section p { color: rgba(255,255,255,0.9) !important; }

/* CRITICAL: Footer */
.footer-custom {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(8, 47, 73, 0.98) 100%) !important;
    color: #fff !important;
    padding: 3rem 0 1.5rem;
    position: relative;
}
.footer-custom::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0f766e, #2563eb, #38bdf8, #f97316);
}
.footer-custom h5, .footer-custom h6 { color: #fff !important; font-weight: 700; }
.footer-custom p, .footer-custom li { color: rgba(255,255,255,0.8) !important; }
.footer-custom a { color: rgba(255,255,255,0.85) !important; text-decoration: none; }
.footer-custom a:hover { color: var(--accent-light) !important; }
.footer-custom .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}
.footer-custom .social-links a:hover { background: var(--accent-color); transform: translateY(-3px); }
.footer-custom .btn-accent,
.footer-custom .btn-warning {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    border: none;
    color: #1f2937;
    font-weight: 600;
}
.footer-custom hr { border-color: rgba(255,255,255,0.1); }
.footer-custom .text-muted { color: rgba(255,255,255,0.6) !important; }
