/* ======================================
   VARIABLES
====================================== */

:root {
    --verde: #246642;
    --beige: #F5ECDD;
    --oscuro: #1E1E1E;
}


/* ======================================
   BASE
====================================== */

body {
    font-family: 'Roboto', sans-serif;
    background-color: #000;
}


/* ======================================
   NAVBAR
====================================== */

.custom-navbar {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition:
        transform 0.35s ease,
        top 0.35s ease;
}

.custom-navbar .container {
    background-color: rgba(68, 68, 68, 0.33);
    backdrop-filter: blur(5px);
    border-radius: 22px;
    height: 100px;
    padding-left: 28px;
    padding-right: 28px;
}

.logo-navbar {
    height: 48px;
    width: auto;
}

.navbar-nav {
    gap: 18px;
}

.nav-link {
    color: white !important;
    font-size: 18px;
    font-weight: 400;
    padding: 0 !important;
    transition: 0.3s ease;
}

.nav-link:hover {
    color: var(--beige) !important;
}

.navbar-right {
    gap: 18px;
}

/* ======================================
   NAVBAR SCROLL
====================================== */

.custom-navbar.scrolled {
    top: 10px;
}

.custom-navbar.scrolled .container {
    background-color: rgba(20, 20, 20, 0.82);
    backdrop-filter: blur(14px);
    height: 85px;
    transition: 0.35s ease;
}

/* ======================================
   NAVBAR HIDE
====================================== */

.custom-navbar.hide-navbar {
    transform: translateY(-140%);
}


/* ======================================
   LANGUAGE SELECTOR
====================================== */

.language-button {
    background: transparent;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    transition: 0.3s ease;
}

.language-button:hover {
    color: var(--beige);
}

.language-button::after {
    margin-left: 8px;
}

.language-dropdown {
    background-color: rgba(30, 30, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 12px;
}

.language-dropdown .dropdown-item {
    color: white;
    padding: 12px 18px;
    transition: 0.3s ease;
}

.language-dropdown .dropdown-item:hover {
    background-color: var(--verde);
    color: white;
}


/* ======================================
   BUTTONS
====================================== */

.btn-register {
    background-color: var(--verde);
    color: white !important;
    text-decoration: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 400;
    transition: 0.3s ease;
}

.btn-register:hover {
    background-color: #1d5335;
}


/* ======================================
   HERO
====================================== */

.hero {
    position: relative;
    min-height: 100vh;
    background-image: url('../img/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.35);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero .row {
    padding-top: 180px;
    padding-bottom: 100px;
    align-items: flex-end !important;
}

.hero h1 {
    color: white;
    font-size: 58px;
    font-weight: 700;
    line-height: 1.05;
    max-width: 900px;
    margin-bottom: 25px;
}

.hero p {
    color: white;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 760px;
}

/* ======================================
   REGISTRO
====================================== */

.registro-section {
    background-color: var(--verde);
    padding: 38px 0 14px;
}

.registro-section .container {
    max-width: 1320px;
    overflow: hidden;
}

.registro-section h2 {
    color: white;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 18px;
}

.register-form .row {
    margin-bottom: 6px;
}

.custom-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.55);
    padding: 6px 0;
    color: white;
    font-size: 13px;
    outline: none;
    margin-bottom: 10px;
}

.custom-input::placeholder {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
}

.contact-box p {
    color: white;
    font-size: 13px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.form-message {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    display: none;
    font-size: 15px;
    font-weight: 500;
}

.form-message.success {
    display: block;
    background: #d1f7dd;
    color: #155724;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
}

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

.contact-box {
    padding-left: 35px;
}

.social-icons a {
    color: white;
    font-size: 22px;
    transition: 0.3s ease;
}

.social-icons a:hover {
    color: var(--beige);
}

.footer-logo {
    width: 150px;
    margin-top: 10px;
}

.footer-bottom {
    margin-top: 22px;
    padding-top: 8px;
    text-align: center;
}

.footer-bottom span {
    color: white;
    margin-bottom: 2px;
    font-size: 12px;
    line-height: 1.2;
}

/* ======================================
   ABOUT SECTION
====================================== */

.about-section {
    background-color: var(--beige);
    padding-top: 140px;
    padding-bottom: 120px;
}


/* ======================================
   ABOUT BLOCK
====================================== */

.about-block {
    margin-bottom: 140px;
}

.about-image {
    width: 100%;
    border-radius: 28px;
    object-fit: cover;
}


/* ======================================
   ABOUT TEXT
====================================== */

.about-label {
    display: inline-block;
    color: var(--verde);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.about-title {
    font-size: 58px;
    font-weight: 700;
    line-height: 1.05;
    color: var(--oscuro);
    margin-bottom: 30px;
}

.about-text {
    font-size: 20px;
    line-height: 1.8;
    color: #333;
}

/* ======================================
   VALUES
====================================== */

.about-values {
    margin-top: 40px;
}

.value-card {
    background-color: white;
    border-radius: 24px;
    padding: 40px;
    height: 100%;
    transition: 0.3s ease;
}

.value-card:hover {
    transform: translateY(-6px);
}

.value-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background-color: rgba(36, 102, 66, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 30px;
    color: var(--verde);
}

.value-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.value-card p {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
}

/* ======================================
   ABOUT CTA
====================================== */

.about-cta {
    padding-top: 40px;
    padding-bottom: 120px;
    background-color: var(--beige);
}

.about-cta-title {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.05;
    color: var(--oscuro);
    max-width: 900px;
    margin: 0 auto 30px;
}

.about-cta-text {
    font-size: 22px;
    line-height: 1.8;
    color: #444;
    max-width: 800px;
    margin: 0 auto 45px;
}

.about-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 42px;
    border-radius: 16px;
    background-color: var(--verde);
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: 0.3s ease;
}

.about-cta-button:hover {
    background-color: #1d5335;
    transform: translateY(-3px);
    color: white;
}

/* ======================================
   VOLUNTEER HERO
====================================== */

.volunteer-hero {
    position: relative;
    min-height: 100vh;
    background-image: url('../img/volunteer_hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.volunteer-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.35));
}

.volunteer-content {
    position: relative;
    z-index: 2;
}

.volunteer-label {
    display: inline-block;
    color: white;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.volunteer-title {
    color: white;
    font-size: 72px;
    font-weight: 700;
    line-height: 1.05;
    max-width: 900px;
    margin-bottom: 30px;
}

.volunteer-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 22px;
    line-height: 1.8;
    max-width: 800px;
}

/* ======================================
   VOLUNTEER INTRO
====================================== */

.volunteer-intro {
    background-color: var(--beige);
    padding-top: 120px;
    padding-bottom: 120px;
}

.volunteer-video {
    overflow: hidden;
    border-radius: 28px;
}

.volunteer-video video {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* ======================================
   VOLUNTEER BENEFITS
====================================== */

.volunteer-benefits {
    background-color: var(--beige);
    padding-bottom: 120px;
}

/* ======================================
   BENEFIT CARDS
====================================== */

.benefit-card {
    position: relative;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    padding: 45px;
    height: 100%;
    overflow: hidden;
    transition: 0.35s ease;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.04);
}

.benefit-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--verde);
}

.benefit-icon {
    width: 82px;
    height: 82px;
    border-radius: 22px;
    background-color: rgba(36, 102, 66, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.benefit-icon i {
    font-size: 36px;
    color: var(--verde);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.08);
}

.benefit-card h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--oscuro);
}

.benefit-card ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.benefit-card li {
    position: relative;
    padding-left: 38px;
    margin-bottom: 18px;
    font-size: 18px;
    line-height: 1.7;
    color: #444;
}

.benefit-card li::before {
    content: "✦";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--verde);
    font-size: 18px;
    font-weight: 700;
}

/* ======================================
   BENEFIT ICON COLORS
====================================== */

.volunteer-benefits .col-lg-6:nth-child(1) .benefit-icon {
    background-color: rgba(36, 102, 66, 0.12);
}

.volunteer-benefits .col-lg-6:nth-child(2) .benefit-icon {
    background-color: rgba(52, 152, 219, 0.12);
}

.volunteer-benefits .col-lg-6:nth-child(3) .benefit-icon {
    background-color: rgba(243, 156, 18, 0.12);
}

.volunteer-benefits .col-lg-6:nth-child(4) .benefit-icon {
    background-color: rgba(231, 76, 60, 0.12);
}

/* ======================================
   SPANISH HERO
====================================== */

.spanish-hero {
    position: relative;
    min-height: 100vh;
    background-image: url('../img/hero_spanish_program.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.spanish-hero .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.35) 45%,
            rgba(0, 0, 0, 0.1) 100%);
}

.spanish-hero .container {
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.spanish-hero-content {
    max-width: 620px;
}

.hero-label {
    display: inline-block;
    color: #F5ECDD;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 22px;
}

.spanish-hero h1 {
    color: white;
    font-size: 68px;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 25px;
}

.spanish-hero p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* ======================================
   SPANISH PROGRAM
====================================== */

.spanish-program {
    background-color: var(--beige);
    padding-top: 120px;
    padding-bottom: 120px;
}

.spanish-program-image {
    width: 100%;
    border-radius: 28px;
    object-fit: cover;
}

/* ======================================
   LEARNING METHOD
====================================== */

.learning-method {
    background-color: var(--beige);
    padding-bottom: 120px;
}

/* ======================================
   CLASS TYPES
====================================== */

.class-types {
    background-color: white;
    padding-top: 120px;
    padding-bottom: 120px;
}

.class-card {
    background-color: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: 0.3s ease;
}

.class-card:hover {
    transform: translateY(-6px);
}

.class-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.class-content {
    padding: 40px;
}

.class-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 18px;
}

.class-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
}

/* ======================================
   SPANISH LEVELS
====================================== */

.spanish-levels {
    background-color: var(--beige);
    padding-top: 120px;
    padding-bottom: 120px;
}

.level-card {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.level-image {
    width: 320px;
    height: 260px;
    object-fit: cover;
}

.level-content {
    padding: 50px;
}

.level-badge {
    display: inline-block;
    background-color: rgba(36, 102, 66, 0.12);
    color: var(--verde);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.level-badge.intermediate {
    background-color: rgba(52, 152, 219, 0.12);
    color: #3498db;
}

.level-badge.advanced {
    background-color: rgba(243, 156, 18, 0.12);
    color: #f39c12;
}

.level-content h3 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 20px;
}

.level-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
}

/* ======================================
   PRICING
====================================== */

.pricing-section {
    background-color: white;
    padding-top: 120px;
    padding-bottom: 120px;
}

.pricing-card {
    position: relative;
    background-color: #f8f8f8;
    border-radius: 28px;
    padding: 50px 30px;
    text-align: center;
    height: 100%;
    transition: 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.pricing-card h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
}

.price {
    font-size: 38px;
    font-weight: 700;
    color: var(--verde);
}

.discount {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--verde);
    color: white;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.featured {
    background-color: rgba(36, 102, 66, 0.08);
}

.featured-2 {
    background-color: rgba(243, 156, 18, 0.12);
}

.pricing-note {
    text-align: center;
    margin-top: 35px;
    color: #666;
    font-size: 15px;
}

/* ======================================
   SPANISH TEST
====================================== */

.spanish-test {
    background-color: var(--beige);
    padding-top: 120px;
    padding-bottom: 120px;
}

.spanish-test-image {
    width: 100%;
    border-radius: 28px;
    object-fit: cover;
}

/* ======================================
   REVEAL DELAYS
====================================== */

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* ======================================
   IMAGE HOVER EFFECT
====================================== */

.class-image,
.level-image,
.spanish-program-image,
.spanish-test-image {
    transition:
        transform 0.7s ease;
}

.class-card:hover .class-image,
.level-card:hover .level-image,
.spanish-program-image:hover,
.spanish-test-image:hover {
    transform: scale(1.05);
}

/* ======================================
   SCROLL TOP
====================================== */

.scroll-top {
    position: fixed;

    left: 35px;
    bottom: 35px;

    width: 58px;
    height: 58px;

    border: none;

    border-radius: 50%;

    background-color: rgba(20, 20, 20, 0.82);

    backdrop-filter: blur(10px);

    color: white;

    font-size: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 998;

    opacity: 0;
    visibility: hidden;

    transform: translateY(20px);

    transition: 0.35s ease;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.scroll-top:hover {
    background-color: var(--verde);

    transform: translateY(-4px);
}











/* ======================================
   WHATSAPP BUTTON
====================================== */

.whatsapp-button {
    position: fixed;
    right: 35px;
    bottom: 35px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background-color: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    z-index: 999;
    transition: 0.3s ease;
}

.whatsapp-button:hover {
    transform: translateY(-4px) scale(1.05);
    color: white;
}


/* ======================================
   MEDIA QUERIES
====================================== */

@media (max-width: 991px) {

    .custom-navbar {
        top: 10px;
    }

    .custom-navbar .container {
        height: auto;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .navbar-collapse {
        margin-top: 25px;
    }

    .navbar-nav {
        gap: 15px;
        margin-bottom: 20px;
    }

    .navbar-right {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 20px;
    }

    .language-selector {
        width: 100%;
    }

    .language-button {
        padding-left: 0;
    }

    .language-dropdown {
        min-width: 160px;
    }

    .language-dropdown.dropdown-menu-end {
        right: auto !important;
        left: 0 !important;
    }

    .hero .row {
        padding-top: 160px;
        padding-bottom: 80px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 15px;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 24px;
        right: 20px;
        bottom: 20px;
    }

    .registro-section {
        padding: 50px 0 25px;
    }

    .registro-section h2 {
        font-size: 42px;
        margin-bottom: 25px;
    }

    .contact-box p {
        font-size: 17px;
    }

    .footer-logo {
        width: 180px;
    }

    .social-icons a {
        font-size: 24px;
    }

    .footer-bottom {
        margin-top: 40px;
    }

    .custom-input {
        font-size: 15px;
    }

    .about-section {
        padding-top: 100px;
        padding-bottom: 80px;
    }

    .about-block {
        margin-bottom: 90px;
    }

    .about-image {
        margin-bottom: 40px;
    }

    .about-title {
        font-size: 42px;
    }

    .about-text {
        font-size: 18px;
    }


    .about-cta-title {
        font-size: 46px;
    }

    .about-cta-text {
        font-size: 18px;
    }


    .volunteer-title {
        font-size: 46px;
    }

    .volunteer-text {
        font-size: 18px;
    }

    .spanish-hero {
        padding-top: 140px;
        padding-bottom: 100px;

        min-height: auto;
    }

    .spanish-hero h1 {
        font-size: 46px;
    }

    .spanish-hero p {
        font-size: 16px;
    }

    .level-card {
        flex-direction: column;
    }

    .level-image {
        width: 100%;
        height: 260px;
    }

    .level-content {
        padding: 35px;
    }

}