/* 
   The Banyan Tree Project - Stylesheet
   Design Ethos: Organic, hand-crafted, textile-inspired, premium, and interactive.
*/

:root {
    /* Color Palette */
    --bg-parchment: #FAF7F0;
    --bg-parchment-dark: #F3EFE3;
    --bg-card: #FFFFFF;
    
    --primary-green: #1C3F24;
    --primary-green-light: #32623C;
    --primary-green-dark: #102716;
    
    --terracotta: #C65A3B;
    --terracotta-light: #DC7B5F;
    --terracotta-dark: #A13F24;
    
    --accent-gold: #DF982D;
    --accent-gold-light: #EBB660;
    --accent-crimson: #9B2226;
    
    --text-main: #2D3029;
    --text-muted: #6C7265;
    --text-light: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(28, 63, 36, 0.04);
    --shadow-md: 0 10px 25px rgba(28, 63, 36, 0.08);
    --shadow-lg: 0 20px 40px rgba(28, 63, 36, 0.12);
    --shadow-glass: 0 8px 32px 0 rgba(28, 63, 36, 0.06);
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-parchment);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-green);
    font-weight: 700;
    line-height: 1.25;
}

p {
    font-weight: 300;
    letter-spacing: 0.01em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-parchment-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-green-light);
    border-radius: 5px;
    border: 2px solid var(--bg-parchment-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--terracotta);
}

/* Reusable UI Components */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    background-color: rgba(28, 63, 36, 0.08);
    color: var(--primary-green);
}

.badge-accent {
    background-color: rgba(198, 90, 59, 0.1);
    color: var(--terracotta);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-subtitle {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--terracotta);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-bounce);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--terracotta);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(198, 90, 59, 0.3);
}

.btn-primary:hover {
    background-color: var(--terracotta-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(198, 90, 59, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background-color: var(--primary-green);
    color: var(--text-light);
    transform: translateY(-3px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-text {
    padding: 0;
    background: none;
    color: var(--terracotta);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    border-bottom: 2px dashed var(--terracotta-light);
    border-radius: 0;
}

.btn-text:hover {
    color: var(--terracotta-dark);
    border-bottom-style: solid;
}

/* Header & Navigation */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(250, 247, 240, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(28, 63, 36, 0.06);
    transition: var(--transition-smooth);
}

#site-header.scrolled {
    padding: 5px 0;
    box-shadow: var(--shadow-sm);
    background-color: rgba(250, 247, 240, 0.95);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-bounce);
}

.logo-link:hover .nav-logo {
    transform: rotate(10deg) scale(1.05);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary-green);
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-subtext {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--terracotta);
    margin-top: 2px;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta);
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--terracotta);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.highlight-btn {
    background-color: var(--primary-green);
    color: var(--text-light) !important;
    padding: 10px 20px;
    border-radius: 6px;
    transition: var(--transition-bounce);
}

.highlight-btn:hover {
    background-color: var(--terracotta);
    transform: translateY(-2px);
}

.highlight-btn::after {
    display: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-green);
    cursor: pointer;
    padding: 8px;
}

.menu-icon-close {
    display: none;
}

/* Hero Section */
.hero-section {
    padding-top: 140px;
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(223, 152, 45, 0.05) 0%, rgba(28, 63, 36, 0.02) 50%, rgba(250, 247, 240, 1) 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    padding-bottom: 40px;
}

.hero-title {
    font-size: 3.4rem;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-frame-container {
    position: relative;
    padding: 16px;
    background: var(--bg-card);
    /* Organic card shape mimicking fabric tiles */
    border-radius: 20px 40px 30px 45px / 35px 25px 45px 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(28, 63, 36, 0.04);
    transform: rotate(1deg);
    transition: var(--transition-smooth);
}

.image-frame-container:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 30px 60px rgba(28, 63, 36, 0.15);
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px 30px 20px 35px / 25px 15px 35px 20px;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.image-label {
    position: absolute;
    bottom: -10px;
    right: 30px;
    background: var(--primary-green);
    color: var(--text-light);
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* Timeline Section */
.story-section {
    background-color: var(--bg-parchment-dark);
    position: relative;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: dashed var(--primary-green-light);
    opacity: 0.25;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    position: relative;
    margin-bottom: 80px;
    width: 50%;
}

.timeline-item.right {
    align-self: flex-end;
    margin-left: 50%;
    justify-content: flex-start;
}

.timeline-img-holder {
    position: absolute;
    top: 20px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid var(--bg-card);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    z-index: 10;
    transition: var(--transition-bounce);
}

.timeline-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-img-holder {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.timeline-item:hover .timeline-img-holder img {
    transform: scale(1.15);
}

.timeline-item.left .timeline-img-holder {
    right: -70px;
}

.timeline-item.right .timeline-img-holder {
    left: -70px;
}

.timeline-content {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px 24px 16px 20px / 20px 16px 24px 12px;
    width: calc(100% - 100px);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(28, 63, 36, 0.03);
    position: relative;
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-content {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.timeline-item.left .timeline-content {
    margin-right: 40px;
}

.timeline-item.right .timeline-content {
    margin-left: 40px;
}

.timeline-date {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(198, 90, 59, 0.1);
    color: var(--terracotta);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.timeline-node-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Timeline Item Future (Full Width) */
.timeline-item.full-width {
    width: 100%;
    justify-content: center;
    margin-bottom: 0;
}

.timeline-item.full-width .timeline-content {
    width: 80%;
    margin: 0;
    text-align: center;
    border: 2px solid var(--accent-gold);
    background: radial-gradient(circle at 10% 10%, rgba(223, 152, 45, 0.05) 0%, rgba(255,255,255,1) 100%);
}

.future-vision h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--terracotta);
}

.vision-layout {
    max-width: 650px;
    margin: 0 auto;
}

/* Scroll Animation classes binding with JS */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery & Articles */
.gallery-section {
    background-color: var(--bg-parchment);
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.tab-btn {
    padding: 12px 30px;
    font-family: var(--font-body);
    font-weight: 600;
    background: var(--bg-parchment-dark);
    color: var(--text-muted);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.tab-btn:hover {
    color: var(--primary-green);
    background: rgba(28, 63, 36, 0.06);
}

.tab-btn.active {
    background: var(--primary-green);
    color: var(--text-light);
    box-shadow: var(--shadow-sm);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Photos Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.gallery-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(28, 63, 36, 0.03);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 61, 34, 0.8);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.zoom-icon {
    color: var(--text-light);
    transform: scale(0.6);
    transition: var(--transition-bounce);
}

.gallery-card:hover .gallery-img-wrapper img {
    transform: scale(1.1);
}

.gallery-card:hover .gallery-hover-overlay {
    opacity: 1;
}

.gallery-card:hover .zoom-icon {
    transform: scale(1);
}

.gallery-info {
    padding: 20px;
}

.gallery-info h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.gallery-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Articles Container */
.articles-container {
    max-width: 800px;
    margin: 0 auto;
}

.article-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(28, 63, 36, 0.03);
}

.article-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.article-tag {
    color: var(--terracotta);
    font-weight: 600;
    text-transform: uppercase;
}

.article-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.article-preview p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

/* Testimonials */
.testimonials-section {
    background-color: var(--primary-green);
    color: var(--text-light);
    position: relative;
}

.testimonials-section .section-title {
    color: var(--text-light);
}

.testimonials-section .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

.testimonial-slider-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-frame {
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 60px 40px 40px 40px;
    position: relative;
    box-shadow: var(--shadow-glass);
    backdrop-filter: blur(8px);
}

.quote-icon {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    color: var(--primary-green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.testimonial-slider {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    text-align: center;
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 24px;
    color: #FAF7F0;
}

.testimonial-author {
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--accent-gold);
    letter-spacing: 0.05em;
}

/* Slider Navigation Buttons */
.slider-nav-buttons {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 10px;
    right: 10px;
    transform: translateY(-50%);
    width: calc(100% - 20px);
    pointer-events: none;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    pointer-events: auto;
}

.slider-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-green-dark);
}

/* Slider dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot.active {
    background: var(--accent-gold);
    width: 24px;
    border-radius: 4px;
}

/* Form and Contact */
.join-section {
    background-color: var(--bg-parchment-dark);
}

.join-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.join-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.join-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(28, 63, 36, 0.06);
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--text-main);
}

.contact-item p, .contact-item a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.email-link:hover {
    color: var(--terracotta);
    text-decoration: underline;
}

/* Form Card */
.form-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(28, 63, 36, 0.03);
    transition: var(--transition-smooth);
}

.form-title {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    background-color: var(--bg-parchment);
    border: 1px solid rgba(28, 63, 36, 0.15);
    border-radius: 6px;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--terracotta);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(198, 90, 59, 0.1);
}

/* Form validation styling */
.form-group.error input,
.form-group.error select {
    border-color: var(--accent-crimson);
    background-color: rgba(155, 34, 38, 0.02);
}

.error-msg {
    display: none;
    color: var(--accent-crimson);
    font-size: 0.8rem;
    margin-top: 4px;
}

.form-group.error .error-msg {
    display: block;
    animation: slideDown 0.2s ease;
}

/* Form Success State styling */
.success-state {
    text-align: center;
    padding: 60px 40px;
}

.success-icon-wrapper {
    width: 72px;
    height: 72px;
    background-color: rgba(28, 63, 36, 0.08);
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.success-svg {
    transform: scale(0.8);
    animation: scaleUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.success-message {
    font-size: 1.15rem;
    color: var(--primary-green);
    font-weight: 500;
    margin-bottom: 12px;
}

.success-detail {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Footer styling */
.site-footer {
    background-color: var(--primary-green-dark);
    color: var(--text-light);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    padding: 80px 24px 50px 24px;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-row .logo-text {
    color: var(--text-light);
}

.footer-logo {
    height: 40px;
    border-radius: 50%;
}

.footer-slogan {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-links h4, .footer-contact h4 {
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
    margin: 8px 0;
}

.footer-email:hover {
    color: var(--accent-gold);
}

.footer-location {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.85rem !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

/* Modals (Common overlay) */
.modal-overlay, .lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(16, 39, 22, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

/* Article Modal */
.modal-container {
    background: var(--bg-card);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 16px;
    position: relative;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close, .lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-parchment-dark);
    color: var(--primary-green);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.modal-close:hover, .lightbox-close:hover {
    background: var(--terracotta);
    color: var(--text-light);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
    overflow-y: auto;
}

.modal-title {
    font-size: 2.2rem;
    margin-bottom: 24px;
    margin-top: 8px;
    line-height: 1.2;
}

.modal-scroll-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.7;
}

.paragraph-lead {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--primary-green-light);
}

.modal-image-box {
    margin: 15px 0;
    text-align: center;
    background: var(--bg-parchment-dark);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(28, 63, 36, 0.05);
}

.modal-image-box img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.image-box-caption {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.modal-contact-prompt {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(28, 63, 36, 0.1);
    font-weight: 500;
}

.modal-contact-prompt a {
    color: var(--terracotta);
    text-decoration: underline;
}

/* Lightbox Modal */
.lightbox-container {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    animation: scaleUp 0.3s ease;
}

.lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    object-fit: contain;
}

.lightbox-caption-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px 24px;
    color: var(--text-light);
    width: 100%;
    text-align: center;
}

.lightbox-caption-box h3 {
    color: var(--accent-gold);
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.lightbox-caption-box p {
    font-size: 0.95rem;
    opacity: 0.85;
}

/* Keyframe Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Featured Testimonials Grid */
.featured-testimonials-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 60px 0 36px 0;
    text-align: center;
    justify-content: center;
}

.featured-testimonials-label span {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    opacity: 0.8;
    position: relative;
    padding: 0 24px;
}

.featured-testimonials-label span::before,
.featured-testimonials-label span::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 80px;
    height: 1px;
    background: rgba(255,255,255,0.2);
}

.featured-testimonials-label span::before { right: 100%; }
.featured-testimonials-label span::after  { left: 100%; }

.featured-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

/* Individual featured testimonial card */
.featured-testimonial-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    backdrop-filter: blur(4px);
}

.featured-testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(223, 152, 45, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Card image banner (full-width photo at top for T2, T3) */
.feat-card-img-banner {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.feat-card-img-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: var(--transition-smooth);
}

.featured-testimonial-card:hover .feat-card-img-banner img {
    transform: scale(1.05);
}

/* Card header: author row */
.feat-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px 0 24px;
}

.feat-card-header.no-image {
    padding-top: 28px;
}

/* Author icon for card 1 (no photo) */
.feat-author-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(223, 152, 45, 0.15);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid rgba(223, 152, 45, 0.3);
}

/* Author avatar (photo thumbnail) for T2 */
.feat-author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.feat-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Fallback icon avatar for T3 */
.feat-author-avatar.no-avatar {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feat-author-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2px;
}

.feat-author-role {
    font-size: 0.8rem;
    color: var(--accent-gold);
    font-weight: 500;
}

/* Card body */
.feat-card-body {
    padding: 16px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.feat-quote-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.feat-quote-text p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}

/* Expandable extra paragraphs */
.feat-quote-expandable {
    display: none;
    flex-direction: column;
    gap: 12px;
    animation: fadeIn 0.35s ease;
}

.feat-quote-expandable.expanded {
    display: flex;
}

/* Read more button */
.feat-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 0;
    background: none;
    border: none;
    color: var(--accent-gold);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    align-self: flex-start;
}

.feat-read-more-btn:hover {
    color: var(--accent-gold-light);
    gap: 10px;
}

.expand-arrow {
    transition: transform 0.3s ease;
}

.feat-read-more-btn[aria-expanded="true"] .expand-arrow {
    transform: rotate(180deg);
}

.feat-read-more-btn .btn-label {
    /* label text managed by JS */
}

/* Responsive for featured cards */
@media (max-width: 900px) {
    .featured-testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }
    .feat-card-img-banner {
        height: 240px;
    }
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .section-container {
        padding: 60px 20px;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-description {
        margin: 0 auto 30px auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    .timeline-line {
        left: 30px;
    }
    .timeline-item {
        width: 100%;
        margin-left: 0 !important;
        justify-content: flex-start !important;
        padding-left: 70px;
    }
    .timeline-img-holder {
        left: -15px !important;
        width: 90px;
        height: 90px;
    }
    .timeline-content {
        width: 100% !important;
        margin: 0 !important;
    }
    .join-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* Navbar Toggle functionality */
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--bg-parchment-dark);
        padding: 30px 24px;
        gap: 20px;
        box-shadow: var(--shadow-md);
        border-top: 1px solid rgba(28, 63, 36, 0.05);
    }
    .nav-links.mobile-show {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }
    .menu-toggle[aria-expanded="true"] .menu-icon-open {
        display: none;
    }
    .menu-toggle[aria-expanded="true"] .menu-icon-close {
        display: block;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .testimonial-slider {
        height: 250px;
    }
    .testimonial-quote {
        font-size: 1.25rem;
    }
    .footer-bottom-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-frame {
        padding: 40px 20px 20px 20px;
    }
    .testimonial-slider {
        height: 280px;
    }
    .form-card {
        padding: 24px 16px;
    }
}
