:root {
    --bg: #fcffff;
    --primary: #1d93a1;
    --secondary: #094855;
    --accent: #f1b100;
    --white: #fcffff;
    --text: #5f6b6d;
    --card: #ffffff;
}

/* ================= GLOBAL ================= */

html,
body {
    padding: 0;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--secondary);
    font-family: "Montserrat", "Outfit", sans-serif;
}

/* margin top desktop only */
@media (min-width: 1200px) {
    html,
    body {
        margin-top: -50px;
    }
}

/* reset mobile/tablet */
@media (max-width: 1199px) {
    html,
    body {
        margin-top: 0;
    }
}

body {
    position: relative;
}

.container-fluid {
    padding: 0 !important;
    margin: 0 !important;
}

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

/* ================= TYPOGRAPHY ================= */

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(29, 147, 161, 0.12);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-top: 22px;
    color: var(--secondary);
}

.section-title span {
    color: var(--accent);
}

.section-text {
    color: var(--text);
    line-height: 1.9;
    margin-top: 20px;
    font-size: 1rem;
}

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

.btn-main {
    background: var(--accent);
    color: #000;
    padding: 14px 28px;
    border-radius: 16px;
    font-weight: 700;
    border: none;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(241, 177, 0, 0.25);
}

.btn-main:hover {
    transform: translateY(-4px);
    background: #ffd04d;
    color: #000;
}

.btn-outline {
    color: #fff;
    padding: 14px 28px;
    border-radius: 16px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    transition: 0.3s;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

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

.hero-section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #000;
    padding: 0;
    margin: 0;
}

/* SMOOTH GRADIENT TRANSITION */
.hero-section::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 340px;
    z-index: 3;
    pointer-events: none;

    background: linear-gradient(
        to bottom,
        rgba(252, 255, 255, 0) 0%,
        rgba(252, 255, 255, 0.02) 15%,
        rgba(252, 255, 255, 0.05) 28%,
        rgba(252, 255, 255, 0.1) 40%,
        rgba(252, 255, 255, 0.18) 52%,
        rgba(252, 255, 255, 0.3) 64%,
        rgba(252, 255, 255, 0.48) 76%,
        rgba(252, 255, 255, 0.7) 88%,
        rgba(252, 255, 255, 0.9) 96%,
        #f5f5f5 100%
    );
}

.hero-section .container {
    position: relative;
    z-index: 5;
}

.hero-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(29, 147, 161, 0.25),
        transparent 70%
    );
    top: -300px;
    right: -250px;
    z-index: 1;
}

.hero-carousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    width: 100%;
    height: 100vh;
}

.hero-carousel img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    transform: scale(1.03);
    filter: brightness(0.45) blur(1px);
}

.hero-carousel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.8) 25%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(0, 0, 0, 0.08) 65%,
        rgba(0, 0, 0, 0) 100%
    );
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 0.95;
    color: #fff;
    letter-spacing: -2px;
}

.hero-title span {
    color: var(--accent);
}

.hero-section .section-text {
    color: rgba(255, 255, 255, 0.78);
    max-width: 620px;
    font-size: 1.05rem;
}

.hero-mini-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    padding: 22px 24px;
    border-radius: 28px;
    margin-top: 35px;
    max-width: 520px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
}

.hero-mini-card small {
    color: rgba(255, 255, 255, 0.75);
}

.hero-mini-card h4 {
    color: var(--accent);
}

/* ================= CARD ================= */

.glass-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff 0%, #f5ffff 100%);
    border-radius: 28px;
    padding: 30px;
    transition: all 0.35s ease;
    height: 100%;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.04),
        0 0 0 rgba(29, 147, 161, 0);
}

.glass-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    background: rgba(29, 147, 161, 0.08);
    border-radius: 50%;
    top: -80px;
    right: -80px;
    transition: 0.4s;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 18px 45px rgba(29, 147, 161, 0.12),
        0 0 40px rgba(29, 147, 161, 0.08);
}

.glass-card:hover::after {
    transform: scale(1.2);
    opacity: 0.9;
}

.glass-card h4,
.glass-card h5 {
    color: var(--secondary);
    position: relative;
    z-index: 2;
}

.glass-card p {
    position: relative;
    z-index: 2;
}

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

.about-image {
    border-radius: 30px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.feature-item {
    display: flex;
    gap: 18px;
    margin-bottom: 24px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(
        135deg,
        rgba(29, 147, 161, 0.18),
        rgba(29, 147, 161, 0.08)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d93a1;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(29, 147, 161, 0.08);
}

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

.program-card {
    overflow: hidden;
}

.program-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 22px;
}

.badge-program {
    background: rgba(241, 177, 0, 0.15);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    display: inline-block;
    margin-top: 20px;
}

/* ================= NEWS ================= */

.news-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 20px;
}

.news-meta {
    color: var(--accent);
    font-size: 0.85rem;
    margin-top: 20px;
}

/* ================= AGENDA ================= */

.agenda-item {
    display: flex;
    gap: 22px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(9, 72, 85, 0.08);
}

.agenda-date {
    min-width: 90px;
    height: 90px;
    border-radius: 24px;
    background: rgba(29, 147, 161, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-weight: 800;
}

.agenda-date span {
    font-size: 2rem;
    line-height: 1;
}

/* ================= PARTNER ================= */

.partner-box {
    height: 120px;
    border-radius: 24px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.2rem;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(29, 147, 161, 0.05);
}

.partner-box:hover {
    transform: translateY(-5px);
}

/* ================= TESTIMONIAL ================= */

.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: "“";
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    color: rgba(29, 147, 161, 0.12);
    font-weight: 900;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
}

.testimonial-user img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

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

.cta-box {
    background: linear-gradient(135deg, #0c3c48, #1d93a1);
    border-radius: 40px;
    padding: 80px;
    overflow: hidden;
    position: relative;
    color: white;
}

.cta-box::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    right: -180px;
    top: -180px;
}

/* ================= FOOTER ================= */

footer {
    padding: 90px 0 40px;
}

.footer-title {
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-link {
    display: block;
    color: var(--text);
    text-decoration: none;
    margin-bottom: 12px;
    transition: 0.3s;
}

.footer-link:hover {
    color: var(--accent);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    color: var(--text);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 991px) {
    section {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 3.5rem;
        line-height: 1.05;
    }

    .section-title {
        font-size: 2.4rem;
    }

    .about-image img {
        height: 400px;
    }

    .hero-carousel::after {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.55) 45%,
            rgba(0, 0, 0, 0.15) 100%
        );
    }

    .hero-mini-card {
        max-width: 100%;
    }

    .hero-section::before {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-section .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .btn-main,
    .btn-outline {
        width: 100%;
        text-align: center;
    }

    .cta-box {
        border-radius: 28px;
        padding: 40px 24px;
    }

    .hero-section::before {
        height: 160px;
    }
}
