:root {
    --brand-orange: #f97316;
    --brand-orange-deep: #c2410c;
    --brand-orange-soft: #fff4eb;
    --brand-red: #ef4444;
    --brand-ink: #1f2937;
    --brand-ink-soft: #4b5563;
    --brand-card: #ffffff;
    --brand-border: #fed7aa;
    --brand-shadow: 0 18px 38px rgba(120, 53, 15, 0.08);
    --brand-cream: #fffaf7;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--brand-ink);
    background: #fff;
}

h1, h2, h3, h4, h5 {
    font-family: 'Manrope', sans-serif;
    letter-spacing: -0.04em;
}

img {
    max-width: 100%;
}

.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(31, 41, 55, 0.06);
}

.navbar-brand,
.nav-link,
.navbar-toggler {
    color: var(--brand-ink) !important;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 1rem;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--brand-ink-soft);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--brand-orange-deep);
}

.hero-section {
    position: relative;
    background: linear-gradient(180deg, var(--brand-cream) 0%, #fff 100%);
    padding: 70px 0 60px;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 12% auto auto -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.08);
}

.badge-soft,
.season-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.badge-soft {
    background: rgba(249, 115, 22, 0.12);
    color: var(--brand-orange-deep);
    padding: 0.7rem 1rem;
}

.season-pill {
    background: rgba(251, 146, 60, 0.14);
    color: #a14207;
    padding: 0.5rem 0.8rem;
}

.hero-section h1 {
    font-size: clamp(2.7rem, 6vw, 4.6rem);
    line-height: 0.96;
    letter-spacing: -0.07em;
    max-width: 600px;
}

.hero-section .lead {
    max-width: 560px;
    color: var(--brand-ink-soft);
    font-size: 1.08rem;
    line-height: 1.8;
}

.hero-card,
.course-card,
.feature-card,
.enroll-card,
.results-card,
.dashboard-stat,
.card {
    border-radius: 1.5rem;
    background: var(--brand-card);
}

.hero-card {
    border: 1px solid rgba(249, 115, 22, 0.12);
    background: #fff;
    box-shadow: var(--brand-shadow);
    padding: 1.6rem;
}

.custom-list .list-group-item {
    border: 0;
    background: transparent;
    padding: 0.9rem 0;
    font-weight: 600;
    color: var(--brand-ink);
}

.custom-list .list-group-item span:last-child {
    min-width: 92px;
    text-align: center;
}

.stat-box {
    border: 1px solid var(--brand-border);
    border-radius: 1rem;
    background: #fffaf5;
    padding: 1rem 0.5rem;
    min-height: 96px;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--brand-orange-deep);
}

.stat-box small {
    color: var(--brand-ink-soft);
    font-weight: 700;
}

.stat-inline {
    color: var(--brand-ink-soft);
}

.stat-inline strong {
    display: block;
    font-size: 1.15rem;
    color: var(--brand-ink);
    margin-bottom: 0.2rem;
}

.stat-inline span {
    display: block;
}

.bg-light-soft {
    background: #fffaf6;
}

.section-kicker {
    display: inline-block;
    color: var(--brand-orange-deep);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.74rem;
}

.feature-card,
.course-card,
.results-card,
.dashboard-stat {
    border: 1px solid rgba(249, 115, 22, 0.12);
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(31, 41, 55, 0.03);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: rgba(249, 115, 22, 0.08);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h5,
.course-card h4 {
    margin-top: 0.2rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
}

.feature-card p,
.course-card p,
.results-card p,
.text-muted {
    color: var(--brand-ink-soft) !important;
    line-height: 1.75;
}

.course-card ul {
    margin: 1rem 0 0;
    padding-left: 1rem;
    color: var(--brand-ink-soft);
}

.course-card ul li + li {
    margin-top: 0.45rem;
}

.course-pill {
    display: inline-block;
    background: rgba(249, 115, 22, 0.12);
    color: var(--brand-orange-deep);
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.5rem 0.8rem;
    margin-bottom: 1rem;
}

.bg-orange-soft {
    background: #fffaf6;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0 0;
}

.check-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--brand-ink-soft);
    font-weight: 600;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-orange-deep);
    font-weight: 800;
}

.enroll-card {
    border: 1px solid rgba(249, 115, 22, 0.12);
    padding: 2rem;
    background: #fff;
    box-shadow: var(--brand-shadow);
}

.form-label {
    font-weight: 700;
    color: var(--brand-ink);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border-radius: 0.9rem;
    border: 1px solid #fdba74;
    padding: 0.9rem 1rem;
    background: #fff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.12);
}

.btn-primary {
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    border: none;
    box-shadow: 0 12px 22px rgba(249, 115, 22, 0.18);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
}

.btn-outline-primary {
    border-color: var(--brand-orange);
    color: var(--brand-orange-deep);
}

.btn-outline-primary:hover {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    color: #fff;
}

.results-card {
    text-align: center;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.results-card.accent {
    background: #fff8f2;
}

.result-number {
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--brand-orange-deep);
    font-weight: 800;
    letter-spacing: -0.06em;
}

.site-footer {
    position: relative;
    overflow: hidden;
    background-color: #241713;
    background-image:
        linear-gradient(135deg, rgba(249, 115, 22, 0.08) 25%, transparent 25%),
        linear-gradient(315deg, rgba(239, 68, 68, 0.06) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.035) 75%);
    background-position: 0 0, 24px 24px, 12px 12px;
    background-size: 48px 48px;
    color: rgba(255, 247, 237, 0.78);
}

.footer-brand,
.site-footer a {
    color: #fff7ed;
    text-decoration: none;
}

.footer-brand {
    display: inline-block;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.site-footer a:hover {
    color: #fdba74;
}

.footer-intro,
.footer-newsletter-copy {
    color: rgba(255, 247, 237, 0.72);
    line-height: 1.75;
    max-width: 390px;
}

.footer-contact,
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-contact a,
.footer-contact span,
.footer-links a {
    color: rgba(255, 247, 237, 0.78);
    font-size: 0.92rem;
}

.footer-heading {
    color: #fff7ed;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-newsletter-copy {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.newsletter-form .form-control {
    min-width: 0;
    border: 1px solid rgba(255, 247, 237, 0.2);
    background: rgba(255, 255, 255, 0.09);
    color: #fff7ed;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 247, 237, 0.58);
}

.newsletter-form .btn {
    box-shadow: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 247, 237, 0.14);
    color: rgba(255, 247, 237, 0.58);
}

.page-hero {
    background: linear-gradient(180deg, #fffaf7 0%, #fff 100%);
    padding: 90px 0 60px;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

.page-hero p {
    max-width: 650px;
    color: var(--brand-ink-soft);
    line-height: 1.8;
}

.testimonial-card,
.gallery-card,
.story-card {
    background: #fff;
    border: 1px solid rgba(249, 115, 22, 0.12);
    border-radius: 1.5rem;
    box-shadow: 0 12px 30px rgba(31, 41, 55, 0.04);
}

.testimonial-card {
    padding: 1.75rem;
    height: 100%;
}

.testimonial-card .stars {
    color: #f59e0b;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: var(--brand-ink-soft);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(239, 68, 68, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--brand-orange-deep);
}

.gallery-card {
    overflow: hidden;
}

.gallery-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.gallery-card .caption {
    padding: 1rem 1.1rem 1.2rem;
    font-weight: 600;
    color: var(--brand-ink);
}

.story-card {
    padding: 1.5rem;
    height: 100%;
}

.story-card .num {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.12);
    color: var(--brand-orange-deep);
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 0.9rem;
}

.story-card h4 {
    margin-bottom: 0.8rem;
    font-weight: 800;
}

.story-card p {
    color: var(--brand-ink-soft);
    line-height: 1.75;
    margin-bottom: 0;
}

.team-card {
    background: #fff;
    border: 1px solid rgba(249, 115, 22, 0.12);
    border-radius: 1.5rem;
    padding: 1.25rem;
    box-shadow: 0 10px 25px rgba(31, 41, 55, 0.03);
}

.team-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.team-card h5 {
    margin-bottom: 0.35rem;
    font-weight: 800;
}

.team-card small {
    display: block;
    color: var(--brand-orange-deep);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

.team-card p {
    color: var(--brand-ink-soft);
    line-height: 1.7;
    margin-bottom: 0;
}

.dashboard-body {
    background: linear-gradient(180deg, #fff8f3 0%, #fff 100%);
}

.dashboard-stat {
    background: #fff;
    border: 1px solid rgba(249, 115, 22, 0.12);
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
    box-shadow: 0 8px 20px rgba(30, 41, 59, 0.04);
}

.dashboard-stat span {
    display: block;
    font-size: 0.78rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dashboard-stat strong {
    font-size: 2.2rem;
    color: var(--brand-ink);
    font-weight: 800;
}

.dashboard-stat.warning strong {
    color: #d97706;
}

.dashboard-stat.success strong {
    color: #15803d;
}

.card {
    border: 1px solid rgba(249, 115, 22, 0.12);
    box-shadow: 0 12px 30px rgba(31, 41, 55, 0.04);
}

.table thead th {
    background: #fff7ed;
    color: var(--brand-ink);
    border-bottom: 1px solid rgba(249, 115, 22, 0.15);
    font-weight: 700;
}

.table tbody tr td {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.badge.bg-warning {
    background: rgba(245, 158, 11, 0.12) !important;
    color: #b45309 !important;
}

.badge.bg-success {
    background: rgba(34, 197, 94, 0.12) !important;
    color: #166534 !important;
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 58px;
    }

    .enroll-card {
        padding: 1.3rem;
    }

    .navbar .btn {
        margin-top: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding-top: 42px;
    }

    .hero-card,
    .enroll-card,
    .feature-card,
    .course-card,
    .results-card {
        padding: 1.2rem;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .d-flex.flex-column.flex-md-row {
        align-items: flex-start !important;
    }

    .btn-lg {
        width: 100%;
    }
}
