/* ================================================
   TSHOOT ACADEMY – UNIFIED TEAL DESIGN SYSTEM
   Matches Secretary Panel: Clean & Modern
================================================ */

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

:root {
    --primary:      #0d9488;
    --primary-light:#14b8a6;
    --primary-dark: #0f766e;
    --secondary:    #2dd4bf;
    --accent:       #5eead4;
    --grad-primary: linear-gradient(135deg, #0d9488, #0f766e);
    --grad-light:   linear-gradient(135deg, #f0fdfa, #ccfbf1);

    --dark:    #0f172a;
    --white:   #ffffff;
    --gray-50: #f8fafc;
    --gray-100:#f1f5f9;
    --gray-200:#e2e8f0;
    --gray-400:#94a3b8;
    --gray-500:#64748b;
    --gray-600:#475569;
    --gray-700:#334155;

    --shadow-sm: 0 4px 15px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --radius: 16px;
}

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

html { font-size: 16px; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ── UTILITIES ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
a { text-decoration: none; }

/* ── HEADER ── */
header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-200);
    position: sticky; top: 0; z-index: 100;
    padding: 1rem 0;
}

.header-content {
    display: flex; align-items: center;
    justify-content: space-between; gap: 2rem;
}

.logo {
    font-size: 1.6rem; font-weight: 800;
    color: var(--primary-dark);
    display: flex; align-items: center; gap: 0.5rem;
}
.logo i { color: var(--primary); }

.nav-menu {
    display: flex; list-style: none;
    gap: 0.25rem; align-items: center;
}

.nav-link {
    color: var(--gray-600); font-weight: 500;
    font-size: 0.95rem; padding: 0.5rem 1rem;
    border-radius: 8px; transition: all 0.2s;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary); background: var(--grad-light);
    background: #f0fdfa;
}

.auth-buttons { display: flex; align-items: center; gap: 0.75rem; }

/* ── BUTTONS ── */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.65rem 1.4rem; border-radius: 10px;
    font-weight: 600; font-size: 0.92rem;
    border: none; cursor: pointer; transition: all 0.2s;
    text-decoration: none;
}
.btn-primary {
    background: var(--grad-primary); color: #fff;
    box-shadow: 0 4px 14px rgba(13,148,136,0.3);
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); color: #fff; }

.btn-outline {
    background: transparent; color: var(--primary);
    border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: #f0fdfa; color: var(--primary); }

.btn-white {
    background: #fff; color: var(--primary-dark);
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.btn-white:hover { background: var(--gray-50); transform: translateY(-2px); color: var(--primary-dark); }

.btn-white-outline {
    background: transparent; color: #fff;
    border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-white-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ── HERO ── */
.hero {
    background: var(--grad-primary);
    padding: 7rem 0 6rem; text-align: center;
    position: relative; overflow: hidden; color: #fff;
}
.hero::before {
    content: ''; position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,0.08)'/%3E%3C/svg%3E");
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800;
    line-height: 1.15; margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}
.hero p {
    font-size: 1.15rem; opacity: 0.92;
    max-width: 680px; margin: 0 auto 2.5rem;
}
.cta-buttons {
    display: flex; gap: 1rem;
    justify-content: center; flex-wrap: wrap;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(8px);
    color: #fff; padding: 0.4rem 1rem;
    border-radius: 999px; font-size: 0.85rem;
    font-weight: 600; margin-bottom: 1.5rem;
}

/* ── SECTIONS ── */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--gray-50); }

.section-title {
    text-align: center; font-size: clamp(1.8rem,4vw,2.5rem);
    font-weight: 800; color: var(--dark);
    margin-bottom: 0.75rem; letter-spacing: -0.02em;
}
.section-subtitle {
    text-align: center; color: var(--gray-500);
    font-size: 1.05rem; max-width: 580px;
    margin: 0 auto 3rem;
}
.section-title-line {
    width: 50px; height: 4px; border-radius: 2px;
    background: var(--grad-primary);
    margin: 0.75rem auto 3rem;
}

/* ── ABOUT INTRO ── */
.about-intro {
    max-width: 820px; margin: 0 auto;
    text-align: center; font-size: 1.1rem;
    color: var(--gray-600); line-height: 1.9;
}
.about-intro strong { color: var(--primary-dark); }

/* ── STATS ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
    gap: 1.5rem; margin-top: 1rem;
}
.stat-card {
    background: #fff; border-radius: var(--radius);
    padding: 2rem 1.5rem; text-align: center;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-number {
    font-size: 2.4rem; font-weight: 800;
    color: var(--primary); line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label { font-size: 0.9rem; color: var(--gray-500); font-weight: 500; }

/* ── CARDS GRID ── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background: #fff; border-radius: var(--radius);
    padding: 2rem; border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.165,0.84,0.44,1);
    position: relative; overflow: hidden;
}
.card::after {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: var(--grad-primary);
    opacity: 0; transition: opacity 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.card:hover::after { opacity: 1; }

.card-icon {
    width: 56px; height: 56px;
    background: var(--grad-primary);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.4rem; margin-bottom: 1.25rem;
    box-shadow: 0 6px 16px rgba(13,148,136,0.25);
}
.card h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.card p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.6; }
.card-price {
    margin-top: 1.25rem; padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
    font-size: 1.15rem; font-weight: 800;
    color: var(--primary-dark);
}

/* ── MISSION/VISION ── */
.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}
.card-mv {
    background: #fff; border-radius: var(--radius);
    padding: 2rem 2rem 2rem 2.5rem;
    border-left: 4px solid var(--primary);
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
}
.card-mv h3 {
    font-size: 1.15rem; font-weight: 700;
    color: var(--primary-dark); margin-bottom: 0.75rem;
    display: flex; align-items: center; gap: 0.6rem;
}
.card-mv p { color: var(--gray-600); line-height: 1.8; }

/* ── VALUES ── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}
.value-card {
    background: #fff; border-radius: var(--radius);
    padding: 2rem; text-align: center;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}
.value-card:hover { transform: translateY(-4px); }
.value-icon {
    width: 64px; height: 64px;
    background: var(--grad-primary);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; margin: 0 auto 1.25rem;
    color: #fff; font-size: 1.5rem;
}
.value-card h3 { font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.value-card p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.6; }

/* ── TEAM ── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}
.team-card {
    background: #fff; border-radius: var(--radius);
    padding: 2rem; text-align: center;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-avatar {
    width: 80px; height: 80px;
    background: var(--grad-primary);
    border-radius: 50%; margin: 0 auto 1.25rem;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 2rem;
}
.team-card h4 { font-weight: 700; color: var(--dark); margin-bottom: 0.25rem; }
.team-card p { font-size: 0.88rem; color: var(--primary); font-weight: 600; }

/* ── INSTRUCTOR ── */
.instructor-section {
    background: var(--gray-50); padding: 5.5rem 0;
    text-align: center;
}
.instructor-avatar {
    width: 120px; height: 120px;
    background: var(--grad-primary);
    border-radius: 50%; margin: 0 auto 1.5rem;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 3.5rem;
    box-shadow: 0 12px 30px rgba(13,148,136,0.3);
}
.instructor-section h3 { font-size: 1.5rem; font-weight: 700; color: var(--dark); }
.instructor-section > div > p { color: var(--gray-500); max-width: 560px; margin: 0.75rem auto 1.5rem; }

.skills { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.skill-tag {
    background: #f0fdfa; color: var(--primary-dark);
    border: 1px solid var(--accent);
    padding: 0.45rem 1rem; border-radius: 999px;
    font-size: 0.85rem; font-weight: 600;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
    background: var(--grad-primary); color: #fff;
    padding: 4rem 0; text-align: center;
}
.page-hero h1 { font-size: clamp(2rem,4vw,3rem); font-weight: 800; }
.page-hero p { opacity: 0.9; font-size: 1.1rem; margin-top: 0.75rem; }

/* ── COURSE DETAIL (public) ── */
.course-details { padding: 4rem 0; background: var(--gray-50); }
.course-detail-card {
    max-width: 860px; margin: 0 auto;
    background: #fff; border-radius: 20px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md); overflow: hidden;
}
.course-detail-header {
    background: var(--grad-primary); color: #fff;
    padding: 2.5rem 3rem;
}
.course-detail-header h1 { font-size: 1.9rem; font-weight: 800; }
.course-detail-header .price { font-size: 1.4rem; font-weight: 700; margin-top: 0.5rem; opacity: 0.92; }
.course-detail-body { padding: 2.5rem 3rem; }
.course-meta-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1rem; margin-bottom: 2rem;
}
.course-meta-item {
    background: var(--gray-50); border-radius: 12px;
    padding: 1.25rem; text-align: center;
    border: 1px solid var(--gray-200);
}
.course-meta-item strong { display: block; color: var(--gray-500); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.25rem; }
.course-meta-item span { font-size: 1.2rem; font-weight: 700; color: var(--primary-dark); }
.course-desc-text { font-size: 1rem; line-height: 1.8; color: var(--gray-600); margin-bottom: 2rem; }
.enroll-box { text-align: center; }
.btn-enroll {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: var(--grad-primary); color: #fff;
    padding: 1rem 2.5rem; border-radius: 12px;
    font-size: 1.05rem; font-weight: 700;
    box-shadow: 0 6px 20px rgba(13,148,136,0.35);
    transition: all 0.25s;
}
.btn-enroll:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(13,148,136,0.4); color: #fff; }

/* ── FOOTER ── */
footer {
    background: var(--dark); color: #fff;
    padding: 4rem 0 2rem;
}
.footer-content {
    display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 2.5rem; margin-bottom: 2.5rem;
}
.footer-section h4 { color: var(--accent); margin-bottom: 1rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-section p, .footer-section a { color: var(--gray-400); font-size: 0.92rem; line-height: 1.8; display: block; }
.footer-section a:hover { color: var(--secondary); }
.footer-logo { font-size: 1.4rem; font-weight: 800; color: var(--accent); margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-bottom {
    padding-top: 1.5rem; border-top: 1px solid #1e293b;
    text-align: center; color: var(--gray-500); font-size: 0.88rem;
}

/* ── MOBILE MENU ── */
.mobile-menu-btn {
    display: none; background: none; border: none;
    font-size: 1.6rem; color: var(--gray-700); cursor: pointer;
}
.mobile-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    opacity: 0; visibility: hidden; z-index: 998; transition: all 0.3s;
}
.mobile-overlay.active { opacity: 1; visibility: visible; }
.mobile-nav {
    position: fixed; top: 0; right: -100%; width: 280px;
    height: 100vh; background: #fff; z-index: 999;
    padding: 5rem 1.5rem 2rem;
    transition: right 0.35s cubic-bezier(0.165,0.84,0.44,1);
    display: flex; flex-direction: column; gap: 0.5rem;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
}
.mobile-nav.active { right: 0; }
.mobile-nav-header {
    position: absolute; top: 0; left: 0; right: 0;
    padding: 1.25rem 1.5rem;
    background: var(--grad-primary); color: #fff;
    display: flex; justify-content: space-between; align-items: center;
}
.mobile-nav-close { background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
.mobile-nav-link {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.85rem 1rem; border-radius: 10px;
    color: var(--gray-700); font-weight: 500;
    transition: all 0.2s;
}
.mobile-nav-link:hover { background: #f0fdfa; color: var(--primary); }
.mobile-auth { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }

/* ── BADGES & RESPONSIVE ── */
.badge {
    display: inline-block; background: var(--grad-primary);
    color: #fff; padding: 0.4rem 1rem; border-radius: 999px;
    font-size: 0.82rem; font-weight: 600;
}

@media (max-width: 768px) {
    .nav-menu, .auth-buttons { display: none; }
    .mobile-menu-btn { display: block; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .course-meta-grid { grid-template-columns: 1fr; }
    .course-detail-body, .course-detail-header { padding: 1.75rem; }

    .hero { padding: 4rem 0 3.5rem; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; margin-bottom: 1.5rem; }

    .section { padding: 3rem 0; }
    .section-title { font-size: 1.5rem; }

    .cards-grid { grid-template-columns: 1fr; gap: 1rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .team-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .values-grid { grid-template-columns: 1fr; }
    .mission-vision { grid-template-columns: 1fr; }

    .footer-content { grid-template-columns: 1fr; gap: 1.5rem; }

    .instructor-avatar { width: 90px; height: 90px; font-size: 2.5rem; }
    .instructor-section h3 { font-size: 1.2rem; }

    .container { padding: 0 1rem; }

    .course-detail-header h1 { font-size: 1.4rem; }
    .course-detail-header .price { font-size: 1.1rem; }
}

@media (max-width: 480px) {
    html { font-size: 15px; }
    .hero { padding: 3rem 0 2.5rem; }
    .hero h1 { font-size: 1.7rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .card { padding: 1.5rem; }
    .stat-number { font-size: 1.8rem; }
    .footer-content { text-align: center; }
    .footer-logo { justify-content: center; }
}
