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

:root {
    --bg-color: #F8FAFC;          /* Light Slate Background */
    --surface-color: #FFFFFF;     /* White Cards */
    --surface-border: #E2E8F0;    /* Light Borders */
    --primary: #0284C7;           /* Fresh Ocean Blue */
    --primary-hover: #0369A1;
    --green: #25D366;
    --text-main: #0F172A;         /* Dark Slate Text */
    --text-muted: #475569;        /* Muted Text */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

/* Glassmorphism / Card utility */
.glass {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* Header */
header {
    position: fixed;
    top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 20px 5%;
    display: flex; justify-content: space-between; align-items: center;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 15px 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--surface-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem; font-weight: 800;
    color: var(--text-main); text-decoration: none;
    letter-spacing: -0.5px;
}
.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
    color: var(--text-main); text-decoration: none; font-weight: 500; transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--primary); }

.nav-cta {
    padding: 10px 24px;
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary) !important;
    border-radius: 8px;
    border: 1px solid rgba(2, 132, 199, 0.2);
    transition: all 0.3s ease !important;
}
.nav-cta:hover {
    background: var(--primary);
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(2, 132, 199, 0.3);
}

/* Hero Section */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    padding: 120px 5% 50px;
    background-position: center; background-size: cover; background-repeat: no-repeat;
}

.hero::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    /* Fresh light overlay instead of dark */
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(224, 242, 254, 0.85) 100%);
    z-index: 1;
}

.hero-inner {
    position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 40px;
}

.hero-content { max-width: 600px; }
.hero-content h1 { font-size: 3.8rem; margin-bottom: 20px; color: var(--text-main); }
.hero-content h1 span {
    background: linear-gradient(to right, var(--primary), var(--primary-hover));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-content p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 40px; max-width: 500px; }

.stat-row { display: flex; gap: 40px; margin-top: 40px; }
.stat-item h4 { font-size: 2rem; color: var(--primary); margin-bottom: 5px; }
.stat-item p { font-size: 0.95rem; color: var(--text-muted); margin: 0; font-weight: 500; }

/* Enquiry Form */
.hero-form-wrapper { width: 100%; max-width: 450px; padding: 40px; border-radius: 24px; background: var(--surface-color); border: 1px solid var(--surface-border); box-shadow: 0 10px 40px rgba(0,0,0,0.05); }
.hero-form-wrapper h3 { font-size: 1.8rem; margin-bottom: 10px; color: var(--text-main); }
.hero-form-wrapper p { color: var(--text-muted); margin-bottom: 25px; font-size: 0.95rem; }

.form-group { margin-bottom: 15px; }
.form-group input, .form-group select {
    width: 100%; padding: 15px 20px; border-radius: 12px;
    background: #F1F5F9; border: 1px solid var(--surface-border);
    color: var(--text-main); font-family: var(--font-body); font-size: 1rem; outline: none; transition: all 0.3s ease;
}
.form-group input:focus, .form-group select:focus { border-color: var(--primary); background: #FFFFFF; box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.1); }
.form-group select option { background: #FFFFFF; color: var(--text-main); }

.btn {
    display: inline-block; width: 100%; padding: 16px 32px; border-radius: 12px;
    background: linear-gradient(45deg, var(--primary), var(--primary-hover));
    color: #fff; font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem;
    text-align: center; border: none; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; margin-top: 10px;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(2, 132, 199, 0.3); }

/* Sections */
section { padding: 100px 5%; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.8rem; margin-bottom: 15px; color: var(--text-main); }
.section-header h2 span { color: var(--primary); }
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

/* About Us */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; border-radius: 24px; font-size: 0; }
.about-image img { width: 100%; height: auto; border-radius: 24px; display: block; box-shadow: 0 15px 40px rgba(0,0,0,0.08); }

.about-text h3 { font-size: 2.2rem; margin-bottom: 20px; color: var(--text-main); }
.about-text p { color: var(--text-muted); margin-bottom: 20px; font-size: 1.05rem; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.feature-item { display: flex; align-items: center; gap: 15px; }
.feature-icon {
    width: 45px; height: 45px; border-radius: 12px; background: rgba(2, 132, 199, 0.1);
    color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.feature-item h5 { font-size: 1.1rem; color: var(--text-main); }

/* Services */
.services-section { position: relative; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.service-card {
    padding: 40px; border-radius: 24px; text-align: left;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    cursor: default; position: relative; overflow: hidden;
    background: var(--surface-color); border: 1px solid var(--surface-border);
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(2, 132, 199, 0.05), transparent 60%);
    opacity: 0; transition: opacity 0.4s ease;
}
.service-card:hover { transform: translateY(-10px); border-color: rgba(2, 132, 199, 0.3); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.service-card:hover::before { opacity: 1; }
.service-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 25px; display: inline-block; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--text-main); }
.service-card p { color: var(--text-muted); }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.testimonial-card { padding: 40px; border-radius: 24px; }
.quote-icon { font-size: 2rem; color: rgba(2, 132, 199, 0.2); margin-bottom: 20px; }
.testimonial-card p { color: var(--text-main); font-size: 1.1rem; margin-bottom: 30px; font-style: italic; line-height: 1.8; }
.student-info { display: flex; align-items: center; gap: 15px; }
.student-info img { width: 65px; height: 65px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); }
.student-details h4 { font-size: 1.1rem; margin-bottom: 2px; color: var(--text-main); }
.student-details span { color: var(--primary); font-size: 0.9rem; font-weight: 500; }

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed; bottom: 40px; right: 40px; width: 65px; height: 65px; background-color: var(--green);
    color: #fff; border-radius: 50%; text-align: center; font-size: 2.2rem;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3); z-index: 1000; display: flex; justify-content: center; align-items: center;
    text-decoration: none; transition: transform 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float::after {
    content: ''; position: absolute; top: -5px; left: -5px; right: -5px; bottom: -5px;
    border-radius: 50%; border: 2px solid var(--green); opacity: 0; animation: ripple 2s infinite;
}
@keyframes ripple { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.5); opacity: 0; } }

/* Footer */
footer { padding: 40px 5%; text-align: center; border-top: 1px solid var(--surface-border); color: var(--text-muted); }

/* Animations */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-in.appear { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .hero-inner { flex-direction: column; padding-top: 50px; }
    .hero-content { text-align: center; margin: 0 auto; }
    .hero-content p { margin: 0 auto 30px; }
    .stat-row { justify-content: center; }
    .hero-form-wrapper { margin: 0 auto; }
    .about-grid { grid-template-columns: 1fr; }
}
