/* Custom Properties */
:root {
    --plum-50: #faf5ff;
    --plum-100: #f3e8ff;
    --plum-200: #e9d5ff;
    --plum-300: #d8b4fe;
    --plum-400: #c084fc;
    --plum-500: #a855f7;
    --plum-600: #9333ea;
    --plum-700: #7e22ce;
    --plum-800: #6b21a8;
    --plum-900: #581c87;
    
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-700: #525252;
    --neutral-800: #404040;
    --neutral-900: #171717;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --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);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: #ffffff;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--neutral-900);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--plum-700);
    color: #ffffff;
    border-color: var(--plum-700);
}

.btn-primary:hover {
    background-color: var(--plum-800);
    border-color: var(--plum-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-outline-light:hover {
    background-color: #ffffff;
    color: var(--plum-800);
}

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

.btn-full {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--plum-800);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--plum-100);
    border-radius: 0.5rem;
    color: var(--plum-700);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--neutral-700);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--plum-700);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--neutral-800);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(107, 33, 168, 0.85) 0%, rgba(126, 34, 206, 0.75) 50%, rgba(251, 191, 36, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 6rem 1.5rem 4rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

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

/* Sections */
.section {
    padding: 6rem 0;
}

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

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--plum-100);
    color: var(--plum-700);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--neutral-700);
    line-height: 1.7;
}

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

.feature-card {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--neutral-200);
}

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

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: var(--plum-100);
    border-radius: 1rem;
    color: var(--plum-700);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--neutral-900);
}

.feature-card p {
    color: var(--neutral-700);
    line-height: 1.7;
}

/* Programs Section */
.bg-light {
    background-color: var(--neutral-50);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

.program-card {
    background-color: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.program-img {
    height: 250px;
    overflow: hidden;
}

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

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

.program-content {
    padding: 2rem;
}

.program-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--neutral-900);
}

.program-content p {
    color: var(--neutral-700);
    line-height: 1.7;
}

/* Safety Section */
.bg-plum {
    background-color: var(--plum-800);
}

.text-white {
    color: #ffffff;
}

.text-amber {
    color: var(--amber-400);
}

.text-plum-light {
    color: var(--plum-200);
}

.safety-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.safety-content .section-title {
    color: #ffffff;
}

.safety-content .section-desc {
    margin-bottom: 2rem;
}

.safety-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.safety-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--plum-100);
    font-size: 1.125rem;
}

.safety-list svg {
    flex-shrink: 0;
    color: var(--amber-400);
    margin-top: 0.25rem;
}

.safety-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.safety-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 1rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-details {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: var(--plum-100);
    border-radius: 0.75rem;
    color: var(--plum-700);
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
    color: var(--neutral-700);
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--plum-700);
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-200);
}

.contact-form h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--neutral-900);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neutral-800);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--neutral-200);
    border-radius: 0.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--neutral-800);
    transition: all 0.3s ease;
    background-color: var(--neutral-50);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--plum-500);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px var(--plum-100);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--neutral-300);
}

.form-success {
    text-align: center;
    padding: 3rem 2rem;
}

.form-success svg {
    color: var(--plum-600);
    margin-bottom: 1rem;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--neutral-900);
}

.form-success p {
    color: var(--neutral-700);
}

/* Map Section */
.map-section {
    height: 350px;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Footer */
.footer {
    background-color: var(--neutral-900);
    color: var(--neutral-300);
    padding: 4rem 0 2rem;
}

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

.footer-brand .logo {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--neutral-300);
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.footer-links a {
    color: var(--neutral-300);
    transition: color 0.3s ease;
}

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

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--neutral-300);
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--amber-400);
}

.footer-bottom {
    border-top: 1px solid var(--neutral-800);
    padding-top: 2rem;
    text-align: center;
    color: var(--neutral-700);
}

/* Mobile Menu */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    gap: 1.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .safety-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .safety-image {
        order: -1;
    }
    
    .safety-img {
        height: 350px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding: 8rem 0 4rem;
    }
    
    .hero-content {
        padding: 2rem 1.5rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
