/* ===================================================================
 * GIVEWELL - Charity & Fundraising NGO HTML5 Template
 * Built with Bootstrap 5.3, Tabler Icons & Vanilla JavaScript
 * =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

/* --- Root Theme Variables --- */
:root {
  --gw-primary: #FF5E3A;
  --gw-primary-hover: #E84D29;
  --gw-primary-rgb: 255, 94, 58;
  --gw-primary-light: #FFF2EF;
  --gw-primary-border: #FFD4C8;

  --gw-secondary: #132238;
  --gw-secondary-rgb: 19, 34, 56;
  --gw-secondary-hover: #0c1829;
  --gw-dark: #0A1424;

  --gw-accent-green: #10B981;
  --gw-accent-green-light: #ECFDF5;
  --gw-accent-amber: #F59E0B;
  --gw-accent-amber-light: #FEF3C7;
  --gw-accent-blue: #2563EB;
  --gw-accent-blue-light: #EFF6FF;

  --gw-text: #2D3748;
  --gw-text-muted: #64748B;
  --gw-text-light: #94A3B8;

  --gw-bg-page: #FAF8F5;
  --gw-bg-surface: #FFFFFF;
  --gw-bg-alt: #F4F0E8;
  --gw-border: #E8ECEF;

  /* Global Spacing Variables */
  --section-padding-y: 85px;
  --section-padding-y-sm: 50px;
  --container-gap: 1.5rem;
  --card-gap: 1.5rem;
  --element-gap: 1rem;

  /* Global Border Radius Variables */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --gw-radius-sm: var(--radius-sm);
  --gw-radius-md: var(--radius-md);
  --gw-radius-lg: var(--radius-lg);
  --gw-radius-pill: var(--radius-pill);

  --gw-shadow-xs: 0 2px 6px rgba(19, 34, 56, 0.04);
  --gw-shadow-sm: 0 6px 18px rgba(19, 34, 56, 0.06);
  --gw-shadow-md: 0 12px 32px rgba(19, 34, 56, 0.08);
  --gw-shadow-lg: 0 20px 48px rgba(19, 34, 56, 0.12);

  --gw-font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --gw-font-serif: 'Libre Baskerville', Georgia, serif;
  --gw-font-handwriting: 'Caveat', cursive;

  --gw-transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive Spacing */
@media (max-width: 991.98px) {
  :root {
    --section-padding-y: 65px;
    --section-padding-y-sm: 40px;
  }
}

@media (max-width: 575.98px) {
  :root {
    --section-padding-y: 50px;
    --section-padding-y-sm: 30px;
  }
}

/* --- Base Reset & Typography --- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--gw-font-sans);
  color: var(--gw-text);
  background-color: var(--gw-bg-page);
  line-height: 1.68;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main, .main-content {
  flex: 1 0 auto;
  width: 100%;
}

footer.main-footer {
  margin-top: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--gw-font-serif);
  color: var(--gw-secondary);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.15rem; font-family: var(--gw-font-sans); font-weight: 600; }
h6 { font-size: 1rem; font-family: var(--gw-font-sans); font-weight: 600; }

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--gw-primary-hover);
}

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

.font-serif {
  font-family: var(--gw-font-serif) !important;
}

.font-handwriting {
  font-family: var(--gw-font-handwriting) !important;
  font-size: 1.35rem;
  color: var(--gw-primary);
}

/* --- Utilities & Helpers --- */
.bg-page { background-color: var(--gw-bg-page) !important; }
.bg-surface { background-color: var(--gw-bg-surface) !important; }
.bg-alt { background-color: var(--gw-bg-alt) !important; }
.bg-navy { background-color: var(--gw-secondary) !important; color: #fff; }
.bg-navy-dark { background-color: var(--gw-dark) !important; color: #fff; }
.bg-primary-soft { background-color: var(--gw-primary-light) !important; }
.bg-green-soft { background-color: var(--gw-accent-green-light) !important; }
.bg-amber-soft { background-color: var(--gw-accent-amber-light) !important; }

.text-primary-gw { color: var(--gw-primary) !important; }
.text-secondary-gw { color: var(--gw-secondary) !important; }
.text-muted-gw { color: var(--gw-text-muted) !important; }
.border-gw { border-color: var(--gw-border) !important; }

.rounded-gw-sm { border-radius: var(--gw-radius-sm) !important; }
.rounded-gw-md { border-radius: var(--gw-radius-md) !important; }
.rounded-gw-lg { border-radius: var(--gw-radius-lg) !important; }
.rounded-gw-pill { border-radius: var(--gw-radius-pill) !important; }

.shadow-gw-sm { box-shadow: var(--gw-shadow-sm) !important; }
.shadow-gw-md { box-shadow: var(--gw-shadow-md) !important; }
.shadow-gw-lg { box-shadow: var(--gw-shadow-lg) !important; }

.section-padding {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

.section-padding-sm {
  padding-top: var(--section-padding-y-sm);
  padding-bottom: var(--section-padding-y-sm);
}

/* Section Header Styling */
.section-header {
  margin-bottom: 3rem;
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--gw-font-handwriting);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gw-primary);
  margin-bottom: 0.4rem;
}

.section-subtitle.badge-style {
  font-family: var(--gw-font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--gw-primary-light);
  color: var(--gw-primary);
  padding: 0.4rem 1.1rem;
  border-radius: var(--gw-radius-pill);
}

.section-title {
  color: var(--gw-secondary);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--gw-text-muted);
  font-size: 1.05rem;
  max-width: 680px;
}

/* --- Buttons --- */
.btn-givewell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--gw-primary);
  color: #FFFFFF !important;
  font-family: var(--gw-font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  height: 48px;
  min-height: 48px;
  padding: 0 1.85rem;
  border-radius: var(--gw-radius-pill);
  border: 1px solid var(--gw-primary);
  box-shadow: 0 4px 14px rgba(255, 94, 58, 0.28);
  transition: var(--gw-transition);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}

.btn-givewell:hover {
  background-color: var(--gw-primary-hover);
  border-color: var(--gw-primary-hover);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 94, 58, 0.38);
}

.btn-givewell-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: transparent;
  color: var(--gw-primary) !important;
  font-family: var(--gw-font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  height: 48px;
  min-height: 48px;
  padding: 0 1.85rem;
  border-radius: var(--gw-radius-pill);
  border: 2px solid var(--gw-primary);
  transition: var(--gw-transition);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}

.btn-givewell-outline:hover {
  background-color: var(--gw-primary);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 94, 58, 0.25);
}

.btn-givewell-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--gw-secondary);
  color: #FFFFFF !important;
  font-family: var(--gw-font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  height: 48px;
  min-height: 48px;
  padding: 0 1.85rem;
  border-radius: var(--gw-radius-pill);
  border: 1px solid var(--gw-secondary);
  box-shadow: 0 4px 14px rgba(19, 34, 56, 0.18);
  transition: var(--gw-transition);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}

.btn-givewell-secondary:hover {
  background-color: var(--gw-secondary-hover);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(19, 34, 56, 0.28);
}

.btn-givewell-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #FFFFFF;
  color: var(--gw-secondary) !important;
  font-family: var(--gw-font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  height: 48px;
  min-height: 48px;
  padding: 0 1.85rem;
  border-radius: var(--gw-radius-pill);
  border: 1px solid #FFFFFF;
  box-shadow: var(--gw-shadow-md);
  transition: var(--gw-transition);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}

.btn-givewell-white:hover {
  background-color: var(--gw-primary);
  color: #FFFFFF !important;
  border-color: var(--gw-primary);
  transform: translateY(-2px);
}

.btn-sm-gw {
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 1.25rem !important;
  font-size: 0.85rem !important;
  line-height: 1 !important;
}

.btn-lg-gw {
  height: 54px !important;
  min-height: 54px !important;
  padding: 0 2.4rem !important;
  font-size: 1.05rem !important;
  line-height: 1 !important;
}

/* --- Topbar --- */
.topbar {
  background-color: var(--gw-secondary);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.875rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar a {
  color: rgba(255, 255, 255, 0.85);
}

.topbar a:hover {
  color: var(--gw-primary);
}

.topbar-items {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.topbar-item i {
  color: var(--gw-primary);
  font-size: 1.05rem;
}

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.topbar-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #fff;
  transition: var(--gw-transition);
}

.topbar-socials a:hover {
  background: var(--gw-primary);
  color: #fff;
}

/* --- Main Navbar & Header --- */
.main-header {
  background-color: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: var(--gw-transition);
  box-shadow: 0 4px 20px rgba(19, 34, 56, 0.05);
  min-height: 84px;
  display: flex;
  align-items: center;
}

.main-header > .container {
  width: 100%;
}

.main-header .navbar {
  min-height: 84px;
  padding: 0 !important;
  width: 100%;
}

.main-header.scrolled {
  box-shadow: 0 10px 30px rgba(19, 34, 56, 0.1);
  min-height: 74px;
}

.main-header.scrolled .navbar {
  min-height: 74px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gw-primary) 0%, #FF8566 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 16px rgba(255, 94, 58, 0.3);
  flex-shrink: 0;
}

.brand-logo-text {
  font-family: var(--gw-font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--gw-secondary);
  line-height: 1;
}

.brand-logo-text span {
  color: var(--gw-primary);
}

.brand-logo-tagline {
  display: block;
  font-family: var(--gw-font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gw-text-muted);
  margin-top: 2px;
}

/* Desktop Navigation Menu */
.navbar-nav .nav-item {
  position: relative;
  margin: 0 0.15rem;
}

.navbar-nav .nav-link {
  font-family: var(--gw-font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gw-secondary) !important;
  padding: 0 0.85rem !important;
  height: 84px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--gw-transition);
  white-space: nowrap;
}

.main-header.scrolled .navbar-nav .nav-link {
  height: 74px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--gw-primary) !important;
}

.navbar-nav .nav-link i.ti-chevron-down {
  font-size: 0.8rem;
  transition: transform 0.25s ease;
}

.navbar-nav .nav-item:hover .nav-link i.ti-chevron-down {
  transform: rotate(180deg);
}

/* Dropdown Menus */
.navbar-nav .dropdown-menu {
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius-md);
  box-shadow: var(--gw-shadow-lg);
  padding: 0.75rem 0;
  min-width: 230px;
  background: #FFFFFF;
  margin-top: 0;
}

@media (min-width: 992px) {
  .navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
    animation: fadeInDown 0.22s ease forwards;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item {
  font-family: var(--gw-font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gw-secondary);
  padding: 0.55rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--gw-transition);
}

.dropdown-item:hover,
.dropdown-item.active {
  background-color: var(--gw-primary-light);
  color: var(--gw-primary);
  padding-left: 1.65rem;
}

.dropdown-divider {
  border-color: var(--gw-border);
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  height: 84px;
  flex-shrink: 0;
}

.main-header.scrolled .header-actions {
  height: 74px;
}

@media (max-width: 991.98px) {
  .main-header,
  .main-header .navbar {
    min-height: 70px;
  }
  .navbar-nav .nav-link {
    height: auto;
    padding: 0.75rem 1rem !important;
  }
  .header-actions {
    height: auto;
  }
}

.header-search-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gw-bg-page);
  border: 1px solid var(--gw-border);
  color: var(--gw-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: var(--gw-transition);
}

.header-search-btn:hover {
  background: var(--gw-primary);
  color: #fff;
  border-color: var(--gw-primary);
}

/* Mobile Offcanvas Nav */
.offcanvas-nav {
  max-width: 320px;
  background-color: #FFFFFF;
}

.offcanvas-nav .nav-link {
  padding: 0.85rem 1rem !important;
  border-bottom: 1px solid var(--gw-border);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- Breadcrumb & Page Hero --- */
.page-hero {
  background: linear-gradient(135deg, #132238 0%, #1c3252 100%);
  color: #FFFFFF;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 94, 58, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-title {
  color: #FFFFFF;
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 0.8rem;
}

.breadcrumb {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb-item a:hover {
  color: var(--gw-primary);
}

.breadcrumb-item.active {
  color: var(--gw-primary);
  font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
  content: "/";
}

/* --- Hero Section Styles (Home 1, 2, 3, 4) --- */
.hero-main {
  position: relative;
  padding: 4.5rem 0 4rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 60%, var(--gw-bg-page) 100%);
  overflow: hidden;
}

/* Subtle decorative organic ambient shapes in hero */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

.hero-orb-1 {
  width: 480px;
  height: 480px;
  top: -100px;
  right: -80px;
  background: radial-gradient(circle, rgba(255, 94, 58, 0.12) 0%, rgba(255, 133, 102, 0.04) 70%, transparent 100%);
}

.hero-orb-2 {
  width: 420px;
  height: 420px;
  bottom: 0;
  left: -100px;
  background: radial-gradient(circle, rgba(39, 174, 96, 0.08) 0%, rgba(39, 174, 96, 0.02) 70%, transparent 100%);
}

.hero-main > .container {
  position: relative;
  z-index: 1;
}

.hero-badge-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  color: var(--gw-secondary);
  border: 1px solid var(--gw-primary-border);
  padding: 0.45rem 1.15rem;
  border-radius: var(--gw-radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 2px 10px rgba(255, 94, 58, 0.08);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gw-primary);
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(255, 94, 58, 0.25);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 94, 58, 0.4); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 94, 58, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 94, 58, 0); }
}

.hero-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.5rem;
  background: var(--gw-accent-green-light);
  color: var(--gw-accent-green);
  border-radius: var(--gw-radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 0.25rem;
}

.hero-title {
  font-size: clamp(2.3rem, 4.2vw, 3.65rem);
  line-height: 1.16;
  color: var(--gw-secondary);
  margin-bottom: 1.35rem;
  letter-spacing: -0.02em;
}

.hero-title span.accent-highlight {
  position: relative;
  display: inline-block;
  color: var(--gw-primary);
  white-space: nowrap;
}

.hero-brush-svg {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 14px;
  pointer-events: none;
  z-index: -1;
}

.hero-desc {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--gw-text-muted);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

/* Video Trigger Button in Hero */
.btn-hero-video {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: transparent;
  border: none;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  text-align: left;
  transition: var(--gw-transition);
}

.btn-hero-video .play-icon-pulse {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--gw-primary-border);
  color: var(--gw-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 14px rgba(255, 94, 58, 0.2);
  position: relative;
  transition: var(--gw-transition);
  flex-shrink: 0;
}

.btn-hero-video:hover .play-icon-pulse {
  background: var(--gw-primary);
  color: #FFFFFF;
  border-color: var(--gw-primary);
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(255, 94, 58, 0.35);
}

.btn-hero-video .video-btn-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gw-secondary);
  line-height: 1.2;
}

.btn-hero-video .video-btn-text span {
  font-size: 0.78rem;
  color: var(--gw-text-muted);
}

.btn-hero-video:hover .video-btn-text strong {
  color: var(--gw-primary);
}

/* Hero Trust & Reviews */
.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gw-border);
}

.avatar-group {
  display: flex;
  align-items: center;
}

.avatar-group img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2.5px solid #FFFFFF;
  margin-left: -10px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.avatar-group img:first-child {
  margin-left: 0;
}

.hero-trust-text {
  font-size: 0.88rem;
  color: var(--gw-text-muted);
}

.hero-trust-text .stars {
  color: #F59E0B;
  font-size: 0.9rem;
  display: flex;
  gap: 2px;
  margin-bottom: 2px;
}

.hero-trust-text strong {
  color: var(--gw-secondary);
  font-weight: 700;
}

/* Hero Media & Floating Badges */
.hero-media-wrap {
  position: relative;
  z-index: 1;
}

.hero-media-backdrop {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 100%;
  height: 100%;
  border: 2px dashed rgba(255, 94, 58, 0.35);
  border-radius: 28px;
  z-index: 0;
  pointer-events: none;
}

.hero-media-card {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(19, 34, 56, 0.16);
  background: #FFFFFF;
}

.hero-main-img {
  width: 100%;
  height: 490px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.hero-media-card:hover .hero-main-img {
  transform: scale(1.025);
}

.hero-photo-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(19, 34, 56, 0.82);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 0.35rem 0.85rem;
  border-radius: var(--gw-radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-float-card {
  position: absolute;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  box-shadow: 0 12px 30px rgba(19, 34, 56, 0.12);
  border: 1px solid var(--gw-border);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  z-index: 3;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-float-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 36px rgba(19, 34, 56, 0.18);
}

.hero-float-card.pos-1 {
  bottom: 24px;
  left: -12px;
  animation: floatSlow 5s ease-in-out infinite alternate;
}

.hero-float-card.pos-2 {
  top: 36px;
  right: -12px;
  animation: floatSlow 5s ease-in-out infinite alternate;
  animation-delay: 2.5s;
}

@keyframes floatSlow {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.hero-float-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gw-primary-light);
  color: var(--gw-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* Quick Donation Bar (Integrated cleanly below hero) */
.quick-donation-bar {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(19, 34, 56, 0.08);
  padding: 1.75rem 2.25rem;
  border: 1px solid var(--gw-border);
  margin-top: 3.5rem;
  position: relative;
  z-index: 5;
}

.quick-donation-bar .freq-toggle {
  display: inline-flex;
  background: #F1F4F8;
  border-radius: var(--gw-radius-pill);
  padding: 3px;
  gap: 3px;
}

.quick-donation-bar .freq-toggle button {
  border: none;
  background: transparent;
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gw-text-muted);
  border-radius: var(--gw-radius-pill);
  cursor: pointer;
  transition: var(--gw-transition);
}

.quick-donation-bar .freq-toggle button.active {
  background: #FFFFFF;
  color: var(--gw-secondary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.quick-amount-pill {
  border: 1.5px solid var(--gw-border);
  background: #FFFFFF;
  padding: 0.55rem 1.15rem;
  border-radius: var(--gw-radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gw-secondary);
  cursor: pointer;
  transition: var(--gw-transition);
  user-select: none;
}

.quick-amount-pill:hover {
  border-color: var(--gw-primary);
  color: var(--gw-primary);
  background: var(--gw-primary-light);
}

.quick-amount-pill.active {
  background: var(--gw-primary);
  color: #FFFFFF;
  border-color: var(--gw-primary);
  box-shadow: 0 4px 12px rgba(255, 94, 58, 0.28);
}

.quick-impact-msg {
  font-size: 0.88rem;
  color: var(--gw-secondary);
  background: #F8FAFC;
  border-left: 3px solid var(--gw-primary);
  padding: 0.5rem 0.85rem;
  border-radius: 0 8px 8px 0;
  margin-top: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Responsive tweaks for Hero Section */
@media (max-width: 991.98px) {
  .hero-main {
    padding: 3.5rem 0 3rem;
  }
  .hero-main-img {
    height: 380px;
  }
  .hero-media-backdrop {
    display: none;
  }
  .hero-float-card.pos-1 {
    left: 10px;
    bottom: 14px;
    padding: 0.75rem 1rem;
  }
  .hero-float-card.pos-2 {
    right: 10px;
    top: 14px;
    padding: 0.75rem 1rem;
  }
  .quick-donation-bar {
    margin-top: 2.5rem;
    padding: 1.5rem 1.25rem;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn-givewell {
    width: 100%;
    justify-content: center;
  }
  .btn-hero-video {
    justify-content: center;
  }
  .hero-main-img {
    height: 320px;
  }
  .hero-float-card {
    font-size: 0.85rem;
    padding: 0.6rem 0.85rem;
  }
  .hero-float-icon {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
  }
}

/* --- Cause Cards & Presentation --- */
.cause-card {
  background: #FFFFFF;
  border-radius: var(--gw-radius-md);
  border: 1px solid var(--gw-border);
  overflow: hidden;
  transition: var(--gw-transition);
  box-shadow: var(--gw-shadow-xs);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cause-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--gw-shadow-md);
  border-color: var(--gw-primary-border);
}

.cause-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 230px;
  width: 100%;
  flex-shrink: 0;
}

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

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

.cause-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(19, 34, 56, 0.85);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--gw-radius-pill);
  z-index: 2;
}

.cause-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cause-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-family: var(--gw-font-serif);
}

.cause-card-title a {
  color: var(--gw-secondary);
}

.cause-card-title a:hover {
  color: var(--gw-primary);
}

.cause-card-desc {
  font-size: 0.92rem;
  color: var(--gw-text-muted);
  margin-bottom: 1.25rem;
  flex: 1;
}

/* Cause Progress Bar */
.cause-progress-wrap {
  margin-bottom: 1.25rem;
}

.cause-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.progress-gw {
  height: 8px;
  background-color: var(--gw-border);
  border-radius: 10px;
  overflow: hidden;
}

.progress-gw .progress-bar {
  background: linear-gradient(90deg, var(--gw-primary) 0%, #FF8A65 100%);
  border-radius: 10px;
}

.cause-card-stats {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-top: 1px solid var(--gw-border);
  border-bottom: 1px solid var(--gw-border);
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
}

.cause-stat-item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--gw-secondary);
}

.cause-stat-item span {
  color: var(--gw-text-muted);
  font-size: 0.8rem;
}

/* Causes List View Card */
.cause-list-card {
  background: #FFFFFF;
  border-radius: var(--gw-radius-md);
  border: 1px solid var(--gw-border);
  overflow: hidden;
  transition: var(--gw-transition);
  box-shadow: var(--gw-shadow-xs);
  margin-bottom: 1.75rem;
}

.cause-list-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--gw-shadow-md);
  border-color: var(--gw-primary-border);
}

.cause-list-img-wrap {
  height: 100%;
  min-height: 240px;
  position: relative;
}

.cause-list-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Event Cards --- */
.event-card {
  background: #FFFFFF;
  border-radius: var(--gw-radius-md);
  border: 1px solid var(--gw-border);
  overflow: hidden;
  box-shadow: var(--gw-shadow-xs);
  transition: var(--gw-transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--gw-shadow-md);
  border-color: var(--gw-primary-border);
}

.event-card-img-wrap {
  position: relative;
  height: 230px;
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
}

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

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

.event-date-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 0.5rem 0.85rem;
  text-align: center;
  box-shadow: var(--gw-shadow-sm);
  z-index: 2;
  min-width: 58px;
}

.event-date-badge .day {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gw-primary);
  line-height: 1;
}

.event-date-badge .month {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gw-secondary);
  letter-spacing: 0.05em;
}

.event-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-card-action {
  margin-top: auto;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--gw-text-muted);
  margin-bottom: 0.75rem;
}

.event-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.event-meta-item i {
  color: var(--gw-primary);
}

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

.event-card-title a {
  color: var(--gw-secondary);
}

.event-card-title a:hover {
  color: var(--gw-primary);
}

/* Event List Card */
.event-list-item {
  background: #FFFFFF;
  border-radius: var(--gw-radius-md);
  border: 1px solid var(--gw-border);
  padding: 1.5rem;
  transition: var(--gw-transition);
  box-shadow: var(--gw-shadow-xs);
  margin-bottom: 1.25rem;
}

.event-list-item:hover {
  box-shadow: var(--gw-shadow-md);
  border-color: var(--gw-primary-border);
  transform: translateX(4px);
}

.event-list-date-box {
  width: 80px;
  height: 80px;
  border-radius: var(--gw-radius-md);
  background: var(--gw-primary-light);
  border: 1px solid var(--gw-primary-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
}

.event-list-date-box .day {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gw-primary);
  line-height: 1;
}

.event-list-date-box .month {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gw-secondary);
}

/* --- Blog Cards --- */
.blog-card {
  background: #FFFFFF;
  border-radius: var(--gw-radius-md);
  border: 1px solid var(--gw-border);
  overflow: hidden;
  box-shadow: var(--gw-shadow-xs);
  transition: var(--gw-transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--gw-shadow-md);
  border-color: var(--gw-primary-border);
}

.blog-card-img-wrap {
  position: relative;
  height: 230px;
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
}

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

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

.blog-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--gw-text-muted);
  margin-bottom: 0.75rem;
}

.blog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-meta-item i {
  color: var(--gw-primary);
}

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

.blog-card-title a {
  color: var(--gw-secondary);
}

.blog-card-title a:hover {
  color: var(--gw-primary);
}

.blog-card-desc {
  font-size: 0.92rem;
  color: var(--gw-text-muted);
  margin-bottom: 1.25rem;
  flex: 1;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gw-primary);
  margin-top: auto;
}

.blog-read-more i {
  transition: transform 0.2s ease;
}

.blog-read-more:hover i {
  transform: translateX(4px);
}

/* --- Stats & Numbers --- */
.stat-card {
  background: #FFFFFF;
  border-radius: var(--gw-radius-md);
  padding: 2rem 1.5rem;
  border: 1px solid var(--gw-border);
  box-shadow: var(--gw-shadow-xs);
  text-align: center;
  transition: var(--gw-transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--gw-shadow-md);
}

.stat-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--gw-primary-light);
  color: var(--gw-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin-bottom: 1.25rem;
}

.stat-number {
  font-family: var(--gw-font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gw-secondary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

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

/* --- Team Member Cards --- */
.team-card {
  background: #FFFFFF;
  border-radius: var(--gw-radius-md);
  border: 1px solid var(--gw-border);
  overflow: hidden;
  box-shadow: var(--gw-shadow-xs);
  transition: var(--gw-transition);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--gw-shadow-md);
  border-color: var(--gw-primary-border);
}

.team-img-wrap {
  position: relative;
  height: 290px;
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
}

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

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

.team-social-overlay {
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: linear-gradient(to top, rgba(19, 34, 56, 0.9) 0%, transparent 100%);
  transition: bottom 0.3s ease;
}

.team-card:hover .team-social-overlay {
  bottom: 0;
}

.team-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--gw-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--gw-transition);
}

.team-social-btn:hover {
  background: var(--gw-primary);
  color: #FFFFFF;
}

.team-info {
  padding: 1.5rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-name {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.team-name a {
  color: var(--gw-secondary);
}

.team-name a:hover {
  color: var(--gw-primary);
}

.team-role {
  color: var(--gw-primary);
  font-size: 0.88rem;
  font-weight: 600;
}

/* --- Testimonials --- */
.testimonial-card {
  background: #FFFFFF;
  border-radius: var(--gw-radius-md);
  padding: 2.2rem;
  border: 1px solid var(--gw-border);
  box-shadow: var(--gw-shadow-xs);
  transition: var(--gw-transition);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  box-shadow: var(--gw-shadow-md);
  border-color: var(--gw-primary-border);
}

.testimonial-quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.8rem;
  color: var(--gw-primary-light);
  font-size: 3rem;
  line-height: 1;
  pointer-events: none;
}

.testimonial-stars {
  color: var(--gw-accent-amber);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--gw-text);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gw-primary-light);
}

.testimonial-author-name {
  font-family: var(--gw-font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gw-secondary);
  margin-bottom: 2px;
}

.testimonial-author-role {
  font-size: 0.82rem;
  color: var(--gw-text-muted);
}

/* --- Donation Page Form Styles --- */
.donation-container {
  background: #FFFFFF;
  border-radius: var(--gw-radius-lg);
  border: 1px solid var(--gw-border);
  box-shadow: var(--gw-shadow-md);
  padding: 2.5rem;
}

@media (max-width: 768px) {
  .donation-container {
    padding: 1.5rem;
  }
}

.frequency-switch {
  display: flex;
  background: var(--gw-bg-page);
  border-radius: var(--gw-radius-pill);
  padding: 0.4rem;
  margin-bottom: 2rem;
  border: 1px solid var(--gw-border);
}

.frequency-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gw-secondary);
  border-radius: var(--gw-radius-pill);
  transition: var(--gw-transition);
  cursor: pointer;
}

.frequency-btn.active {
  background: var(--gw-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(255, 94, 58, 0.3);
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.amount-btn {
  border: 2px solid var(--gw-border);
  background: var(--gw-bg-page);
  border-radius: var(--gw-radius-md);
  padding: 0.9rem 0.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--gw-secondary);
  cursor: pointer;
  transition: var(--gw-transition);
}

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

.amount-btn.active {
  border-color: var(--gw-primary);
  background: var(--gw-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(255, 94, 58, 0.3);
}

.payment-method-card {
  border: 2px solid var(--gw-border);
  border-radius: var(--gw-radius-md);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--gw-transition);
  background: var(--gw-bg-page);
}

.payment-method-card:hover,
.payment-method-card.active {
  border-color: var(--gw-primary);
  background: var(--gw-primary-light);
}

.payment-method-card i {
  font-size: 1.75rem;
  color: var(--gw-secondary);
  margin-bottom: 0.35rem;
  display: block;
}

.payment-method-card.active i {
  color: var(--gw-primary);
}

.donation-summary-card {
  background: var(--gw-bg-page);
  border-radius: var(--gw-radius-md);
  padding: 1.75rem;
  border: 1px solid var(--gw-border);
}

.donation-summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.donation-summary-item.total {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gw-secondary);
  border-top: 1px solid var(--gw-border);
  padding-top: 1rem;
  margin-top: 1rem;
}

/* Custom Input Controls */
.form-control,
.gw-form-control,
.form-select {
  border: 1px solid var(--gw-border);
  border-radius: var(--radius-md);
  padding: 0.65rem 1.15rem;
  font-size: 0.95rem;
  background-color: #FFFFFF;
  color: var(--gw-secondary);
  height: 50px;
  min-height: 50px;
  transition: var(--gw-transition);
}

.form-control:focus,
.gw-form-control:focus,
.form-select:focus {
  border-color: var(--gw-primary);
  box-shadow: 0 0 0 3px rgba(255, 94, 58, 0.15);
  outline: none;
}

textarea.form-control,
textarea.gw-form-control {
  min-height: 140px;
  height: auto;
}

.gw-form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gw-secondary);
  margin-bottom: 0.4rem;
  display: block;
}

/* --- Gallery & Lightbox --- */
.gallery-filter-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.gallery-filter-btn {
  border: 1px solid var(--gw-border);
  background: #FFFFFF;
  color: var(--gw-secondary);
  padding: 0.55rem 1.35rem;
  border-radius: var(--gw-radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--gw-transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--gw-primary);
  color: #FFFFFF;
  border-color: var(--gw-primary);
}

.gallery-item {
  position: relative;
  border-radius: var(--gw-radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
  height: 270px;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(19, 34, 56, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #FFFFFF;
  padding: 1.5rem;
  text-align: center;
}

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

.gallery-zoom-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gw-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: var(--gw-transition);
}

.gallery-zoom-btn:hover {
  transform: scale(1.1);
  background: #FFFFFF;
  color: var(--gw-primary);
}

/* --- FAQ Accordion --- */
.accordion-gw .accordion-item {
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius-md) !important;
  margin-bottom: 1rem;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: var(--gw-shadow-xs);
}

.accordion-gw .accordion-button {
  font-family: var(--gw-font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gw-secondary);
  padding: 1.25rem 1.5rem;
  background: #FFFFFF;
  box-shadow: none;
}

.accordion-gw .accordion-button:not(.collapsed) {
  color: var(--gw-primary);
  background-color: var(--gw-primary-light);
}

.accordion-gw .accordion-button::after {
  filter: grayscale(1);
}

.accordion-gw .accordion-body {
  padding: 1.25rem 1.5rem;
  color: var(--gw-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--gw-secondary) 0%, #1a304e 100%);
  border-radius: var(--gw-radius-lg);
  padding: 4rem 3rem;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--gw-shadow-lg);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 94, 58, 0.25) 0%, transparent 70%);
}

.cta-banner h2 {
  color: #FFFFFF;
}

/* --- Footer --- */
.main-footer {
  background-color: var(--gw-secondary);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

.footer-newsletter-wrap {
  background: #192b45;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0;
}

.footer-top {
  padding: 5rem 0 3.5rem;
}

.footer-widget-title {
  font-family: var(--gw-font-serif);
  font-size: 1.25rem;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

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

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--gw-transition);
}

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

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.footer-contact-item i {
  color: var(--gw-primary);
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

/* Social Icon Buttons */
.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--gw-transition);
}

.social-icon-btn:hover {
  background: var(--gw-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gw-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 16px rgba(255, 94, 58, 0.35);
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--gw-transition);
  border: none;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--gw-secondary);
  color: #FFFFFF;
  transform: translateY(-3px);
}

/* --- Pagination --- */
.pagination-gw .page-link {
  color: var(--gw-secondary);
  border: 1px solid var(--gw-border);
  padding: 0.65rem 1.15rem;
  font-weight: 600;
  border-radius: var(--gw-radius-sm);
  margin: 0 0.25rem;
  transition: var(--gw-transition);
}

.pagination-gw .page-link:hover,
.pagination-gw .page-item.active .page-link {
  background-color: var(--gw-primary);
  border-color: var(--gw-primary);
  color: #FFFFFF;
}

/* --- Modals & Popups --- */
.modal-gw .modal-content {
  border-radius: var(--gw-radius-lg);
  border: none;
  box-shadow: var(--gw-shadow-lg);
}

.modal-gw .modal-header {
  border-bottom: 1px solid var(--gw-border);
  padding: 1.5rem 2rem;
}

.modal-gw .modal-body {
  padding: 2rem;
}

/* Lightbox Styling */
.lightbox-modal .modal-content {
  background: transparent;
  border: none;
}

.lightbox-modal .modal-body {
  padding: 0;
  text-align: center;
}

.lightbox-modal img {
  max-height: 85vh;
  margin: auto;
  border-radius: var(--gw-radius-md);
  box-shadow: var(--gw-shadow-lg);
}
