/* OCF Brand Colors */
:root {
    /* Primary Brand Color - Bright Leaf Green */
    --primary-green: #66FF00;
    --primary-green-dark: #5CE500;
    
    /* Secondary Brand Color - Deep Earth Brown */
    --earth-brown: #8B2E1A;
    --earth-brown-dark: #7A2716;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --dark-gray: #333333;
    --light-gray: #f8f9fa;
    --medium-gray: #e0e0e0;
    
    /* Accent Colors */
    --soft-green: #E9FFE0;
    --light-brown: #F5E9E6;
    
    /* Derived Colors */
    --text-grey: var(--dark-gray);
    --text-black: #000000;
    --light-blue: var(--soft-green);
    --light-orange: var(--light-brown);
    
    /* Gradients */
    --primary-gradient: linear-gradient(90deg, var(--primary-green), var(--primary-green-dark));
    --secondary-gradient: linear-gradient(90deg, var(--earth-brown), var(--earth-brown-dark));
    --green-brown-gradient: linear-gradient(90deg, var(--primary-green), var(--earth-brown));
    
    /* Design Variables */
    --shadow: 0 10px 30px rgba(102, 255, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --border-radius: 12px;
    --section-padding: 100px 0;
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
    color: var(--text-grey);
    overflow-x: hidden;
    background-color: var(--white);
    text-align: left;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-grey);
    text-align: left;
}

p {
    margin-bottom: 1.2rem;
    text-align: left;
    word-spacing: normal;
    letter-spacing: normal;
}

/* Center alignment for specific elements */
.section-title p,
.hero p,
.text-center {
    text-align: center;
}

/* Content paragraphs left-aligned */
.about-text p,
.service-card p,
.value-item p,
.mission-box p,
.vision-box p,
.member-info p,
.contact-info p,
.footer-logo p,
.event-description,
.past-event-description,
.notice-text p,
.modal-content p,
.cookie-text p {
    text-align: left;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: var(--section-padding);
}

/* ===== SECTION TITLE ===== */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    color: var(--text-grey);
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--green-brown-gradient);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-grey);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.4s;
    z-index: -1;
}

.btn:hover:before {
    width: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(102, 255, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(102, 255, 0, 0.4);
}

.btn-secondary {
    background: var(--secondary-gradient);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(139, 46, 26, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(139, 46, 26, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-outline:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-5px);
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--light-gray);
}

.bg-green {
    background-color: var(--soft-green);
}

.bg-brown {
    background-color: var(--light-brown);
}

/* ===== OCF LOGO STYLES ===== */
.ocf-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}

.logo-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.logo-leaf {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50% 50% 0 50%;
    transform: rotate(45deg);
    position: relative;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(102, 255, 0, 0.4);
    animation: leafFloat 3s ease-in-out infinite;
}

@keyframes leafFloat {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(-10px); }
}

.logo-base {
    width: 80px;
    height: 80px;
    background: var(--secondary-gradient);
    clip-path: polygon(0% 0%, 100% 0%, 100% 70%, 50% 100%, 0% 70%);
    position: relative;
    box-shadow: 0 5px 15px rgba(139, 46, 26, 0.4);
    animation: basePulse 2s ease-in-out infinite;
}

@keyframes basePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.logo-text {
    text-align: center;
}

.logo-main {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 4.5rem;
    color: var(--text-grey);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    position: relative;
}

.logo-slogan {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--earth-brown);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
    position: relative;
}

.logo-slogan:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background: var(--green-brown-gradient);
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.logo-url {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-black);
    letter-spacing: 1px;
    margin-top: 10px;
}

/* ===== HEADER STYLES ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(74, 74, 74, 0.1);
    transition: var(--transition);
}

.header-scrolled {
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(74, 74, 74, 0.15);
}

.header-top {
    background: var(--green-brown-gradient);
    color: var(--white);
    padding: 0.8rem 0;
    font-size: 0.9rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-contact-info {
    display: flex;
    gap: 2rem;
}

.header-contact-info i {
    margin-right: 0.5rem;
}

.header-social a {
    margin-left: 1rem;
    color: var(--white);
    font-size: 1.1rem;
}

.header-social a:hover {
    transform: translateY(-3px);
}

.header-main {
    padding: 1.2rem 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-image {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    object-fit: contain;
    background: transparent;
    transition: var(--transition);
    animation: heartbeat 2s infinite alternate;
}

.logo-image:hover {
    transform: scale(1.05) rotate(5deg);
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

/* Navigation */
.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
    color: var(--text-grey);
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--green-brown-gradient);
    bottom: 0;
    left: 0;
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-green);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.donate-btn {
    padding: 12px 28px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--text-grey);
    cursor: pointer;
}

/* ===== HERO SLIDER ===== */
.hero {
    padding-top: 180px;
    padding-bottom: 120px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-height: 700px;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 255, 0, 0.95), rgba(139, 46, 26, 0.9));
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.floating-element {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 2;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.slider-dot.active {
    background: var(--white);
    transform: scale(1.2);
    border-color: var(--earth-brown);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

.slide-counter {
    position: absolute;
    bottom: 40px;
    right: 40px;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 15px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 25px;
    color: var(--white);
    animation: fadeInDown 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transform: perspective(1000px) rotateY(-10deg);
    transition: var(--transition);
    animation: fadeInLeft 1s ease-out;
}

.about-img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    animation: fadeInRight 1s ease-out;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.mission-box, .vision-box {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-top: 5px solid;
    border-image: var(--green-brown-gradient) 1;
    transition: var(--transition);
    animation: fadeInUp 1s ease-out;
}

.mission-box:hover, .vision-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 255, 0, 0.15);
}

.mission-box h3, .vision-box h3 {
    color: var(--text-grey);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== SERVICES/PROGRAMS SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--green-brown-gradient);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(102, 255, 0, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--green-brown-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 2rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
}

/* ===== VALUES SECTION ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.value-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    animation: fadeInUp 1s ease-out;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 255, 0, 0.15);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 1.8rem;
}

/* ===== REPATRIATION SECTION ===== */
.repatriation-section {
    background: linear-gradient(135deg, var(--soft-green), #f0f9ff);
    padding: 80px 0;
}

.repatriation-content {
    max-width: 1000px;
    margin: 0 auto;
}

.repatriation-intro {
    text-align: center;
    margin-bottom: 50px;
}

.repatriation-intro h2 {
    color: var(--earth-brown);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.repatriation-activities {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.activity-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--medium-gray);
}

.activity-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.activity-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.activity-content h3 {
    color: var(--earth-brown);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.partner-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 255, 0, 0.2);
}

.partner-name {
    color: var(--earth-brown);
    font-weight: 600;
    margin-top: 15px;
    font-size: 1.1rem;
}

.impact-section {
    background: linear-gradient(135deg, var(--earth-brown), var(--earth-brown-dark));
    color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    margin-top: 40px;
}

.impact-section h3 {
    color: white;
    margin-bottom: 20px;
}

/* ===== NEWS SECTION ===== */
.news-events {
    background-color: var(--light-gray);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: fadeInUp 1s ease-out;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(102, 255, 0, 0.2);
}

.news-image {
    height: 220px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 25px;
}

.news-date {
    display: inline-block;
    background: var(--soft-green);
    color: var(--primary-green);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.news-content h3 {
    margin-bottom: 15px;
    color: var(--text-grey);
    font-size: 1.4rem;
}

.news-content p {
    margin-bottom: 20px;
    color: var(--text-grey);
    opacity: 0.9;
}

.news-tag {
    display: inline-block;
    background: var(--light-brown);
    color: var(--earth-brown);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 8px;
}

/* ===== EVENTS SECTION ===== */
.events-container {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-top: 40px;
}

.event-item {
    display: flex;
    padding: 25px;
    border-bottom: 1px solid var(--medium-gray);
    transition: var(--transition);
}

.event-item:hover {
    background: rgba(102, 255, 0, 0.05);
    transform: translateX(10px);
}

.event-date {
    width: 80px;
    flex-shrink: 0;
    text-align: center;
    margin-right: 25px;
}

.event-day {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
}

.event-month {
    font-size: 1rem;
    color: var(--earth-brown);
    font-weight: 600;
    text-transform: uppercase;
}

.event-details h3 {
    margin-bottom: 10px;
    color: var(--text-grey);
}

.event-details p {
    margin-bottom: 15px;
    color: var(--text-grey);
    opacity: 0.9;
}

.event-meta {
    display: flex;
    gap: 20px;
    color: var(--earth-brown);
    font-size: 0.9rem;
}

.event-meta i {
    margin-right: 5px;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    background: var(--soft-green);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 250px;
    transition: var(--transition);
    animation: fadeInUp 1s ease-out;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(102, 255, 0, 0.3);
    z-index: 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 15px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 5px;
}

.gallery-caption p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ===== GALLERY MODAL ===== */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2002;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
}

.gallery-modal-content img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
}

.gallery-modal-caption {
    color: white;
    text-align: center;
    margin-top: 20px;
    font-size: 1.2rem;
}

.gallery-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.gallery-modal-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.gallery-modal-prev {
    left: -70px;
}

.gallery-modal-next {
    right: -70px;
}

/* ===== TEAM SECTION ===== */
.team {
    padding: 60px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-member {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 255, 0, 0.15);
}

.member-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    background: #f2f2f2;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info h4 {
    margin-bottom: 5px;
}

.member-role {
    display: block;
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
}

/* ===== CONTACT SECTION ===== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    margin-bottom: 30px;
    font-size: 2rem;
    color: var(--text-grey);
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    background: rgba(102, 255, 0, 0.1);
}

.contact-item i {
    font-size: 1.5rem;
    background: var(--green-brown-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-right: 20px;
    margin-top: 5px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    animation: fadeInRight 1s ease-out;
}

.form-group {
    margin-bottom: 25px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 255, 0, 0.2);
}

textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

/* ===== DONATION MODAL ===== */
.donation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.donation-modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-grey);
}

.modal-close:hover {
    color: var(--earth-brown);
}

.bank-details {
    background: var(--light-gray);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
    display: block;
}

.copy-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: var(--transition);
}

.copy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 255, 0, 0.3);
}

.copy-btn.copied {
    background: var(--green-brown-gradient);
}

.copy-btn.cancel-btn {
    background: var(--secondary-gradient);
    color: white;
}

.copy-btn.cancel-btn:hover {
    background: var(--secondary-gradient);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 46, 26, 0.3);
}

/* ===== POPUP NOTICE ===== */
.popup-notice {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2001;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.popup-notice.active {
    display: flex;
}

.popup-content {
    background: white;
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.popup-header {
    background: var(--green-brown-gradient);
    color: white;
    padding: 25px 30px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    position: relative;
}

.popup-header h3 {
    color: white;
    font-size: 1.8rem;
    margin: 0;
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.popup-body {
    padding: 30px;
}

.notice-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--medium-gray);
}

.notice-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.notice-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.notice-text h4 {
    color: var(--text-grey);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.notice-text p {
    color: var(--text-grey);
    opacity: 0.9;
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.notice-date {
    display: inline-block;
    background: var(--soft-green);
    color: var(--primary-green);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 10px;
}

.popup-footer {
    padding: 20px 30px;
    background: var(--light-gray);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    text-align: center;
    border-top: 1px solid var(--medium-gray);
}

.notice-badge {
    position: fixed;
    top: 120px;
    right: 20px;
    background: var(--green-brown-gradient);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(139, 46, 26, 0.4);
    transition: var(--transition);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

.notice-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(139, 46, 26, 0.5);
}

.notice-badge .badge-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    font-size: 0.7rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--earth-brown);
    color: white;
    padding: 20px;
    z-index: 1002;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-consent.active {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-text a {
    color: var(--primary-green);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.cookie-btn.accept {
    background: var(--primary-gradient);
    color: white;
}

.cookie-btn.decline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn:hover {
    transform: translateY(-3px);
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, var(--earth-brown), #5C1E12);
    color: var(--white);
    padding-top: 80px;
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-logo h2 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.footer-logo p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-links h3, .footer-contact h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a:hover {
    color: var(--primary-green);
    padding-left: 8px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 15px;
    color: var(--primary-green);
    margin-top: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--green-brown-gradient);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* ===== LOADING OVERLAY ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--earth-brown);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-green);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
    }
    
    .gallery-modal-prev {
        left: -50px;
    }
    
    .gallery-modal-next {
        right: -50px;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-title h2 {
        font-size: 2.4rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .gallery-modal-prev {
        left: 10px;
    }
    
    .gallery-modal-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }
    
    .nav-links {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        gap: 25px;
        transition: var(--transition);
        z-index: 999;
        box-shadow: 0 20px 40px rgba(74, 74, 74, 0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding-top: 150px;
        padding-bottom: 80px;
        min-height: 600px;
        height: auto;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .slider-nav.prev {
        left: 15px;
    }
    
    .slider-nav.next {
        right: 15px;
    }
    
    .slider-controls {
        bottom: 20px;
    }
    
    .slide-counter {
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
    }
    
    .slide {
        background-attachment: scroll !important;
    }
    
    .popup-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .popup-body {
        padding: 20px;
    }
    
    .notice-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .notice-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .notice-badge {
        top: auto;
        bottom: 100px;
        right: 20px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-text {
        min-width: 100%;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    section {
        padding: 70px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .event-item {
        flex-direction: column;
    }
    
    .event-date {
        width: 100%;
        text-align: left;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .event-day {
        display: inline-block;
        margin-right: 10px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .gallery-modal-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .logo-text h1 {
        font-size: 1.5rem;
    }
    
    .logo-text p {
        font-size: 0.7rem;
    }
    
    .logo-image {
        width: 50px;
        height: 50px;
    }
    
    .repatriation-activities {
        padding: 20px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btns .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .popup-header {
        padding: 20px;
    }
    
    .popup-header h3 {
        font-size: 1.5rem;
        padding-right: 40px;
    }
    
    .notice-badge {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .service-card, .value-item, .team-member {
        padding: 30px 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .events-container {
        padding: 20px;
    }
    
    .event-item {
        padding: 20px 15px;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .gallery-item {
        height: 150px;
    }
    
    .gallery-caption {
        padding: 10px;
    }
    
    .gallery-caption h4 {
        font-size: 0.9rem;
    }
    
    .gallery-caption p {
        font-size: 0.75rem;
    }
    
    .logo-main {
        font-size: 3rem;
    }
    
    .logo-slogan {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
    
    .logo-visual {
        flex-direction: column;
        gap: 20px;
    }
    
    .logo {
        gap: 10px;
    }
    
    .logo-image {
        width: 45px;
        height: 45px;
    }
    
    .logo-text h1 {
        font-size: 1.3rem;
    }
    
    .repatriation-intro h2 {
        font-size: 2rem;
    }
    
    .activity-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .impact-section {
        padding: 30px 20px;
    }
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--green-brown-gradient);
    color: white;
    padding: 10px;
    z-index: 1001;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 3px solid var(--primary-green);
    outline-offset: 3px;
}

/* ===== ALERT MESSAGES ===== */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}