:root {
    --green-deep: #0b5c2e;
    --green: #147a3c;
    --green-bright: #1fa050;
    --yellow: #f5c518;
    --yellow-soft: #ffe566;
    --ink: #122018;
    --muted: #4a5c52;
    --surface: #f4f7f4;
    --cream: #fffdf5;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Source Sans 3", system-ui, sans-serif;
    color: var(--ink);
    background: var(--cream);
}

h1, h2, h3, .font-display {
    font-family: "Barlow Condensed", sans-serif;
    letter-spacing: 0.02em;
    line-height: 1.15;
}

/* Fixed navbar that shrinks on scroll */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 1rem 0;
    background: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
    padding: 0.45rem 0;
    background: rgba(11, 92, 46, 0.96);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
}

.site-header .navbar {
    --bs-navbar-padding-y: 0;
    --bs-navbar-brand-padding-y: 0;
}

.brand-mark {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.4rem;
    background: var(--yellow);
    color: var(--green-deep);
    display: inline-grid;
    place-items: center;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    margin-right: 0.65rem;
    transition: width 0.3s ease, height 0.3s ease;
}

.site-header.is-scrolled .brand-mark {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
}

.brand-name {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 1.55rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: font-size 0.3s ease;
}

.site-header.is-scrolled .brand-name {
    font-size: 1.25rem;
}

.site-header .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    padding: 0.5rem 0.85rem !important;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--yellow) !important;
}

.site-header .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.site-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
    .site-header .navbar-collapse {
        margin-top: 0.75rem;
        padding: 0.75rem;
        background: rgba(11, 92, 46, 0.98);
        border-radius: 0.5rem;
    }
}

/* Buttons */
.btn-watani {
    background: var(--yellow);
    color: var(--green-deep);
    font-weight: 700;
    border: none;
    border-radius: 0.35rem;
    padding: 0.7rem 1.35rem;
}

.btn-watani:hover {
    background: var(--yellow-soft);
    color: var(--green-deep);
}

.btn-watani-green {
    background: var(--green);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 0.35rem;
    padding: 0.7rem 1.35rem;
}

.btn-watani-green:hover {
    background: var(--green-bright);
    color: #fff;
}

.btn-watani-outline {
    background: transparent;
    color: #fff;
    font-weight: 700;
    border: 2px solid #fff;
    border-radius: 0.35rem;
    padding: 0.65rem 1.3rem;
}

.btn-watani-outline:hover {
    background: #fff;
    color: var(--green-deep);
}

/* Hero carousel */
.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    height: 100vh;
    min-height: 560px;
}

.hero-carousel .carousel-item {
    background-size: cover;
    background-position: center;
}

.hero-carousel .carousel-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 92, 46, 0.35) 0%, rgba(11, 92, 46, 0.82) 70%, rgba(11, 92, 46, 0.95) 100%),
        linear-gradient(90deg, rgba(11, 92, 46, 0.55) 0%, transparent 55%);
}

.hero-carousel .carousel-caption {
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    padding: 0;
    text-align: left;
    display: flex;
    align-items: flex-end;
}

.hero-carousel .caption-inner {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem 5.5rem;
    color: #fff;
}

.slide-kicker {
    color: var(--yellow);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
}

.slide-title {
    font-size: clamp(2.4rem, 7vw, 4.6rem);
    font-weight: 700;
    text-transform: uppercase;
    max-width: 14ch;
    margin-bottom: 0.75rem;
}

.slide-text {
    max-width: 34rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.35rem;
}

.hero-carousel .carousel-indicators [data-bs-target] {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.45);
    border: 0;
    opacity: 1;
}

.hero-carousel .carousel-indicators .active {
    width: 1.8rem;
    background-color: var(--yellow);
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 3.5rem;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background-color: rgba(11, 92, 46, 0.4);
    background-size: 55%;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

/* Sections */
.section {
    padding: 4.5rem 0;
}

.section-surface {
    background: var(--surface);
}

.section-green {
    background: var(--green-deep);
    color: #fff;
}

.accent-bar {
    width: 3.5rem;
    height: 0.3rem;
    background: var(--yellow);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--green-deep);
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.section-lead {
    max-width: 38rem;
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.page-hero {
    padding: 8.5rem 0 3.5rem;
    background: linear-gradient(135deg, var(--green-deep) 0%, var(--green) 55%, #0e6b35 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    right: -4rem;
    bottom: -4rem;
    width: 18rem;
    height: 18rem;
    border-radius: 999px;
    background: rgba(245, 197, 24, 0.18);
}

.page-hero h1 {
    position: relative;
    z-index: 1;
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    text-transform: uppercase;
    font-weight: 700;
}

.page-hero p {
    position: relative;
    z-index: 1;
    max-width: 36rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.feature-item h3 {
    font-size: 1.45rem;
    text-transform: uppercase;
    color: var(--green-deep);
    margin-bottom: 0.4rem;
}

.feature-item p {
    color: var(--muted);
    margin-bottom: 0;
}

.course-item {
    padding: 1.75rem 1.5rem;
    border-top: 4px solid var(--yellow);
    background: #fff;
    box-shadow: 0 12px 30px rgba(18, 32, 24, 0.06);
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(18, 32, 24, 0.1);
}

.course-item.featured {
    border-top-color: var(--green);
    background: linear-gradient(180deg, #e8f6ec 0%, #fff 45%);
}

.course-price {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--green-deep);
    line-height: 1;
}

.course-price span {
    font-size: 1rem;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 600;
    color: var(--muted);
}

.about-highlight {
    background: linear-gradient(120deg, var(--green-deep), var(--green));
    color: #fff;
    padding: 2rem;
}

.about-highlight strong {
    color: var(--yellow);
}

.contact-panel {
    background: #fff;
    padding: 1.25rem 1.4rem;
    border-left: 5px solid var(--yellow);
    box-shadow: 0 12px 28px rgba(18, 32, 24, 0.06);
    margin-bottom: 1rem;
}

.contact-panel a {
    color: var(--green-deep);
    text-decoration: none;
}

.contact-panel a:hover {
    text-decoration: underline;
}

.contact-form-card {
    background: #fff;
    padding: 1.75rem;
    box-shadow: 0 12px 28px rgba(18, 32, 24, 0.06);
}

.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 1.5rem;
}

.site-footer a {
    color: var(--yellow-soft);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--yellow);
}

.site-footer .footer-title {
    color: var(--yellow);
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.15rem;
    margin-bottom: 0.85rem;
}

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

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

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

@media (max-width: 767.98px) {
    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        display: none;
    }

    .hero-carousel .caption-inner {
        padding-bottom: 4.5rem;
    }
}
