/* ====================================
   Root Variables & Reset
   ==================================== */
:root {
    /* Colors */
    --primary: #00C896;
    --primary-dark: #00A67E;
    --primary-light: #E6FAF4;
    --secondary: #6C5CE7;
    --accent: #FF6B6B;
    --dark: #1A1A2E;
    --dark-light: #2D2D44;
    --text-primary: #1A1A2E;
    --text-secondary: #374151;
    --text-light: #6B7280;
    --background: #FFFFFF;
    --background-light: #F9FAFB;
    --border: #E5E7EB;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00C896 0%, #00A67E 100%);
    --gradient-secondary: linear-gradient(135deg, #6C5CE7 0%, #A29BFE 100%);
    --gradient-text: linear-gradient(135deg, #00C896 0%, #6C5CE7 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Typography */
    --font-primary: 'Lexend', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}


html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-primary);
    background: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ====================================
   Typography
   ==================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ====================================
   Container & Layout
   ==================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

section {
    padding: var(--spacing-3xl) 0;
}

/* ====================================
   Buttons
   ==================================== */
button, .btn {
    font-family: var(--font-secondary);
    font-weight: 500;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--background-light);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* ====================================
   Navigation
   ==================================== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
}

.logo-dot {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

/* ====================================
   Hero Section
   ==================================== */
.hero {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
}

.hero-title {
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border);
}

.stat-item h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.stat-item p {
    color: var(--text-light);
    font-size: 0.875rem;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    padding: 2rem;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 200, 150, 0.2));
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ====================================
   Section Headers
   ==================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
}

.section-title {
    margin-bottom: var(--spacing-sm);
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ====================================
   Services Section
   ==================================== */
.services {
    background: var(--background-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.service-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 120px;
    height: 120px;
    margin-bottom: var(--spacing-md);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle at 30% 30%, rgba(0, 200, 150, 0.08) 0%, rgba(108, 92, 231, 0.05) 50%, transparent 70%);
    border-radius: 50% 40% 60% 50%;
    z-index: -1;
    animation: blob-morph 8s ease-in-out infinite;
}

@keyframes blob-morph {
    0%, 100% {
        border-radius: 50% 40% 60% 50%;
        transform: rotate(0deg) scale(1);
    }
    25% {
        border-radius: 40% 60% 50% 60%;
        transform: rotate(90deg) scale(1.05);
    }
    50% {
        border-radius: 60% 50% 40% 50%;
        transform: rotate(180deg) scale(0.95);
    }
    75% {
        border-radius: 50% 60% 50% 40%;
        transform: rotate(270deg) scale(1.02);
    }
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
}

.service-card p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

.service-link {
    color: var(--primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    gap: 0.75rem;
}

/* ====================================
   Programs Section
   ==================================== */
.programs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.program-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.program-featured {
    border: 2px solid var(--primary);
}

.program-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.program-image {
    padding: 2rem;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-image img {
    width: 100%;
    max-width: 200px;
    height: auto;
}

.program-content {
    padding: var(--spacing-lg);
}

.program-content h3 {
    margin-bottom: var(--spacing-sm);
}

.program-content > p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.program-features {
    margin-bottom: var(--spacing-md);
}

.program-features li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.program-features li:last-child {
    border-bottom: none;
}

.program-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border);
}

.program-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.period {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ====================================
   Safety Section
   ==================================== */
.safety-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, #F0F4FF 100%);
}

.safety-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.safety-text h2 {
    margin-bottom: var(--spacing-md);
}

.safety-text > p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
}

.safety-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.safety-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.safety-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.safety-item h4 {
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.safety-item p {
    font-size: 0.875rem;
}

.safety-image img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* ====================================
   Resources Section
   ==================================== */
.resources {
    background: var(--background-light);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.resource-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.resource-image {
    padding: 2rem;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-image img {
    width: 100%;
    max-width: 150px;
}

.resource-content {
    padding: var(--spacing-lg);
}

.resource-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}

.resource-content h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
    font-weight: 600;
}

.resource-content p {
    margin-bottom: var(--spacing-md);
    font-size: 0.875rem;
}

.resource-link {
    color: var(--primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.resource-link:hover {
    gap: 0.75rem;
}

/* ====================================
   Contact Section
   ==================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-2xl);
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.contact-info {
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-2xl);
}

.contact-info .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.contact-info h2 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.contact-item h4 {
    color: white;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-form-wrapper {
    padding: var(--spacing-2xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-group textarea {
    resize: vertical;
}

/* ====================================
   Footer
   ==================================== */
.footer {
    background: var(--dark);
    color: white;
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    font-size: 1.5rem;
    color: white;
    margin-bottom: var(--spacing-sm);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-md);
}

.footer-section h4 {
    color: white;
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.75rem;
    transition: var(--transition);
}

.social-links a img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.social-links a:hover img {
    opacity: 1;
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; }
    .hero-image { order: -1; }
    .safety-content { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    section { padding: var(--spacing-2xl) 0; }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-right .btn-secondary {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .services-grid { grid-template-columns: 1fr; }
    .programs-container { grid-template-columns: 1fr; }
    .resources-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding: var(--spacing-lg);
    }
    
    .contact-form-wrapper {
        padding: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 14px;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-buttons .btn-large {
        width: 100%;
    }
}

/* ====================================
   Animations & Effects
   ==================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Smooth scrolling enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .hero-buttons,
    .hamburger {
        display: none;
    }
}
