/*
* Design System: Corporate Clean
* Border Style: Pill
* Shadow Style: Flat
* Color Mode: Mixed
* Color Palette: Corporate Crimson & Slate (#D9534F, #3A3A3A, #F5F5F5, #FFFFFF, #B84744)
*/

:root {
    --primary-color: #D9534F; /* A strong, corporate red */
    --primary-hover-color: #B84744; /* Darker red for hover */
    --dark-bg-color: #3A3A3A; /* A dark, professional slate grey */
    --light-bg-color: #F5F5F5; /* A very light grey for contrast */
    --text-light-color: #FFFFFF;
    --text-dark-color: #333333;
    --border-color: #E0E0E0;
    --pill-radius: 50px;
    --card-radius: 28px;
}

/* --- Global & Typography --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    color: var(--text-dark-color);
    background-color: var(--light-bg-color);
}

h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 4vw, 1.5rem); }
p { font-size: clamp(1rem, 2.5vw, 1.1rem); margin-bottom: 1rem; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-hover-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Layout & Sections --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #666;
}

.section-dark {
    background-color: var(--dark-bg-color);
    color: var(--text-light-color);
}

.section-dark .section-title,
.section-dark .section-subtitle,
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark p {
    color: var(--text-light-color);
}
.section-dark .section-subtitle { color: rgba(255,255,255,0.7); }

.section-light {
    background-color: var(--light-bg-color);
}
.section-light .section-subtitle { color: #555; }


/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--text-light-color);
    border-bottom: 1px solid var(--border-color);
}
.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;
    z-index: 100;
    color: var(--text-dark-color);
}
.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-color);
    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 a { color: var(--text-dark-color); font-weight: 500; }
.mobile-nav {
    display: none;
    position: fixed;
    top: 68px; /* Header height */
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    z-index: 99;
    background-color: var(--text-light-color);
}
.mobile-nav ul { list-style: none; padding: 20px; margin: 0; }
.mobile-nav li { padding: 12px 0; border-bottom: 1px solid var(--border-color); }
.mobile-nav a { color: var(--text-dark-color); display: block; width: 100%; }

/* --- Footer --- */
.site-footer {
    background-color: var(--dark-bg-color) !important;
    color: var(--text-light-color) !important;
    padding: 40px 0 20px 0;
}
.site-footer p, .site-footer h4, .site-footer a {
    color: var(--text-light-color) !important;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9em;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--pill-radius);
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light-color);
}
.btn-primary:hover {
    background-color: var(--primary-hover-color);
    transform: translateY(-2px);
    color: var(--text-light-color);
}
.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light-color);
}

/* --- Hero: Diagonal Split --- */
.hero-diagonal-split {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 80vh;
}
.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}
.hero-text-wrapper {
    max-width: 550px;
    text-align: left;
}
.hero-subtitle {
    font-size: 1.2rem;
    margin: 20px 0 30px;
    opacity: 0.8;
}
.hero-image-wrapper {
    display: none; /* Hidden on mobile */
}
.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Benefits Horizontal Scroll --- */
.hscroll-wrapper {
    overflow-x: auto;
    padding-bottom: 20px; /* For scrollbar visibility */
    -webkit-overflow-scrolling: touch;
}
.hscroll-container {
    display: flex;
    gap: 20px;
    width: max-content;
}
.hscroll-card {
    width: 280px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--card-radius);
    flex-shrink: 0;
}
.hscroll-card h3 {
    color: var(--primary-color);
}

/* --- Testimonials --- */
.testimonials-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}
.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: var(--card-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.testimonial-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.testimonial-name { font-weight: bold; }
.testimonial-rating { color: #FFC107; }
.testimonial-text { font-style: italic; opacity: 0.9; }

/* --- Icon Features --- */
.icon-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.icon-feature-item { text-align: center; }
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}
.icon-feature-item h3 { font-size: 1.1rem; }
.icon-feature-item p { font-size: 0.9rem; margin: 0; }

/* --- Comparison Table --- */
.table-wrapper { overflow-x: auto; }
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}
.comparison-table th, .comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.comparison-table thead {
    background-color: rgba(255, 255, 255, 0.1);
}
.comparison-table td:first-child { font-weight: bold; }

/* --- Quote Highlight --- */
.quote-highlight-section {
    background-color: var(--primary-color);
    color: var(--text-light-color);
    padding: 60px 0;
}
.quote-wrapper { text-align: center; max-width: 800px; margin: 0 auto; }
.quote-text {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 300;
    font-style: italic;
    margin-bottom: 20px;
}
.quote-author { font-weight: bold; }

/* --- Program Page: Accordion --- */
.accordion-container { max-width: 800px; margin: 0 auto; }
.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    margin-bottom: 15px;
    background-color: #fff;
    overflow: hidden;
}
.accordion-title {
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
}
.accordion-title::after {
    content: '+';
    transition: transform 0.3s ease;
}
.accordion-item[open] .accordion-title::after {
    transform: rotate(45deg);
}
.accordion-content { padding: 0 20px 20px 20px; }
.content-image {
    width: 100%;
    border-radius: calc(var(--card-radius) - 10px);
    margin-bottom: 1rem;
}

/* --- Mission Page: Split Layout --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}
.split-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--card-radius);
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.value-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: var(--card-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Contact Page --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; margin-bottom: 5px; font-weight: bold; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: var(--pill-radius);
    border: 1px solid var(--border-color);
    background-color: #fff;
}
.form-submit-btn { width: 100%; }
.contact-info-container {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--card-radius);
    border: 1px solid var(--border-color);
}
.contact-item { margin-bottom: 20px; }
.contact-item h3 { color: var(--primary-color); }

/* --- Generic Pages (Policy, Thank You) --- */
.page-header { padding: 40px 0; text-align: center; }
.policy-container { max-width: 800px; }
.policy-container h2 { margin-top: 30px; }
.policy-container ul { margin-left: 20px; margin-bottom: 1rem; }
.thank-you-section { text-align: center; padding: 80px 0; }
.thank-you-icon {
    font-size: 4rem;
    color: var(--primary-color);
    display: inline-block;
    margin-bottom: 20px;
}
.quick-links-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.quick-link-card {
    background: #fff;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    text-align: left;
    color: var(--text-dark-color);
}
.quick-link-card:hover {
    border-color: var(--primary-color);
}
.quick-link-card h3 { color: var(--primary-color); }

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    transform: translateY(0); transition: transform 0.4s ease;
    background-color: var(--dark-bg-color);
    color: var(--text-light-color);
    border-top: 2px solid var(--primary-color);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 0.9em; }
#cookie-banner a { text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 20px;
    border-radius: var(--pill-radius);
    border: none;
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept { background-color: var(--primary-color); color: #fff; }
.cookie-btn-decline { background-color: #6c757d; color: #fff; }
.cta-section {
    text-align: center;
}
/* --- Media Queries (Mobile-First) --- */
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .hamburger,
    .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); }
}

@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; }
}

@media (min-width: 768px) {
    .section { padding: 80px 0; }
    .container { padding: 0 24px; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .icon-features-grid { grid-template-columns: repeat(4, 1fr); gap: 30px; }
    .values-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-layout { grid-template-columns: 2fr 1fr; }
    .quick-links-container { grid-template-columns: 1fr 1fr; }
    .split-layout { grid-template-columns: 1fr 1fr; gap: 50px; }
}

@media (min-width: 1024px) {
    .hero-diagonal-split { grid-template-columns: 45% 55%; }
    .hero-image-wrapper {
        display: block;
        clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    }
}