/* ==========================================================================
   TECHNISUM.ORG - MAIN STYLESHEET
   Matching Figma design: Color Palette, Typography, Spacing, and Components
   ========================================================================== */

/* ---------- CSS VARIABLES & DESIGN TOKENS ---------- */
:root {
  --color-primary: #007AFF;
  --color-primary-dark: #0062CC;
  --color-primary-light: #47A3FF;
  --color-accent-bg: #EBF5FE;
  --color-accent-border: #CFE6FD;
  
  --color-text-main: #1E293B;
  --color-text-muted: #64748B;
  --color-text-light: #94A3B8;
  --color-white: #FFFFFF;
  --color-bg-page: #FFFFFF;
  --color-border: #E2E8F0;
  
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 122, 255, 0.08);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.08);
  --shadow-primary: 0 6px 20px rgba(0, 122, 255, 0.28);
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- RESET & BASE STYLES ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

/* ---------- CONTAINER & UTILITIES ---------- */
.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

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

.highlight-blue {
  color: var(--color-primary);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  user-select: none;
}

.btn-pill {
  border-radius: var(--radius-pill);
}

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

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.38);
}

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

.btn-outline:hover {
  background-color: rgba(0, 122, 255, 0.06);
  transform: translateY(-2px);
}

.btn-pill-white {
  background-color: var(--color-white);
  color: var(--color-primary);
  font-weight: 600;
  padding: 10px 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-pill-white:hover {
  background-color: #F8FAFC;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.arrow {
  font-size: 1.15rem;
  transition: transform 0.2s ease;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ---------- SECTION HEADINGS ---------- */
.section-header {
  margin-bottom: 50px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-text-main);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  background-color: var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(0, 80, 180, 0.15);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.desktop-nav .nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 36px;
}

.desktop-nav .nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  font-weight: 500;
  padding: 8px 4px;
  position: relative;
}

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

.desktop-nav .nav-link.active {
  color: var(--color-white);
  font-weight: 600;
}

.desktop-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--color-white);
  border-radius: 2px;
}

.header-action {
  display: flex;
  align-items: center;
}

/* Hamburger toggle for mobile */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  background: transparent;
}

.hamburger-btn .bar {
  width: 100%;
  height: 2.5px;
  background-color: var(--color-white);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger-btn.active .bar:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger-btn.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .bar:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  background-color: var(--color-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 24px;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 500;
  display: block;
  padding: 6px 0;
}

.mobile-nav-link.active {
  font-weight: 700;
  border-bottom: 2px solid var(--color-white);
  display: inline-block;
}

.mobile-cta {
  width: 100%;
  margin-top: 10px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 80px 0 60px;
  background-color: var(--color-white);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 50px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.35rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1px;
  color: var(--color-text-main);
  margin-bottom: 22px;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 34px;
  max-width: 530px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}

.hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .hero-img {
  transform: scale(1.02);
}

/* ==========================================================================
   OUR MISSION SECTION
   ========================================================================== */
.mission-section {
  padding: 68px 0;
  background-color: var(--color-accent-bg);
}

.mission-card {
  background-color: transparent;
  border-radius: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  align-items: center;
  gap: 56px;
}

.mission-image-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 122, 255, 0.08);
}

.mission-img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mission-image-wrapper:hover .mission-img {
  transform: scale(1.03);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.badge-icon {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.mission-heading {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--color-text-main);
  letter-spacing: -0.5px;
}

.mission-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* ==========================================================================
   WHAT WE DO SECTION
   ========================================================================== */
.what-we-do-section {
  padding: 90px 0;
  background-color: var(--color-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background-color: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
  box-shadow: none;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: none;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.feature-icon {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 8px;
  line-height: 1.35;
  text-align: center;
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  text-align: center;
  max-width: 250px;
}

.feature-media {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 160px;
}

.feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.feature-card:hover .feature-img {
  transform: scale(1.05);
}

/* ==========================================================================
   OUR WORK IN ACTION SECTION
   ========================================================================== */
.work-section {
  padding: 90px 0;
  background-color: #FAFCFE;
}

/* Category Filter Tabs */
.gallery-tabs {
  display: none;
}

.tab-btn {
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background-color: #EDF3F9;
  transition: var(--transition);
}

.tab-btn:hover {
  background-color: #E2ECF6;
  color: var(--color-text-main);
}

.tab-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(0, 122, 255, 0.28);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background-color: #E2E8F0;
  transition: var(--transition);
}

.gallery-item.hidden {
  display: none;
}

.gallery-img-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-zoom-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--color-white);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.gallery-zoom-icon svg {
  width: 20px;
  height: 20px;
}

.gallery-caption {
  color: var(--color-white);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-img,
.gallery-item:focus .gallery-img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-zoom-icon,
.gallery-item:hover .gallery-caption,
.gallery-item:focus .gallery-zoom-icon,
.gallery-item:focus .gallery-caption {
  transform: translateY(0);
}

/* ==========================================================================
   BE A PART OF THE CHANGE (CTA SECTION)
   ========================================================================== */
.cta-section {
  padding: 60px 0 90px;
  background-color: var(--color-white);
}

.cta-card {
  background-color: var(--color-accent-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  box-shadow: 0 12px 32px rgba(0, 122, 255, 0.06);
}

.cta-content {
  padding: 60px 54px;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--color-text-main);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.25;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 440px;
}

.cta-media {
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-color: var(--color-white);
}

.cta-volunteer-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* ==========================================================================
   FREQUENTLY ASKED QUESTIONS SECTION
   ========================================================================== */
.faq-section {
  padding: 90px 0 110px;
  background-color: #FAFCFE;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 48px;
  align-items: flex-start;
}

.faq-phone-card {
  background-color: var(--color-accent-bg);
  border: 1.5px solid var(--color-accent-border);
  border-radius: var(--radius-xl);
  padding: 40px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 122, 255, 0.05);
  position: sticky;
  top: 100px;
}

.faq-phone-img {
  max-width: 100%;
  height: 330px;
  object-fit: contain;
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.accordion-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item.active {
  background-color: var(--color-accent-bg);
  border-color: var(--color-accent-border);
  box-shadow: 0 4px 16px rgba(0, 122, 255, 0.06);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  text-align: left;
  gap: 16px;
}

.accordion-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.accordion-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: rgba(0, 122, 255, 0.12);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.accordion-icon-badge svg {
  width: 18px;
  height: 18px;
}

.accordion-question {
  font-family: var(--font-heading);
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--color-text-main);
  line-height: 1.4;
}

.accordion-toggle-icon {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-primary);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.accordion-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-body {
  padding: 0 22px 20px 68px;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.site-footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 48px 0 32px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  gap: 30px;
}

.footer-brand .footer-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.footer-nav .footer-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.footer-nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.96rem;
  font-weight: 500;
}

.footer-nav-link:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.16);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.social-icon:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-link {
  color: rgba(255, 255, 255, 0.82);
}

.legal-link:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.divider {
  opacity: 0.6;
}

/* ==========================================================================
   MODALS (VOLUNTEER & LIGHTBOX)
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal.show .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-content {
  padding: 36px 32px 32px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.8rem;
  color: var(--color-text-light);
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--color-text-main);
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-icon-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-accent-bg);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.modal-icon-badge svg {
  width: 26px;
  height: 26px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* Modal Form */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--color-text-main);
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: #FAFCFE;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
  background-color: var(--color-white);
}

.btn-block {
  width: 100%;
  margin-top: 6px;
}

.modal-success {
  text-align: center;
  padding: 30px 10px 10px;
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #10B981;
  color: var(--color-white);
  font-size: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.modal-success h4 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.modal-success p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox-modal.show {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.9);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  font-size: 2.2rem;
  color: var(--color-white);
  line-height: 1;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox-caption {
  color: var(--color-white);
  margin-top: 14px;
  font-size: 1.05rem;
  font-weight: 500;
  text-align: center;
}

/* Back to top floating button */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 999;
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .mission-card {
    padding: 44px 36px;
    gap: 36px;
  }
}

@media (max-width: 860px) {
  .desktop-nav,
  .header-action {
    display: none;
  }
  
  .hamburger-btn {
    display: flex;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-img {
    height: 320px;
  }
  
  .mission-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .section-badge {
    justify-content: center;
  }
  
  .cta-card {
    grid-template-columns: 1fr;
  }
  
  .cta-content {
    padding: 40px 32px;
    text-align: center;
  }
  
  .cta-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .cta-btn-wrapper {
    display: flex;
    justify-content: center;
  }
  
  .cta-volunteer-img {
    height: 300px;
  }
  
  .faq-layout {
    grid-template-columns: 1fr;
  }
  
  .faq-phone-card {
    position: static;
    max-width: 440px;
    margin: 0 auto;
  }
  
  .footer-top {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  
  .footer-nav .footer-nav-list {
    flex-direction: column;
    gap: 14px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 1.9rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .accordion-body {
    padding-left: 22px;
  }
}

/* ==========================================================================
   OUR WORK & ABOUT US EXTENSIONS
   ========================================================================== */

/* Work Hero Section */
.work-hero-section {
  padding: 65px 0 55px;
}

.work-hero-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 50px;
}

.work-hero-content .work-hero-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-main);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.work-hero-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 30px;
  max-width: 520px;
}

.work-hero-media {
  position: relative;
}

.work-hero-img-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.work-hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

/* Three Pillars Card Container */
.pillars-section {
  padding: 20px 0 65px;
}

.pillars-outer-card {
  background-color: var(--color-white);
  border: 1px solid #E2E8F0;
  border-radius: 28px;
  padding: 40px 36px 44px;
  box-shadow: 0 10px 32px rgba(0, 122, 255, 0.05);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.work-pillar-card {
  display: flex;
  flex-direction: column;
}

.pillar-img-wrapper {
  position: relative;
  border-radius: 18px;
  margin-bottom: 20px;
  padding-top: 16px;
}

.pillar-card-img {
  width: 100%;
  height: 195px;
  object-fit: cover;
  border-radius: 18px;
  clip-path: polygon(0 0, 100% 24px, 100% 100%, 0 100%);
  display: block;
}

.pillar-badge-icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 122, 255, 0.35);
  z-index: 2;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-badge-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.pillar-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 10px;
}

.pillar-card-desc {
  font-size: 0.93rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Photo & Video Gallery Showcase */
.gallery-showcase-section {
  padding: 40px 0 90px;
}

.gallery-showcase-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 46px;
}

.gallery-showcase-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.gallery-showcase-subtitle {
  font-size: 1.02rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.gallery-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-showcase-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 250px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  background-color: #F1F5F9;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.gallery-showcase-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 122, 255, 0.16);
}

.gallery-showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-showcase-item:hover img {
  transform: scale(1.04);
}

.gallery-overlay-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: var(--transition);
}

.gallery-showcase-item:hover .gallery-overlay-badge {
  opacity: 1;
  transform: translateY(0);
}

/* About Us Page Specific Styles */
.about-hero-section {
  padding: 65px 0 50px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFD 100%);
}

.about-hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.about-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-accent-bg);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 18px;
  border: 1px solid var(--color-accent-border);
}

.about-hero-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.22;
  color: var(--color-text-main);
  margin-bottom: 22px;
}

.about-hero-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.about-stat-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 18px 14px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.about-stat-number {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--color-primary);
  display: block;
  line-height: 1.2;
}

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

.about-story-section {
  padding: 60px 0;
}

.story-card {
  background-color: var(--color-accent-bg);
  border: 1px solid var(--color-accent-border);
  border-radius: 28px;
  padding: 44px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.story-content h2 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 16px;
}

.story-content p {
  font-size: 0.98rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.story-media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 122, 255, 0.1);
}

.story-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.about-values-section {
  padding: 60px 0 80px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.value-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 30px 24px;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent-border);
  box-shadow: var(--shadow-md);
}

.value-icon-wrapper {
  width: 48px;
  height: 48px;
  background-color: var(--color-accent-bg);
  color: var(--color-primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.value-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 10px;
}

.value-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CONTACT US PAGE SPECIFIC STYLES
   ========================================================================== */
.contact-hero-section {
  padding: 65px 0 55px;
}

.contact-hero-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 50px;
}

.contact-hero-title {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-main);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.contact-hero-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 30px;
  max-width: 520px;
}

.contact-hero-media {
  position: relative;
}

.contact-hero-img-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.contact-hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

/* Contact Form Section with Leaf Pattern */
.contact-form-section {
  padding: 70px 0 80px;
  background-color: #F8FAFD;
  background-image: url('images/leaf_pattern.svg');
  background-size: cover;
  background-position: center;
  border-top: 1px solid #EDF2F7;
  border-bottom: 1px solid #EDF2F7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.contact-details-box {
  padding-top: 10px;
}

.contact-details-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 32px;
  letter-spacing: -0.5px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-info-text {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text-main);
  word-break: break-all;
}

.contact-info-text a {
  color: var(--color-text-main);
  transition: color 0.2s ease;
}

.contact-info-text a:hover {
  color: var(--color-primary);
}

/* Form inputs & submit button */
.contact-form-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-input-group {
  position: relative;
  width: 100%;
}

.contact-form-input,
.contact-form-textarea {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 0.96rem;
  font-family: var(--font-body);
  color: var(--color-text-main);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
  color: #94A3B8;
  font-weight: 400;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.12);
}

.contact-form-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit-btn {
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.02rem;
  border-radius: 9999px;
  padding: 15px 32px;
  width: 100%;
  text-align: center;
  margin-top: 6px;
  box-shadow: 0 4px 14px rgba(0, 122, 255, 0.28);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
}

.contact-submit-btn:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 122, 255, 0.35);
}

.contact-submit-btn:active {
  transform: translateY(0);
}

/* Get Involved Section */
.get-involved-section {
  padding: 85px 0 95px;
  text-align: center;
}

.get-involved-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.get-involved-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto;
}

/* Responsive updates for new pages */
@media (max-width: 991px) {
  .work-hero-container,
  .about-hero-container,
  .contact-hero-container,
  .story-card,
  .contact-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .work-hero-desc,
  .about-hero-desc,
  .contact-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .gallery-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-media img {
    height: 260px;
  }
  .contact-hero-img {
    height: 300px;
  }
  .contact-details-box {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .gallery-showcase-grid,
  .values-grid,
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
  .work-hero-content .work-hero-title,
  .about-hero-title,
  .contact-hero-title,
  .get-involved-title {
    font-size: 2.15rem;
  }
  .gallery-showcase-title,
  .contact-details-title {
    font-size: 1.85rem;
  }
  .pillars-outer-card {
    padding: 24px 18px;
  }
  .contact-hero-img {
    height: 240px;
  }
}



