/* 
   Color Palette: Tropical Forest & Warm Sand 
   Colors: #2E7D32 (Emerald Green), #F4A261 (Warm Sand), #1B4332 (Deep Forest), #F9F6F0 (Off-White)
*/

:root {
    --primary-color: #573e90;
    --secondary-color: #F4A261;
    --dark-color: #271b43;
    --light-color: #F9F6F0;
    --text-color: #333333;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.v5-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= HEADER (STRICT TEMPLATE) ================= */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--dark-color);
    color: var(--white);
}

.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(--white);
}

.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;
    margin: 5px 0;
    background-color: var(--white);
    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(--white);
    font-weight: 500;
    transition: var(--transition);
}

.desktop-nav a:hover {
    color: var(--secondary-color);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--dark-color);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav a {
    color: var(--white);
    display: block;
}

@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 ================= */
.v5-btn-primary, .v5-btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.v5-btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.v5-btn-primary:hover {
    background-color: var(--dark-color);
}

.v5-btn-secondary {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.v5-btn-secondary:hover {
    background-color: #e09355;
}

.v5-btn-block {
    display: block;
    width: 100%;
}

/* ================= V5 UNIQUE HERO (VERTICAL) ================= */
.v5-hero-section {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
}

.v5-hero-image-wrapper {
    width: 100%;
    height: 50vh;
    min-height: 300px;
    overflow: hidden;
}

.v5-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v5-hero-content-wrapper {
    padding: 40px 20px;
    background-color: var(--light-color);
    display: flex;
    justify-content: center;
}

.v5-hero-text-box {
    max-width: 800px;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-top: -80px; /* Overlap effect */
    position: relative;
    z-index: 10;
    text-align: center;
}

.v5-badge {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.v5-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.v5-hero-desc {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.1rem;
}

/* ================= V5 ASYMMETRICAL GRID ================= */
.v5-asym-section {
    padding: 80px 0;
}

.v5-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.v5-section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.v5-asym-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.v5-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.v5-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.v5-card p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .v5-asym-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto auto;
    }
    .v5-card-large {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }
    .v5-card-medium {
        grid-column: 1 / 4;
    }
}

@media (min-width: 1024px) {
    .v5-card-medium {
        grid-column: 3 / 4;
        grid-row: 2 / 3;
    }
}

/* ================= V5 OVERLAP SECTION ================= */
.v5-overlap-section {
    padding: 80px 0;
    background-color: var(--dark-color);
    color: var(--white);
}

.v5-overlap-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.v5-overlap-image img {
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.v5-overlap-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.v5-overlap-content p {
    margin-bottom: 20px;
    opacity: 0.9;
}

@media (min-width: 992px) {
    .v5-overlap-wrapper {
        flex-direction: row;
        align-items: center;
    }
    .v5-overlap-image {
        flex: 1;
        margin-right: -50px; /* Overlap */
        z-index: 2;
    }
    .v5-overlap-content {
        flex: 1;
        background: rgba(255,255,255,0.05);
        padding: 50px 50px 50px 80px;
        border-radius: 8px;
        backdrop-filter: blur(10px);
    }
}

/* ================= V5 HORIZONTAL GALLERY ================= */
.v5-horizontal-gallery {
    padding: 80px 0;
    background-color: var(--white);
    overflow: hidden;
}

.v5-center-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 40px;
}

.v5-scroll-wrapper {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    flex-direction: column;
}

.v5-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.v5-scroll-wrapper::-webkit-scrollbar-track {
    background: var(--light-color);
}

.v5-scroll-wrapper::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.v5-scroll-item {
    min-width: 280px;
    background: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    flex-shrink: 0;
}

.v5-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary-color);
    opacity: 0.5;
    display: block;
    margin-bottom: 10px;
}

.v5-scroll-item h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* ================= V5 MASONRY TESTIMONIALS ================= */
.v5-masonry-testimonials {
    padding: 80px 0;
}

.v5-masonry-grid {
    display: column;
    column-count: 1;
    column-gap: 20px;
}

.v5-masonry-item {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    break-inside: avoid;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-left: 4px solid var(--secondary-color);
}

.v5-quote {
    font-style: italic;
    margin-bottom: 15px;
    color: #555;
}

.v5-author {
    font-weight: bold;
    color: var(--dark-color);
}

@media (min-width: 768px) {
    .v5-masonry-grid {
        column-count: 2;
    }
}
@media (min-width: 1024px) {
    .v5-masonry-grid {
        column-count: 3;
    }
}

/* ================= PAGE HEADER (INTERNAL PAGES) ================= */
.v5-page-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.v5-page-header h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin-bottom: 15px;
}

.v5-page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ================= V5 CSS TABS (PROGRAM PAGE) ================= */
.v5-tabs-section {
    padding: 80px 0;
    background: var(--white);
}

.v5-tabs-wrapper {
    display: flex;
    flex-wrap: wrap;
    background: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
}

.v5-tab-input {
    display: none;
}

.v5-tab-label {
    padding: 20px;
    flex: 1;
    text-align: center;
    background: #e9e5dc;
    cursor: pointer;
    font-weight: bold;
    color: var(--dark-color);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.v5-tab-label:hover {
    background: #dfdad0;
}

.v5-tab-content {
    width: 100%;
    padding: 40px;
    display: none;
    background: var(--white);
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#tab1:checked ~ label[for="tab1"],
#tab2:checked ~ label[for="tab2"],
#tab3:checked ~ label[for="tab3"] {
    background: var(--white);
    border-bottom: 3px solid var(--primary-color);
    color: var(--primary-color);
}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3 {
    display: block;
}

.v5-tab-inner-split {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.v5-tab-text h2 {
    color: var(--dark-color);
    margin-bottom: 20px;
}

.v5-tab-text p {
    margin-bottom: 15px;
}

.v5-tab-img img {
    border-radius: 8px;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .v5-tab-inner-split {
        flex-direction: row;
        align-items: center;
    }
    .v5-tab-text {
        flex: 1;
    }
    .v5-tab-img {
        flex: 1;
    }
}
@media (max-width: 600px) {
    .v5-tab-label {
        flex: 100%;
        border-bottom: 1px solid #ccc;
    }
}

/* ================= V5 STATS ================= */
.v5-stats-section {
    padding: 60px 0;
    background-color: var(--dark-color);
    color: var(--white);
}

.v5-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}

.v5-stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.v5-stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (min-width: 768px) {
    .v5-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ================= V5 SIDEBAR CTA ================= */
.v5-sidebar-cta {
    padding: 80px 0;
}

.v5-cta-flex {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-left: 5px solid var(--primary-color);
}

.v5-cta-main h2 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .v5-cta-flex {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .v5-cta-main {
        flex: 0 0 70%;
    }
    .v5-cta-side {
        flex: 0 0 25%;
        text-align: right;
    }
}

/* ================= V5 VERTICAL STORYTELLING (MISSION) ================= */
.v5-story-section {
    padding: 80px 0;
    background: var(--white);
}

.v5-story-row {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
}

.v5-story-row:last-child {
    margin-bottom: 0;
}

.v5-year-badge {
    display: inline-block;
    background: var(--dark-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: bold;
    margin-bottom: 15px;
}

.v5-story-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.v5-story-content p {
    margin-bottom: 15px;
}

.v5-story-image img {
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    width: 100%;
    height: 350px;
    object-fit: cover;
}

@media (min-width: 992px) {
    .v5-story-row {
        flex-direction: row;
        align-items: center;
    }
    .v5-story-reverse {
        flex-direction: row-reverse;
    }
    .v5-story-content, .v5-story-image, .v5-story-empty {
        flex: 1;
    }
    .v5-story-content {
        padding: 0 40px;
    }
}

/* ================= V5 MANIFESTO ================= */
.v5-manifesto-section {
    padding: 80px 0;
    background: var(--light-color);
}

.v5-manifesto-box {
    background: var(--dark-color);
    color: var(--white);
    padding: 50px;
    border-radius: 8px;
    text-align: center;
}

.v5-manifesto-box h2 {
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-size: 2.2rem;
}

.v5-manifesto-list {
    list-style: none;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.v5-manifesto-list li {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
    font-size: 1.1rem;
}

.v5-manifesto-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* ================= V5 CONTACT LAYOUT ================= */
.v5-contact-section {
    padding: 80px 0;
}

.v5-contact-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.v5-info-card {
    background: var(--dark-color);
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
    height: 100%;
}

.v5-info-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.v5-info-card > p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.v5-info-item {
    margin-bottom: 25px;
}

.v5-info-item strong {
    display: block;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.v5-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.v5-form-wrapper h2 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.v5-form-wrapper > p {
    margin-bottom: 30px;
    color: #666;
}

.v5-form-group {
    margin-bottom: 20px;
}

.v5-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.v5-form-group input,
.v5-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.v5-form-group input:focus,
.v5-form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

@media (min-width: 992px) {
    .v5-contact-layout {
        flex-direction: row;
    }
    .v5-contact-sidebar {
        flex: 0 0 35%;
    }
    .v5-contact-main {
        flex: 0 0 65%;
    }
}

/* ================= LEGAL PAGES ================= */
.v5-legal-section {
    padding: 80px 0;
    background: var(--white);
}

.v5-legal-section h1 {
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.v5-legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.v5-legal-content h2 {
    color: var(--primary-color);
    margin: 30px 0 15px;
}

.v5-legal-content p, .v5-legal-content ul {
    margin-bottom: 15px;
}

.v5-legal-content ul {
    padding-left: 20px;
}

/* ================= THANK YOU PAGE ================= */
.v5-thank-section {
    padding: 100px 0;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.v5-thank-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.v5-thank-box h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.v5-thank-box p {
    margin-bottom: 15px;
}

.v5-thank-actions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.v5-action-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* ================= FOOTER (STRICT TEMPLATE) ================= */
.site-footer {
    background-color: #111111 !important;
    color: #ffffff !important;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-info .footer-logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff !important;
}

.footer-info p {
    color: #cccccc !important;
}

.footer-links h4, .footer-legal h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffffff !important;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}

.footer-links a, .footer-legal a {
    color: #cccccc !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover, .footer-legal a:hover {
    color: var(--secondary-color) !important;
}

.disclaimer {
    margin-top: 20px;
    font-size: 12px;
    color: #999999 !important;
    border-top: 1px solid #333333;
    padding-top: 15px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333333;
    color: #999999 !important;
    font-size: 14px;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* ================= 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;
    background-color: var(--dark-color);
    color: var(--white);
    transform: translateY(0); 
    transition: transform 0.4s ease;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}

#cookie-banner.hidden { 
    transform: translateY(110%); 
}

#cookie-banner p { 
    margin: 0; 
    flex: 1; 
    min-width: 200px; 
    font-size: 0.9rem;
}

#cookie-banner a {
    color: var(--secondary-color);
    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: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

.cookie-btn-accept {
    background-color: var(--primary-color);
    color: var(--white);
}

.cookie-btn-accept:hover {
    background-color: #236026;
}

.cookie-btn-decline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.cookie-btn-decline:hover {
    background-color: rgba(255,255,255,0.1);
}

@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; 
    }
}