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

:root {
    --brand-ink: #0b2c4f;
    --brand-blue: #174f88;
    --brand-cyan: #1aa3b8;
    --brand-coral: #ff6b4a;
    --brand-sun: #f9b233;
    --text-main: #1a2c3c;
    --text-muted: #5d7388;
    --bg-soft: #f3f8fd;
    --surface: #ffffff;
    --surface-alt: #f7fbff;
    --line: #d6e3f1;
    --shadow-soft: 0 14px 34px rgba(11, 44, 79, 0.12);
    --shadow-strong: 0 20px 46px rgba(11, 44, 79, 0.18);
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 30px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at 4% 4%, rgba(26, 163, 184, 0.1), transparent 20%),
        radial-gradient(circle at 95% 0%, rgba(255, 107, 74, 0.12), transparent 22%),
        linear-gradient(180deg, #edf5fe 0%, #fbfdff 45%, #eef6ff 100%);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.section-kicker {
    font-family: 'Sora', sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

section {
    padding: 84px 0;
    position: relative;
}

.section-kicker {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--brand-cyan);
    margin-bottom: 12px;
}

.section-title {
    margin-bottom: 14px;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.15;
    color: var(--brand-ink);
    font-weight: 800;
}

.section-lead {
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 0;
}

.text-muted {
    color: var(--text-muted) !important;
}

.page-shell {
    position: relative;
    overflow-x: hidden;
}

.bg-soft {
    background: var(--bg-soft);
}

/* NAVBAR */
.main-nav {
    background: rgba(8, 33, 59, 0.88);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    padding: 14px 0;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

.navbar-brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 50%;
    background: #ffffff;
}

.navbar-brand .accent {
    color: var(--brand-sun);
}

.nav-link {
    color: rgba(255, 255, 255, 0.88) !important;
    font-weight: 500;
    margin-right: 8px;
    border-radius: 999px;
    padding: 10px 14px !important;
    transition: background 0.25s ease, color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.14);
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.btn-nav,
.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-nav {
    padding: 11px 20px;
    background: linear-gradient(135deg, var(--brand-coral), #ff4f78);
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(255, 79, 120, 0.35);
}

.btn-brand {
    padding: 13px 28px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(26, 163, 184, 0.3);
}

.btn-brand.alt {
    background: #ffffff;
    color: var(--brand-ink);
}

.btn-brand:hover,
.btn-nav:hover {
    transform: translateY(-2px);
}

/* HERO */
.hero {
    padding: 146px 0 104px;
    color: #ffffff;
    background-size: cover;
    background-position: center;
}

.hero-home {
    background:
        linear-gradient(120deg, rgba(8, 32, 58, 0.92), rgba(23, 79, 136, 0.8), rgba(26, 163, 184, 0.74)),
        url('../img/banner.png') center/cover no-repeat;
}

.hero-about {
    background:
        linear-gradient(120deg, rgba(8, 32, 58, 0.9), rgba(17, 73, 124, 0.78), rgba(255, 107, 74, 0.68)),
        url('../img/banner2.png') center/cover no-repeat;
}

.hero-courses {
    background:
        linear-gradient(120deg, rgba(11, 44, 79, 0.9), rgba(26, 163, 184, 0.74), rgba(249, 178, 51, 0.65)),
        url('../img/banner3.png') center/cover no-repeat;
}

.hero-contact,
.hero-register,
.hero-team {
    background:
        linear-gradient(120deg, rgba(11, 44, 79, 0.92), rgba(23, 79, 136, 0.82), rgba(26, 163, 184, 0.74)),
        url('../img/banner.png') center/cover no-repeat;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 14px;
}

.hero p {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 28px;
}

.hero-chips {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-chip {
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.88rem;
    font-weight: 600;
}

/* CARDS */
.panel,
.card-soft,
.info-card,
.course-card,
.stat-card,
.team-card,
.value-card,
.form-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.card-soft,
.info-card,
.course-card,
.team-card,
.value-card,
.form-card {
    padding: 26px;
    height: 100%;
}

.info-card,
.course-card,
.team-card,
.value-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.info-card:hover,
.course-card:hover,
.team-card:hover,
.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
    border-color: #bdd5ec;
}

.icon-bubble {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ecf6ff, #d7ecff);
    color: var(--brand-blue);
    font-size: 1.6rem;
    margin-bottom: 16px;
}

/* HOME SECTIONS */
.stats-strip {
    margin-top: -54px;
}

.stat-card {
    padding: 30px 24px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
}

.stat-card:hover {
    box-shadow: 0 20px 46px rgba(11, 44, 79, 0.18);
    border-color: var(--brand-cyan);
}

.stat-number {
    display: block;
    color: var(--brand-ink);
    font-family: 'Sora', sans-serif;
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.1;
    transition: color 0.3s ease;
}

.stat-card:hover .stat-number {
    color: var(--brand-blue);
}

.stat-label {
    color: var(--text-muted);
    font-weight: 500;
}

.about-layout {
    display: grid;
    gap: 28px;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.about-visual {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid #c9def2;
    box-shadow: var(--shadow-strong);
    background: linear-gradient(150deg, #ffffff, #eef6ff);
    min-height: 380px;
    display: grid;
    place-items: center;
}

.about-visual img {
    width: 72%;
    max-width: 260px;
}

.ceo-photo-wrap {
    background: linear-gradient(150deg, #e8f4ff, #ffffff);
}

.ceo-photo {
    width: 100%;
    max-width: 420px;
    height: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid #c9def2;
}

.ceo-quote {
    font-size: 1.06rem;
    color: var(--brand-ink);
    font-weight: 500;
    line-height: 1.75;
    margin-bottom: 16px;
}

.feature-grid,
.cards-3,
.cards-4,
.cards-2 {
    display: grid;
    gap: 20px;
}

.feature-grid,
.cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 12px;
}

.badge-level {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    background: #edf5ff;
    color: var(--brand-blue);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 7px 12px;
}

.card-actions {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-card {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.92rem;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(37, 211, 102, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-whatsapp:hover {
    background: #20bf5d;
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(32, 191, 93, 0.28);
    color: #ffffff;
}

.youtube-embed {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
}

.youtube-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.cta-band {
    background: linear-gradient(130deg, var(--brand-ink), var(--brand-blue), var(--brand-cyan));
    color: #ffffff;
    border-radius: var(--radius-xl);
    padding: 50px 32px;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.cta-band h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    margin-bottom: 10px;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 24px;
}

/* FORM */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--brand-ink);
    font-size: 0.95rem;
    font-weight: 600;
}

.form-control,
.form-select,
textarea,
input,
select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #c6daee;
    background: #fbfdff;
    color: var(--text-main);
    font: inherit;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.form-control:focus,
.form-select:focus,
textarea:focus,
input:focus,
select:focus {
    outline: none;
    border-color: var(--brand-cyan);
    box-shadow: 0 0 0 3px rgba(26, 163, 184, 0.16);
}

/* TEAM */
.team-avatar {
    width: 94px;
    height: 94px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #d4e8fb;
    margin-bottom: 12px;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-role {
    display: inline-block;
    border-radius: 999px;
    padding: 5px 11px;
    font-size: 0.78rem;
    font-weight: 700;
    background: #ebf5ff;
    color: var(--brand-blue);
    margin-bottom: 12px;
}

/* FOOTER */
.site-footer {
    background: linear-gradient(120deg, #07213b, #0f3f70, #1f5f9f);
    color: rgba(255, 255, 255, 0.9);
    padding: 74px 0 22px;
    margin-top: 72px;
}

.footer-grid {
    display: grid;
    gap: 26px;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
}

.site-footer h4 {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 14px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.84);
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.32);
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.13);
}

.footer-bottom {
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 14px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.78);
}

/* ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    animation: revealUp 0.7s ease forwards;
}

.reveal.d2 { animation-delay: 0.1s; }
.reveal.d3 { animation-delay: 0.2s; }
.reveal.d4 { animation-delay: 0.3s; }

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 1199.98px) {
    .cards-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    section {
        padding: 72px 0;
    }

    .hero {
        padding: 128px 0 88px;
    }

    .about-layout,
    .feature-grid,
    .cards-3,
    .cards-2 {
        grid-template-columns: 1fr;
    }

    .stats-strip {
        margin-top: -30px;
    }

    .nav-link {
        margin-right: 0;
        margin-bottom: 6px;
    }

    .ceo-photo {
        max-width: 100%;
        max-height: 380px;
    }
}

@media (max-width: 575.98px) {
    section {
        padding: 58px 0;
    }

    .hero {
        padding: 116px 0 72px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn-brand,
    .btn-nav {
        width: 100%;
    }

    .cards-2,
    .cards-3,
    .cards-4 {
        gap: 14px;
    }

    .card-soft,
    .info-card,
    .course-card,
    .team-card,
    .value-card,
    .form-card {
        padding: 20px;
    }

    .about-visual {
        min-height: 280px;
    }

    .hero-chips {
        gap: 8px;
    }

    .hero-chip {
        font-size: 0.78rem;
        padding: 7px 10px;
    }

    .cards-4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        padding-top: 56px;
    }
}

/* Course Tabs Styling */
.course-tabs {
    gap: 0.7rem;
    justify-content: flex-start;
    flex-wrap: nowrap;
    display: flex !important;
    list-style: none;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scroll-snap-type: x mandatory;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 248, 253, 0.92) 100%);
    box-shadow: 0 10px 26px rgba(11, 44, 79, 0.08);
    padding: 0.55rem;
    margin-bottom: 1.2rem;
}

.course-tabs .nav-item {
    margin: 0;
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.course-tabs .nav-link {
    border: 1px solid transparent;
    color: var(--brand-ink) !important;
    background-color: transparent;
    font-weight: 600;
    padding: 11px 16px;
    transition: transform 0.22s ease, color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
    display: flex !important;
    align-items: center;
    border-radius: 999px;
    margin-bottom: 0;
    font-size: 0.95rem;
    white-space: nowrap;
    min-height: 44px;
}

.course-tabs .nav-link:hover {
    color: var(--brand-blue) !important;
    background-color: rgba(23, 79, 136, 0.08);
    transform: translateY(-1px);
}

.course-tabs .nav-link.active {
    color: white !important;
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-cyan) 100%);
    border-color: rgba(26, 163, 184, 0.75);
    box-shadow: 0 12px 24px rgba(23, 79, 136, 0.24);
}

.course-tabs .nav-link i {
    font-size: 17px;
    margin-right: 6px;
}

#courseTabContent {
    animation: fadeIn 0.4s ease;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 251, 255, 0.96) 100%);
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(11, 44, 79, 0.09);
    padding: 1.1rem;
}

#courseTabContent .tab-pane {
    display: none;
}

#courseTabContent .tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.btn-card {
    margin-top: 12px;
    width: 100%;
    text-align: center;
    padding: 11px 16px;
    font-size: 0.92rem;
}

@media (max-width: 991.98px) {
    .course-tabs {
        gap: 0.45rem;
        padding: 0.45rem;
        margin-bottom: 1rem;
    }

    .course-tabs .nav-link {
        font-size: 0.9rem;
        padding: 10px 13px;
    }

    #courseTabContent {
        padding: 0.9rem;
        border-radius: 14px;
    }
}

@media (max-width: 575.98px) {
    .course-tabs {
        justify-content: flex-start;
        border-radius: 14px;
    }

    .course-tabs .nav-link {
        padding: 10px 12px;
        font-size: 0.84rem;
        min-height: 42px;
    }

    .course-tabs .nav-link i {
        font-size: 15px;
    }

    #courseTabContent {
        padding: 0.75rem;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #20ba5a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}

.whatsapp-float i {
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float i {
        font-size: 24px;
    }
}
