:root {
    --primary-color: #ffb6c1; /* Light pink for buttons/accents */
    --secondary-color: #5a7d9a; /* Darker blue for text */
    --background-gradient-start: #ffe0f0;
    --background-gradient-end: #e0f0ff;
    --header-bg: rgba(255, 255, 255, 0.9);
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-medium: #666666;
    --card-bg: #ffffff;
    --footer-bg: #2d3e50;
    --footer-text: #e0e0e0;
    --footer-link: #ffffff;
    --icon-bg-pink: #ffe9ee;
    --icon-color-pink: #ff6f91;
    --icon-bg-blue: #e0f7fa;
    --icon-color-blue: #00bcd4;
    --icon-bg-green: #e8f5e9;
    --icon-color-green: #4caf50;
    --focus-glow: rgba(255, 182, 193, 0.6); 
    --input-border: #d1d5db; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--header-bg);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 1.8rem;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 4px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--background-gradient-start), var(--background-gradient-end));
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 70vh;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-small {
    min-height: 40vh; /* Smaller hero for inner pages like contact */
}

.hero::before, .hero::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.6;
}

.hero::before {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
}

.hero::after {
    width: 200px;
    height: 200px;
    bottom: 15%;
    right: 10%;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    color: var(--text-dark);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    font-weight: 400;
    color: var(--text-medium);
}

/* --- Contact Page Specific Styles --- */
.contact-section {
    padding: 80px 0;
    background-color: #f0f4f8; /* Match enroll page background */
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Left column | Right column */
    gap: 0; /* No gap, panels will touch */
    max-width: 1100px;
    margin: 0 auto;
    background-color: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Crucial for rounded corners on children */
}

.contact-info-side {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 50px;
    border-radius: 20px 0 0 20px;
}

.contact-info-side h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
}

.contact-info-side p {
    color: var(--footer-text);
    margin-bottom: 40px;
    line-height: 1.7;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 20px;
}

.info-list i {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-top: 5px;
}

.info-list strong {
    display: block;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 5px;
}

.info-list span {
    color: var(--footer-text);
}

.contact-form-side {
    padding: 50px;
}

.contact-form-side h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--input-border);
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px var(--focus-glow);
    background-color: var(--card-bg);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.btn-submit {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 16px 35px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: auto; /* Let it size to content */
    align-self: flex-start;
    margin-top: 10px;
    box-shadow: 0 6px 15px rgba(255, 182, 193, 0.4);
}

.btn-submit:hover {
    background-color: #ff8fa3;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 182, 193, 0.5);
}

/* --- Google Maps Section --- */
.maps-section {
    padding: 80px 0;
    background-color: #ffffff; /* A clean white background */
}

.maps-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 50px;
}

.maps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.map-container {
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
    background-color: var(--card-bg);
    display: flex;
    flex-direction: column;
}

.map-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.map-container p {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 20px;
}

.map-responsive {
    overflow: hidden;
    border-radius: 10px;
    flex-grow: 1; /* Make map take available space */
}

.map-responsive iframe {
    width: 100%;
    height: 100%;
    min-height: 350px; /* Ensure a minimum height */
    border: 0;
}

.map-link {
    display: inline-block;
    margin-top: 20px;
    font-weight: 500;
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.map-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 20px;
    font-size: 0.95rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-col .logo {
    color: var(--footer-link);
    margin-bottom: 15px;
}

.footer-logo-col .logo i {
    color: var(--primary-color);
}

.footer-logo-col p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--footer-text);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--footer-text);
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.footer-col h4 {
    font-size: 1.2rem;
    color: var(--footer-link);
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--footer-text);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--footer-text);
}

.contact-info p i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    color: var(--footer-text);
}

.footer-bottom .made-with {
    display: flex;
    align-items: center;
    color: var(--footer-text);
}

.footer-bottom .made-with i {
    color: var(--primary-color);
    margin: 0 5px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    /* Contact Responsive */
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .contact-info-side {
        border-radius: 20px 20px 0 0;
        padding: 40px;
    }
    .contact-form-side { padding: 40px; }

    /* Maps Responsive */
    .maps-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .maps-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: var(--header-bg);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        position: absolute;
        top: 70px;
        left: 0;
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: 50vh;
        padding-top: 100px;
    }
    .hero-small {
        min-height: 30vh;
    }

    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-logo-col .logo {
        justify-content: center;
    }
    .social-links {
        justify-content: center;
    }
    .contact-info p {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
    }

    /* Contact Responsive */
    .contact-info-side { padding: 30px 25px; }
    .contact-form-side { padding: 30px 25px; }
    .contact-info-side h2 { font-size: 2rem; }

    /* Maps Responsive */
    .maps-section {
        padding: 60px 0;
    }
    .map-responsive iframe {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-info-side { padding: 25px 20px; }
    .contact-form-side { padding: 25px 20px; }
    .btn-submit { width: 100%; }
}