﻿/* SEEKS School System — Modern design system (2025) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    --font: 'Plus Jakarta Sans', system-ui, sans-serif;
    --green-950: #052e08;
    --green-900: #0a4d0f;
    --green-800: #0d6b14;
    --green-700: #10851a;
    --green-600: #16a34a;
    --green-100: #dcfce7;
    --green-50: #f0fdf4;
    --gold: #f59e0b;
    --gold-hover: #d97706;
    --surface: #ffffff;
    --surface-alt: #f4f7f5;
    --surface-muted: #e8efe9;
    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border: rgba(15, 23, 42, 0.08);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 12px 40px rgba(10, 77, 15, 0.1);
    --shadow-lg: 0 24px 60px rgba(10, 77, 15, 0.14);
    --section-pad: clamp(4rem, 8vw, 7rem);
    --container: min(1200px, 100% - 2rem);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.25s var(--ease);
    /* legacy aliases */
    --primary-color: var(--green-900);
    --secondary-color: var(--gold);
    --dark-color: var(--green-950);
    --light-color: var(--surface-alt);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--surface);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* —— Top bar —— */
.top-bar {
    background: var(--green-950);
    color: rgba(255, 255, 255, 0.92);
    padding: 0.5rem 0;
    font-size: 0.8125rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.follow-text {
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0.85;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-links .social-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-links .social-icon:hover {
    background: var(--green-600);
    border-color: transparent;
    transform: translateY(-2px);
    color: #fff;
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.contact-item i {
    color: var(--gold);
    font-size: 0.75rem;
}

.contact-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.2);
}

/* —— Navbar —— */
.navbar {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: var(--shadow-xs);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 2px solid var(--green-100);
}

.logo-main {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--green-900);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-secondary) !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--green-800) !important;
    background: var(--green-50);
}

.dropdown-menu {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    border-radius: var(--radius-sm);
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.dropdown-item:hover {
    background: var(--green-50);
    color: var(--green-900);
}

.btn-apply {
    background: linear-gradient(135deg, var(--green-800), var(--green-900)) !important;
    color: #fff !important;
    border: none !important;
    padding: 0.6rem 1.35rem !important;
    border-radius: var(--radius-full) !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    box-shadow: 0 4px 14px rgba(13, 107, 20, 0.35);
    transition: var(--transition) !important;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 107, 20, 0.4);
    color: #fff !important;
}

/* —— Section labels —— */
.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--green-700);
    background: var(--green-50);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

/* —— Hero —— */
.hero-section {
    position: relative;
    min-height: clamp(420px, 75vh, 640px);
    display: flex;
    align-items: center;
    background: var(--green-950);
    overflow: hidden;
    padding: var(--section-pad) 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(22, 163, 74, 0.35), transparent),
        radial-gradient(ellipse 60% 50% at 90% 20%, rgba(245, 158, 11, 0.15), transparent),
        linear-gradient(160deg, var(--green-950) 0%, var(--green-900) 45%, #0a3d0f 100%);
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--surface), transparent);
    z-index: 1;
    pointer-events: none;
}

.hero-carousel,
.hero-slide,
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    text-align: center;
    color: #fff;
}

.hero-title {
    font-size: clamp(2rem, 5.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 500;
    opacity: 0.9;
    max-width: 36rem;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.88);
}

.hero-section .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-full);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    color: #fff;
    backdrop-filter: blur(8px);
}

.hero-section .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 3;
    pointer-events: none;
}

.carousel-control {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: var(--transition);
}

.carousel-control:hover {
    background: var(--green-600);
    border-color: transparent;
}

/* —— Sections —— */
.features-section,
.about-section,
.courses-section,
.why-choose-section,
.testimonials-section,
.site-section {
    padding: var(--section-pad) 0;
}

.features-section {
    background: var(--surface-alt);
}

.about-section {
    background: var(--surface);
}

.courses-section {
    background: linear-gradient(180deg, var(--surface-alt) 0%, var(--surface) 100%);
}

.why-choose-section {
    background: var(--surface);
}

.text-primary-custom {
    color: var(--green-900) !important;
}

/* —— Cards —— */
.feature-card,
.course-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}

.feature-card:hover,
.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(13, 107, 20, 0.15);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--green-100), var(--green-50));
    color: var(--green-800);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--green-900);
    margin-bottom: 0.75rem;
    text-align: center;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    text-align: center;
    margin: 0;
}

/* —— Stats —— */
.stats-section {
    padding: var(--section-pad) 0;
    background: var(--green-900);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.stats-section .container {
    position: relative;
    z-index: 1;
}

.stat-card {
    padding: 1.5rem;
}

.stat-number {
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--gold);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* —— About —— */
.section-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--green-800), var(--green-900));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-700);
    margin-bottom: 0.5rem;
}

.section-header h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.about-image img {
    width: 100%;
    height: min(400px, 50vw);
    object-fit: cover;
}

.about-feature {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface-alt);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.about-feature:hover {
    border-color: rgba(13, 107, 20, 0.2);
    box-shadow: var(--shadow-sm);
}

.about-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--green-50);
    color: var(--green-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.about-feature-content h4 {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--green-900);
    margin-bottom: 0.35rem;
}

.about-feature-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* —— Courses —— */
.section-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.section-title-wrapper h3 {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.course-image {
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.course-card:hover .course-image img {
    transform: scale(1.06);
}

.course-content {
    padding: 1.5rem;
}

.subjects {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-800);
    background: var(--green-50);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
}

.course-content h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
    margin: 0.75rem 0;
    letter-spacing: -0.01em;
}

.course-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.btn-view-all {
    background: var(--green-900) !important;
    color: #fff !important;
    border: none !important;
    padding: 0.65rem 1.35rem !important;
    border-radius: var(--radius-full) !important;
    font-weight: 700 !important;
    transition: var(--transition) !important;
}

.btn-view-all:hover {
    background: var(--green-800) !important;
    transform: translateY(-2px);
    color: #fff !important;
}

/* —— Why choose / testimonials —— */
.choose-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--surface-alt);
    border: 1px solid var(--border);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.choose-item:hover {
    background: var(--green-900);
    border-color: transparent;
    color: #fff;
    transform: translateX(6px);
}

.choose-item:hover .choose-icon,
.choose-item:hover h4,
.choose-item:hover p {
    color: #fff;
}

.choose-icon {
    font-size: 1.75rem;
    color: var(--green-700);
    flex-shrink: 0;
}

.choose-item h5 {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--green-900);
    margin-bottom: 0.35rem;
}

.choose-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.choose-item:hover h5,
.choose-item:hover p {
    color: #fff;
}

.testimonials-section {
    background: linear-gradient(160deg, var(--green-950) 0%, var(--green-900) 100%);
    color: #fff;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    backdrop-filter: blur(8px);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.75;
    opacity: 0.92;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 700;
    color: var(--gold);
}

.testimonials-section .section-eyebrow {
    background: rgba(255, 255, 255, 0.12);
    color: var(--gold);
}

.testimonials-section h2 {
    color: #fff;
    font-weight: 800;
}

/* —— Footer —— */
.footer {
    background: var(--green-950);
    color: rgba(255, 255, 255, 0.85);
    padding: clamp(3rem, 6vw, 4.5rem) 0 0;
}

.footer-logo .logo-main,
.footer .logo-main {
    color: #fff;
}

.footer-description {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-column h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--green-600));
    border-radius: 2px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.35rem 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(4px);
}

.footer-links a i {
    color: var(--green-600);
    font-size: 0.65rem;
}

.footer-contact .contact-item i {
    color: var(--gold);
}

.footer-map iframe {
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    margin-top: 2.5rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-social .social-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social .social-icon:hover {
    background: var(--green-600);
    transform: translateY(-3px);
    color: #fff;
}

/* —— Scroll top —— */
.scroll-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--green-900);
    color: #fff;
    border: none;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1020;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--green-700);
    transform: translateY(-4px);
}

/* —— Loading —— */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: var(--green-950);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.4s ease;
}

.loading-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* —— Legacy header (why-seeks) —— */
.header .navbar {
    background: rgba(255, 255, 255, 0.95) !important;
}

.contact-bar {
    background: var(--green-950);
    color: #fff;
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.contact-bar .contact-item {
    color: rgba(255, 255, 255, 0.9);
}

.contact-bar .action-buttons .btn {
    border-radius: var(--radius-full);
    font-weight: 600;
}

/* —— Forms —— */
.form-control,
.form-select {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    padding: 0.75rem 1rem;
    font-family: var(--font);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--green-600);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

/* —— Responsive —— */
@media (max-width: 991.98px) {
    .contact-info {
        justify-content: center;
    }

    .top-bar .social-links {
        justify-content: center;
        margin-bottom: 0.5rem;
    }

    .carousel-controls {
        display: none;
    }

    .section-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .contact-divider {
        display: none;
    }

    .navbar-nav {
        padding: 0.75rem 0;
    }

    .btn-apply {
        width: 100%;
        margin-top: 0.5rem !important;
        text-align: center;
    }

    .about-feature {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .choose-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-social {
        text-align: center;
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }

    .copyright {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
