/* CSS Variables */
:root {
    --primary: #0B4F6C;
    --primary-dark: #094058;
    --primary-light: #1A7A8C;
    --secondary: #20BF55;
    --secondary-dark: #1A9944;
    --secondary-light: #47DF77;
    --accent: #C1F7DC;
    --text: #1A202C;
    --text-light: #4A5568;
    --text-muted: #718096;
    --background: #F4F7F5;
    --white: #FFFFFF;
    --gray-50: #F7FAFC;
    --gray-100: #EDF2F7;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E0;
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-heading: 'Montserrat', system-ui, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 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);
    --shadow-glow: 0 0 20px rgba(32, 191, 85, 0.3);
    --shadow-glow-lg: 0 0 40px rgba(32, 191, 85, 0.4);
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 768px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn .icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.header.scrolled .nav-link {
    color: var(--text);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--primary);
    background: rgba(11, 79, 108, 0.1);
}

.header.scrolled .logo-text {
    color: var(--primary);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

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

.logo-img {
    height: 2.5rem;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--white);
    transition: color 0.3s ease;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.header.scrolled .mobile-toggle span {
    background: var(--primary);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11, 79, 108, 0.8) 0%, rgba(11, 79, 108, 0.6) 50%, rgba(11, 79, 108, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 8rem 0 4rem;
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 2rem;
}

.badge .icon {
    width: 1rem;
    height: 1rem;
    color: var(--secondary);
}

.badge span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 768px;
    margin: 0 auto 2.5rem;
}

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

.hero-stats {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem 0;
    margin-top: auto;
}

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

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
}

.stat-icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem;
    background: rgba(32, 191, 85, 0.2);
    border-radius: var(--radius);
    color: var(--secondary);
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Features */
.features {
    background: var(--background);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

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

.feature-card:hover .feature-icon {
    background: var(--secondary);
    transform: scale(1.1);
}

.feature-card:hover .feature-icon svg {
    color: var(--white);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    padding: 0.875rem;
    background: rgba(32, 191, 85, 0.1);
    border-radius: var(--radius-lg);
    color: var(--secondary);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    transition: color 0.3s ease;
}

.feature-title {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.feature-description {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA */
.cta {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.cta-bg::before,
.cta-bg::after {
    content: '';
    position: absolute;
    width: 24rem;
    height: 24rem;
    background: var(--secondary);
    border-radius: 50%;
    filter: blur(80px);
}

.cta-bg::before {
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
}

.cta-bg::after {
    bottom: 0;
    right: 0;
    transform: translate(50%, 50%);
}

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

.cta-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 0 1.5rem;
}

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

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 3rem;
    width: auto;
}

.footer-logo-title {
    font-size: 1.125rem;
    font-weight: 700;
}

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

.footer-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-tagline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
}

.footer-tagline .icon {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-tagline span {
    font-size: 0.875rem;
    font-weight: 500;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-item .icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.contact-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
}

.contact-value {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.contact-link {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--secondary);
}

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

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

/* Responsive */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Page Header */
.page-header {
    position: relative;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: var(--secondary);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    transform: translate(30%, -30%);
}

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

.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.page-badge svg {
    width: 1rem;
    height: 1rem;
    color: var(--secondary);
}

.page-badge span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 768px;
    margin: 0 auto;
}

/* Stats Bar */
.stats-bar {
    padding: 2rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

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

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

.stat-bar-item {
    text-align: center;
}

.stat-bar-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.stat-bar-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

.stat-bar-subtext {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-xl);
}

.card-image {
    position: relative;
    height: 16rem;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 79, 108, 0.8), transparent);
}

.card-icon {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    width: 3rem;
    height: 3rem;
    padding: 0.75rem;
    background: var(--secondary);
    border-radius: var(--radius);
    color: var(--white);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.card-description {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text);
}

.card-stat::before {
    content: '';
    width: 0.375rem;
    height: 0.375rem;
    background: var(--secondary);
    border-radius: 50%;
}

/* Grid layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

/* Tables */
.table-container {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
}

.table th {
    background: rgba(11, 79, 108, 0.05);
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
}

.table tbody tr:nth-child(even) {
    background: var(--gray-50);
}

.table td {
    font-size: 0.875rem;
    color: var(--text);
}

/* Progress bars */
.progress-item {
    margin-bottom: 1.5rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.progress-label {
    font-weight: 500;
    color: var(--primary);
}

.progress-value {
    font-weight: 700;
    color: var(--secondary);
}

.progress-bar {
    height: 0.75rem;
    background: var(--gray-200);
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--secondary);
    border-radius: 9999px;
    transition: width 1s ease;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

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

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(32, 191, 85, 0.1);
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input {
    margin-top: 0.25rem;
}

.checkbox-group label {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Risk badges */
.risk-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.risk-high {
    background: #FEE2E2;
    color: #DC2626;
}

.risk-medium {
    background: #FEF3C7;
    color: #D97706;
}

.risk-low {
    background: #D1FAE5;
    color: #059669;
}

/* Map container */
.map-container {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.map-container iframe,
.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Success message */
.success-message {
    text-align: center;
    padding: 3rem;
}

.success-icon {
    width: 5rem;
    height: 5rem;
    padding: 1rem;
    background: rgba(32, 191, 85, 0.1);
    border-radius: 50%;
    color: var(--secondary);
    margin: 0 auto 1.5rem;
}

.success-icon svg {
    width: 100%;
    height: 100%;
}

/* Utility classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }

.border-t { border-top: 1px solid var(--gray-200); }
.border-b { border-bottom: 1px solid var(--gray-200); }

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

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

.w-full { width: 100%; }
