/* 
  ========================================
  ÇATKAPI DERNEĞİ - DESIGN SYSTEM
  ========================================
*/

:root {
    /* Color Palette - Premium Dark Theme */
    --color-primary: #14B8A6;
    /* Vibrant Teal for Dark Theme */
    --color-primary-light: #2DD4BF;
    --color-primary-dark: #0F766E;
    --color-primary-alpha: rgba(20, 184, 166, 0.15);

    --color-accent: #F97316;
    /* Orange - Action, Warmth */
    --color-accent-hover: #FB923C;

    --color-text-main: #F8FAFC;
    /* Slate 50 for main text */
    --color-text-muted: #94A3B8;
    /* Slate 400 for subtext */
    --color-text-light: #FFFFFF;

    --color-bg-body: #020617;
    /* Slate 950 deep space background */
    --color-bg-surface: #0F172A;
    /* Slate 900 for cards */
    --color-bg-alt: #1E293B;
    /* Slate 800 for inputs/elements */

    --color-border: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(12px);

    /* layout */
    --container-max-width: 1280px;
    --container-padding: 2rem;
    --section-padding: 5rem 0;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

/* 
  ========================================
  RESET & BASE
  ========================================
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text-main);
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-normal);
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 
  ========================================
  LAYOUT UTILITIES
  ========================================
*/
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--section-padding);
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

.text-accent {
    color: var(--color-accent);
}

.text-muted {
    color: var(--color-text-muted);
}

.text-light {
    color: var(--color-text-light);
}

.text-dark {
    color: var(--color-text-main);
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* 
  ========================================
  COMPONENTS
  ========================================
*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    /* Pill shape */
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(249, 115, 22, 0.39);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: white;
}

.btn-block {
    display: flex;
    width: 100%;
}

.icon-sm {
    width: 18px;
    height: 18px;
}

/* Button Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(249, 115, 22, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
    }
}

.pulse-btn {
    animation: pulse 2s infinite;
}

.pulse-btn:hover {
    animation: none;
}

/* 
  ========================================
  HEADER & NAVIGATION
  ========================================
*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--transition-normal);
    padding: 1rem 0;
}

.header.scrolled {
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-logo {
    height: 72px; /* Increased base height */
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

@media (min-width: 992px) {
    .header-logo {
        height: 96px; /* Huge on desktop */
    }
}

.footer-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1.1;
    color: var(--color-primary-dark);
    letter-spacing: -0.02em;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.desktop-nav {
    display: none;
    gap: 2.5rem;
}

@media (min-width: 992px) {
    .desktop-nav {
        display: flex;
        align-items: center;
    }
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-text-main);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-selector {
    display: none;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--color-text-muted);
}

.lang-selector:hover {
    color: var(--color-primary);
}

@media (min-width: 768px) {
    .lang-selector {
        display: flex;
    }
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-main);
}

@media (min-width: 992px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-surface);
    z-index: 2000;
    transition: right var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-inner {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.close-menu-btn {
    color: var(--color-text-main);
    padding: 0.5rem;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-main);
}

/* 
  ========================================
  HERO SECTION
  ========================================
*/
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* Offset for header */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url('images/hero_bg.png') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(20, 184, 166, 0.1) 0%, transparent 40%),
        radial-gradient(circle at bottom left, rgba(249, 115, 22, 0.05) 0%, transparent 40%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: radial-gradient(var(--color-primary) 1px, transparent 1px);
    background-size: 30px 30px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    .hero-container {
        grid-template-columns: 1.2fr 1fr;
        gap: 4rem;
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: white;
    border: 1px solid var(--color-border);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(249, 115, 22, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--color-text-main);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

@media (min-width: 1200px) {
    .hero-title {
        font-size: 5rem;
    }
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-accent) 0%, #ff9800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* text-fill-color: transparent; */
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
    line-height: 1.8;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

/* 
  ========================================
  DONATION WIDGET
  ========================================
*/
.hero-widget {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
}

.widget-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.widget-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.text-sm {
    font-size: 0.875rem;
}

.donation-type-tabs {
    display: flex;
    background-color: var(--color-bg-alt);
    border-radius: 9999px;
    padding: 0.25rem;
    margin-bottom: 1.5rem;
}

.tab-btn {
    flex: 1;
    padding: 0.625rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
}

.tab-btn.active {
    background-color: white;
    color: var(--color-primary-dark);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
}

.custom-select-wrapper {
    position: relative;
}

.custom-select {
    width: 100%;
    appearance: none;
    background-color: white;
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-main);
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

.custom-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-alpha);
}

.select-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--color-text-muted);
    width: 20px;
    height: 20px;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .amount-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
    }
}

.amount-btn {
    background-color: white;
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 0.75rem 0;
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text-main);
    transition: all var(--transition-fast);
}

.amount-btn:hover {
    border-color: var(--color-primary-light);
    color: var(--color-primary);
}

.amount-btn.active {
    background-color: rgba(20, 184, 166, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.custom-amount-input {
    margin-top: 0.5rem;
    position: relative;
    display: flex;
    align-items: center;
}

.custom-amount-input.hidden {
    display: none;
}

.currency-symbol {
    position: absolute;
    left: 1rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

.custom-amount-input input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2rem;
    border: 1px solid var(--color-primary);
    border-radius: 0.75rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.custom-amount-input input:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--color-primary-alpha);
}

.widget-footer {
    margin-top: 2rem;
}

.secure-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.secure-text i {
    color: #10B981;
}

/* 
  ========================================
  INNER PAGES & ABOUT SECTION
  ========================================
*/
.inner-header {
    position: relative;
    padding: 120px 0 60px;
    background-color: var(--color-primary-dark);
    color: white;
    text-align: center;
    overflow: hidden;
}

.inner-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at bottom left, rgba(249, 115, 22, 0.1) 0%, transparent 40%);
    z-index: 0;
}

.inner-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .inner-title {
        font-size: 3.5rem;
    }
}

.inner-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
    color: white;
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

.icon-xs {
    width: 14px;
    height: 14px;
}

.pt-0 {
    padding-top: 0;
}

.bg-alt {
    background-color: var(--color-bg-alt);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 4rem;
    }
}

.display-block {
    display: block;
}

.font-semibold {
    font-weight: 600;
}

.vision-mission-box {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.vm-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.vm-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bg-primary-light {
    background-color: var(--color-primary-alpha);
}

.text-primary-dark {
    color: var(--color-primary-dark);
}

.bg-orange-light {
    background-color: rgba(249, 115, 22, 0.1);
}

.vm-item h4 {
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.image-composition {
    position: relative;
    height: 400px;
}

@media (min-width: 768px) {
    .image-composition {
        height: 500px;
    }
}

.img-box {
    position: absolute;
    border-radius: 1.5rem;
    overflow: hidden;
}

.img-1 {
    top: 0;
    right: 0;
    width: 60%;
    height: 70%;
    z-index: 2;
}

.img-2 {
    bottom: 0;
    left: 0;
    width: 70%;
    height: 60%;
    z-index: 1;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.large-icon {
    width: 64px;
    height: 64px;
}

.experience-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    z-index: 3;
    border: 4px solid var(--color-bg-body);
}

.exp-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}

.exp-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    color: var(--color-text-main);
    line-height: 1.2;
    text-transform: uppercase;
}

/* Values Grid */
.values-section {
    padding-top: 0;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 640px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.value-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background-color: var(--color-primary-alpha);
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
}

.value-card:hover .value-icon {
    background-color: var(--color-primary);
    color: white;
}

.value-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

/* 
  ========================================
  CAMPAIGNS / PROJECTS SECTION
  ========================================
*/
.projects-section {
    background-color: var(--color-bg-body);
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.project-card {
    background-color: white;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-img-wrapper {
    position: relative;
    height: 200px;
    width: 100%;
}

.project-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.bg-teal {
    background: linear-gradient(135deg, #0F766E, #14B8A6);
}

.bg-orange {
    background: linear-gradient(135deg, #C2410C, #F97316);
}

.bg-red {
    background: linear-gradient(135deg, #B91C1C, #EF4444);
}

.bg-red-dark {
    background-color: #991B1B !important;
}

.project-icon-large {
    width: 64px;
    height: 64px;
    opacity: 0.8;
}

.project-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--color-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.project-body {
    padding: 1.5rem;
    flex: 1;
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.project-desc {
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-progress {
    margin-top: auto;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.font-semibold {
    font-weight: 600;
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background-color: var(--color-bg-alt);
    border-radius: 9999px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--color-primary);
    border-radius: 9999px;
    position: relative;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            rgba(255, 255, 255, 0.2) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.2) 75%,
            transparent 75%,
            transparent);
    background-size: 1rem 1rem;
    animation: progress-stripes 1s linear infinite;
}

@keyframes progress-stripes {
    from {
        background-position: 1rem 0;
    }

    to {
        background-position: 0 0;
    }
}

.project-footer {
    padding: 1.5rem;
    padding-top: 0;
}

/* 
  ========================================
  FOOTER SECTION
  ========================================
*/
.footer {
    background-color: #0F172A;
    /* Slate 900 */
    color: var(--color-text-light);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: radial-gradient(white 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.relative {
    position: relative;
}

.z-1 {
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-brand .logo-name {
    color: white;
}

.footer-desc {
    color: #94A3B8;
    /* Slate 400 */
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-title {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 2rem;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #94A3B8;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary-light);
    padding-left: 0.5rem;
}

.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: #94A3B8;
}

.footer-contact .text-primary-light {
    color: var(--color-primary-light);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    color: #64748B;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: #64748B;
}

.footer-bottom-links a:hover {
    color: white;
}

/* 
  ========================================
  ANIMATIONS
  ========================================
*/
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 
  ========================================
  DONATION MODERNIZATION (GRID, FLOATING LABELS, CARDS)
  ========================================
*/

/* Donation Grid Setup */
.donation-grid, .contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: flex-start;
}
@media (min-width: 992px) {
    .donation-grid, .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* Enhanced Glass Card - Specific overrides since glass-card is already defined */
.donation-grid .glass-card, .contact-grid .glass-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 40px rgba(15, 118, 110, 0.08);
}
.donation-grid .glass-card:hover, .contact-grid .glass-card:hover {
    box-shadow: 0 20px 40px rgba(15, 118, 110, 0.15);
    transform: translateY(-2px);
}

/* Type Card active state enhancements */
.hidden-radio:checked + .type-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(20,184,166,0.1));
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px var(--color-primary), 0 15px 35px rgba(15, 118, 110, 0.15);
}

.type-card {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Premium Bank Card */
.premium-bank-card {
    background: linear-gradient(135deg, #1E293B, #0F172A);
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.premium-bank-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}
.premium-bank-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.premium-bank-card .text-primary {
    color: #38bdf8 !important; /* light blue for dark background */
}
.premium-bank-card .text-orange {
    color: #fb923c !important; /* light orange for dark bg */
}

/* Floating Form Labels */
.form-floating {
    position: relative;
    margin-bottom: 1.5rem;
}
.form-floating .custom-input,
.form-floating #custom-amount-page {
    width: 100%;
    padding: 1.5rem 1rem 0.5rem; /* Space at top for the label */
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    background-color: var(--color-bg-alt);
    color: var(--color-text-main);
    transition: all var(--transition-fast);
}
.form-floating label {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
    font-size: 1rem;
    margin: 0;
}
.form-floating .custom-input:focus,
.form-floating .custom-input:not(:placeholder-shown),
.form-floating #custom-amount-page:focus,
.form-floating #custom-amount-page:not(:placeholder-shown) {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-alpha);
    padding-top: 1.6rem;
    padding-bottom: 0.4rem;
}
.form-floating .custom-input:focus + label,
.form-floating .custom-input:not(:placeholder-shown) + label,
.form-floating #custom-amount-page:focus + label,
.form-floating #custom-amount-page:not(:placeholder-shown) + label {
    top: 0.75rem;
    font-size: 0.75rem;
    color: var(--color-primary);
    transform: none;
}

/* 
  ========================================
  PREMIUM DARK THEME OVERRIDES
  ========================================
*/
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle at 15% 50%, rgba(20, 184, 166, 0.08), transparent 30%),
                radial-gradient(circle at 85% 30%, rgba(249, 115, 22, 0.05), transparent 30%);
    z-index: -1;
    pointer-events: none;
}
.bg-white {
    background-color: var(--color-bg-surface) !important;
}
.bg-alt {
    background-color: var(--color-bg-alt) !important;
}
.glass-card {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
}
.donation-grid .glass-card, .contact-grid .glass-card {
    background: rgba(30, 41, 59, 0.45) !important;
}
.custom-input, .custom-select, .custom-textarea, #custom-amount-page {
    background-color: rgba(15, 23, 42, 0.5) !important;
    color: var(--color-text-main) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}
.custom-input:focus, .custom-select:focus, .custom-textarea:focus, #custom-amount-page:focus {
    background-color: rgba(15, 23, 42, 0.8) !important;
    border-color: var(--color-primary) !important;
}
::placeholder {
    color: var(--color-text-muted) !important;
}
.header {
    background: rgba(2, 6, 23, 0.8) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.text-dark {
    color: var(--color-text-main) !important;
}
.tab-btn.active {
    background-color: var(--color-primary) !important;
    color: white !important;
}

/* Hero Widget Contrast Fix */
.hero-widget .glass-card {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6) !important;
}
.hero-widget .text-muted {
    color: #CBD5E1 !important; /* Lighter text for contrast */
}

/* Hero Slider Styles */
.hero-slider-bgs {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    overflow: hidden;
}
.slide-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 5.5s ease-in-out;
    transform: scale(1.05);
}
.slide-bg.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}
.hero-slider-content {
    position: relative;
    max-width: 600px;
    z-index: 2;
    display: grid;
}
.slide-text {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
}
.slide-text.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 2;
}
.hero-slider-controls {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.slider-dots {
    display: flex;
    gap: 0.5rem;
}
.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}
.slider-dots .dot.active {
    width: 24px;
    border-radius: 10px;
    background-color: var(--color-primary);
}
.slider-arrows {
    display: flex;
    gap: 0.5rem;
}
.slider-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

/* Premium Amount Buttons */
.amount-btn {
    background-color: rgba(30, 41, 59, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #F8FAFC !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
}
.amount-btn:hover {
    background-color: rgba(20, 184, 166, 0.3) !important;
    border-color: var(--color-primary-light) !important;
    color: white !important;
    box-shadow: 0 0 15px rgba(20, 184, 166, 0.5) !important;
}
.amount-btn.active {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary-light) !important;
    color: white !important;
    box-shadow: 0 0 25px rgba(20, 184, 166, 0.7) !important;
    font-weight: 800 !important;
    transform: translateY(-2px);
}
.slider-arrow:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
}


.leaflet-popup-content-wrapper {
    background: rgba(15, 23, 42, 0.95);
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}
.leaflet-popup-tip {
    background: rgba(15, 23, 42, 0.95);
}
/* Mobile Overrides & Fixes */
.footer-social-bar {
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.1 !important;
    }
    .hero-subtitle {
        font-size: 1rem !important;
    }
    .stat-value {
        font-size: 1.5rem !important;
    }
    .hero-stats {
        gap: 1rem !important;
    }
    /* Make donation grid items stack elegantly */
    .donation-grid {
        grid-template-columns: 1fr !important;
    }
    /* Fix header height spacing */
    .hero {
        padding-top: 100px !important;
    }
}
