/* Palette Name: rust-navy */
:root {
    --color-primary: #BF360C;
    --color-secondary: #D84A1A;
    --color-accent: #1A3A6B;
    --bg-tint: #FBE9E7;
    --text-dark: #222222;
    --text-light: #555555;
    --white: #FFFFFF;
    --border-light: #E0E0E0;
    --shadow-subtle: 0 2px 12px rgba(0,0,0,0.07);
}

/* Base Reset & Mobile First Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

section {
    padding: 48px 0;
}

@media (min-width: 768px) {
    section {
        padding: 80px 0;
    }
    .container {
        padding: 0 24px;
    }
}

/* Header & Hamburger Template Required Styling */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--white);
    box-shadow: var(--shadow-subtle);
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--color-primary);
    z-index: 100;
}

.hamburger {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 100;
    display: none;
}

.hamburger .line {
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: 0.3s;
}

.menu-checkbox {
    display: none;
}

.desktop-nav {
    display: block;
}

.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.desktop-nav .nav-list a {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.desktop-nav .nav-list a:hover {
    color: var(--color-primary);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    box-shadow: var(--shadow-subtle);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav a {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .mobile-nav {
        display: block;
    }

    #menu-toggle:checked ~ .mobile-nav {
        max-height: 400px;
    }

    #menu-toggle:checked ~ .hamburger .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    #menu-toggle:checked ~ .hamburger .line:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked ~ .hamburger .line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Buttons (Pill Style) */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--color-accent);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #11284b;
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Hero Section: Gradient Center Style */
.hero-gradient-center {
    background: linear-gradient(135deg, var(--bg-tint) 0%, #FFFFFF 100%);
    padding: 80px 16px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(191, 54, 12, 0.1);
    color: var(--color-primary);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(28px, 5vw, 48px);
    color: var(--color-accent);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-description {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-light);
    margin-bottom: 32px;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

@media (min-width: 600px) {
    .hero-cta-group {
        flex-direction: row;
    }
}

/* Section Common Styling */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.section-title {
    font-size: clamp(24px, 4vw, 36px);
    color: var(--color-accent);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
}

/* Page Banner */
.page-banner {
    background-color: var(--bg-tint);
    padding: 60px 0;
    text-align: center;
}

.page-title {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--color-accent);
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

/* Cards & Grid Layouts (Pill/Rounded Cards, Subtle Shadows) */
.card {
    background-color: var(--white);
    border-radius: 32px;
    padding: 32px;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-light);
}

.cards-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .cards-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-card {
    text-align: left;
}

.card-icon {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.card-title {
    font-size: 20px;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.card-text {
    font-size: 15px;
    color: var(--text-light);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--bg-tint);
}

.testimonials-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 28px;
    padding: 24px;
    box-shadow: var(--shadow-subtle);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.testimonial-author {
    font-size: 16px;
    color: var(--color-accent);
}

.testimonial-rating {
    color: #FFB300;
    font-size: 14px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-light);
    font-style: italic;
}

/* Expert Section */
.expert-box {
    background-color: var(--white);
    border-radius: 36px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .expert-box {
        grid-template-columns: 1fr 1fr;
    }
}

.expert-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.expert-badge {
    color: var(--color-primary);
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 12px;
}

.expert-quote {
    font-size: 18px;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 20px;
    font-style: italic;
}

.expert-name {
    font-weight: bold;
    color: var(--color-accent);
}

.expert-role {
    font-size: 14px;
    color: var(--text-light);
}

/* Checklist Section */
.checklist-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .checklist-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background-color: var(--bg-tint);
    padding: 20px;
    border-radius: 24px;
}

.check-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

/* Two Column Layout */
.twocol-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

@media (min-width: 768px) {
    .twocol-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.twocol-image img {
    border-radius: 32px;
    box-shadow: var(--shadow-subtle);
}

.styled-list {
    list-style: none;
    margin: 20px 0;
}

.styled-list li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px;
}

.styled-list li::before {
    content: "•";
    color: var(--color-primary);
    font-size: 24px;
    position: absolute;
    left: 0;
    top: -4px;
}

/* Form Styles */
.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-tint);
    padding: 32px;
    border-radius: 36px;
    box-shadow: var(--shadow-subtle);
}

.main-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
    color: var(--color-accent);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    font-size: 16px;
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* Program Page Specifics */
.numbered-program-section {
    padding: 40px 0;
}

.numbered-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-light);
}

@media (min-width: 768px) {
    .numbered-block {
        flex-direction: row;
        gap: 40px;
    }
}

.number-badge {
    font-size: 36px;
    font-weight: 900;
    color: var(--color-primary);
    background-color: var(--bg-tint);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.numbered-content {
    flex: 1;
}

.numbered-title {
    font-size: 22px;
    color: var(--color-accent);
    margin-bottom: 12px;
}

/* FAQ Component */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--white);
    padding: 24px;
    border-radius: 24px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-subtle);
}

.faq-question {
    font-size: 18px;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.faq-answer {
    color: var(--text-light);
    font-size: 15px;
}

/* Mission Page Specifics */
.mission-values-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.value-item h4 {
    color: var(--color-primary);
    font-size: 18px;
}

.value-item p {
    font-size: 14px;
    color: var(--text-light);
}

.manifesto-section {
    background-color: var(--color-accent);
    color: var(--white);
    text-align: center;
    border-radius: 36px;
    margin: 40px 16px;
}

.manifesto-box {
    max-width: 800px;
    margin: 0 auto;
}

.manifesto-title {
    color: var(--white);
    font-size: 28px;
    margin-bottom: 16px;
}

.manifesto-text {
    font-size: 20px;
    font-style: italic;
    line-height: 1.6;
}

/* Contact Page Specifics */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info-block .info-item {
    margin-bottom: 20px;
}

.contact-info-block strong {
    color: var(--color-accent);
    display: block;
    margin-bottom: 4px;
}

/* Legal Pages Styling */
.legal-page-section {
    padding: 60px 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    color: var(--color-accent);
    font-size: 22px;
    margin: 28px 0 12px 0;
}

.legal-content p {
    margin-bottom: 16px;
    color: var(--text-light);
}

/* Thank You Page */
.thank-you-section {
    padding: 80px 0;
    text-align: center;
}

.thank-card {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-tint);
    padding: 48px 24px;
    border-radius: 36px;
    box-shadow: var(--shadow-subtle);
}

.thank-icon {
    width: 64px;
    height: 64px;
    background-color: var(--color-primary);
    color: var(--white);
    font-size: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.thank-title {
    color: var(--color-accent);
    margin-bottom: 16px;
}

.thank-text {
    color: var(--text-light);
    margin-bottom: 24px;
}

.thank-steps {
    text-align: left;
    background-color: var(--white);
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 32px;
}

.thank-steps h3 {
    color: var(--color-accent);
    margin-bottom: 10px;
    font-size: 16px;
}

.thank-steps ul {
    padding-left: 20px;
    color: var(--text-light);
    font-size: 14px;
}

/* Footer Section */
.site-footer {
    background-color: var(--color-accent) !important;
    color: #FFFFFF !important;
    padding: 60px 0 20px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: #FFFFFF !important;
    display: inline-block;
    margin-bottom: 12px;
}

.footer-about {
    font-size: 14px;
    color: #E0E0E0 !important;
    line-height: 1.5;
}

.footer-heading {
    font-size: 18px;
    color: #FFFFFF !important;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #E0E0E0 !important;
    font-size: 14px;
}

.footer-links a:hover {
    color: #FFFFFF !important;
    text-decoration: underline;
}

.footer-contact-item {
    font-size: 14px;
    color: #E0E0E0 !important;
    margin-bottom: 8px;
}

.footer-email-link {
    color: #FFFFFF !important;
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 20px 16px 0 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 13px;
    color: #B0B0B0 !important;
}

/* Cookie Banner Styling */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 18px 24px;
    background-color: var(--color-accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
    transform: translateY(0);
    transition: transform 0.4s ease;
}

#cookie-banner.hidden {
    transform: translateY(110%);
}

#cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 200px;
    font-size: 14px;
    color: var(--white);
}

#cookie-banner a {
    color: #FFB300;
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn-accept {
    background-color: var(--color-primary);
    color: var(--white);
    border: none;
    padding: 8px 18px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
}

.cookie-btn-decline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
    padding: 8px 18px;
    border-radius: 50px;
    cursor: pointer;
}

@media (max-width: 600px) {
    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-btns {
        width: 100%;
    }
    .cookie-btn-accept,
    .cookie-btn-decline {
        flex: 1;
        text-align: center;
    }
}