/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Outfit', sans-serif; color: #1e293b; background: #fff; line-height: 1.7; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Scrollbar styling untuk mobile menu */
.nav-links::-webkit-scrollbar { width: 6px; }
.nav-links::-webkit-scrollbar-track { background: transparent; }
.nav-links::-webkit-scrollbar-thumb { background: rgba(198,40,40,0.2); border-radius: 3px; }
.nav-links::-webkit-scrollbar-thumb:hover { background: rgba(198,40,40,0.4); }

/* ===== TOKENS ===== */
:root {
  --primary: #C62828; --primary-light: #EF5350; --primary-dark: #9B1B1B;
  --primary-50: #FFF5F5; --primary-100: #FEE2E2;
  --accent: #1A3C40; --accent-light: #2A6F6A;
  --dark: #0F172A; --dark-700: #334155; --dark-500: #64748B; --dark-300: #CBD5E1; --dark-100: #F1F5F9;
  --white: #FFFFFF; --radius: 16px; --radius-sm: 10px; --radius-xs: 6px;
  --shadow: 0 4px 24px rgba(0,0,0,0.06); --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-gradient { background: linear-gradient(135deg, var(--primary), var(--primary-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-gradient-light { background: linear-gradient(135deg, #FCA5A5, #fff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-tag { display: inline-block; padding: 6px 16px; background: var(--primary-50); color: var(--primary); font-weight: 600; font-size: 0.85rem; border-radius: 50px; margin-bottom: 16px; letter-spacing: 0.5px; }
.section-tag-light { background: rgba(255,255,255,0.15); color: #FCA5A5; }
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.25; margin-bottom: 16px; }
.section-desc { color: var(--dark-500); font-size: 1.05rem; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; border: 2px solid transparent; cursor: pointer; transition: var(--transition); font-family: inherit; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(198,40,40,0.3); }
.btn-outline { border-color: var(--dark-300); color: var(--dark); background: transparent; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: #fff; color: var(--primary-dark); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-outline-light { border-color: rgba(255,255,255,0.4); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ===== NAVBAR ===== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(0,0,0,0.04); transition: var(--transition); }
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); background: rgba(255,255,255,0.98); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: var(--dark); transition: var(--transition); }
.nav-logo:hover { transform: scale(1.05); }
.nav-logo small { font-size: 0.65em; font-weight: 600; color: var(--dark-500); }
.footer .nav-logo small { color: #94A3B8; }
.logo-icon { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; transition: var(--transition); }
.navbar.scrolled .logo-icon { width: 40px; height: 40px; }
.footer-logo-img { border: 2px solid rgba(255,255,255,0.15); }
.nav-links { display: flex; gap: 4px; position: relative; }
.nav-links li { position: relative; z-index: 2; }
.nav-link { display: block; padding: 8px 18px; border-radius: 50px; font-weight: 500; font-size: 0.9rem; color: var(--dark-700); transition: all 0.3s ease; position: relative; cursor: pointer; }
.nav-link:hover { color: var(--primary); }
.nav-link.active { color: var(--primary); font-weight: 600; }

/* Outline dark button */
.btn-outline-dark { border: 1.5px solid var(--dark-300); color: var(--dark); background: transparent; border-radius: 50px; padding: 10px 24px; font-size: 0.9rem; }
.btn-outline-dark:hover { border-color: var(--dark); background: var(--dark); color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; width: 36px; height: 24px; position: relative; padding: 4px 0; transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.mobile-toggle:hover { opacity: 0.8; }
.mobile-toggle span { display: block; width: 100%; height: 2.5px; background: linear-gradient(90deg, var(--dark), var(--dark-500)); border-radius: 2px; transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); position: absolute; left: 0; }
.mobile-toggle span:nth-child(1) { top: 2px; }
.mobile-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-toggle span:nth-child(3) { bottom: 2px; }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(11px) translateX(0px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-11px) translateX(0px); }

/* ===== HERO ===== */
.hero { padding: 140px 0 80px; position: relative; background: linear-gradient(180deg, var(--primary-50) 0%, #fff 100%); overflow: hidden; }
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; }
.shape-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(198,40,40,0.06) 0%, transparent 70%); top: -100px; right: -100px; }
.shape-2 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(239,83,80,0.07) 0%, transparent 70%); bottom: -50px; left: -50px; }
.shape-3 { width: 200px; height: 200px; background: radial-gradient(circle, rgba(198,40,40,0.05) 0%, transparent 70%); top: 40%; left: 30%; }
.hero-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }

/* Hero Tags */
.hero-tags { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.hero-tag { padding: 8px 18px; font-size: 0.9rem; font-weight: 500; color: var(--dark-700); cursor: default; transition: var(--transition); border-radius: 50px; border: 1.5px solid transparent; }
.hero-tag.active { border-color: var(--dark); color: var(--dark); font-weight: 600; background: rgba(0,0,0,0.02); }

/* Hero Heading */
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 400; line-height: 1.2; margin-bottom: 24px; color: var(--dark); letter-spacing: -0.5px; }
.hero h1 strong { font-weight: 800; }
.hero-desc { font-size: 1rem; color: var(--dark-500); margin-bottom: 36px; max-width: 460px; line-height: 1.7; }

/* Hero Actions */
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-stat-badge { display: flex; align-items: center; gap: 12px; }
.stat-badge-number { width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--dark-300); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.95rem; color: var(--dark); flex-shrink: 0; }
.stat-badge-text { font-size: 0.85rem; color: var(--dark-500); line-height: 1.4; }
.stat-badge-text strong { color: var(--primary); font-weight: 700; }

/* Hero Visual */
.hero-visual { position: relative; }
.hero-image-wrapper { 
    position: relative; 
    padding: 24px;
    border: 2px solid rgba(198,40,40,0.15);
    border-radius: 56px;
}
.hero-image { 
    width: 100%; 
    height: 520px; 
    object-fit: cover; 
    border-radius: 40px; 
    box-shadow: 0 20px 60px rgba(0,0,0,0.08); 
}

/* Hero Heart Icon */
.hero-heart-icon { position: absolute; top: -14px; left: 40px; width: 42px; height: 42px; background: var(--primary-50); border: 1.5px solid var(--primary-100); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); z-index: 5; animation: float 4s ease-in-out infinite; }

/* Stats Floating Card */
.floating-card { position: absolute; background: #fff; border-radius: 20px; box-shadow: 0 12px 40px rgba(0,0,0,0.08); z-index: 5; }
.card-stats { top: 40px; right: -20px; padding: 20px; width: 190px; animation: float 4s ease-in-out infinite; }
.card-stats-number { font-size: 1.5rem; font-weight: 800; color: var(--dark); line-height: 1; }
.card-stats-sub { font-size: 0.72rem; color: var(--dark-500); line-height: 1.4; margin-top: 4px; margin-bottom: 12px; }
.card-stats-images { display: flex; gap: 8px; margin-bottom: 10px; }
.card-stats-images img { width: 65px; height: 48px; border-radius: 10px; object-fit: cover; }
.card-stats-label { display: inline-block; padding: 4px 14px; background: var(--primary-50); color: var(--primary); font-size: 0.72rem; font-weight: 600; border-radius: 50px; }

/* Chat Now Badge */
.floating-chat-now { position: absolute; bottom: 120px; left: -20px; background: var(--dark); color: #fff; padding: 8px 18px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; z-index: 5; animation: float 4s ease-in-out infinite; animation-delay: -1s; box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* Chat Message Card */
.card-chat { bottom: 30px; left: -30px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; animation: float 4s ease-in-out infinite; animation-delay: -2s; border-radius: 50px; }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.chat-content { display: flex; flex-direction: column; gap: 2px; }
.chat-to { font-size: 0.72rem; color: var(--dark-500); }
.chat-text { font-size: 1rem; font-weight: 700; color: var(--dark); }
.chat-send-icon { color: var(--primary); display: flex; align-items: center; margin-left: 8px; }

/* ===== HERO DECORATIVE PATTERNS ===== */
.hero-patterns { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }

/* Dot Grid */
.pattern-dots {
  position: absolute;
  top: 18%;
  left: 2%;
  width: 160px;
  height: 200px;
  background-image: radial-gradient(circle, rgba(198,40,40,0.5) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: 1;
}

/* Plus/Cross Markers */
.pattern-plus {
  position: absolute;
  color: rgba(198,40,40,0.6);
  animation: spin-slow-pattern 20s linear infinite;
}
.plus-1 { top: 15%; left: 42%; }
.plus-2 { top: 72%; left: 8%; animation-duration: 25s; animation-direction: reverse; }
.plus-3 { top: 22%; right: 5%; animation-duration: 30s; }
@keyframes spin-slow-pattern { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Dashed Curves */
.pattern-curve { position: absolute; }
.curve-1 { top: 5%; left: 35%; opacity: 1; animation: float-gentle 8s ease-in-out infinite; }
.curve-2 { bottom: 8%; right: 6%; opacity: 0.8; animation: float-gentle 10s ease-in-out infinite reverse; }
@keyframes float-gentle { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-8px) rotate(2deg); } }

/* Circle Outlines */
.pattern-circle {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(198,40,40,0.4);
}
.circle-1 { width: 80px; height: 80px; top: 12%; right: 15%; animation: spin-slow-pattern 30s linear infinite; }
.circle-2 { width: 55px; height: 55px; bottom: 18%; left: 15%; border-style: solid; border-color: rgba(198,40,40,0.3); animation: spin-slow-pattern 25s linear infinite reverse; }
.circle-3 { width: 120px; height: 120px; top: 55%; left: 45%; border-width: 1px; border-color: rgba(198,40,40,0.25); animation: spin-slow-pattern 35s linear infinite; }

/* Diamond Shapes */
.pattern-diamond {
  position: absolute;
  width: 14px;
  height: 14px;
  background: rgba(198,40,40,0.4);
  transform: rotate(45deg);
  border-radius: 2px;
  animation: pulse-diamond 4s ease-in-out infinite;
}
.diamond-1 { top: 35%; left: 5%; }
.diamond-2 { bottom: 15%; right: 20%; animation-delay: -2s; width: 10px; height: 10px; background: rgba(198,40,40,0.5); }
@keyframes pulse-diamond { 0%, 100% { opacity: 0.7; transform: rotate(45deg) scale(1); } 50% { opacity: 1; transform: rotate(45deg) scale(1.4); } }

/* Wave Line */
.pattern-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
}
.pattern-wave path { stroke: rgba(198,40,40,0.25); stroke-width: 2; }

/* Scattered Dots */
.pattern-dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(198,40,40,0.5);
  animation: pulse-dot-pattern 3s ease-in-out infinite;
}
.dot-1 { width: 7px; height: 7px; top: 20%; right: 25%; }
.dot-2 { width: 5px; height: 5px; top: 45%; left: 10%; animation-delay: -1s; }
.dot-3 { width: 6px; height: 6px; bottom: 30%; left: 35%; animation-delay: -0.5s; }
.dot-4 { width: 4px; height: 4px; top: 60%; right: 12%; animation-delay: -2s; }
.dot-5 { width: 8px; height: 8px; bottom: 25%; right: 35%; animation-delay: -1.5s; background: rgba(198,40,40,0.4); }
@keyframes pulse-dot-pattern { 0%, 100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.6); } }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ===== ABOUT ===== */
.about { padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.about-card { padding: 36px 30px; background: #fff; border: 1px solid var(--dark-100); border-radius: var(--radius); transition: var(--transition); }
.about-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-100); }
.about-card-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--primary-50); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--primary); }
.about-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.about-card p { color: var(--dark-500); font-size: 0.95rem; }

/* ===== QUICK ACTION ===== */
.quick-action { padding: 100px 0; background: var(--dark-100); }
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.action-card { position: relative; display: block; border-radius: 24px; overflow: hidden; color: #fff; transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease; text-decoration: none; min-height: 340px; }
.action-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: 0 24px 60px rgba(0,0,0,0.25); }
.action-card-download { background: linear-gradient(160deg, #0a0f1e 0%, #0f1b3d 40%, #162454 100%); }
.action-card-form { background: linear-gradient(160deg, #2d0a0a 0%, #7a1515 40%, #a51d1d 100%); }

/* Decorative elements */
.action-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.action-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,0.07); }
.action-ring-1 { width: 300px; height: 300px; top: -80px; right: -60px; animation: spin-slow 25s linear infinite; }
.action-ring-2 { width: 200px; height: 200px; bottom: -40px; left: -30px; border-style: dashed; animation: spin-slow 20s linear infinite reverse; }
.action-dot { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.15); }
.action-dot-1 { width: 8px; height: 8px; top: 25%; right: 15%; animation: float 3s ease-in-out infinite; }
.action-dot-2 { width: 5px; height: 5px; top: 60%; right: 30%; animation: float 4s ease-in-out infinite 1s; }
.action-dot-3 { width: 6px; height: 6px; bottom: 20%; left: 20%; animation: float 3.5s ease-in-out infinite 0.5s; }
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Card inner layout */
.action-card-inner { position: relative; z-index: 1; display: flex; gap: 32px; padding: 40px; height: 100%; align-items: center; }
.action-visual { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.action-icon-circle { width: 100px; height: 100px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 2px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; transition: var(--transition); position: relative; }
.action-icon-circle::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1px dashed rgba(255,255,255,0.1); animation: spin-slow 15s linear infinite; }
.action-card:hover .action-icon-circle { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.25); transform: scale(1.08); }
.action-file-chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.action-chip { padding: 4px 10px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.12); border-radius: 6px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }

/* Info side */
.action-info { flex: 1; }
.action-step-num { font-size: 3.5rem; font-weight: 900; line-height: 1; color: rgba(255,255,255,0.06); margin-bottom: 8px; }
.action-card h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 10px; line-height: 1.3; }
.action-card p { color: rgba(255,255,255,0.6); font-size: 0.92rem; margin-bottom: 24px; line-height: 1.7; }
.action-cta { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 0.95rem; color: #fff; }
.action-arrow { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.action-card:hover .action-arrow { background: rgba(255,255,255,0.2); transform: translateX(6px); }

/* ===== SERVICES ===== */
.services { padding: 100px 0; background: var(--dark-100); }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card { background: #fff; border-radius: var(--radius); padding: 32px; transition: var(--transition); border: 1px solid transparent; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-100); }
.service-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; padding: 0; overflow: hidden; }
.service-featured .service-content { padding: 40px 40px 40px 0; display: flex; flex-direction: column; justify-content: center; }
.service-img-wrapper { overflow: hidden; }
.service-img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.service-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--primary-50); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--primary); }
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--dark-500); font-size: 0.93rem; margin-bottom: 16px; }
.service-link { color: var(--primary); font-weight: 600; font-size: 0.9rem; transition: var(--transition); }
.service-link:hover { color: var(--primary-dark); }

/* ===== IMPACT MODERN ===== */
.impact-modern { 
    padding: 120px 0; 
    background: var(--dark); /* Keep website base theme */
    position: relative;
    overflow: hidden;
    color: #fff;
}
.impact-modern-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.tag-pill-modern {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.impact-heading-modern {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #fff;
}
.highlight-underline {
    color: var(--primary);
    position: relative;
    display: inline-block;
}
.highlight-underline::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--primary-dark);
    border-radius: 4px;
}
.impact-desc-modern {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    max-width: 500px;
}
.impact-stats-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
}
.impact-stat-m h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}
.impact-stat-m p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

/* Impact Card */
.impact-card-wrapper {
    position: relative;
    padding-left: 32px;
}
.impact-modern-card {
    background: #fff;
    border-radius: 24px;
    padding: 10px; 
    color: #111;
    box-shadow: 0 24px 60px rgba(0,0,0,0.4);
    position: relative;
    z-index: 2;
}
.impact-card-img-wrap {
    width: 100%;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
}
.impact-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s ease;
}
.impact-card-img-wrap img.fade-out {
    opacity: 0;
}
.impact-modern-card:hover .impact-card-img-wrap img {
    transform: scale(1.05);
}
.impact-card-body {
    padding: 0 16px 20px;
}
.card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 16px;
    margin-bottom: 16px;
}
.card-title-row h4 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #111;
}
.btn-square-arrow {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.2s, background 0.2s;
}
.btn-square-arrow:hover {
    transform: scale(1.05);
    background: var(--primary-dark);
    color: #fff;
}
.impact-card-body p {
    font-size: 0.95rem;
    color: #555;
    font-weight: 500;
    line-height: 1.6;
}

/* Decorations */
.deco-lines {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 1;
}
.deco-line {
    width: 6px;
    height: 70px;
    border-radius: 10px;
    background: rgba(255,255,255,0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.deco-line:hover {
    background: rgba(255,255,255,0.4);
}
.deco-line.active {
    height: 140px;
    background: #fff;
}

.deco-leaves {
    position: absolute;
    right: -50px;
    top: 25%;
    width: 100px;
    z-index: 1;
}

.deco-coral {
    position: absolute;
    left: -20px;
    top: 15%;
    width: 80px;
}
.deco-sunflower {
    position: absolute;
    left: 45%;
    bottom: -20px;
    width: 100px;
    z-index: 3;
}

@media (max-width: 1024px) {
    .impact-modern-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .impact-card-wrapper {
        padding-left: 0;
    }
    .deco-lines {
        display: none;
    }
    .deco-sunflower {
        left: auto;
        right: 10%;
    }
}

@media (max-width: 768px) {
    .impact-modern-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .impact-heading-modern {
        font-size: 2.2rem;
    }
    .impact-desc-modern {
        margin-left: auto;
        margin-right: auto;
    }
    .impact-stats-modern {
        grid-template-columns: 1fr;
        width: 100%;
    }
    .impact-card-img-wrap {
        height: 280px;
    }
}

/* ===== GALLERY ===== */
.gallery { padding: 100px 0; background: linear-gradient(180deg, #fff 0%, var(--primary-50) 50%, #fff 100%); overflow: hidden; }

/* Scrapbook Layout (Tossed Photos) */
.gallery-mosaic {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 80px 20px 120px;
    gap: 0;
}

#gallery-item-1 { transform: rotate(-10deg) translateY(20px); z-index: 1; }
#gallery-item-2 { transform: rotate(6deg) translateY(-30px); z-index: 2; margin-left: -80px; }
#gallery-item-3 { transform: rotate(-5deg) translateY(40px); z-index: 3; margin-left: -80px; }
#gallery-item-4 { transform: rotate(12deg) translateY(-10px); z-index: 4; margin-left: -80px; }

/* Card Base */
.gallery-card { 
    width: 320px; 
    border-radius: 24px; 
    position: relative; 
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.gallery-card-inner { 
    position: relative; 
    width: 100%; 
    height: 100%; 
    overflow: hidden; 
    border-radius: 24px; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border: 6px solid #fff; /* Polaroid feel */
}
.gallery-card:hover { 
    transform: rotate(0deg) scale(1.15) translateY(-40px) !important; 
    z-index: 10 !important; 
}
.gallery-card:hover .gallery-card-inner {
    box-shadow: 0 30px 60px rgba(198,40,40,0.3);
    border-color: var(--primary-light);
}

.gallery-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease, filter 0.4s ease; }
.gallery-card:hover img { transform: scale(1.08); filter: brightness(0.85); }

/* Card Sizes */
#gallery-item-1 img, 
#gallery-item-2 img, 
#gallery-item-3 img, 
#gallery-item-4 img { 
    height: 420px; 
}

@media (max-width: 992px) {
    .gallery-mosaic { flex-direction: column; gap: 40px; padding: 40px 20px; }
    #gallery-item-1, #gallery-item-2, #gallery-item-3, #gallery-item-4 { 
        margin-left: 0; 
        transform: rotate(0) !important; 
        width: 100%;
        max-width: 400px;
    }
    .gallery-card:hover {
        transform: scale(1.05) translateY(-10px) !important;
    }
}

/* Numbered Badge */
.gallery-card-badge { position: absolute; top: 16px; left: 16px; width: 40px; height: 40px; background: rgba(255,255,255,0.15); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.25); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.8rem; color: #fff; z-index: 5; transition: all 0.3s ease; letter-spacing: 0.5px; }
.gallery-card:hover .gallery-card-badge { background: var(--primary); border-color: var(--primary); transform: rotate(-8deg) scale(1.1); }

/* Overlay */
.gallery-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.3) 40%, transparent 65%); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; opacity: 0; transition: opacity 0.4s ease; z-index: 3; }
.gallery-card:hover .gallery-card-overlay { opacity: 1; }

/* Category Tag */
.gallery-tag { display: inline-block; padding: 5px 12px; background: var(--primary); color: #fff; font-size: 0.7rem; font-weight: 700; border-radius: 50px; margin-bottom: 10px; width: fit-content; text-transform: uppercase; letter-spacing: 1px; }

/* Overlay Text */
.gallery-card-overlay h4 { color: #fff; font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; transform: translateY(10px); transition: transform 0.4s ease 0.05s; }
.gallery-card:hover .gallery-card-overlay h4 { transform: translateY(0); }
.gallery-card-overlay p { color: rgba(255,255,255,0.75); font-size: 0.82rem; line-height: 1.5; transform: translateY(10px); transition: transform 0.4s ease 0.1s; }
.gallery-card:hover .gallery-card-overlay p { transform: translateY(0); }
.gallery-card-overlay .gallery-tag { transform: translateY(10px); transition: transform 0.4s ease 0s; }
.gallery-card:hover .gallery-card-overlay .gallery-tag { transform: translateY(0); }

/* Quote Element on Featured Card */
.gallery-card-quote { position: absolute; bottom: 24px; right: 24px; background: rgba(255,255,255,0.12); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.15); border-radius: 14px; padding: 12px 16px; display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.7); font-size: 0.8rem; font-weight: 500; font-style: italic; z-index: 4; opacity: 0; transform: translateY(10px); transition: all 0.4s ease 0.15s; }
.gallery-card:hover .gallery-card-quote { opacity: 1; transform: translateY(0); }

/* ===== DONATION MODERN ===== */
.donation { padding: 100px 0; }
.donation-card-modern {
    position: relative;
    overflow: hidden;
    background: var(--dark); /* Website base dark blue */
    border: none;
    border-radius: 32px;
    padding: 60px 64px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    box-shadow: 0 20px 50px rgba(15,23,42,0.3);
}
.donation-modern-shapes {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.d-shape { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,0.15); animation: spin-slow-pattern 40s linear infinite; }
.d-shape-1 { width: 400px; height: 400px; top: -150px; right: -100px; }
.d-shape-2 { width: 180px; height: 180px; bottom: -50px; left: 35%; border-style: solid; border-color: rgba(255,255,255,0.06); animation-direction: reverse; }
.d-icon { position: absolute; color: rgba(255,255,255,0.12); animation: float 6s ease-in-out infinite; }
.d-icon-1 { width: 72px; height: 72px; top: 12%; right: 30%; transform: rotate(15deg); }
.d-icon-2 { width: 40px; height: 40px; bottom: 25%; left: 8%; animation-delay: -2s; transform: rotate(-20deg); }
.d-dot { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.15); animation: pulse-dot-pattern 3s ease-in-out infinite; }
.d-dot-1 { width: 8px; height: 8px; top: 30%; left: 45%; }
.d-dot-2 { width: 6px; height: 6px; bottom: 40%; right: 15%; animation-delay: -1.5s; }

.donation-modern-content, .donation-modern-action { position: relative; z-index: 1; }
.donation-modern-content {
    max-width: 600px;
}
.btn-brutal {
    display: inline-block;
    background: #FEF3CC;
    color: #111;
    font-size: 2.2rem;
    font-weight: 800;
    padding: 18px 48px;
    border: 2px solid #111;
    border-radius: 16px;
    margin-bottom: 36px;
    box-shadow: 
        4px 4px 0 #F0C03A, 
        4px 4px 0 2px #111, 
        8px 8px 0 #C8E2DF, 
        8px 8px 0 2px #111;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}
.btn-brutal:hover {
    transform: translate(2px, 2px);
    box-shadow: 
        2px 2px 0 #F0C03A, 
        2px 2px 0 2px #111, 
        4px 4px 0 #C8E2DF, 
        4px 4px 0 2px #111;
}
.donation-modern-text {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 16px;
}
.donation-modern-highlight {
    font-size: 1.05rem;
    color: #111;
    line-height: 1.6;
    font-weight: 700;
    padding: 20px 24px;
    background: #fff;
    border: 2px solid #111;
    /* Organic, hand-drawn look */
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
    box-shadow: 4px 4px 0 var(--primary);
    transform: rotate(-1deg);
    position: relative;
    margin-top: 10px;
}
.donation-modern-action {
    display: flex;
    align-items: center;
}
.btn-circle-arrow {
    width: 72px;
    height: 72px;
    background: var(--primary); /* Base red color */
    border: 2px solid #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 4px 4px 0 #111;
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}
.btn-circle-arrow svg { width: 32px; height: 32px; transition: transform 0.3s ease; }
.btn-circle-arrow:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #111;
}
.btn-circle-arrow:hover svg { transform: translateX(4px); }

@media (max-width: 768px) {
    .donation-card-modern {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 24px;
        gap: 32px;
    }
    .btn-brutal {
        font-size: 1.8rem;
        padding: 14px 32px;
        margin-bottom: 24px;
    }
    .btn-circle-arrow {
        align-self: flex-end;
    }
}

/* ===== JOIN ===== */
.join { padding: 100px 0; background: var(--dark-100); }
.join-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.join-card { background: #fff; border-radius: var(--radius); padding: 36px 30px; text-align: center; transition: var(--transition); border: 1px solid transparent; }
.join-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-100); }
.join-step { font-size: 3rem; font-weight: 800; color: var(--primary-100); margin-bottom: 16px; line-height: 1; }
.join-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.join-card p { color: var(--dark-500); font-size: 0.93rem; margin-bottom: 24px; }

/* ===== FAQ ===== */
.faq { padding: 100px 0; }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border: 1px solid var(--dark-100); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; transition: var(--transition); }
.faq-item.active { border-color: var(--primary-100); box-shadow: 0 4px 16px rgba(198,40,40,0.08); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; background: none; border: none; cursor: pointer; font-family: inherit; font-size: 1rem; font-weight: 600; color: var(--dark); text-align: left; }
.faq-chevron { transition: var(--transition); color: var(--dark-500); flex-shrink: 0; }
.faq-item.active .faq-chevron { transform: rotate(180deg); color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { padding: 0 24px 20px; color: var(--dark-500); font-size: 0.95rem; line-height: 1.7; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: #94A3B8; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .nav-logo span { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 0.9rem; line-height: 1.7; }
.footer-links h4, .footer-contact h4 { color: #fff; font-size: 0.95rem; margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--primary-light); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 0.9rem; }
.footer-contact svg { margin-top: 3px; flex-shrink: 0; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; font-size: 0.85rem; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--primary-light); }

/* ===== ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Mobile menu animation */
@keyframes slideInDown { 
  from { opacity: 0; transform: translateY(-10px); } 
  to { opacity: 1; transform: translateY(0); } 
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(198,40,40,0.1); }
  50% { box-shadow: 0 0 0 8px rgba(198,40,40,0); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ===== MOBILE SIDEBAR (hidden on desktop) ===== */
.mobile-overlay,
.mobile-sidebar { display: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-desc { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-tags { justify-content: center; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .card-stats { right: -10px; }
  .impact-wrapper { grid-template-columns: 1fr; }
  .impact-image { max-width: 480px; margin: 0 auto; }
  .service-featured { grid-template-columns: 1fr; }
  .service-featured .service-content { padding: 32px; }
  .gallery-mosaic { grid-template-columns: 1fr 1fr; }
  .gallery-col-3 { display: contents; }
  .gallery-col-2 { margin-top: 20px; }
  .gallery-col-3 { margin-top: 0; }
  .gallery-card-featured img { min-height: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  body.menu-open { overflow: hidden; }
  
  /* Fix hero image cropping on mobile */
  .hero-image { height: auto; aspect-ratio: 4/4; border-radius: 28px; }
  .hero-image-wrapper { padding: 14px; border-radius: 40px; }
  
  .nav-container { padding: 0 16px; }
  .nav-logo { font-size: 1.05rem; gap: 8px; }
  .nav-logo small { font-size: 0.55em; }
  .logo-icon { width: 38px; height: 38px; }
  
  /* Hide desktop nav-links on mobile */
  .nav-links { display: none !important; }
  
  .nav-actions .btn { display: none; }
  
  /* ===== HAMBURGER BUTTON ===== */
  .mobile-toggle { 
    display: flex; 
    align-items: center; 
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-50);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 0;
    position: relative;
  }
  
  .mobile-toggle span {
    width: 20px;
    left: 50%;
    margin-left: -10px;
  }
  
  .mobile-toggle span:nth-child(1) { top: 12px; width: 20px; }
  .mobile-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); width: 14px; }
  .mobile-toggle span:nth-child(3) { bottom: 12px; width: 20px; }
  
  .mobile-toggle:hover {
    background: var(--primary-100);
    transform: scale(1.05);
  }
  
  .mobile-toggle.active {
    background: var(--primary);
    transform: rotate(0deg) scale(1);
  }
  
  .mobile-toggle.active span {
    background: #fff;
  }
  
  .mobile-toggle.active span:nth-child(1) { 
    transform: rotate(45deg); 
    top: 50%; 
    margin-top: -1.25px;
    width: 20px;
  }
  .mobile-toggle.active span:nth-child(2) { 
    opacity: 0; 
    transform: translateX(10px); 
    width: 14px;
  }
  .mobile-toggle.active span:nth-child(3) { 
    transform: rotate(-45deg); 
    bottom: auto;
    top: 50%; 
    margin-top: -1.25px;
    width: 20px;
  }
  
  /* ===== MOBILE OVERLAY BACKDROP ===== */
  .mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    z-index: 1001;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .mobile-overlay.active {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: auto;
  }
  
  /* ===== MOBILE SIDEBAR ===== */
  .mobile-sidebar {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1002;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .mobile-sidebar.active {
    transform: translateX(0);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
  }
  
  /* Subtle decorative gradient at top */
  .mobile-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
    z-index: 10;
  }
  
  /* ===== SIDEBAR HEADER ===== */
  .mobile-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  
  .mobile-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--dark);
  }
  
  .mobile-sidebar-logo .logo-icon {
    width: 36px;
    height: 36px;
  }
  
  .mobile-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--dark-100);
    color: var(--dark-500);
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .mobile-close:hover {
    background: var(--primary-50);
    color: var(--primary);
    border-color: var(--primary-100);
    transform: rotate(90deg);
  }
  
  /* ===== SIDEBAR NAV ITEMS ===== */
  .mobile-sidebar-nav {
    flex: 1;
    padding: 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    color: var(--dark-700);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    /* Initial state for stagger animation */
    opacity: 0;
    transform: translateX(30px);
  }
  
  .mobile-sidebar.active .mobile-nav-item {
    opacity: 1;
    transform: translateX(0);
  }
  
  /* Staggered animation delays */
  .mobile-sidebar.active .mobile-nav-item[data-index="0"] { transition-delay: 0.1s; }
  .mobile-sidebar.active .mobile-nav-item[data-index="1"] { transition-delay: 0.15s; }
  .mobile-sidebar.active .mobile-nav-item[data-index="2"] { transition-delay: 0.2s; }
  .mobile-sidebar.active .mobile-nav-item[data-index="3"] { transition-delay: 0.25s; }
  .mobile-sidebar.active .mobile-nav-item[data-index="4"] { transition-delay: 0.3s; }
  
  /* Reset delays when closing */
  .mobile-nav-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.2s ease, 
                transform 0.2s ease;
  }
  
  .mobile-nav-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-50), transparent);
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .mobile-nav-item:hover {
    background: rgba(198, 40, 40, 0.04);
  }
  
  .mobile-nav-item:hover::before {
    opacity: 1;
  }
  
  .mobile-nav-item:active {
    transform: scale(0.98);
  }
  
  .mobile-nav-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--dark-100);
    color: var(--dark-500);
    flex-shrink: 0;
    transition: all 0.3s ease;
  }
  
  .mobile-nav-item:hover .mobile-nav-icon,
  .mobile-nav-item.active .mobile-nav-icon {
    background: var(--primary-50);
    color: var(--primary);
  }
  
  .mobile-nav-text {
    position: relative;
    z-index: 1;
    flex: 1;
    transition: color 0.3s ease;
  }
  
  .mobile-nav-arrow {
    position: relative;
    z-index: 1;
    color: var(--dark-300);
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
  }
  
  .mobile-nav-item:hover .mobile-nav-arrow {
    opacity: 1;
    transform: translateX(0);
  }
  
  /* Active nav item */
  .mobile-nav-item.active {
    background: linear-gradient(135deg, rgba(198, 40, 40, 0.08), rgba(239, 83, 80, 0.04));
    color: var(--primary);
    font-weight: 600;
  }
  
  .mobile-nav-item.active .mobile-nav-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--primary);
  }
  
  .mobile-nav-item.active .mobile-nav-text {
    color: var(--primary);
  }
  
  /* ===== SIDEBAR FOOTER ===== */
  .mobile-sidebar-footer {
    padding: 20px 16px 28px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.35s;
  }
  
  .mobile-sidebar.active .mobile-sidebar-footer {
    opacity: 1;
    transform: translateY(0);
  }
  
  .btn-mobile-cta {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 4px 16px rgba(198, 40, 40, 0.25);
    transition: all 0.3s ease;
  }
  
  .btn-mobile-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(198, 40, 40, 0.35);
  }
  
  .mobile-sidebar-tagline {
    text-align: center;
    font-size: 0.8rem;
    color: var(--dark-500);
    margin-top: 14px;
    font-style: italic;
    letter-spacing: 0.3px;
  }

  /* ===== REST OF MOBILE STYLES ===== */
  .about-grid, .join-grid { grid-template-columns: 1fr; }
  .action-grid { grid-template-columns: 1fr; }
  .action-card-inner { flex-direction: column; text-align: center; }
  .action-info { text-align: center; }
  .action-cta { justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; gap: 16px; }
  .hero-stat-badge { justify-content: center; }
  .card-stats, .floating-chat-now, .card-chat, .hero-heart-icon, .hero-patterns { display: none; }
  .impact-stats { grid-template-columns: 1fr; }
  .donation-card { padding: 40px 24px; }
  .gallery-mosaic { grid-template-columns: 1fr; }
  .gallery-col-2, .gallery-col-3 { margin-top: 0; }
  .gallery-card img, .gallery-card-tall img { height: 240px; }
  .gallery-card-featured img { min-height: unset; height: 280px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* Extra small devices (iPhone) */
@media (max-width: 480px) {
  body.menu-open { overflow: hidden; }
  .nav-container { height: 64px; padding: 0 12px; }
  .nav-logo { font-size: 0.95rem; gap: 6px; }
  .nav-logo small { display: none; }
  .logo-icon { width: 34px; height: 34px; }
  .mobile-toggle { width: 40px; height: 40px; border-radius: 10px; }
  .mobile-toggle span:nth-child(1) { top: 12px; width: 18px; }
  .mobile-toggle span:nth-child(2) { width: 12px; }
  .mobile-toggle span:nth-child(3) { bottom: 12px; width: 18px; }
  .mobile-toggle.active span:nth-child(1) { width: 18px; }
  .mobile-toggle.active span:nth-child(3) { width: 18px; }

  .mobile-sidebar { width: min(300px, 88vw); }
  .mobile-sidebar-header { padding: 16px 20px; }
  .mobile-sidebar-nav { padding: 12px 12px; }
  .mobile-nav-item { padding: 12px 14px; font-size: 0.9rem; }
  .mobile-nav-icon { width: 38px; height: 38px; }
  .mobile-sidebar-footer { padding: 16px 12px 24px; }
  
  html { scroll-padding-top: 72px; }
}

