
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* THEME VARIABLES */
:root {
    /* Neutral Theme */
    --primary: #697184;        /* Blue-gray - main color */
    --secondary: #B1A6A4;      /* Warm gray - accents */
    --accent: #D8CFD0;         /* Soft light gray - highlights */
    --background-light: #F2F1EF; /* Off-white - main backgrounds */
    --background-alt: #D8CFD0;   /* Soft light gray - alternating sections */
    --text-dark: #413F3D;      /* Dark charcoal - text */
    --text-light: #413F3D;     /* Dark charcoal - inverted for readability */
    --shadow-primary: rgba(105, 113, 132, 0.25);   /* Primary shadow */
    --shadow-secondary: rgba(177, 166, 164, 0.4);  /* Secondary shadow */
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
ul {
    list-style: none;
}
/* ========================================
   SKIP LINK (Accessibility)
   ======================================== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary);
    color: var(--text-light);
    padding: 10px;
    z-index: 1000;
    border-radius: 0 0 4px 4px;
}
.skip-link:focus {
    top: 0;
}
/* ========================================
   MODERN HEADER 
   ======================================== */

.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-logo .logo {
    height: 100%;
    width: auto;
}
/* Navigation – Right Aligned */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 3.2rem;
    font-size: 1.25rem;
    font-weight: 300;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.main-nav a {
    color: var(--text-dark);
    position: relative;
    padding: 0.4rem 0;
}
.main-nav a:hover {
    color: var(--secondary);
}
/* Active page orange underline */
.main-nav a.active::after,
.main-nav a:hover::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}
/* Search Icon – Circle */
.search-icon {
    background: none;
    border: 2px solid var(--secondary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--secondary);
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.35s ease;
    display: grid;
    place-items: center;
}
.search-icon:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    transform: scale(1.12);
}
/* DONATE Button – Exact Match */
.donate-btn {
    background: transparent;
    color: var(--secondary) !important;
    border: 2.5px solid var(--secondary);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.8px;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.donate-btn:hover {
    background: var(--secondary);
    color: var(--text-light) !important;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px var(--shadow-secondary);
}
/* Mobile Hamburger */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}
.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: 0.3s;
}
/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: linear-gradient(135deg, 
var(--primary)
 0%, var(--secondary) 100%);
    color: var(--text-light);
    text-align: center;
    padding: 8rem 2rem 6rem;
    margin-top: 90px; /* offset fixed header */
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}
.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}
.cta-button {
    display: inline-block;
    background: var(--secondary);
    color: var(--text-light);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
}
.cta-button:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* ========================================
   MAIN CONTENT & SECTIONS
   ======================================== */
main {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}
.section {
    background: white;
    padding: 3rem;
    margin-bottom: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.section h2 {
    color: 
var(--primary)
;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}
/* Grids */
.partner-section,
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}
.partner-card,
.program-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    text-align: center;
}
.program-item {
    border-left: 5px solid var(--secondary);
    text-align: left;
}
/* ========================================
   FOOTER
   ======================================== */
footer {
    background: #778899 !important;
    color: var(--text-dark);
    padding: 2rem 2rem 1rem;
    margin-top: 5rem;
    backdrop-filter: blur(10px);
}

footer a {
    color: #ffffff;
}

footer a:hover {
    text-decoration: underline;
}



.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 1rem;
}

.footer-col h3 {
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
    font-weight: 200;
}

.footer-col h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 200;
}

/* All text elements */
.footer-col h3,
.footer-col h4,
.footer-col p,
.footer-col li,
.footer-col span,
.footer-col a,
.social-link,
.footer-bottom {
    color: #ffffff !important;
    font-family: sans-serif;
}

.footer-col p,
.footer-col li,
.footer-col span {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Links */
.footer-col a,
.social-link {
    text-decoration: none;
    font-weight: 00;
    transition: all 0.3s ease;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-link img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.footer-divider {
    border: none;
    border-top: 3px solid var(--accent);
    margin: 2.5rem 0;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
}
/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 991px) {
    .main-nav {
        position: fixed;
        top: 82px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 82px);
        background: #778899;
        transition: left 0.4s ease;
        padding: 3rem 0;
        box-shadow: 2px 0 15px rgba(0,0,0,0.1);
    }
    .main-nav.active {
        left: 0;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }
    .mobile-toggle {
        display: flex;
    }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 2.4rem; }
    .hero p { font-size: 1.1rem; }
    .container { padding: 0 1.5rem; }
    main { padding: 0 1rem; }
    .section { padding: 2rem 1.5rem; }
}
/* Perfectly fitted philosopher portraits */
.philosopher-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    margin: 0 auto 1rem;
    border: 5px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease;
}
.flip-front {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}
.flip-front h3 {
    color: var(--secondary);
    font-size: 1.4rem;
    margin: 0;
    font-weight: 600;
}
/* Optional: subtle zoom on hover before flip */
.flip-container:hover .philosopher-img {
    transform: scale(1.08);
}
.flipper {
    position: relative;
    width: 100%;
    height: 300px; /* ← Changed from 280px → now perfect fit */
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-style: preserve-3d;
}
/* FINAL: Village CTA – edge-to-edge, no gap, smaller buttons */
.village-cta-section {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 68vh;
    min-height: 580px;
    background: url('images/back1.jpg') center center / cover no-repeat scroll;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 0 !important;
    padding: 0;
}

@media (max-width: 768px) {
    .village-cta-section {
        background-attachment: scroll;
        background-size: cover;
        height: 50vh;
        min-height: 400px;
    }
}
.village-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(119, 136, 153, 0.60),
rgba(119, 136, 153, 0.45) 50%,
rgba(119, 136, 153, 0.65));
    z-index: 1;
}
.village-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 2rem;
    max-width: 900px;
}
.village-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 2.2rem;
    line-height: 1.3;
    text-shadow: 0 3px 15px rgba(0,0,0,0.6);
}
.village-buttons {
    display: flex;
    gap: 1.8rem;
    justify-content: center;
    flex-wrap: wrap;
}
.village-btn {
    background: transparent;
    color: white;
    border: 2.5px solid white;
    padding: 0.75rem 2.2rem; /* Much smaller */
    border-radius: 50px;
    font-size: 1rem; /* Smaller font */
    font-weight: 600;
    letter-spacing: 1.2px;
    text-decoration: none;
    min-width: 160px;
    transition: all 0.4s ease;
}
.village-btn:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px var(--shadow-secondary);
}
/* Mobile – perfect on small screens */
@media (max-width: 768px) {
    .village-cta-section { height: 75vh; min-height: 520px; }
    .village-content h2 { font-size: 2.2rem; margin-bottom: 2rem; }
    .village-buttons { flex-direction: column; gap: 1.4rem; }
    .village-btn {
        padding: 0.7rem 1.8rem;
        font-size: 0.95rem;
        min-width: 140px;
    }
}
.donate-btn {
    background: transparent;
    color: white;
    border: 3px solid white;
}
.donate-btn:hover {
    background: #00FFFF;
    border-color: #00FFFF;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.4);
}
.volunteer-btn {
    background: 
var(--secondary)
;
    color: var(--text-light);
    border: 3px solid 
var(--secondary)
;
}
.volunteer-btn:hover {
    background: transparent;
    color: var(--text-light);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-secondary);
}
/* Responsive */
@media (max-width: 768px) {
    .village-content h2 { font-size: 2.8rem; margin-bottom: 2rem; }
    .village-buttons { flex-direction: column; align-items: center; }
    .village-btn { width: 80%; max-width: 300px; }
}
/* FINAL FIX: Make sure main and footer touch perfectly */
main { margin-bottom: 0 !important; padding-bottom: 0 !important; }
footer { margin-top: -1px !important; } /* seals the deal */
/* HEADER: Same beautiful dark background as footer */
.modern-header {
    background: #778899 !important;
    border-bottom: 3px solid var(--accent) !important;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px var(--shadow-primary);
    transition: all 0.4s ease;
}
.modern-header a,
.modern-header .donate-btn,
.main-nav ul li a {
    color: #ffffff !important;
    font-weight: 600;
}
.modern-header .donate-btn {
    background: var(--accent) !important;
    color: var(--text-dark) !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 30px;
    font-size: 0.95rem;
}
.modern-header .donate-btn:hover {
    background: var(--text-light) !important;
    color: var(--primary) !important;
}
.site-logo img { 
    height: 60px !important; 
    width: auto; 
    transition: transform 0.3s ease; 
}
.site-logo img:hover { transform: translateY(-4px); }
@media (max-width: 768px) {
    .site-logo img { height: 90px !important; }
    .modern-header { padding: 0.8rem 0; }
}
/* Logo – 2× larger (as requested) */
.site-logo img {
    height: 60px !important;
    width: auto;
    transition: transform 0.3s ease;
}
.site-logo img:hover { 
    transform: translateY(-4px); 
}
/* Mobile logo – still bigger */
@media (max-width: 768px) {
    .site-logo img { 
        height: 90px !important; 
    }
    .modern-header { 
        padding: 0.8rem 0; 
    }
}

/* Elegant inline header search – matches your dark header */
.header-search {
    position: relative;
}
.modern-header a,
.modern-header .donate-btn,
.main-nav ul li a {
    color: #ffffff !important;
    font-weight: 200;
    font-family: 'Inter', 'Montserrat', sans-serif; /* Add this */
}



.search-form-inline {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.12);
    border-radius: 50px;
    overflow: hidden;
    width: 240px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
}
.search-form-inline:hover,
.search-form-inline:focus-within {
    background: rgba(255,255,255,0.2);
    border-color: var(--secondary);
    box-shadow: 0 0 20px var(--shadow-secondary);
}
.search-form-inline input {
    background: transparent;
    border: none;
    color: white;
    padding: 0.7rem 1rem;
    font-size: 1rem;
    width: 100%;
    outline: none;
}
.search-form-inline input::placeholder {
    color: rgba(255,255,255,0.7);
}
.search-form-inline button {
    background: transparent;
    border: none;
    color: white;
    padding: 0.7rem 1.2rem;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}
.search-form-inline button:hover {
    color: var(--secondary);
    transform: scale(1.15);
}
/* Mobile – smaller */
@media (max-width: 992px) {
    .search-form-inline {
        width: 200px;
    }
}
/* HERO – Moving parallax + 40% smaller fonts */
.parallax-hero {
    position: relative;
    height: 88vh;
    min-height: 620px;
    background: url('images/home.jpg') center center / cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}
.parallax-hero::before {
    content: '';
    position: absolute;
    top: -20%; left: -20%; right: -20%; bottom: -20%;
    background: url('images/home.jpg') center center / cover;
    background-attachment: fixed;
    animation: slowMove 140s linear infinite;
    z-index: 1;
    filter: brightness(0.88) contrast(1.12);
}
@keyframes slowMove {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(4%, 4%); }
    50% { transform: translate(0, 7%); }
    75% { transform: translate(-4%, 2%); }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    /*background: linear-gradient(to bottom,
        rgba(119, 136, 153, 0.50),
rgba(119, 136, 153, 0.35) 50%,
rgba(119, 136, 153, 0.55));*/
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 860px;
    padding: 2rem;
    text-shadow: 0 3px 16px rgba(0,0,0,0.7);
}
/* 40% REDUCED FONT SIZES */
.hero-content h1 {
    font-size: 2.52rem; /* was 4.2rem → now 60% */
    font-weight: 800;
    margin-bottom: 1.2rem;
    line-height: 1.25;
}
.hero-content p {
    font-size: 0.9rem; /* was 1.5rem → now 60% */
    margin-bottom: 1.4rem;
    line-height: 1.7;
}
.hero-highlight {
    font-size: 1.02rem; /* was 1.7rem → now 60% */
    font-weight: 500;
}
.hero-highlight strong {
    color: var(--secondary);
    font-weight: 900;
}
.or-text {
    margin: 0 0.8rem;
    color: var(--secondary);
    font-weight: 600;
}
/* Buttons – also 40% smaller but still bold */
.village-btn {
    padding: 0.6rem 1.8rem; /* reduced */
    font-size: 0.78rem; /* was 1.3rem → now 60% */
    min-width: 132px; /* was 220px → 60% */
    border-width: 2.4px;
    margin: 0.5rem;
}
.hero-donate {
    border-color: white;
    background: rgba(214,158,46,0.12);
}
.hero-donate:hover,
.hero-volunteer:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 14px 36px var(--shadow-secondary);
}
/* Mobile – even cleaner */
@media (max-width: 768px) {
    .parallax-hero { background-attachment: scroll; }
    .parallax-hero::before { animation: none; background-attachment: scroll; }
    .hero-content h1 { font-size: 2.1rem; }
    .hero-content p { font-size: 0.84rem; }
    .hero-highlight { font-size: 0.96rem; }
    .village-btn {
        display: block;
        width: 78%;
        max-width: 260px;
        margin: 0.8rem auto;
        padding: 0.8rem 1.6rem;
        font-size: 0.84rem;
    }
}
/* FINAL INTRO SECTION – Matches your screenshot 100% */
.intro-section {
    background: var(--background-light); /* exact soft pink */
    padding: 5rem 2rem;
    margin: 4rem 0;
}
.intro-container {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}
.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    object-fit: cover;
}
.intro-content {
    padding-left: 1rem;
}
.intro-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1.4rem;
    letter-spacing: -0.5px;
}
.intro-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2rem;
}
/* Learn More Button – exact match */
.learn-more-btn {
    display: inline-block;
    background: var(--primary);
    color: var(--text-light);
    font-weight: 600;
    font-size: .85rem;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px var(--shadow-primary);
}
.learn-more-btn:hover {
    background: var(--secondary);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px var(--shadow-secondary);
}
/* Responsive – perfect on mobile */
@media (max-width: 992px) {
    .intro-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .intro-content { padding-left: 0; }
    .intro-content h4 { font-size: 2rem; }
}
@media (max-width: 576px) {
    .intro-section { padding: 4rem 1.5rem; }
    .intro-content h4 { font-size: 1.8rem; }
    .intro-content p { font-size: 0.8rem; }
    .learn-more-btn { padding: 0.8rem 2rem; font-size: 0.8rem; }
}
        /* Page-specific styles – clean blue theme */
        .about-page { background: #f8fbff; }
       
        .section-divider {
            height: 6px;
            background: linear-gradient(to right, transparent, var(--secondary), transparent);
            margin: 4rem 0;
        }
       
        /* Mission & Vision – alternating layout */
.mv-block {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}
.mv-block:nth-child(odd)  { background: #ffffff; }
.mv-block:nth-child(even) { background: var(--background-alt); }

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.mv-text h2 {
    font-size: 3rem;
    line-height: 1.2;
    color: var(--secondary);                      /* greyish electric cyan – unchanged */
    margin-bottom: 1.5rem;
}

.mv-text h3 {
    font-size: 1.5rem;
    color: var(--primary);                      /* vibrant hot pink instead of gold – perfect pop */
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.mv-text p {
    font-size: 1.2rem;
    color: #0f172a;
    line-height: 1.8;
}

.mv-img img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 15px 40px var(--shadow-secondary);
    transition: transform 0.4s ease;
}

.mv-img img:hover {
    transform: scale(1.03);
}
        /* Flipping Cards for Wisdom Section */
  
.wisdom-section {
    background: var(--secondary);                        /* section background – unchanged */
    padding: 2rem 2rem;
    text-align: center;
}

.wisdom-section h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 4rem;
}

.flip-container {
    perspective: 1000px;
    display: inline-block;
    width: 100%;
}

.flipper {
    position: relative;
    width: 100%;
    height: 280px;
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-style: preserve-3d;
}

.flip-container:hover .flipper {
    transform: rotateY(180deg);
}

.flip-front, .flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.flip-front {
    background: rgba(15, 23, 42, 0.28);        /* soft slate-grey glass – clearly different from the bright cyan section */
    color: white;
    backdrop-filter: blur(10px);
}

.flip-back {
    background: var(--primary);
    color: #ffffff;
    transform: rotateY(180deg);
}

.flip-back h4 { 
    color: #ffffff; 
    margin-bottom: 1rem; 
}

.flip-back p {
    color: #ffffff;
}

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 868px) {
    .mv-grid { grid-template-columns: 1fr; gap: 3rem; }
    .mv-grid:nth-child(even) .mv-text { order: 2; }
    .mv-text h2 { font-size: 2.3rem; text-align: center; }
    .mv-text h3 { text-align: center; }
    .flipper { height: 320px; }
}
/* ========================================
   FOUNDER SECTION STYLES
   ======================================== */
.founder-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 0;
}

.founder-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.founder-image {
    text-align: center;
}

.founder-photo {
    width: 100%;
    max-width: 280px;
    height: 350px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    box-shadow: 0 15px 40px var(--shadow-secondary);
    transition: transform 0.4s ease;
}

.founder-photo:hover {
    transform: scale(1.03);
}

.founder-info {
    padding-top: 1rem;
}

.founder-info h3 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.founder-title {
    font-size: 1.1rem;
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 2rem;
}

.founder-bio {
    max-width: 800px;
}

.founder-bio p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.founder-bio p:last-child {
    margin-bottom: 0;
}

/* Responsive founder section */
@media (max-width: 768px) {
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .founder-photo {
        max-width: 250px;
        height: 300px;
        margin: 0 auto;
    }

    .founder-info h3 {
        font-size: 1.8rem;
    }

    .founder-bio p {
        font-size: 1rem;
        text-align: left;
    }
}
/* ========================================
   MISSION SECTION STYLES
   ======================================== */
.mission-section {
    background: var(--background-light);
    padding: 6rem 2rem;
    margin: 4rem 0;
}

.mission-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: center;
}

.mission-text {
    padding-right: 2rem;
}

.mission-caption {
    margin-bottom: 3rem;
}

.mission-subtitle {
    display: block;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.mission-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.mission-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 2rem;
}

.mission-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary);
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px var(--shadow-primary);
}

.mission-btn:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--shadow-secondary);
}

.mission-image {
    text-align: center;
}

.mission-photo {
    width: 100%;
    max-width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 40px var(--shadow-secondary);
    transition: transform 0.4s ease;
}

.mission-photo:hover {
    transform: scale(1.05);
}

/* Responsive mission section */
@media (max-width: 992px) {
    .mission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .mission-text {
        padding-right: 0;
    }

    .mission-title {
        font-size: 2rem;
    }

    .mission-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .mission-section {
        padding: 4rem 1.5rem;
    }

    .mission-title {
        font-size: 1.8rem;
    }

    .mission-description {
        font-size: 1rem;
    }

    .mission-btn {
        padding: 0.7rem 1.8rem;
        font-size: 0.9rem;
    }
}
/* ========================================
   VISION SECTION STYLES
   ======================================== */
.vision-section {
    background: var(--background-light);
    padding: 6rem 2rem;
    margin: 4rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.vision-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    align-items: center;
}

.vision-image {
    text-align: center;
}

.vision-photo {
    width: 100%;
    max-width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 40px var(--shadow-secondary);
    transition: transform 0.4s ease;
}

.vision-photo:hover {
    transform: scale(1.05);
}

.vision-text {
    padding-left: 2rem;
}

.vision-caption {
    margin-bottom: 3rem;
}

.vision-subtitle {
    display: block;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.vision-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.vision-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
}

/* Responsive vision section */
@media (max-width: 992px) {
    .vision-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .vision-text {
        padding-left: 0;
    }

    .vision-title {
        font-size: 2rem;
    }

    .vision-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .vision-section {
        padding: 4rem 1.5rem;
    }

    .vision-title {
        font-size: 1.8rem;
    }

    .vision-description {
        font-size: 1rem;
    }

    .vision-photo {
        max-width: 280px;
        height: 280px;
    }
}
/* ========================================
   UPDATED CONTACT SECTION STYLES
   ======================================== */
.contact-section {
    padding: 6rem 2rem;
    margin: 4rem 0;
}
.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: left;
}

.contact-form-new {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form-new textarea,
.contact-form-new input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form-new textarea:focus,
.contact-form-new input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.contact-form-new textarea {
    resize: vertical;
    min-height: 140px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form-new button {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: var(--text-light);
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form-new button:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-primary);
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: #6b7280;
    font-size: 0.95rem;
}

.contact-details a {
    text-decoration: none;
    color: inherit;
}

.contact-details a:hover h3 {
    color: var(--primary);
}

/* Responsive contact section */
@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info-section {
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 4rem 1.5rem;
    }

    .contact-header h2 {
        font-size: 2rem;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-info-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .contact-icon {
        align-self: center;
    }
}

/* Return to Top Button */
.return-to-top-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent, #ff6b35);
    color: white;
    border: none;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
}

.return-to-top-btn:hover {
    background: var(--accent-hover, #e55a2b);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.return-to-top-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Mobile responsive for return to top button */
@media (max-width: 768px) {
    .return-to-top-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 15px;
        right: 15px;
    }
}

/* ========================================
   COOKIE NOTIFICATION
   ======================================== */
.cookie-notification {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f5f5f5;
    color: #333;
    padding: 1rem 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-notification.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
    color: #333;
}

.cookie-content p a {
    color: #0070c9;
    text-decoration: none;
}

.cookie-content p a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn.accept {
    background: #e8f5e9;
    color: #2e7d32;
}

.cookie-btn.accept:hover {
    background: #c8e6c9;
}

.cookie-btn.decline {
    background: #f5f5f5;
    color: #9e9e9e;
    border: 1px solid #e0e0e0;
    font-weight: 500;
}

.cookie-btn.decline:hover {
    background: #fafafa;
    color: #757575;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        max-width: 150px;
    }
}

/* ========================================
   EVENTS LOADING - ANIMATED HOURGLASS
   ======================================== */
.events-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    min-height: 400px;
}

.hourglass-container {
    margin-bottom: 2rem;
}

.hourglass {
    position: relative;
    width: 80px;
    height: 120px;
    animation: rotate 3s ease-in-out infinite;
}

@keyframes rotate {
    0%, 10% { transform: rotate(0deg); }
    50%, 60% { transform: rotate(180deg); }
    100% { transform: rotate(180deg); }
}

.hourglass-top,
.hourglass-bottom {
    position: absolute;
    width: 80px;
    height: 60px;
    border: 4px solid var(--primary);
    border-radius: 4px 4px 50% 50% / 4px 4px 80% 80%;
}

.hourglass-top {
    top: 0;
    border-bottom: none;
}

.hourglass-bottom {
    bottom: 0;
    border-top: none;
    transform: rotate(180deg);
}

/* Sand animation */
.sand {
    position: absolute;
    width: 100%;
    background: var(--secondary);
    border-radius: 4px;
}

.sand-top {
    top: 8px;
    height: 45px;
    animation: sandTop 3s ease-in-out infinite;
    clip-path: polygon(20% 0%, 80% 0%, 50% 100%);
}

.sand-bottom {
    bottom: 8px;
    height: 0;
    animation: sandBottom 3s ease-in-out infinite;
    clip-path: polygon(50% 0%, 20% 100%, 80% 100%);
}

@keyframes sandTop {
    0%, 10% { height: 45px; }
    50%, 60% { height: 0; }
    100% { height: 0; }
}

@keyframes sandBottom {
    0%, 10% { height: 0; }
    50%, 60% { height: 45px; }
    100% { height: 45px; }
}

.loading-text {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 500;
    text-align: center;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Responsive */
@media (max-width: 768px) {
    .hourglass {
        width: 60px;
        height: 90px;
    }
    
    .hourglass-top,
    .hourglass-bottom {
        width: 60px;
        height: 45px;
    }
    
    .sand-top {
        height: 34px;
    }
    
    .loading-text {
        font-size: 1.2rem;
    }
}