
/* --- Global Styles & Variables --- */
:root {
    --primary-navy: #091833;
    --secondary-gold: #C5A065;
    --accent-red: #A72A2E;
    --white: #FFFFFF;
    --text-grey: #B0B0B0;
    --bg-light: #F8F9FA;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Loading Animation --- */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-navy);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-container.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(197, 160, 101, 0.3);
    border-top: 5px solid var(--secondary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Animation Classes --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }

/* --- Top Bar --- */
.top-bar {
    background-color: var(--primary-navy);
    color: var(--text-grey);
    padding: 0.8rem 0;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: var(--secondary-gold);
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

/* --- Header & Navigation --- */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: height 0.3s ease;
}

header.scrolled nav {
    height: 75px;
}

.logo img {
    height: 65px;
    width: auto;
    transition: height 0.3s ease;
}

header.scrolled .logo img {
    height: 55px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-red);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-links li a:hover {
    color: var(--accent-red);
}

.btn-donate {
    background-color: var(--accent-red);
    color: var(--white) !important;
    padding: 0.9rem 2rem !important;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-donate:hover {
    background-color: #8a1f22;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(167, 42, 46, 0.3);
}

/* --- Mobile Menu Toggle --- */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-navy);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* --- Page Hero --- */
.page-hero {
    background: linear-gradient(rgba(9, 24, 51, 0.85), rgba(9, 24, 51, 0.85)), 
                url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?q=80&w=2070') center/cover;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(197, 160, 101, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.page-hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--white);
    animation: fadeInUp 1s ease;
}

.page-hero p {
    font-size: 1.3rem;
    color: var(--secondary-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: fadeInUp 1s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- About Content Sections --- */
.about-section {
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--primary-navy);
    position: relative;
    padding-bottom: 1rem;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--secondary-gold);
}

.about-text p {
    margin-bottom: 1.8rem;
    line-height: 1.9;
    color: #555;
    font-size: 1.05rem;
    text-align: justify;
}

.about-image {
    min-height: 450px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(9, 24, 51, 0.3), transparent);
    z-index: 1;
}

/* --- Vision & Mission Section --- */
.vision-mission-section {
    background: var(--bg-light);
    padding: 6rem 0;
    position: relative;
}

.vision-mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-gold), transparent);
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.vm-card {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--secondary-gold);
    transition: width 0.3s ease;
}

.vm-card:nth-child(2)::before {
    background: var(--accent-red);
}

.vm-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.vm-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

.vm-card h2 {
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    position: relative;
    z-index: 1;
}

.vm-card p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* --- Core Values Section --- */
.values-section {
    padding: 6rem 0;
    text-align: center;
    background: white;
}

.values-section h2 {
    font-size: 2.8rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.values-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--secondary-gold);
}

.values-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 4rem;
    margin-top: 1.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-bottom: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-gold));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.value-card:hover {
    transform: translateY(-15px) scale(1.03);
    border-bottom-color: var(--secondary-gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.value-card:hover::before {
    opacity: 1;
}

.value-card i {
    font-size: 2.5rem;
    color: var(--secondary-gold);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.value-card:hover i {
    color: var(--white);
    transform: scale(1.2) rotateY(360deg);
}

.value-card h3 {
    color: var(--primary-navy);
    font-size: 1.4rem;
    margin-top: 1rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.value-card:hover h3 {
    color: var(--white);
}

/* --- Strategic Roadmap Section --- */
.roadmap-section {
    background-color: var(--bg-light);
    padding: 6rem 0;
    overflow: hidden;
}

.roadmap-section h2 {
    font-size: 2.8rem;
    color: var(--primary-navy);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.roadmap-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--secondary-gold);
}

.roadmap-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 4rem;
    margin-top: 1.5rem;
}

.roadmap-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.roadmap-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--secondary-gold);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.roadmap-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.roadmap-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.roadmap-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12px;
    background-color: white;
    border: 4px solid var(--accent-red);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

.phase-content {
    padding: 2rem;
    background-color: white;
    position: relative;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.phase-content:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-xl);
}

.phase-content h3 {
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.phase-content .phase-year {
    color: var(--accent-red);
    font-weight: bold;
    margin-bottom: 1rem;
    display: inline-block;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 32px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 32px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

.right::after {
    left: -12px;
}

/* --- Leadership Spotlight Section --- */
.leadership-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.leadership-section .container {
    text-align: center;
}

.leadership-section h2 {
    font-size: 2.8rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.leadership-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--secondary-gold);
}

.leadership-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 4rem;
    margin-top: 1.5rem;
}

.spotlight-card {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.leader-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--secondary-gold);
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.leader-info h3 {
    font-size: 2rem;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.leader-info .leader-title {
    color: var(--accent-red);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.leader-info p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.leader-quote {
    font-style: italic;
    color: var(--primary-navy);
    font-size: 1.1rem;
    border-left: 4px solid var(--secondary-gold);
    padding-left: 1.5rem;
    margin-top: 1.5rem;
}

/* --- Footer --- */
footer {
    background-color: var(--primary-navy);
    color: var(--text-grey);
    padding-top: 6rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-gold), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-gold);
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 20px;
}

.footer-col ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-gold);
    transition: transform 0.3s ease;
}

.footer-col ul li:hover::before {
    transform: translateX(5px);
}

.footer-col ul li a {
    color: var(--text-grey);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--secondary-gold);
    padding-left: 5px;
}

.footer-bottom {
    padding: 2.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-red);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(167, 42, 46, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-gold);
    transform: translateY(-5px);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .vm-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .spotlight-card {
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .roadmap-timeline::after {
        left: 31px;
    }
    
    .roadmap-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .roadmap-item::before {
        left: 18px;
    }
    
    .left::after, .right::after {
        left: 18px;
    }
    
    .right {
        left: 0%;
    }
    
    .left::before, .right::before {
        left: 60px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        gap: 1.5rem;
        transform: translateY(-20px);
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .nav-links.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav {
        height: 70px;
    }
    
    .logo img {
        height: 50px;
    }
    
    .page-hero {
        height: 40vh;
        min-height: 300px;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
    
    .about-section {
        padding: 4rem 0;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .top-bar .container {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .vm-card {
        padding: 2rem;
    }
    
    .vm-card h2 {
        font-size: 1.5rem;
    }
    
    .values-section h2 {
        font-size: 2rem;
    }
}