/* Modern Revamp - High Quality UI/UX - Iteration 3 (Premium) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #0f172a;
    /* Deep Navy */
    --primary-light: #334155;
    --accent-color: #2563eb;
    /* Vibrant Blue */
    --accent-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --gold: #d97706;

    --bg-body: #f8fafc;
    --bg-white: #ffffff;

    --text-main: #0f172a;
    --text-body: #475569;
    --text-light: #94a3b8;

    --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);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --font-serif: 'Playfair Display', serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body) !important;
    background-color: var(--bg-body);
    color: var(--text-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--font-heading) !important;
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* =========================================
   Header & Navigation (Premium)
   ========================================= */
#header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 48px;
    /* Refined logo size */
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.u-header__nav-link {
    font-family: var(--font-heading);
    font-weight: 600 !important;
    font-size: 0.9rem;
    color: var(--text-main) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.3s ease;
}

.u-header__nav-link:hover,
.u-header__nav-item.active .u-header__nav-link {
    color: var(--accent-color) !important;
}

/* Elegant Underline Hover Effect */
.u-header__nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.u-header__nav-item.active .u-header__nav-link::after,
.u-header__nav-link:hover::after {
    width: 20px;
}

/* Button CTA */
.btn-primary {
    background: var(--accent-color) !important;
    border: none;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.23);
}

/* =========================================
   Hero Section (Cinematic)
   ========================================= */
.u-hero-v1 {
    position: relative;
}

/* The slide container */
.js-slide.bg-img-hero-center {
    height: 85vh;
    /* Taller, more cinematic */
    min-height: 600px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Cinematic Dark Gradient Overlay */
.js-slide.bg-img-hero-center::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 1;
}

.js-slide .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Typography styles for the hero */
.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.5rem;
    /* Large but not chaotic */
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);

    /* Reveal Animation defaults */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;

    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

/* Fix Slick Dots (the grey box issue) */
.u-slick .slick-dots {
    bottom: 30px;
}

.u-slick .slick-dots li button:before {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.u-slick .slick-dots li.slick-active button:before {
    color: #fff;
}

/* Hide the weird box container if it exists */
.u-slick__pagination {
    background: transparent !important;
    box-shadow: none !important;
}


@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Sections & Cards (Premium)
   ========================================= */
.container.space-2 {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

.section-badge {
    color: var(--accent-color);
    background: rgba(37, 99, 235, 0.1);
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.1rem;
    color: var(--text-body);
    margin-bottom: 2rem;
}

/* Clean Cards */
.card-clean {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.card-clean:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.1);
}

.card-img-top-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-img-top-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-clean:hover .card-img-top-wrapper img {
    transform: scale(1.1);
}

.card-body-clean {
    padding: 1.5rem;
}

.teacher-role {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Soft Primary Button Variant for empty states */
.btn-soft-primary {
    color: var(--accent-color);
    background: rgba(37, 99, 235, 0.1);
    border: none;
    font-weight: 600;
}

.btn-soft-primary:hover {
    color: #fff;
    background: var(--accent-color);
    box-shadow: 0 4px 11px rgba(37, 99, 235, 0.35);
}

/* Utilities */
.opacity-25 {
    opacity: 0.25;
}

.opacity-50 {
    opacity: 0.5;
}

/* Mobile responsive alignment */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .js-slide.bg-img-hero-center {
        height: 60vh;
    }
}