/* ============================================= */
/* WILDLIFE SANCTUARY WEBSITE CSS - OPTIMIZED VERSION */
/* ============================================= */

/* ============================================= */
/* 1. CSS RESET & BASE STYLES */
/* ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2d5016;
    --secondary-color: #4a7c3a;
    --accent-color: #8db596;
    --text-dark: #2d3748;
    --text-light: #718096;
    --background: #ffffff;
    --background-alt: #f7fafc;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================= */
/* 2. TYPOGRAPHY & UTILITIES */
/* ============================================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================= */
/* 3. BUTTON STYLES */
/* ============================================= */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-cta {
    padding: 12px 24px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    min-width: max-content;
    border: 2px solid transparent;
}

.btn-cta.btn-primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-cta.btn-primary:hover {
    background: #1f3510;
    border-color: #1f3510;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

.btn-cta.btn-secondary {
    background: #e9b949;
    color: #2d5016;
    border-color: #e9b949;
}

.btn-cta.btn-secondary:hover {
    background: #d4a742;
    border-color: #d4a742;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 185, 73, 0.3);
}

/* ============================================= */
/* 4. HEADER & NAVIGATION - UPDATED FOR RIGHT-SIDE CTA */
/* ============================================= */
.header {
    background: var(--background);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.index-page .header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Navigation Container */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 2rem;
}

/* Left section: Logo */
.nav-brand {
    margin-right: auto;
}

.nav-brand .logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.nav-brand .logo:hover {
    transform: scale(1.05);
}

.nav-brand .logo img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

/* Center section: Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Right section: CTA Buttons */
.nav-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-cta .btn-cta {
    padding: 10px 20px;
    height: 40px;
    font-size: 14px;
    min-width: 130px;
}

.nav-cta .btn-cta.btn-secondary {
    background: #e9b949;
    color: #2d5016;
    border-color: #e9b949;
}

.nav-cta .btn-cta.btn-secondary:hover {
    background: #d4a742;
    border-color: #d4a742;
}

/* Dropdown Menu */
.nav-item-has-children {
    position: relative;
}

.nav-parent {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.nav-item-has-children:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 280px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
    padding: 8px 0;
}

.nav-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.sub-menu li:last-child {
    border-bottom: none;
}

.sub-nav-link {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 400;
}

.sub-nav-link:hover,
.sub-nav-link.active {
    background: #f8f9fa;
    color: var(--primary-color);
    padding-left: 25px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile CTA Buttons */
.mobile-cta {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

.mobile-cta .btn {
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 1.1rem;
}

/* ============================================= */
/* 5. HERO SECTION */
/* ============================================= */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 80vh;
    padding: 100px 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-content {
    padding: 2rem 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Image & Slideshow */
.hero-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Slideshow Controls */
.slideshow-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    z-index: 10;
}

.slide-nav-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.slide-nav-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.slide-indicators {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.5rem;
    border-radius: 25px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(45, 80, 22, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.indicator:hover {
    background: var(--secondary-color);
}

/* Donate Page Slideshow */
.donate-slideshow {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.donate-slideshow .slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 25px 20px 20px;
    text-align: center;
    z-index: 3;
}

.donate-slideshow .slide-caption h3 {
    margin: 0 0 8px 0;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* ============================================= */
/* 6. QUICK FACTS SECTION */
/* ============================================= */
.quick-facts {
    background: var(--background-alt);
    padding: 4rem 0;
}

.quick-facts h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.fact-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.fact-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ============================================= */
/* 7. WELCOME SECTION */
/* ============================================= */
.welcome {
    padding: 4rem 0;
}

.welcome-content h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.welcome-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
}

.feature h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ============================================= */
/* 8. PAGE HERO SECTIONS */
/* ============================================= */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 80px;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ============================================= */
/* 9. CONTENT SECTIONS */
/* ============================================= */
.content-section {
    padding: 4rem 0;
}

/* ============================================= */
/* 10. WILDLIFE PAGE STYLES */
/* ============================================= */
.intro-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}

.intro-text-content {
    flex: 1;
    min-width: 300px;
}

.intro-image {
    flex: 1;
    min-width: 300px;
}

.sanctuary-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Conservation Approach */
.conservation-approach {
    margin: 3rem 0;
    padding: 2rem 0;
}

.conservation-approach h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.approach-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: var(--transition);
    border: 1px solid #e9ecef;
}

.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.approach-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 3px solid var(--primary-color);
}

/* Educational Programs */
.educational-programs {
    margin: 3rem 0;
    padding: 2rem 0;
    background: #f8f9fa;
    border-radius: 12px;
}

.educational-programs h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.program-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: var(--transition);
    border: 1px solid #e9ecef;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.program-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

/* Species Grid */
.species-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.species-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.species-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.species-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.species-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.species-card:hover .species-img {
    transform: scale(1.05);
}

.species-info {
    padding: 1.5rem;
}

.species-facts {
    list-style: none;
    background: var(--background-alt);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.species-facts li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
}

.species-facts li:last-child {
    border-bottom: none;
}

.species-facts strong {
    color: var(--primary-color);
}

/* ============================================= */
/* 11. SERVICES PAGE STYLES */
/* ============================================= */
.service-section {
    margin: 3rem 0;
    padding: 2rem 0;
}

.service-header {
    text-align: center;
    margin-bottom: 2rem;
}

.service-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.service-content.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    min-width: 300px;
}

.service-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.service-img:hover {
    transform: scale(1.02);
}

.service-features {
    flex: 1;
    min-width: 300px;
}

.service-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Activities Grid */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.activity-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.activity-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Activity Preview Images */
.activity-preview-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.activity-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.activity-preview-card:hover .activity-image {
    transform: scale(1.05);
}

/* ============================================= */
/* 12. VISIT US PAGE STYLES */
/* ============================================= */
.visit-section {
    margin: 3rem 0;
    padding: 2rem 0;
}

.visit-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Location & Directions */
.location-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: flex-start;
}

.location-info {
    flex: 1;
    min-width: 300px;
}

.map-container {
    flex: 1;
    min-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

/* Booking Section */
.booking-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.booking-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    transition: var(--transition);
}

.booking-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

/* What to Bring */
.packing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.packing-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.packing-item:hover {
    transform: translateX(5px);
}

/* Visitor Guidelines */
.guidelines {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.guideline-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-top: 4px solid var(--primary-color);
    transition: var(--transition);
}

.guideline-card:hover {
    transform: translateY(-5px);
}

.guideline-card.important {
    border-top-color: #dc3545;
    background: #fff5f5;
}

/* ============================================= */
/* 13. GALLERY PAGE STYLES */
/* ============================================= */
.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.gallery-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-caption {
    padding: 1.5rem;
}

/* Lightbox/Slideshow */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(0,0,0,0.9);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(0,0,0,0.9);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* ============================================= */
/* 14. NEWS PAGE STYLES */
/* ============================================= */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.featured-article {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.featured-article:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.article-content {
    padding: 2rem;
}

.article-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-content {
    padding: 1.5rem;
}

.newsletter-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 3rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 2rem auto 0;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    font-family: inherit;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.category-tag {
    background: var(--background-alt);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* ============================================= */
/* CONTACT PAGE RESPONSIVE FIXES */
/* ============================================= */

/* Contact Layout - Fix for small screens */
.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Contact Form Section */
.contact-form-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Contact Info Section */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Social Links Vertical */
.social-links-vertical {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-links-vertical .social-link {
    display: block;
    padding: 1rem;
    background: var(--background-alt);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

.social-links-vertical .social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.social-links-vertical .social-link span {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.social-links-vertical .social-link small {
    display: block;
    font-size: 0.85rem;
    color: inherit;
    opacity: 0.8;
}

/* Map Placeholder */
.map-placeholder {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.map-placeholder .image-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    padding: 1rem;
    text-align: center;
}

.map-note {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--background-alt);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

/* Quick Contact Section */
.quick-contact-section {
    margin: 4rem 0;
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.quick-contact-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.quick-contact-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quick-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.quick-contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.quick-contact-card p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    flex-grow: 1;
}

.quick-contact-card .btn {
    margin-top: auto;
    min-width: 150px;
}

.quick-contact-card .social-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-contact-card .social-links .btn {
    min-width: 100px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* FAQ Preview */
.faq-preview {
    margin: 4rem 0;
}

.faq-preview h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.faq-grid {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.faq-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Form Styles */
.contact-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

/* Form Success/Error States */
.form-success {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
    display: none;
}

.form-error {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    border: 1px solid #f5c6cb;
    display: none;
}

.form-success.active,
.form-error.active {
    display: block;
}

.form-loading {
    opacity: 0.7;
    pointer-events: none;
}

/* ============================================= */
/* RESPONSIVE DESIGN FOR CONTACT PAGE */
/* ============================================= */
@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info-section {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .contact-info-card {
        flex: 1;
        min-width: 300px;
    }
}

@media (max-width: 768px) {
    .contact-form-section {
        padding: 1.5rem;
    }
    
    .contact-info-section {
        flex-direction: column;
    }
    
    .contact-info-card {
        min-width: 100%;
    }
    
    .quick-contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .quick-contact-card {
        padding: 1.5rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-item {
        padding: 1.25rem;
    }
    
    /* Form adjustments */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.625rem;
        font-size: 0.95rem;
    }
    
    /* Page hero adjustments */
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero p {
        font-size: 1.1rem;
    }
    
    /* Map placeholder */
    .map-placeholder .image-placeholder {
        height: 180px;
        font-size: 0.9rem;
    }
    
    /* Social links in cards */
    .quick-contact-card .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .quick-contact-card .social-links .btn {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .contact-form-section,
    .contact-info-card {
        padding: 1.25rem;
        border-radius: 8px;
    }
    
    .quick-contact-card {
        padding: 1.25rem;
    }
    
    .faq-item {
        padding: 1rem;
    }
    
    .contact-item {
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }
    
    .contact-item h4 {
        font-size: 1rem;
    }
    
    .contact-item p {
        font-size: 0.95rem;
    }
    
    /* Form elements */
    .form-group label {
        font-size: 0.95rem;
    }
    
    .btn-large {
        width: 100%;
        padding: 0.875rem;
    }
    
    /* Social links vertical */
    .social-links-vertical .social-link {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Map placeholder */
    .map-placeholder .image-placeholder {
        height: 150px;
        font-size: 0.85rem;
    }
    
    .map-note {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Page hero */
    .page-hero {
        padding: 100px 0 40px;
    }
    
    .page-hero h1 {
        font-size: 1.75rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .contact-layout {
        gap: 1.5rem;
    }
    
    .contact-form-section {
        padding: 1rem;
    }
    
    .contact-info-card {
        padding: 1rem;
    }
    
    .quick-contact-card {
        padding: 1rem;
    }
    
    .quick-contact-card h3 {
        font-size: 1.1rem;
    }
    
    .quick-contact-card p {
        font-size: 0.9rem;
    }
    
    .quick-contact-card .btn {
        width: 100%;
        min-width: auto;
    }
    
    /* Form */
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    /* FAQ */
    .faq-item h4 {
        font-size: 1rem;
    }
    
    .faq-item p {
        font-size: 0.9rem;
    }
}

/* Fix for form select on iOS */
@media (max-width: 768px) and (-webkit-min-device-pixel-ratio: 0) {
    .form-group select {
        height: 44px; /* Minimum touch target size for iOS */
        font-size: 16px; /* Prevents iOS zoom on focus */
    }
}

/* Print styles */
@media print {
    .contact-form-section,
    .quick-contact-section,
    .faq-preview {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .btn {
        display: none;
    }
    
    .social-links-vertical .social-link {
        background: none;
        border: none;
        padding: 0.25rem 0;
    }
}

/* ============================================= */
/* 16. ABOUT PAGE SPECIFIC STYLES */
/* ============================================= */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Director's Message */
.director-message {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
}

.director-profile {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--primary-color);
}

.director-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--accent-color);
    margin-right: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.director-info h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 700;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.value-card {
    background: var(--background-alt);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Unique Features */
.unique-features {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.feature-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(5px);
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    transition: var(--transition);
}

.gallery-img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Vision Points */
.vision-points {
    margin: 2rem 0;
}

.vision-point {
    background: linear-gradient(135deg, #f8fff8 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.vision-point:hover {
    transform: translateX(10px);
}

/* Mission Quote */
.mission-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary-color);
    padding: 2.5rem;
    margin: 2.5rem 0;
    background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e9 100%);
    border-left: 6px solid var(--primary-color);
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    line-height: 1.6;
}

/* Sidebar Cards */
.sidebar-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.sidebar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.sidebar-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.facts-list {
    list-style: none;
}

.facts-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.facts-list li:last-child {
    border-bottom: none;
}

/* Partners Logos */
.partners-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: var(--background-alt);
    border-radius: 8px;
    transition: var(--transition);
}

.partner-logo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.2);
}

.cta-section h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* ============================================= */
/* 17. DONATION PAGE STYLES */
/* ============================================= */
.donate-page .hero {
    background: linear-gradient(135deg, #f6f7f6 0%, #cafccd 100%);
    color: white;
}

/* Impact Numbers */
.impact-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
    justify-content: center;
}

.impact-number {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    flex: 1;
    min-width: 150px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.impact-number:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.impact-number .number {
    font-size: 2rem;
    font-weight: 700;
    color: #2e7d32;
    display: block;
}

/* Donation Amounts */
.donation-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.btn-amount {
    padding: 8px 16px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-amount:hover,
.btn-amount.active {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.custom-amount {
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    width: 120px;
    transition: var(--transition);
}

.custom-amount:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Investment Options */
.investment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.investment-option {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: var(--transition);
}

.investment-option:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.investment-option h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Quote Block */
.quote-block {
    background: #e8f5e9;
    border-left: 4px solid #2e7d32;
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    border-radius: 4px;
}

/* Imagine List */
.imagine-list {
    list-style-type: none;
    padding-left: 0;
}

.imagine-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 30px;
}

.imagine-list li:before {
    content: "🌿";
    position: absolute;
    left: 0;
}

/* Tables */
.investment-table,
.contribution-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.investment-table th,
.contribution-table th {
    background-color: #2e7d32;
    color: white;
    text-align: left;
    padding: 12px 15px;
}

.investment-table td,
.contribution-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
}

.investment-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.contribution-table tr:nth-child(even) {
    background-color: #f1f8e9;
}

/* ============================================= */
/* 18. BOOKING SYSTEM STYLES */
/* ============================================= */
.booking-wizard {
    max-width: 1000px;
    margin: 0 auto;
}

.wizard-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.wizard-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border);
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--background-alt);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.progress-step.active .step-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.step-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
}

.progress-step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Visit Type Selection */
.visit-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.visit-type-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.visit-type-card:hover,
.visit-type-card.selected {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.type-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Calendar Styles */
.calendar-container {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.calendar-nav {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.calendar-nav:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.9rem;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-weight: 500;
}

.calendar-day:hover:not(.empty):not(.past) {
    background: var(--background-alt);
    border-color: var(--border);
}

.calendar-day.available {
    color: var(--text-dark);
    background: white;
}

.calendar-day.available:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.calendar-day.selected {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.calendar-day.unavailable {
    color: var(--text-light);
    cursor: not-allowed;
    opacity: 0.5;
    text-decoration: line-through;
}

/* Time Selection */
.time-selection {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.time-slots {
    display: grid;
    gap: 1rem;
}

.time-slot {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.time-slot:hover,
.time-slot input:checked + span {
    border-color: var(--primary-color);
    background: var(--background-alt);
}

/* Activities Selection */
.activities-selection {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.checkbox-card {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.checkbox-card:hover,
.checkbox-card input:checked ~ .card-content {
    border-color: var(--primary-color);
    background: var(--background-alt);
}

.price {
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 0.5rem;
    display: block;
}

/* Booking Summary */
.booking-summary {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.summary-details {
    display: grid;
    gap: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.summary-item.total {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
    border-bottom: none;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 2px solid var(--border);
}

.activity-breakdown {
    text-align: right;
    font-size: 0.9em;
}

.activity-breakdown div {
    margin: 2px 0;
    color: #666;
}

/* Payment Options */
.payment-options {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.payment-methods {
    display: grid;
    gap: 1rem;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.payment-option:hover,
.payment-option input:checked + span {
    border-color: var(--primary-color);
    background: var(--background-alt);
}

.terms-agreement {
    background: var(--background-alt);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

/* Wizard Buttons */
.wizard-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

/* Booking Success */
.booking-success {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.success-details {
    background: var(--background-alt);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: left;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================= */
/* 19. FOOTER STYLES */
/* ============================================= */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--background);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    border-radius: 4px;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: white;
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.social-link svg {
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ============================================= */
/* 20. FORM STATES & MESSAGES */
/* ============================================= */
.form-success {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
}

.form-error {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    border: 1px solid #f5c6cb;
}

.form-loading {
    opacity: 0.7;
    pointer-events: none;
}

/* ============================================= */
/* 21. RESPONSIVE DESIGN */
/* ============================================= */
@media (max-width: 1200px) {
    .nav {
        max-width: 100%;
        padding: 1rem;
    }
    
    .nav-cta .btn-cta {
        min-width: 120px;
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .nav-cta .btn-cta {
        min-width: 110px;
        padding: 9px 14px;
        font-size: 12px;
    }
    
    .nav-menu {
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    /* Mobile Menu */
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 2rem;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu li {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
    }
    
    .nav-parent {
        justify-content: space-between;
    }
    
    .nav-cta {
        display: none;
    }
    
    .mobile-cta {
        display: flex;
    }
    
    /* Mobile Dropdown */
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: transparent;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-item-has-children.submenu-open .sub-menu {
        max-height: 500px;
    }
    
    .nav-item-has-children.submenu-open .dropdown-arrow {
        transform: rotate(180deg);
    }
    
    .sub-nav-link {
        padding: 0.75rem 1rem;
        border-bottom: none;
        font-size: 0.95rem;
        color: #666;
    }
    
    /* Hero Section */
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
        gap: 2rem;
        min-height: auto;
    }
    
    .hero-image {
        order: -1;
        height: 300px;
    }
    
    .hero-content {
        order: 2;
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    /* Slideshow */
    .slideshow-container {
        height: 300px;
    }
    
    .slide-caption {
        bottom: 70px;
        padding: 0.8rem;
    }
    
    .slide-caption h3 {
        font-size: 1.3rem;
    }
    
    .slide-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    /* Content Layouts */
    .service-content,
    .service-content.reverse,
    .contact-layout {
        flex-direction: column;
        gap: 2rem;
    }
    
    .location-content {
        flex-direction: column;
    }
    
    .date-selection {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Grids */
    .visit-type-grid,
    .species-grid,
    .gallery-grid,
    .news-grid,
    .featured-grid,
    .booking-options,
    .contact-cards,
    .packing-grid,
    .guidelines,
    .programs-grid,
    .approach-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .activities-grid,
    .facts-grid,
    .welcome-features {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    /* Forms */
    .newsletter-form {
        flex-direction: column;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    /* Booking Wizard */
    .wizard-progress {
        flex-direction: column;
        gap: 1rem;
    }
    
    .wizard-progress::before {
        display: none;
    }
    
    .progress-step {
        flex-direction: row;
        gap: 1rem;
    }
    
    .step-number {
        margin-bottom: 0;
    }
    
    .wizard-buttons {
        flex-direction: column;
    }
    
    .wizard-buttons .btn {
        width: 100%;
    }
    
    /* Success Actions */
    .success-actions,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .success-actions .btn,
    .cta-buttons .btn {
        width: 200px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* About Page */
    .director-profile {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .director-photo {
        margin-right: 0;
        margin-bottom: 0;
        width: 160px;
        height: 160px;
    }
    
    .mission-quote {
        font-size: 1.2rem;
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .cta-section {
        padding: 2rem 1rem;
        margin: 2rem 0;
    }
    
    /* Gallery */
    .gallery-filter {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    
    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Lightbox */
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        width: 35px;
        height: 35px;
        font-size: 20px;
        top: 10px;
        right: 10px;
    }
    
    /* Donate Page */
    .donate-slideshow {
        height: 300px;
    }
    
    .donate-slideshow .slide-caption {
        padding: 20px 15px 15px;
    }
    
    .donate-slideshow .slide-caption h3 {
        font-size: 1.1rem;
    }
    
    .donate-page .slide-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }
    
    .impact-numbers {
        flex-direction: column;
    }
    
    .investment-table,
    .contribution-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    /* Header */
    .nav {
        padding: 0.8rem 1rem;
    }
    
    .nav-brand .logo img {
        max-height: 40px;
        height: 40px;
    }
    
    /* Hero */
    .hero {
        padding: 100px 1rem 1rem;
    }
    
    .hero-image {
        height: 250px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    /* Slideshow */
    .slideshow-controls {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .captions-container {
        order: -1;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .donate-slideshow {
        height: 250px;
    }
    
    .donate-page .slideshow-controls {
        gap: 15px;
    }
    
    .donate-page .slide-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    /* Page Hero */
    .page-hero {
        padding: 100px 0 50px;
    }
    
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
    
    /* Content */
    .content-section {
        padding: 2rem 0;
    }
    
    .service-section,
    .visit-section {
        margin: 2rem 0;
        padding: 1rem 0;
    }
    
    .service-header h2,
    .visit-section h2 {
        font-size: 1.5rem;
    }
    
    /* Cards */
    .species-image,
    .gallery-image,
    .activity-preview-image {
        height: 200px;
    }
    
    .approach-card img {
        width: 70px;
        height: 70px;
    }
    
    .program-icon {
        font-size: 2rem;
    }
    
    .sidebar-card {
        padding: 1.5rem;
    }
    
    .gallery-sidebar .sidebar-images {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-sidebar .sidebar-images img {
        height: 100px;
    }
    
    /* Tables */
    .investment-table th,
    .contribution-table th,
    .investment-table td,
    .contribution-table td {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    
    /* Final Statement */
    .final-statement {
        font-size: 1.1rem;
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
}

/* ============================================= */
/* 22. ANIMATIONS & TRANSITIONS */
/* ============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.director-message,
.gallery-section,
.vision-point,
.species-card,
.service-section,
.activity-card,
.news-card {
    animation: fadeInUp 0.6s ease-out;
}

.vision-point:nth-child(2) { animation-delay: 0.1s; }
.vision-point:nth-child(3) { animation-delay: 0.2s; }
.vision-point:nth-child(4) { animation-delay: 0.3s; }

/* ============================================= */
/* 23. PRINT STYLES */
/* ============================================= */
@media print {
    .header,
    .footer,
    .nav-cta,
    .hero-buttons,
    .cta-buttons,
    .wizard-buttons,
    .booking-cta {
        display: none !important;
    }
    
    .director-message,
    .vision-point,
    .sidebar-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .page-hero {
        background: none;
        color: black;
        padding: 50px 0;
    }
    
    .cta-section {
        background: #f5f5f5;
        color: black;
    }
    
    .contact-info a {
        color: #333;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    .btn {
        border: 1px solid black;
        background: white;
        color: black;
    }
}

/* ============================================= */
/* 24. ACCESSIBILITY & FOCUS STATES */
/* ============================================= */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    z-index: 1001;
    text-decoration: none;
}

.skip-to-content:focus {
    top: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #004400;
        --secondary-color: #006600;
        --accent-color: #008800;
        --text-dark: #000000;
        --text-light: #333333;
        --border: #000000;
    }
    
    .btn-primary,
    .btn-cta.btn-primary {
        border: 2px solid black;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================= */
/* MOBILE MENU STYLES - Add these to existing CSS */
/* ============================================= */

@media (max-width: 768px) {
    /* Hide desktop CTA buttons on mobile */
    .nav-cta {
        display: none;
    }
    
    /* Mobile menu container */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 0;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        z-index: 999;
        display: flex;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    /* CTA buttons at top of mobile menu */
    .mobile-cta-top {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-bottom: 1px solid var(--border);
        margin: 0;
    }
    
    .mobile-cta-top a {
        width: 100%;
        text-align: center;
        padding: 1rem;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 8px;
    }
    
    /* Navigation items */
    .nav-menu > li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        width: 100%;
        border-bottom: none;
    }
    
    .nav-parent {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Mobile submenu */
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: #f8f9fa;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
        border-radius: 0;
        border-left: 3px solid var(--primary-color);
        margin-left: 15px;
    }
    
    .nav-item-has-children.submenu-open .sub-menu {
        max-height: 500px;
        padding: 0.5rem 0;
    }
    
    .sub-nav-link {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        color: #666;
    }
    
    .sub-nav-link:hover,
    .sub-nav-link.active {
        background: #e9ecef;
        color: var(--primary-color);
    }
    
    /* Mobile menu button */
    .mobile-menu-btn {
        display: flex;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .nav-menu {
        top: 70px;
        height: calc(100vh - 70px);
    }
    
    .mobile-cta-top {
        padding: 1rem;
    }
    
    .mobile-cta-top a {
        padding: 0.875rem;
        font-size: 1rem;
    }
    
    .nav-link {
        padding: 1rem;
        font-size: 1rem;
    }
}