/* ========== RESET & BASE ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #1a1054;
    --navy-dark: #110a3a;
    --navy-light: #2a1a6e;
    --green: #5cb85c;
    --green-light: #7dd87d;
    --green-dark: #449d44;
    --sky: #4fc3f7;
    --sky-light: #81d4fa;
    --white: #ffffff;
    --off-white: #f8f9ff;
    --gray-50: #f5f6fa;
    --gray-100: #e8eaf0;
    --gray-200: #d1d5e0;
    --gray-400: #9198a8;
    --gray-600: #5a6275;
    --gray-800: #2d3142;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --shadow: 0 4px 24px rgba(26, 16, 84, 0.08);
    --shadow-lg: 0 12px 48px rgba(26, 16, 84, 0.12);
    --shadow-card: 0 8px 32px rgba(26, 16, 84, 0.06);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
    color: var(--navy);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--green), var(--sky));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: var(--white);
    box-shadow: 0 4px 16px rgba(92, 184, 92, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(92, 184, 92, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(26, 16, 84, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 44px;
    width: auto;
}

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

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.92rem;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.nav-cta {
    background: linear-gradient(135deg, var(--green), var(--green-dark)) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 16px rgba(92, 184, 92, 0.3);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(92, 184, 92, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 16, 84, 0.88) 0%, rgba(17, 10, 58, 0.75) 50%, rgba(42, 26, 110, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 140px 0 100px;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--sky-light);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    line-height: 1.8;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.hero-stat-plus {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--green-light);
}

.hero-stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 2;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* ========== SECTION COMMON ========== */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(92, 184, 92, 0.1), rgba(79, 195, 247, 0.1));
    color: var(--green-dark);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== ABOUT ========== */
.about {
    padding: 100px 0 80px;
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.about-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 30px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.about-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.about-card-icon i {
    font-size: 1.4rem;
    color: var(--green-light);
}

.about-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.about-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ========== SCHEDULE ========== */
.schedule {
    padding: 40px 0 100px;
    background: var(--off-white);
}

.schedule-card {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.schedule-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.schedule-image {
    overflow: hidden;
}

.schedule-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.schedule-info {
    padding: 48px 44px;
}

.schedule-info .section-tag {
    background: rgba(92, 184, 92, 0.15);
    color: var(--green-light);
}

.schedule-info h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 28px;
}

.schedule-items {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 32px;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.schedule-item:hover {
    background: rgba(255, 255, 255, 0.12);
}

.schedule-item i {
    font-size: 1.2rem;
    color: var(--sky-light);
    width: 24px;
    text-align: center;
}

.schedule-item strong {
    display: block;
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.schedule-item span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
}

/* ========== COURSES ========== */
.courses {
    padding: 100px 0;
    background: var(--white);
}

.courses-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.course-card {
    flex: 1 1 300px;
    max-width: 350px;
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 26px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green);
}

.course-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 14px;
    background: linear-gradient(135deg, var(--sky), var(--sky-light));
    color: var(--navy);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.course-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(92, 184, 92, 0.1), rgba(79, 195, 247, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.course-card-icon i {
    font-size: 1.4rem;
    color: var(--navy);
}

.course-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.course-card > p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.65;
    margin-bottom: 16px;
    flex: 1;
}

.course-highlights {
    list-style: none;
    margin-bottom: 22px;
}

.course-highlights li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--gray-600);
    padding: 5px 0;
}

.course-highlights li i {
    color: var(--green);
    font-size: 0.8rem;
}

/* ========== FEATURES ========== */
.features {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--off-white), var(--white));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    padding: 34px 26px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
    text-align: center;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green), var(--sky));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--green-light);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.65;
}

/* ========== CONTACT ========== */
.contact {
    padding: 100px 0;
    background: var(--off-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.contact-info .section-tag {
    margin-bottom: 12px;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--gray-600);
    margin-bottom: 32px;
    font-size: 1.02rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-icon i {
    color: var(--green-light);
    font-size: 1.1rem;
}

.contact-detail strong {
    display: block;
    color: var(--navy);
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.contact-detail a,
.contact-detail span {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.contact-detail a:hover {
    color: var(--green);
}

/* ========== FORM ========== */
.contact-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 36px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-100);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 18px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: var(--gray-800);
    background: var(--gray-50);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(92, 184, 92, 0.12);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239198a8'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 20px;
    cursor: pointer;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--navy-dark);
    padding: 72px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    height: 40px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--green);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--green-light);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
    color: var(--green-light);
}

.footer-contact i {
    color: var(--green);
    width: 16px;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ========== WHATSAPP FAB ========== */
.whatsapp-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: fabPulse 2s ease-in-out infinite;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-fab i {
    font-size: 1.8rem;
    color: var(--white);
}

@keyframes fabPulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 6px 32px rgba(37, 211, 102, 0.6); }
}

/* ========== TOAST ========== */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    background: var(--navy);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 1001;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast i {
    color: var(--green-light);
    font-size: 1.1rem;
}

/* ========== ANIMATIONS ========== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .courses-grid {
        justify-content: center;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy-dark);
        flex-direction: column;
        padding: 80px 32px 40px;
        gap: 0;
        transition: right 0.35s ease;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 0;
        width: 100%;
    }

    .nav-cta {
        margin-top: 16px;
        text-align: center;
        border-radius: 50px !important;
        justify-content: center;
    }

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

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

    .hero-stats {
        gap: 24px;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

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

    .schedule-content {
        grid-template-columns: 1fr;
    }

    .schedule-image {
        max-height: 250px;
    }

    .schedule-info {
        padding: 32px 28px;
    }

    .courses-grid {
        flex-direction: column;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .contact-form {
        padding: 28px 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-content {
        padding: 120px 0 80px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
}
