/* CSS Reset and Global Variables */
:root {
    --primary: #0A2540;
    --primary-light: #1D4A7A;
    --secondary: #0077B6;
    --accent: #FF6B35;
    --accent-light: #FF8B35;
    --light: #F8F9FA;
    --light-gray: #E9ECEF;
    --dark: #121A26;
    --text: #2D3748;
    --text-light: #6C757D;
    --success: #1A936F;
    --warning: #FFC107;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 25px 60px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background-color: #ffffff;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    position: relative;
    padding-bottom: 1.5rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--accent), var(--secondary));
    border-radius: 2px;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    /* color: var(--text-light); */
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.section-padding {
    padding: clamp(4rem, 8vw, 8rem) 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.875rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.btn:hover:before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: rgba(10, 37, 64, 0.05);
    transform: translateY(-3px);
}

.btn-outline-light {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.text-center {
    text-align: center;
}

.text-center h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.section-header {
    max-width: 700px;
    margin: 0 auto clamp(3rem, 5vw, 4rem);
    text-align: center;
}

.section-header p {
    font-size: clamp(1rem, 2vw, 1.25rem);
}

/* Header - Premium Fixed Navigation */
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 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    padding: clamp(0.75rem, 2vw, 1rem) 0;
}

.header-scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1rem);
    z-index: 1001;
}

.logo-icon {
    width: clamp(2.5rem, 5vw, 3.125rem);
    height: clamp(2.5rem, 5vw, 3.125rem);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 119, 182, 0.2);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    color: var(--primary);
}

.logo-subtitle {
    font-size: clamp(0.625rem, 1.5vw, 0.75rem);
    color: var(--text-light);
    letter-spacing: 1.5px;
    margin-top: 0.25rem;
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: clamp(0.25rem, 1vw, 0.5rem);
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: clamp(0.5rem, 1vw, 0.75rem) clamp(0.75rem, 1.5vw, 1.25rem);
    font-weight: 600;
    color: var(--primary);
    border-radius: var(--radius);
    transition: var(--transition);
    gap: 0.5rem;
    font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
    white-space: nowrap;
    text-transform: uppercase;
}

.nav-link i {
    font-size: 0.75rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent);
    background-color: rgba(255, 107, 53, 0.05);
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

/* Dropdown Menus */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    padding: 0.75rem 0;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    padding: clamp(0.75rem, 1vw, 0.875rem) clamp(1rem, 1.5vw, 1.5rem);
    color: var(--text);
    transition: var(--transition);
    gap: 0.75rem;
    font-size: 0.875rem;
}

.dropdown-link i {
    font-size: 0.875rem;
    color: var(--secondary);
    width: 1.25rem;
}

.dropdown-link:hover {
    background-color: rgba(0, 119, 182, 0.05);
    color: var(--primary);
    padding-left: 1.875rem;
}

/* Mega Menu */
.mega-dropdown {
    width: min(800px, 90vw);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    padding: clamp(1.5rem, 3vw, 2rem);
    gap: clamp(1.5rem, 3vw, 2rem);
}

.nav-item:hover .mega-dropdown {
    transform: translateX(-50%) translateY(0);
}

.mega-column h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mega-links {
    list-style: none;
}

.mega-links li {
    margin-bottom: 0.75rem;
}

.mega-links a {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--text-light);
    transition: var(--transition);
    gap: 0.75rem;
    font-size: 0.875rem;
}

.mega-links a i {
    font-size: 0.75rem;
    color: var(--accent);
    transition: var(--transition);
}

.mega-links a:hover {
    color: var(--primary);
    padding-left: 0.625rem;
}

.mega-links a:hover i {
    transform: translateX(5px);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1rem);
    margin-left: clamp(1rem, 2vw, 1.25rem);
}

.donate-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    padding: clamp(0.75rem, 1.5vw, 0.875rem) clamp(1.25rem, 2.5vw, 1.75rem);
    border-radius: 50px;
    font-weight: 700;
    font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.25);
    transition: var(--transition);
}

.donate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.35);
}

/* Enhanced Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    z-index: 1001;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background-color: rgba(10, 37, 64, 0.05);
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-nav-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(400px, 85vw);
    height: 100vh;
    background-color: white;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.1);
    padding: 6.25rem 1.5rem 1.5rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: 999;
}

.mobile-nav-container.active {
    right: 0;
}

.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-nav-close:hover {
    background-color: rgba(10, 37, 64, 0.05);
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-item {
    position: relative;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.125rem 1rem;
    font-weight: 600;
    color: var(--primary);
    border-radius: var(--radius);
    transition: var(--transition);
    font-size: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.mobile-nav-link i:first-child {
    margin-right: 0.75rem;
}

.mobile-nav-link i:last-child {
    transition: var(--transition);
}

.mobile-nav-link.active i:last-child {
    transform: rotate(180deg);
}

.mobile-nav-link:hover {
    background-color: rgba(255, 107, 53, 0.05);
}

.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-left: 1rem;
}

.mobile-dropdown.active {
    max-height: 500px;
}

.mobile-dropdown-link {
    display: flex;
    align-items: center;
    padding: 1rem 1rem;
    color: var(--text);
    transition: var(--transition);
    gap: 0.75rem;
    font-size: 0.9375rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-dropdown-link i {
    font-size: 0.875rem;
    color: var(--secondary);
    width: 1.25rem;
}

.mobile-dropdown-link:hover {
    background-color: rgba(0, 119, 182, 0.05);
    color: var(--primary);
    padding-left: 1.5rem;
}

.mobile-nav-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-gray);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: clamp(600px, 100vh, 900px);
    overflow: hidden;
    margin-top: clamp(3.5rem, 7vw, 5rem);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 37, 64, 0.85), rgba(10, 37, 64, 0.9));
    z-index: -1;
}

.slide-content {
    max-width: min(900px, 90vw);
    padding: 0 clamp(1rem, 4vw, 2.5rem);
    color: white;
    text-align: center;
    z-index: 2;
}

.slide-content h1 {
    color: white;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.slide-content p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: clamp(2rem, 4vw, 3rem);
    max-width: min(700px, 90vw);
    margin-left: auto;
    margin-right: auto;
}

.slide-cta {
    display: flex;
    gap: clamp(1rem, 2vw, 1.25rem);
    margin-top: clamp(2rem, 4vw, 3rem);
    justify-content: center;
    flex-wrap: wrap;
}

.slider-nav {
    position: absolute;
    bottom: clamp(2rem, 4vw, 3rem);
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(1rem, 2vw, 1.875rem);
    z-index: 10;
}

.slider-dots {
    display: flex;
    gap: clamp(0.5rem, 1vw, 0.75rem);
}

.slider-dot {
    width: clamp(0.5rem, 1vw, 0.75rem);
    height: clamp(0.5rem, 1vw, 0.75rem);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: white;
    transform: scale(1.2);
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: clamp(2.5rem, 5vw, 3.125rem);
    height: clamp(2.5rem, 5vw, 3.125rem);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: clamp(1rem, 2vw, 1.25rem);
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Stats Overlay */
.stats-overlay {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 3.125rem);
    margin-top: clamp(-4rem, -8vw, -5rem);
    position: relative;
    z-index: 100;
    box-shadow: var(--shadow-xl);
    margin-bottom: clamp(2rem, 4vw, 5rem);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
}

.stat-item {
    text-align: center;
    padding: clamp(1rem, 2vw, 1.25rem);
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: clamp(0.5rem, 1vw, 0.625rem);
    font-family: 'Inter', sans-serif;
    line-height: 1;
}

.stat-label {
    color: var(--text-light);
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 500;
}

/* Programs Section */
.programs-section {
    background-color: var(--light);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.program-card {
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.program-image {
    height: clamp(200px, 30vw, 240px);
    overflow: hidden;
    position: relative;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.program-card:hover .program-image img {
    transform: scale(1.05);
}

.program-overlay {
    position: absolute;
    top: clamp(1rem, 2vw, 1.25rem);
    left: clamp(1rem, 2vw, 1.25rem);
    background: var(--accent);
    color: white;
    padding: clamp(0.5rem, 1vw, 0.625rem) clamp(1rem, 2vw, 1.25rem);
    border-radius: 50px;
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.program-content {
    padding: clamp(1.5rem, 3vw, 2rem);
}

.program-content h3 {
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
    color: var(--primary);
}

.program-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: clamp(1rem, 2vw, 1.25rem);
    padding-top: clamp(1rem, 2vw, 1.25rem);
    border-top: 1px solid var(--light-gray);
}

.program-link {
    color: var(--secondary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
}

.program-link i {
    transition: var(--transition);
}

.program-link:hover i {
    transform: translateX(5px);
}

/* Impact Calculator */
.impact-calculator {
    background: linear-gradient(135deg, var(--secondary), var(--primary-light));
    color: white;
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 4rem);
    margin: clamp(3rem, 6vw, 6rem) auto;
    max-width: min(1000px, 90vw);
    box-shadow: var(--shadow-xl);
}

.calculator-header {
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.calculator-header h2 {
    color: white;
}

.calculator-header h2:after {
    background: linear-gradient(to right, var(--accent), white);
}

.calculator-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(2rem, 4vw, 3rem);
    align-items: center;
}

.calculator-input {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2rem);
}

.donation-amount {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.donation-amount label {
    font-weight: 600;
    font-size: 1.125rem;
    white-space: nowrap;
}

.donation-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    transition: var(--transition);
}

.donation-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.15);
}

.donation-presets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.donation-preset {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.donation-preset:hover,
.donation-preset.active {
    background: var(--accent);
    border-color: var(--accent);
}

.calculator-results {
    background: white;
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2rem);
    color: var(--text);
}

.impact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.impact-item:last-child {
    border-bottom: none;
}

.impact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.25rem;
}

.impact-details h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.impact-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
}

/* Volunteer Section */
.volunteer-section {
    background-color: var(--light);
}

.volunteer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.volunteer-form {
    background: white;
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    border: 2px solid var(--light-gray);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Testimonials Carousel */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

.testimonials-section h2 {
    color: white;
}

.testimonials-section h2:after {
    background: linear-gradient(to right, var(--accent), white);
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    max-width: min(800px, 90vw);
    margin: 0 auto;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    flex: 0 0 100%;
    padding: 2rem;
}

.testimonial-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 3rem);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-style: italic;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: white;
}

.author-role {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Live Campaigns */
.campaigns-section {
    background-color: white;
}

.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.campaign-card {
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.campaign-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.campaign-progress {
    height: 8px;
    background-color: var(--light-gray);
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(to right, var(--secondary), var(--accent));
    border-radius: 4px;
    transition: width 1s ease;
}

.campaign-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.campaign-stat {
    text-align: center;
}

.campaign-stat .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
}

.campaign-stat .label {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Newsletter */
.newsletter {
    background-color: var(--light);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 5rem);
    text-align: center;
    box-shadow: var(--shadow);
    max-width: min(900px, 90vw);
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: clamp(0.75rem, 2vw, 1rem);
    margin-top: clamp(2rem, 4vw, 3rem);
    max-width: min(600px, 90vw);
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 200px;
    padding: clamp(1rem, 2vw, 1.125rem) clamp(1.25rem, 2.5vw, 1.5625rem);
    border-radius: 50px;
    border: 1px solid var(--light-gray);
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    transition: var(--transition);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: clamp(3rem, 6vw, 6.25rem) 0 clamp(2rem, 4vw, 2.5rem);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: clamp(2rem, 4vw, 3.125rem);
    margin-bottom: clamp(3rem, 6vw, 4.375rem);
}

.footer-column h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.125rem);
    margin-bottom: clamp(1.5rem, 3vw, 1.5625rem);
    color: white;
    position: relative;
    padding-bottom: 0.625rem;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2.5rem;
    height: 3px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: clamp(0.5rem, 1vw, 0.75rem);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
}

.footer-links a i {
    font-size: 0.75rem;
    color: var(--accent);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 0.3125rem;
}

.footer-links a:hover i {
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
}

/* Quick Donation Widget */
.quick-donation {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 1.5rem;
    width: min(300px, 90vw);
    transform: translateX(calc(100% + 2rem));
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-donation.show {
    transform: translateX(0);
}

.quick-donation-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.quick-donation-header i {
    color: var(--accent);
    font-size: 1.5rem;
}

.quick-donation-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.donation-amount {
    background: var(--accent);
    border: 2px solid var(--accent-light);
    border-radius: var(--radius);
    padding: 0.75rem;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.donation-amount:hover,
.donation-amount.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.donation-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    text-align: center;
    font-weight: 600;
}

.donation-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
}

.donation-toggle:hover {
    transform: scale(1.1);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

/* Mobile Responsive Design */
@media (max-width: 1024px) {
    .nav-list {
        gap: 0.25rem;
    }

    .nav-link {
        padding: 0.75rem 1rem;
    }

    .mega-dropdown {
        width: min(700px, 90vw);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .main-nav {
        display: none;
    }

    .donation-toggle {
        bottom: 1rem;
        right: 1rem;
        width: 3.5rem;
        height: 3.5rem;
    }

    .quick-donation {
        bottom: 1rem;
        right: 1rem;
        width: calc(100vw - 2rem);
    }

    .scroll-to-top {
        bottom: 5rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }

    .slider-nav {
        bottom: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .slide-cta {
        flex-direction: column;
        width: 100%;
    }

    .slide-cta .btn {
        width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form .btn {
        width: 100%;
    }

    .donation-presets {
        grid-template-columns: repeat(2, 1fr);
    }

    .campaign-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* About Page Hero */
.about-hero {
    padding: clamp(10rem, 15vw, 14rem) 0 clamp(4rem, 8vw, 6rem);
    background: linear-gradient(rgba(10, 37, 64, 0.9), rgba(10, 37, 64, 0.95)), url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: clamp(3.5rem, 7vw, 5rem);
}

.about-hero-content {
    max-width: min(900px, 90vw);
    text-align: center;
    margin: 0 auto;
}

.about-hero h1 {
    color: white;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.about-hero p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* Breadcrumb */
.breadcrumb {
    background-color: var(--light);
    padding: 1.5rem 0;
    margin-bottom: 2rem;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.breadcrumb-nav a {
    color: var(--primary);
    transition: var(--transition);
}

.breadcrumb-nav a:hover {
    color: var(--accent);
}

.breadcrumb-nav i {
    font-size: 0.75rem;
}

/* Mission Vision Values */
.mission-section {
    background-color: var(--light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin-top: clamp(3rem, 5vw, 4rem);
}

.value-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 3rem);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.25);
}

.value-card h3 {
    margin-bottom: 1rem;
}

/* Timeline */
.timeline-section {
    position: relative;
    padding: clamp(4rem, 8vw, 8rem) 0;
}

.timeline-section:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--secondary), var(--accent));
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem 4rem;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}


.timeline-dot {
    position: absolute;
    top: 2.5rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 8px rgba(255, 107, 53, 0.2);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.timeline-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    margin-bottom: 1rem;
}

/* Team Section */
.team-section {
    background-color: var(--light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.team-card {
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-social {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.team-social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.team-social-link:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.team-content {
    padding: 2rem;
}

.team-role {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Stats Counter */
.stats-counter {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: clamp(4rem, 8vw, 8rem) 0;
}

.stats-counter h2 {
    color: white;
}

.stats-counter h2:after {
    background: linear-gradient(to right, var(--accent), white);
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: clamp(2rem, 4vw, 3rem);
    margin-top: clamp(3rem, 5vw, 4rem);
}

.counter-item {
    text-align: center;
}

.counter-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    line-height: 1;
}

.counter-symbol {
    font-size: 2rem;
    color: var(--accent);
    margin-left: 0.25rem;
}

.counter-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 500;
}

/* Transparency Section */
.transparency-section {
    background-color: white;
}

.transparency-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.transparency-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.badge-item {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    width: 100%;
    max-width: 300px;
    box-shadow: var(--shadow);
}

.badge-item img {
    max-width: 180px;
    height: auto;
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
    background-color: var(--light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item.active {
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    padding: 0 2rem 2rem;
    max-height: 500px;
}

/* Contact Page Specific Styles */

/* Contact Hero */
.contact-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: clamp(8rem, 15vw, 12rem) 0 clamp(4rem, 8vw, 6rem);
    margin-top: clamp(3.5rem, 7vw, 5rem);
    text-align: center;
}

.contact-hero h1 {
    color: white;
    margin-bottom: 1rem;
}

.contact-hero p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    font-size: clamp(1rem, 2vw, 1.25rem);
}

/* Contact Content */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(2rem, 4vw, 4rem);
    margin-bottom: 4rem;
}

.contact-info-card {
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: clamp(2rem, 4vw, 3rem);
    height: fit-content;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light-gray);
}

.contact-info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: var(--text);
    word-break: break-all;
}

.contact-details a {
    color: var(--secondary);
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--accent);
}

/* Contact Form */
.contact-form {
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: clamp(2rem, 4vw, 3rem);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    border: 2px solid var(--light-gray);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Global Offices */
.global-offices {
    background-color: var(--light);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 3rem);
    margin: 4rem 0;
}

.global-offices h2 {
    margin-bottom: 2rem;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 2rem;
}

.office-card {
    background-color: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.office-card h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.office-card p {
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.office-card i {
    color: var(--accent);
    margin-right: 0.5rem;
    width: 1rem;
}

/* Get Involved Hero */
.involved-hero {
    background: linear-gradient(135deg, var(--secondary), var(--primary-light));
    color: white;
    padding: clamp(8rem, 15vw, 12rem) 0 clamp(4rem, 8vw, 6rem);
    margin-top: clamp(3.5rem, 7vw, 5rem);
    text-align: center;
}

.involved-hero h1 {
    color: white;
    margin-bottom: 1rem;
}

.involved-hero p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    font-size: clamp(1rem, 2vw, 1.25rem);
}

/* Ways to Get Involved */
.ways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 4rem;
}

.way-card {
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    text-align: center;
    padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2rem);
}

.way-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.way-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.way-card:hover .way-icon {
    transform: scale(1.1) rotate(5deg);
}

.way-card h3 {
    margin-bottom: 1rem;
}

/* Donation Options */
.donation-options {
    background-color: var(--light);
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
}

.option-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.option-card.featured {
    border: 3px solid var(--accent);
    position: relative;
}

.featured-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
}

.option-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.option-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 1rem 0;
    font-family: 'Inter', sans-serif;
}

.option-price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.option-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.option-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.option-features i {
    color: var(--success);
}

/* Volunteer Opportunities */
.volunteer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
}

.volunteer-role {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2rem);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.volunteer-role:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.role-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.role-tag {
    background-color: var(--light);
    color: var(--text-light);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.role-tag.location {
    background-color: rgba(0, 119, 182, 0.1);
    color: var(--secondary);
}

.role-tag.time {
    background-color: rgba(255, 107, 53, 0.1);
    color: var(--accent);
}

/* Fundraising Section */
.fundraising-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.fundraising-section h2,
.fundraising-section h3 {
    color: white;
}

.fundraising-section h2:after {
    background: linear-gradient(to right, var(--accent), white);
}

.fundraising-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.fundraising-step {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-number {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

/* Corporate Partnerships */
.partnership-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.partnership-tier {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    border: 2px solid var(--light-gray);
    transition: var(--transition);
}

.partnership-tier.featured {
    border-color: var(--accent);
    transform: scale(1.05);
}

.tier-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.tier-benefits {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.tier-benefits li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.tier-benefits li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Advocacy Section */
.advocacy-section {
    background-color: var(--light);
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.advocacy-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advocacy-action {
    background-color: white;
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.advocacy-action:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

/* Application Forms */
.application-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.application-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.application-tab {
    padding: 1rem 1.5rem;
    background-color: var(--light);
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.application-tab.active {
    background-color: var(--accent);
    color: white;
}

.application-tab:hover:not(.active) {
    background-color: rgba(255, 107, 53, 0.1);
    border-color: var(--accent);
}

.application-form {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: var(--shadow);
    display: none;
}

.application-form.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Legal Hero */
.legal-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: clamp(8rem, 15vw, 12rem) 0 clamp(4rem, 8vw, 6rem);
    margin-top: clamp(3.5rem, 7vw, 5rem);
    text-align: center;
}

.legal-hero h1 {
    color: white;
    margin-bottom: 1rem;
}

.legal-hero p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    font-size: clamp(1rem, 2vw, 1.25rem);
}

/* Legal Content Layout */
.legal-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    margin: 4rem 0;
}

/* Legal Sidebar */
.legal-sidebar {
    position: sticky;
    top: clamp(8rem, 15vw, 12rem);
    align-self: start;
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: fit-content;
}

.legal-nav {
    list-style: none;
}

.legal-nav-item {
    margin-bottom: 0.5rem;
}

.legal-nav-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    color: var(--text);
    border-radius: var(--radius);
    transition: var(--transition);
    font-weight: 500;
    gap: 0.75rem;
    border-left: 4px solid transparent;
}

.legal-nav-link i {
    font-size: 1rem;
    color: var(--accent);
    width: 1.5rem;
}

.legal-nav-link:hover,
.legal-nav-link.active {
    background-color: rgba(0, 119, 182, 0.05);
    color: var(--primary);
    border-left-color: var(--accent);
}

.legal-nav-link.active {
    font-weight: 600;
}

/* Legal Content */
.legal-content {
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: clamp(2rem, 4vw, 4rem);
}

.legal-section {
    margin-bottom: 4rem;
    scroll-margin-top: 2rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-gray);
}

.legal-section h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.legal-section p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.legal-section ul,
.legal-section ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.75rem;
    color: var(--text);
    line-height: 1.6;
}

.legal-section strong {
    color: var(--primary);
    font-weight: 600;
}

.legal-highlight {
    background-color: rgba(255, 107, 53, 0.1);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 2rem 0;
}

.legal-highlight p {
    margin-bottom: 0;
    color: var(--primary);
    font-weight: 500;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.legal-table th,
.legal-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.legal-table th {
    background-color: var(--light);
    color: var(--primary);
    font-weight: 600;
}

.legal-table tr:hover {
    background-color: rgba(0, 119, 182, 0.02);
}

/* Document Info */
.document-info {
    background-color: var(--light);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-top: 3rem;
    border-left: 4px solid var(--secondary);
}

.document-info p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Mobile Legal Selector */
.legal-mobile-selector {
    display: none;
    margin-bottom: 2rem;
}

.legal-select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary);
    background-color: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230A2540' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 16px;
}

.legal-select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

/* Our Work Hero */
.work-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: clamp(8rem, 15vw, 12rem) 0 clamp(4rem, 8vw, 6rem);
    margin-top: clamp(3.5rem, 7vw, 5rem);
    text-align: center;
}

.work-hero h1 {
    color: white;
    margin-bottom: 1rem;
}

.work-hero p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    font-size: clamp(1rem, 2vw, 1.25rem);
}

/* Program Navigation */
.program-nav {
    background-color: var(--light);
    padding: 2rem 0;
    position: sticky;
    top: clamp(3.5rem, 7vw, 5rem);
    z-index: 100;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.program-nav-list {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.program-nav-item {
    position: relative;
}

.program-nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: var(--primary);
    border-radius: 50px;
    transition: var(--transition);
    gap: 0.75rem;
    font-size: 0.9375rem;
    background-color: white;
    box-shadow: var(--shadow-sm);
}

.program-nav-link i {
    font-size: 1rem;
}

.program-nav-link:hover,
.program-nav-link.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Program Sections */
.program-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
    border-bottom: 1px solid var(--light-gray);
}

.program-section:last-child {
    border-bottom: none;
}

.program-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    margin-bottom: 3rem;
}

.program-stats {
    background-color: var(--light);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 3rem);
}

.program-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.program-stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.program-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.program-stat-number {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    line-height: 1;
}

.program-stat-label {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
}

.program-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.program-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.program-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.program-feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.program-feature-content h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

/* Approach Section */
.approach-section {
    background-color: var(--light);
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
}

.approach-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.approach-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.approach-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Impact Timeline */
.timeline-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent), var(--secondary));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 2rem;
}

.timeline-content {
    background-color: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    position: relative;
}

.timeline-item:before {
    content: '';
    position: absolute;
    top: 1.5rem;
    right: -0.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: var(--accent);
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--accent);
}

.timeline-item:nth-child(even):before {
    right: auto;
    left: -0.5rem;
}

.timeline-year {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Geographic Reach */
.map-section {
    background-color: var(--light);
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.region-card {
    background-color: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.region-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.region-flag {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid var(--light-gray);
}

.region-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Minor additions to keep event cards consistent */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin-top: 2rem;
}

.event-card {
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.event-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-date {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.event-content {
    padding: clamp(1.5rem, 3vw, 2rem);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-content h3 {
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    color: var(--text-light);
    font-size: 0.9375rem;
    flex-wrap: wrap;
}

.event-meta i {
    color: var(--secondary);
    width: 1.25rem;
}

.event-description {
    margin-bottom: 1.5rem;
    color: var(--text);
    line-height: 1.6;
    flex: 1;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
}

.event-tag {
    background-color: rgba(255, 107, 53, 0.1);
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Filter tabs */
.event-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.event-tab {
    padding: 0.75rem 2rem;
    background-color: var(--light);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.event-tab.active {
    background-color: var(--accent);
    color: white;
}

.event-tab:hover:not(.active) {
    background-color: rgba(255, 107, 53, 0.1);
    border-color: var(--accent);
}

.events-section {
    display: none;
}

.events-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA banner */
.event-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 4rem);
    text-align: center;
    margin-top: 3rem;
}

.event-cta h2 {
    color: white;
}

.event-cta h2:after {
    background: linear-gradient(to right, var(--accent), white);
    left: 50%;
    transform: translateX(-50%);
}

/* Additional styles for event details page */
.event-detail-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: clamp(3.5rem, 7vw, 5rem);
}

.event-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 37, 64, 0.7), rgba(10, 37, 64, 0.9));
}

.event-detail-hero .container {
    position: relative;
    z-index: 2;
}

.event-detail-hero h1 {
    color: white;
    margin-bottom: 1rem;
}

.event-detail-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 1.125rem;
}

.event-detail-meta i {
    color: var(--accent);
    margin-right: 0.5rem;
}

.event-detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    margin: 3rem 0;
}

.event-description {
    background: white;
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: var(--shadow);
}

.event-description h2 {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.event-description h2:first-child {
    margin-top: 0;
}

.event-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2rem);
    box-shadow: var(--shadow);
}

.sidebar-card h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--light-gray);
}

.detail-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.detail-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1rem;
}

.detail-content h4 {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.detail-content p {
    margin-bottom: 0;
    font-size: 0.9375rem;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.share-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.map-placeholder {
    width: 100%;
    height: 200px;
    background: var(--light-gray);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    margin: 1rem 0;
}

.registration-form .form-group {
    margin-bottom: 1rem;
}

.registration-form input,
.registration-form select {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
}

.registration-form input:focus {
    outline: none;
    border-color: var(--secondary);
}

.related-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.related-event-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.related-event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.related-event-image {
    height: 180px;
    overflow: hidden;
}

.related-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.related-event-card:hover .related-event-image img {
    transform: scale(1.05);
}

.related-event-content {
    padding: 1.5rem;
}

.related-event-content h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.related-event-meta {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.related-event-meta i {
    margin-right: 0.25rem;
    color: var(--accent);
}

@media (max-width: 768px) {
    .event-detail-layout {
        grid-template-columns: 1fr;
    }

    .event-detail-hero {
        height: 50vh;
    }
}

/* Gallery specific styles */
.gallery-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: clamp(6rem, 12vw, 8rem) 0 clamp(3rem, 6vw, 4rem);
    margin-top: clamp(3.5rem, 7vw, 5rem);
    text-align: center;
}

.gallery-hero h1 {
    color: white;
    margin-bottom: 1rem;
}

.gallery-hero p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* Filter buttons */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 3rem 0 2rem;
}

.filter-btn {
    padding: 0.75rem 1.75rem;
    background-color: var(--light);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--accent);
    color: white;
    transform: translateY(-2px);
}

/* Gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10, 37, 64, 0.9));
    color: white;
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h4 {
    color: white;
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.gallery-caption p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Load More button */
.load-more-container {
    text-align: center;
    margin: 2rem 0 4rem;
}

.load-more-btn {
    padding: 1rem 3rem;
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.load-more-btn:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    width: auto;
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
}

.lightbox-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.lightbox-caption {
    position: absolute;
    bottom: -3rem;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 1rem;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.lightbox-nav button {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav button:hover {
    background: var(--accent);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .lightbox-nav button {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }
}

.fundraise-contact-strip {
    background-color: var(--primary);
    color: white;
    padding: 0.75rem 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 1001;
}

.contact-strip-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-strip-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-strip-item i {
    color: var(--accent);
}

.info-pack-banner {
    background-color: var(--light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    border-left: 6px solid var(--accent);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.info-pack-message {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary);
    flex: 1;
}

.info-pack-message i {
    color: var(--accent);
    margin-right: 0.75rem;
}

.close-mock {
    color: var(--text-light);
    font-size: 1.75rem;
    line-height: 1;
    cursor: default;
    opacity: 0.7;
    transition: var(--transition);
}

.close-mock:hover {
    opacity: 1;
    color: var(--accent);
}

.countdown-widget {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    padding: 2rem;
    color: white;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.countdown-display {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
    margin: 1rem 0 0.5rem;
}

.countdown-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

.time-unit {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 0.25rem 0.75rem;
    margin: 0 0.25rem;
    font-weight: 600;
}

/* additional minor adjustments */
.footer-contact-inline {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-inline i {
    width: 1.5rem;
    color: var(--accent);
}

.funding-timer {
    background: var(--primary);
    color: white;
    padding: 2rem 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-xl);
    max-width: 400px;
    margin: 3rem auto;
}

.funding-timer .timer-digits {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.funding-timer .timer-unit {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
    opacity: 0.9;
}

.funding-timer .timer-extra {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.7;
}

/* quick contact strip */
.contact-strip {
    background-color: var(--light);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem auto 1rem;
    max-width: 900px;
}

.contact-strip i {
    color: var(--accent);
    margin-right: 0.5rem;
    width: 1.25rem;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.section-padding {
    padding: clamp(4rem, 8vw, 8rem) 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.875rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(10, 37, 64, 0.05);
    transform: translateY(-3px);
}

/* Header styles (simplified for demo, assumes header from original) */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.logo-text {
    line-height: 1;
}

.logo-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-cta {
    display: flex;
    gap: 1rem;
}

.donate-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 700;
}

/* Breadcrumb */
.breadcrumb {
    background-color: var(--light);
    padding: 1rem 0;
    margin-top: 5rem;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.breadcrumb-nav a {
    color: var(--primary);
}

.breadcrumb-nav a:hover {
    color: var(--accent);
}

/* Cards, lists, contact items */
.contact-info-card,
.criteria-card,
.partner-card,
.emergency-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: clamp(2rem, 4vw, 3rem);
    height: fit-content;
}

.criteria-list {
    list-style: none;
}

.criteria-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    font-weight: 500;
}

.criteria-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 1.25rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.contact-details p {
    margin-bottom: 0.25rem;
    word-break: break-word;
}

.contact-details a {
    color: var(--secondary);
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--accent);
}

.legal-highlight {
    background-color: rgba(255, 107, 53, 0.1);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 2rem 0;
}

.legal-highlight p {
    margin-bottom: 0;
    color: var(--primary);
    font-weight: 500;
}

.timer-widget {
    background: var(--light);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
}

.timer-unit {
    text-align: center;
}

.timer-unit .value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.timer-unit .label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.mt-4 {
    margin-top: 3rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.text-center {
    text-align: center;
}

.footer-credit {
    background-color: var(--primary);
    color: white;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* responsive */
@media (max-width: 768px) {
    .timer-widget {
        flex-direction: column;
        gap: 1rem;
    }
}

.about-hero {
    padding: clamp(10rem, 15vw, 14rem) 0 clamp(4rem, 8vw, 6rem);
    background: linear-gradient(rgba(10, 37, 64, 0.9), rgba(10, 37, 64, 0.95)), url('...');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: clamp(3.5rem, 7vw, 5rem);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.blog-meta i {
    color: var(--accent);
    margin-right: 0.25rem;
}

.blog-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blog-excerpt {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.blog-link {
    color: var(--secondary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-link {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light);
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.page-link.active,
.page-link:hover {
    background: var(--accent);
    color: white;
}

.sidebar {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--light-gray);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    color: var(--text);
    display: flex;
    justify-content: space-between;
    transition: var(--transition);
}

.category-list a:hover {
    color: var(--accent);
    padding-left: 0.5rem;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--light);
    color: var(--primary);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.tag:hover {
    background: var(--accent);
    color: white;
}

.search-form {
    display: flex;
}

.search-input {
    flex: 1;
    padding: 0.875rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius) 0 0 var(--radius);
    font-family: 'Inter', sans-serif;
}

.search-btn {
    background: var(--primary);
    color: white;
    padding: 0 1.25rem;
    border: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
}

@media (max-width:768px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

/* hero for detail page */
.blog-detail-hero {
    background: linear-gradient(rgba(10, 37, 64, 0.85), rgba(10, 37, 64, 0.9)), url('https://images.unsplash.com/photo-1488521787991-0c7a7c2e50c2?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    margin-top: 5rem;
    padding: 4rem 0;
    color: white;
    text-align: center;
}

.blog-detail-hero h1 {
    color: white;
    margin-bottom: 1rem;
}

.blog-detail-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.9);
}

.blog-detail-meta i {
    margin-right: 0.5rem;
    color: var(--accent);
}

.breadcrumb {
    background-color: var(--light);
    padding: 1.5rem 0;
    margin-bottom: 2rem;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.breadcrumb-nav a {
    color: var(--primary);
}

/* layout */
.detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
    align-items: start;
}

.article-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.article-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content blockquote {
    background: var(--light);
    padding: 1.5rem;
    border-left: 5px solid var(--accent);
    font-style: italic;
    margin: 2rem 0;
    border-radius: var(--radius-sm);
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
    margin: 2rem 0;
}

.share-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--accent);
    color: white;
}

.author-box {
    display: flex;
    gap: 1.5rem;
    background: var(--light);
    border-radius: var(--radius);
    padding: 2rem;
    margin: 2rem 0;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comments-section {
    margin-top: 3rem;
}

.comment {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content p {
    margin-bottom: 0.5rem;
}

.comment-meta {
    color: var(--text-light);
    font-size: 0.875rem;
}

.reply-link {
    color: var(--secondary);
    font-weight: 600;
}

@media (max-width:768px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .detail-layout {
        grid-template-columns: 1fr;
    }
}

/* misc */
.download-section {
    background-color: var(--light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    margin: 3rem 0;
}

.download-section .btn {
    margin-top: 1rem;
}

hr {
    border: none;
    border-top: 2px solid var(--light-gray);
    margin: 2rem 0;
}

.toc ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5rem;
}

.toc ul ul {
    padding-left: 1.25rem;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.toc li {
    margin-bottom: 0.4rem;
}

.toc a {
    color: var(--secondary);
    font-size: 0.95rem;
    border-bottom: 1px dotted transparent;
}

.toc a:hover {
    border-bottom-color: var(--accent);
    color: var(--accent);
}

/* Collapsible TOC */
.toc-widget {
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 1rem;
}

.toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.toc-toggle {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.toc-toggle i {
    transition: transform 0.3s ease;
}

.toc-widget.collapsed .toc-toggle i {
    transform: rotate(180deg);
    /* chevron points down when collapsed */
}

.toc-widget.collapsed .toc-collapsible {
    display: none;
}

.toc-collapsible {
    transition: max-height 0.3s ease;
    overflow: hidden;
}

/* Blog pagination */
.blog-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem 0 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-gray);
}

.prev-post,
.next-post {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 45%;
    color: var(--primary);
    transition: var(--transition);
    text-decoration: none;
}

.prev-post:hover,
.next-post:hover {
    color: var(--accent);
}

.prev-post i,
.next-post i {
    font-size: 1.25rem;
    color: var(--secondary);
    transition: var(--transition);
}

.prev-post:hover i,
.next-post:hover i {
    color: var(--accent);
    transform: translateX(-3px);
}

.next-post:hover i {
    transform: translateX(3px);
}

.prev-post span,
.next-post span {
    display: flex;
    flex-direction: column;
}

.prev-post small,
.next-post small {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prev-post strong,
.next-post strong {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.disabled {
    visibility: hidden;
}

@media (max-width: 600px) {
    .blog-pagination {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .prev-post,
    .next-post {
        max-width: 100%;
    }
}

.related-posts .programs-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-posts .program-image {
    height: 160px;
}

/* Blog pagination */
.blog-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem 0 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-gray);
}

.prev-post,
.next-post {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 45%;
    color: var(--primary);
    transition: var(--transition);
    text-decoration: none;
}

.prev-post:hover,
.next-post:hover {
    color: var(--accent);
}

.prev-post i,
.next-post i {
    font-size: 1.25rem;
    color: var(--secondary);
    transition: var(--transition);
}

.prev-post:hover i {
    transform: translateX(-3px);
    color: var(--accent);
}

.next-post:hover i {
    transform: translateX(3px);
    color: var(--accent);
}

.prev-post span,
.next-post span {
    display: flex;
    flex-direction: column;
}

.prev-post small,
.next-post small {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prev-post strong,
.next-post strong {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.disabled {
    visibility: hidden;
}

@media (max-width: 600px) {
    .blog-pagination {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .prev-post,
    .next-post {
        max-width: 100%;
    }
}

/* Related posts adjustments (optional) */
.related-posts .programs-grid {
    gap: 1.5rem;
}

.related-posts .program-image {
    height: 160px;
}

.load-more-container {
    text-align: center;
    margin: 2rem 0 3rem;
}

#load-more-article-btn {
    min-width: 220px;
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Minor adjustments for video cards */
/* Video card enhancements */
.video-card .program-image {
    background: #000;
    position: relative;
    cursor: pointer;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 53, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
    pointer-events: none;
}

.video-card:hover .play-button {
    background: var(--accent);
    transform: translate(-50%, -50%) scale(1.1);
}

.live-badge {
    background: #ff0000;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.75rem;
}

.featured-live {
    background: var(--dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 3rem;
}

.featured-live .ratio {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 */
}

.featured-live iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------- Sticky Video Player (bottom-right) ---------- */
.sticky-video {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateY(calc(100% + 20px));
    opacity: 0;
    pointer-events: none;
}

.sticky-video.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.sticky-video-header {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 600;
}

.sticky-video-header i {
    cursor: pointer;
    transition: var(--transition);
}

.sticky-video-header i:hover {
    color: var(--accent);
}

.sticky-video-player {
    aspect-ratio: 16/9;
    width: 100%;
}

.sticky-video-player iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* On mobile, make it smaller and adjust position */
@media (max-width: 768px) {
    .sticky-video {
        width: 240px;
        bottom: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .sticky-video {
        width: 180px;
    }
}

.no-records {
    text-align: center;
    padding: 60px 20px;
    color: #777;
}

.no-record-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #ccc;
}

.no-records h3 {
    margin-bottom: 8px;
}

.event-description{
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}