@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-color: #0a0a12;
    --text-color: #e0e0e0;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
    --hero-gradient: linear-gradient(90deg, #f8ffae, #43c6ac, #f8ffae, #43c6ac);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glow-color: rgba(118, 75, 162, 0.5);

    /* Material Design Pastel Colors */
    --md-pastel-purple: #E1BEE7;
    --md-pastel-lavender: #D1C4E9;
    --md-pastel-blue: #BBDEFB;
    --md-pastel-teal: #B2DFDB;
    --md-pastel-pink: #F8BBD0;
    --md-pastel-peach: #FFCCBC;

    /* Contact Form Colors */
    --form-bg: linear-gradient(135deg, rgba(225, 190, 231, 0.08), rgba(209, 196, 233, 0.08));
    --form-input-bg: rgba(255, 255, 255, 0.03);
    --form-input-border: rgba(209, 196, 233, 0.2);
    --form-input-focus: rgba(225, 190, 231, 0.4);
    --form-label-color: #D1C4E9;
    --form-text-color: #E8EAF6;
    --font-main: 'Inter', sans-serif;
    --font-hero: 'Bebas Neue', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(-45deg, #05050a, #1a1a2e, #2a1b3d, #0f3460);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    background-attachment: fixed;
    padding-top: 82px; /* Space for fixed header */
}

/* Animations */
@keyframes gradientBG { 0% {background-position: 0% 50%;} 50% {background-position: 100% 50%;} 100% {background-position: 0% 50%;} }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-20px); } }
@keyframes gorgeous-animation { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes glow-breathing {
    0%, 100% { text-shadow: 0 0 10px rgba(248, 255, 174, 0.2), 0 0 20px rgba(67, 198, 172, 0.4), 0 0 40px rgba(67, 198, 172, 0.2); }
    50% { text-shadow: 0 0 20px rgba(248, 255, 174, 0.4), 0 0 40px rgba(67, 198, 172, 0.6), 0 0 80px rgba(67, 198, 172, 0.4); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }


/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { background: var(--primary-gradient); border-radius: 4px; }

/* Global Loader */
#global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#global-loader.hidden { opacity: 0; visibility: hidden; }
.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: #667eea;
    border-left-color: #764ba2;
    animation: spin 1s ease-in-out infinite;
    box-shadow: 0 0 20px var(--glow-color);
}

/* --- Header --- */
header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 990;
    background-color: rgba(10, 10, 18, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    animation: fadeInDown 1s ease-out;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease;
    flex-grow: 0;
    flex-shrink: 1; /* Allows logo to shrink if space is tight */
    min-width: 0; /* Prevents overflow when shrinking */
}
.logo-link:hover { transform: scale(1.05); }
.logo-image { height: 50px; }
.logo-title { font-size: 1.5rem; font-weight: 700; letter-spacing: -1px; }

.nav-menu ul { display: flex; list-style: none; gap: 2rem; }
.hamburger-button { display: none; } /* Hidden on desktop */

nav a { color: var(--text-color); text-decoration: none; font-size: 1.1rem; font-weight: 400; position: relative; transition: color 0.3s ease, text-shadow 0.3s ease; }
nav a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 50%; transform: translateX(-50%); background: var(--primary-gradient); transition: width 0.3s ease; }
nav a:hover, nav a.active { color: #fff; text-shadow: 0 0 10px var(--glow-color); }
nav a:hover::after, nav a.active::after { width: 100%; }

.hamburger-menu .bar { display: block; width: 25px; height: 3px; margin: 0 auto; background-color: var(--text-color); transition: all 0.3s ease-in-out; }

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Hero Section */
.hero { text-align: center; animation: fadeInUp 1s ease-out 0.3s backwards; padding: 4rem 0; }

.hero-section {
    text-align: center;
    padding: 6rem 2rem 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(225, 190, 231, 0.15), rgba(187, 222, 251, 0.15));
    border: 2px solid var(--form-input-border);
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeInDown 1s ease-out;
}

.badge-icon {
    font-size: 1.2rem;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--md-pastel-purple), var(--md-pastel-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: var(--font-main);
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--md-pastel-purple), var(--md-pastel-lavender), var(--md-pastel-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gorgeous-animation 8s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--md-pastel-lavender);
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
    display: inline-block;
}

.cta-primary {
    background: linear-gradient(135deg, var(--md-pastel-purple), var(--md-pastel-lavender));
    color: #2D1B69;
    box-shadow: 0 4px 12px rgba(225, 190, 231, 0.3);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(225, 190, 231, 0.5),
                0 0 20px rgba(225, 190, 231, 0.3);
    background: linear-gradient(135deg, #E1BEE7, #BBDEFB);
}

.cta-secondary {
    background: transparent;
    color: var(--md-pastel-lavender);
    border: 2px solid var(--form-input-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cta-secondary:hover {
    background: rgba(225, 190, 231, 0.1);
    border-color: var(--md-pastel-purple);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(225, 190, 231, 0.2);
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(225, 190, 231, 0.05), rgba(187, 222, 251, 0.05));
    border: 1px solid var(--form-input-border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--md-pastel-purple), var(--md-pastel-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--md-pastel-lavender);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--form-input-border);
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    margin: 4rem 0;
}

.features-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, var(--md-pastel-purple), var(--md-pastel-lavender));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.feature-card {
    background: linear-gradient(135deg, rgba(225, 190, 231, 0.08), rgba(187, 222, 251, 0.05));
    border: 2px solid var(--form-input-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(225, 190, 231, 0.15) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--md-pastel-purple);
    box-shadow: 0 12px 32px rgba(225, 190, 231, 0.2);
}

.feature-card:hover::before {
    transform: scale(1);
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--md-pastel-purple), var(--md-pastel-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-description {
    color: var(--md-pastel-lavender);
    line-height: 1.7;
    font-size: 1rem;
    opacity: 0.9;
}

/* Courses Intro */
.courses-intro {
    text-align: center;
    margin: 5rem 0 3rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--md-pastel-lavender);
    font-weight: 400;
    margin-top: 1rem;
    opacity: 0.9;
}

/* General Content */
.course-section { animation: fadeInUp 1s ease-out 0.6s backwards; }
.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 800;
    background: linear-gradient(135deg, var(--md-pastel-purple), var(--md-pastel-lavender));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}
.section-title::after { content: ''; position: absolute; bottom: -10px; left: 20%; width: 60%; height: 3px; background: linear-gradient(90deg, transparent, var(--md-pastel-purple), var(--md-pastel-lavender), transparent); box-shadow: 0 0 15px rgba(225, 190, 231, 0.5); border-radius: 2px; }
.course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.course-card {
    background: linear-gradient(135deg, rgba(225, 190, 231, 0.08), rgba(187, 222, 251, 0.05));
    border: 2px solid var(--form-input-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.course-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(225, 190, 231, 0.2) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
    z-index: 0;
}
.course-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--md-pastel-purple);
    box-shadow: 0 15px 40px rgba(225, 190, 231, 0.25);
}
.course-card:hover::before { transform: scale(1); }
.course-card>* { position: relative; z-index: 1; }
.course-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--md-pastel-purple), var(--md-pastel-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.course-description {
    color: var(--md-pastel-lavender);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
    opacity: 0.9;
}
.topic-list { list-style: none; margin-top: 1rem; margin-bottom: 1.5rem; }
.topic-item { padding: 0.5rem 0; border-bottom: 1px solid rgba(209, 196, 233, 0.1); font-size: 0.9rem; color: var(--form-text-color); display: flex; align-items: center; }
.topic-item:last-child { border-bottom: none; }
.topic-item::before { content: '✨'; margin-right: 10px; font-size: 0.8rem; }

.course-cta {
    width: 100%;
    padding: 1rem 1.5rem;
    margin-top: auto;
    background: linear-gradient(135deg, var(--md-pastel-purple), var(--md-pastel-lavender));
    color: #2D1B69;
    border: none;
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(225, 190, 231, 0.3);
}

.course-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(225, 190, 231, 0.5);
    background: linear-gradient(135deg, #E1BEE7, #BBDEFB);
}

.course-cta:active {
    transform: translateY(-1px);
}

.cta-arrow {
    transition: transform 0.3s ease;
    display: inline-block;
}

.course-cta:hover .cta-arrow {
    transform: translateX(4px);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}
.overlay.active { opacity: 1; pointer-events: all; }
.overlay-content {
    text-align: center;
    transform: scale(0.8);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 3rem;
    background: linear-gradient(135deg, rgba(225, 190, 231, 0.1), rgba(187, 222, 251, 0.1));
    border: 2px solid var(--form-input-border);
    border-radius: 24px;
    max-width: 500px;
}
.overlay.active .overlay-content { transform: scale(1); }
.coming-soon-text {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--md-pastel-purple), var(--md-pastel-lavender), var(--md-pastel-blue));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 15px rgba(225, 190, 231, 0.3));
}
.close-btn {
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--md-pastel-purple), var(--md-pastel-lavender));
    border: none;
    color: #2D1B69;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-main);
    box-shadow: 0 4px 12px rgba(225, 190, 231, 0.3);
}
.close-btn:hover {
    background: linear-gradient(135deg, #E1BEE7, #BBDEFB);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(225, 190, 231, 0.5);
}

.page-content { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 20px; padding: 3rem; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5); animation: fadeInUp 1s ease-out; }
.about-content { display: flex; flex-direction: row; align-items: center; gap: 3rem; }
.about-image {
    width: 280px;
    height: 380px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
        var(--md-pastel-purple),
        var(--md-pastel-lavender),
        var(--md-pastel-blue),
        var(--md-pastel-teal),
        var(--md-pastel-purple));
    background-size: 400% 400%;
    border-radius: 24px;
    z-index: -1;
    animation: gradientRotate 8s ease infinite;
    opacity: 0.8;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: var(--bg-color);
    border-radius: 22px;
    z-index: -1;
}

@keyframes gradientRotate {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.about-image:hover { transform: translateY(-5px); }
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: relative;
    z-index: 1;
    border-radius: 22px;
}
.about-text { text-align: left; }
.about-text h1 { font-size: 3rem; margin-bottom: 0.5rem; background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.about-text h2 { font-size: 1.3rem; font-style: italic; color: #b0b0b0; margin-bottom: 1.5rem; }
.about-text p { line-height: 1.7; margin-bottom: 1rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: flex-start; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
a.contact-card {
    display: block;
    text-decoration: none;
    color: var(--text-color);
    background: linear-gradient(135deg, rgba(225, 190, 231, 0.08), rgba(187, 222, 251, 0.08));
    border: 2px solid var(--form-input-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
a.contact-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(225, 190, 231, 0.15), rgba(187, 222, 251, 0.15));
    border-color: var(--md-pastel-purple);
    box-shadow: 0 12px 28px rgba(225, 190, 231, 0.2),
                0 0 20px rgba(225, 190, 231, 0.15);
}
.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--md-pastel-purple), var(--md-pastel-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--md-pastel-lavender);
    font-weight: 600;
}
.contact-card p {
    color: var(--form-text-color);
    font-size: 1rem;
}
.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--md-pastel-purple), var(--md-pastel-lavender));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.contact-form {
    text-align: left;
    background: var(--form-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--form-input-border);
    box-shadow: 0 8px 32px rgba(225, 190, 231, 0.1);
}
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--form-label-color);
    font-weight: 500;
    letter-spacing: 0.3px;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: var(--form-input-bg);
    border: 2px solid var(--form-input-border);
    border-radius: 12px;
    color: var(--form-text-color);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(209, 196, 233, 0.4);
}
.form-group textarea {
    min-height: 150px;
    resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--md-pastel-purple);
    background: rgba(225, 190, 231, 0.05);
    box-shadow: 0 0 0 4px var(--form-input-focus),
                0 8px 20px rgba(225, 190, 231, 0.15);
    transform: translateY(-2px);
}
.contact-form .external-form-note {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--md-pastel-lavender);
    line-height: 1.6;
}
.contact-form .external-form-note.subtle {
    font-size: 0.85rem;
    color: rgba(209, 196, 233, 0.6);
    margin-top: 1rem;
}
.contact-form .external-form-note a {
    color: var(--md-pastel-purple);
    text-decoration: none;
    border-bottom: 1px solid var(--md-pastel-purple);
    transition: all 0.2s ease;
}
.contact-form .external-form-note a:hover {
    color: #fff;
    border-bottom-color: #fff;
}
.contact-form .form-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--md-pastel-purple), var(--md-pastel-lavender));
    color: #2D1B69;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(225, 190, 231, 0.3);
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
}
.contact-form .form-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(225, 190, 231, 0.5),
                0 0 20px rgba(225, 190, 231, 0.3);
    background: linear-gradient(135deg, #E1BEE7, #BBDEFB);
}
.contact-form .form-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(225, 190, 231, 0.4);
}
.map { margin-top: 2rem; border-radius: 15px; overflow: hidden; border: 1px solid var(--glass-border); }

/* Footer */
footer { width: 100%; max-width: 1200px; padding: 2rem; text-align: center; color: #888; font-size: 0.9rem; margin: 0 auto; }

/* --- Responsive Design --- */

/* Desktop First Defaults (for screens >= 769px) */

/* Ensure header-content properly aligns items */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Desktop Navigation */
.desktop-nav-menu {
    display: block; /* Show desktop nav */
}

.desktop-nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    padding: 0;
    margin: 0;
}

/* Hide mobile specific elements on desktop */
.header-content .hamburger-button, /* Mobile opener */
.mobile-overlay-nav-menu,
.mobile-overlay-nav-menu .close-button {
    display: none;
}

/* Mobile specific styles (for screens <= 768px) */
@media (max-width: 768px) {
    body { padding-top: 66px; } /* Adjust padding for fixed header */

    .header-content {
        padding: 0.5rem 1rem;
        flex-wrap: nowrap;
    }

    .logo-link {
        flex-shrink: 1;
        min-width: 0;
        margin-right: 1rem;
    }
    
    .logo-title {
        font-size: 1.1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .logo-image { height: 40px; }

    /* Hide desktop navigation on mobile */
    .desktop-nav-menu {
        display: none;
    }

    /* Show mobile hamburger button */
    .header-content .hamburger-button {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 2.5rem;
        height: 2.5rem;
        padding: 0.5rem;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 999; /* Ensure it's above other header content */
        flex-shrink: 0;
        position: relative; /* For the bar animation transform */
    }

    /* Hide the header's hamburger button when mobile menu is open */
    body.menu-open .header-content .hamburger-button {
        display: none;
    }

    /* Mobile Overlay Navigation Styles */
    .mobile-overlay-nav-menu {
        position: fixed;
        top: 0;
        left: -100%; /* Start off-screen */
        width: 100%;
        height: 100%;
        background: rgba(10, 10, 18, 0.95); /* Semi-opaque background */
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        transition: left 0.3s ease; /* Animate the slide-in */
        display: flex; /* Always flex, hide with left: -100% */
    }

    .mobile-overlay-nav-menu.active {
        left: 0; /* Slide in to view */
    }
    
    /* Style the close button when it's inside the mobile-overlay-nav-menu */
    .mobile-overlay-nav-menu .close-button {
        position: absolute; /* Position relative to mobile-overlay-nav-menu */
        top: 1rem; /* Slightly adjust top position */
        right: 1rem; /* Slightly adjust right position */
        z-index: 1002; /* Ensure it's above the menu content */
        display: flex; /* Always visible when mobile menu is active */
        width: 3rem; /* Increase button size */
        height: 3rem; /* Increase button size */
        border-radius: 50%; /* Make it circular */
        background: rgba(255, 255, 255, 0.1); /* Subtle background for contrast */
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Add a subtle shadow */
    }

    /* Overlay menu items styling */
    .mobile-overlay-nav-menu ul {
        display: flex;
        flex-direction: column;
        justify-content: center; /* Center items vertically */
        align-items: center; /* Center items horizontally */
        width: 100%; /* Ensure ul takes full width */
        height: 100%; /* Ensure ul takes full height for centering */
        gap: 2rem;
        text-align: center;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-overlay-nav-menu ul a {
        font-size: 2rem;
        font-weight: 600;
    }

    /* Common hamburger bar styling */
    .hamburger-button .bar {
        display: block;
        width: 100%;
        height: 5px; /* Make bars slightly taller */
        background-color: #ffffff; /* Ensure white color for contrast */
        transition: all 0.3s ease-in-out;
    }

    /* Hamburger animation (for both buttons if active) */
    .hamburger-button.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg); /* Adjusted translateY */
        /* Removed transform-origin to use default 50% 50% */
    }

    .hamburger-button.active .bar:nth-child(2) {
        opacity: 0;
        width: 0; /* Ensure it completely disappears */
    }

    .hamburger-button.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg); /* Adjusted translateY */
        /* Removed transform-origin to use default 50% 50% */
    }

    .container { padding: 1rem; }

    /* Hero responsive */
    .hero-section { padding: 4rem 1rem 3rem; }
    .hero-title { font-size: 2.8rem; letter-spacing: -1px; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-cta { gap: 1rem; }
    .cta-primary, .cta-secondary { padding: 0.9rem 2rem; font-size: 1rem; }
    .hero-stats { gap: 1.5rem; padding: 1.5rem; }
    .stat-number { font-size: 1.5rem; }
    .stat-label { font-size: 0.8rem; }
    .stat-divider { height: 30px; }

    /* Features responsive */
    .features-section { padding: 3rem 0; }
    .features-title { font-size: 2rem; margin-bottom: 2.5rem; }
    .features-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .feature-card { padding: 2rem; }
    .feature-icon { font-size: 2.5rem; }

    /* Courses responsive */
    .courses-intro { margin: 3rem 0 2rem; }
    .section-title { font-size: 2rem; }
    .section-subtitle { font-size: 1rem; }

    .about-content { flex-direction: column; gap: 2rem; }
    .about-image { width: 240px; height: 320px; }
    .about-text h1 { font-size: 2.2rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .course-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .header-content { padding: 0.5rem; }
    .logo-image { height: 30px; }
    .logo-title { font-size: 1rem; }

    /* Hero extra small */
    .hero-section { padding: 3rem 1rem 2rem; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; padding: 0 0.5rem; }
    .hero-badge { padding: 0.5rem 1.2rem; }
    .badge-text { font-size: 0.8rem; }
    .cta-primary, .cta-secondary { padding: 0.8rem 1.5rem; font-size: 0.95rem; }
    .hero-stats { flex-direction: column; gap: 1rem; }
    .stat-divider { width: 60px; height: 1px; }

    /* Features extra small */
    .features-title { font-size: 1.8rem; }
    .feature-card { padding: 1.5rem; }

    .section-title { font-size: 1.8rem; }

    /* About image small */
    .about-image { width: 200px; height: 280px; }
}

/* --- Colleges & Universities Page Styles --- */
.colleges-page {
    min-height: calc(100vh - 82px);
    padding: 2rem 0;
}

.colleges-image-section {
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out;
}

.colleges-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(225, 190, 231, 0.1), rgba(187, 222, 251, 0.1));
    border: 2px solid var(--form-input-border);
    padding: 1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(225, 190, 231, 0.15);
}

.colleges-slide-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    transition: transform 0.3s ease;
}

.colleges-image-wrapper:hover .colleges-slide-img {
    transform: scale(1.02);
}

.colleges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.college-card {
    background: linear-gradient(135deg, rgba(225, 190, 231, 0.08), rgba(187, 222, 251, 0.05));
    border: 2px solid var(--form-input-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.college-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(225, 190, 231, 0.2) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
    z-index: 0;
}

.college-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--md-pastel-purple);
    box-shadow: 0 15px 40px rgba(225, 190, 231, 0.25);
}

.college-card:hover::before {
    transform: scale(1);
}

.college-card > * {
    position: relative;
    z-index: 1;
}

.college-logo-container {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.college-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
}

.college-card:hover .college-logo {
    transform: scale(1.1);
}

.college-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(225, 190, 231, 0.2), rgba(187, 222, 251, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--form-input-border);
    transition: all 0.3s ease;
}

.college-card:hover .college-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(225, 190, 231, 0.3), rgba(187, 222, 251, 0.3));
    border-color: var(--md-pastel-purple);
}

.college-icon i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--md-pastel-purple), var(--md-pastel-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.college-info {
    width: 100%;
}

.college-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, var(--md-pastel-purple), var(--md-pastel-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.college-location {
    color: var(--md-pastel-lavender);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0.9;
}

.college-location i {
    font-size: 0.85rem;
    opacity: 0.7;
}

.college-type {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(225, 190, 231, 0.15), rgba(187, 222, 251, 0.15));
    border: 1px solid var(--form-input-border);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--md-pastel-lavender);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.no-colleges-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--md-pastel-lavender);
    opacity: 0.7;
}

.no-colleges-message i {
    display: block;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--md-pastel-purple), var(--md-pastel-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive styles for colleges page */
@media (max-width: 768px) {
    .colleges-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .college-card {
        padding: 1.5rem;
    }
    
    .college-logo-container {
        width: 100px;
        height: 100px;
    }
    
    .college-icon {
        width: 70px;
        height: 70px;
    }
    
    .college-icon i {
        font-size: 2rem;
    }
    
    .college-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .colleges-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .colleges-image-wrapper {
        padding: 0.5rem;
    }
    
    .college-card {
        padding: 1.5rem;
    }
    
    .college-logo-container {
        width: 90px;
        height: 90px;
    }
}