:root {
    --bg-dark: #f8fafc;
    /* Light background */
    --bg-darker: #f1f5f9;
    /* Slightly darker light background */
    --primary: #4B9CD3;
    /* Carolina Blue */
    --secondary: #4B9CD3;
    /* Keeping secondary similar or same for consistency, or maybe a shade */
    --accent: #E0115F;
    /* Magenta */
    --text-main: #0f172a;
    /* Dark text */
    --text-muted: #475569;
    /* Muted dark text */

    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Effects */
.background-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background:
        radial-gradient(circle at 10% 20%, rgba(75, 156, 211, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(224, 17, 95, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.highlight {
    color: var(--primary);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    z-index: 100;
    box-shadow: var(--glass-shadow);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: white !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(75, 156, 211, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(75, 156, 211, 0.5);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 5% 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    /* font-size: 4.5rem; */
    /* Moved to .hero-title for better control */
    margin-bottom: 1.5rem;
    /* letter-spacing: -0.03em; */
}

.hero-title {
    position: relative;
    display: flex;
    flex-direction: column;
    font-size: 5.85rem;
    /* Increased by 30% from 4.5rem */
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 700;
    color: var(--text-main);
    padding-bottom: 0.2em;
}

.hero-title .line {
    position: relative;
    z-index: 2;
}

.hero-title .big-amp {
    position: absolute;
    font-family: 'Playfair Display', serif;
    font-size: 2.3em;
    line-height: 0;
    top: 50%;
    margin-top: 0.25in;
    left: calc(2ch + 0.5in);
    transform: translateY(-50%);
    color: var(--primary);
    opacity: 0.7;
    z-index: 0;
    font-style: italic;
    mix-blend-mode: multiply;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.cta-button {
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: var(--text-main);
    color: white;
    /* Changed for contrast */
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: var(--primary);
}

.cta-button.secondary {
    border: 1px solid var(--text-main);
    /* Darker border for visibility */
    color: var(--text-main);
    background: transparent;
}

.cta-button.secondary:hover {
    background: rgba(0, 0, 0, 0.05);
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-main);
    font-weight: 600;
    animation: float 6s ease-in-out infinite;
}

.floating-card .icon {
    width: 40px;
    height: 40px;
    background: var(--bg-darker);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.c1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
    border-left: 4px solid var(--primary);
}

.c2 {
    top: 40%;
    right: 30%;
    animation-delay: 2s;
    border-left: 4px solid var(--accent);
}

.c3 {
    top: 70%;
    right: 5%;
    animation-delay: 4s;
    border-left: 4px solid var(--primary);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Sections Common */
section {
    padding: 6rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 4rem;
}

/* Services / Policies */
.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.subject-card {
    position: relative;
    cursor: help;
}

.subject-card::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--text-main);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    width: max-content;
    max-width: 200px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.subject-card:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Bio Section */
.bio-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.bio-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-wrapper {
    width: 300px;
    height: 400px;
    border-radius: 100px 100px 20px 20px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    padding: 5px;
    position: relative;
    overflow: hidden;
    /* Added to clip zooming image */
}

.image-wrapper img,
.placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 95px 95px 15px 15px;
    /* Keep border radius if needed for inner shape, or remove if clipped by parent */
    transform: scale(1.15) translateY(5%);
    /* Zoom in and move down to save head */
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 2rem;
    font-weight: bold;
}

.bio-content {
    flex: 1;
}

.bio-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.bio-intro {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-weight: 600;
}

.interests {
    margin-top: 2rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.tag {
    background: rgba(75, 156, 211, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    border: 1px solid transparent;
    transition: all 0.3s;
    font-weight: 600;
}

.tag:hover {
    border-color: var(--primary);
    background: rgba(75, 156, 211, 0.2);
}

/* Benefits / Camps Section */
.camps-section {
    background: radial-gradient(circle at center, rgba(75, 156, 211, 0.05) 0%, transparent 70%);
}

.camps-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.discount-badge {
    background: linear-gradient(90deg, var(--accent), #d946ef);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: rotate(-3deg);
    box-shadow: 0 4px 15px rgba(224, 17, 95, 0.3);
}

.discount-badge .pct {
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1;
}

.discount-badge .desc {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.camps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.camp-card {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.camp-card.featured {
    border: 2px solid var(--primary);
    background: rgba(255, 255, 255, 0.9);
}

.camp-date {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.camp-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.camp-card .grades {
    color: var(--text-muted);
    font-family: inherit;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    overflow: hidden;
    background: white;
    box-shadow: var(--glass-shadow);
}

.glass-panel {
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    padding: 3rem;
    margin-bottom: 3rem;
}

.info-list {
    list-style: none;
    margin-top: 2rem;
}

.info-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    padding: 0.875rem;
    border-radius: 12px;
    color: var(--text-main);
    font-family: inherit;
    transition: border-color 0.3s, background 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(75, 156, 211, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.2s;
}

.submit-btn:hover {
    opacity: 0.95;
    transform: translateY(-2px);
}

/* Footer */
footer {
    border-top: 1px solid #e2e8f0;
    padding: 2rem 0;
    margin-top: 2rem;
    background: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.socials {
    display: flex;
    gap: 1.5rem;
}

.socials a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.socials a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 900px) {
    .bio-layout {
        flex-direction: column;
        text-align: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 6rem;
    }

    .hero-content {
        margin-bottom: 3rem;
    }

    .hero h1,
    .hero-title {
        font-size: 3rem;
    }

    .hero-title .big-amp {
        font-size: 2.5em;
        /* Restore original relative size for mobile */
        left: 50%;
        /* Center it on mobile since text is likely centered */
        transform: translate(-50%, -50%);
    }

    .hero-actions {
        justify-content: center;
    }

    .floating-card {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }

    .nav-links.active {
        display: flex;
    }
}