/* =================================================================
   COMPLETE NGO WEBSITE STYLESHEET — PREMIUM EDITION
   Color System: Deep Navy · Saffron Gold · Crimson · Ivory White
   ================================================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Devanagari:wght@400;700&family=Cormorant+Garamond:wght@400;600;700&display=swap');

/* ── CSS Variables ─────────────────────────────────────────────── */
:root {
  /* Core Brand */
  --primary-color:   #1A3A6B;   /* Deep Royal Navy   */
  --secondary-color: #C0392B;   /* Rich Crimson       */
  --accent-color:    #D4A017;   /* Burnished Gold     */
  --tertiary-color:  #2E7D32;   /* Forest Green       */
  --quaternary-color:#0D47A1;   /* Sapphire Blue      */

  /* Neutrals */
  --text-color:  #1E2A3A;
  --light-color: #FFFFFF;
  --dark-color:  #0D1B2A;
  --ivory:       #F8F5EE;
  --gray-color:  #D8D8D8;
  --white-color: #FFFFFF;

  /* Surfaces */
  --surface-1:   #FFFFFF;
  --surface-2:   #F4F6FA;
  --surface-3:   #EBF0F8;

  /* Shadows */
  --shadow-sm:   0 2px 8px  rgba(26,58,107,.10);
  --shadow-md:   0 6px 20px rgba(26,58,107,.14);
  --shadow-lg:   0 12px 40px rgba(26,58,107,.18);

  /* Transitions */
  --transition: all 0.3s ease;
}

/* ── Global Reset ───────────────────────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'Noto Serif Devanagari', 'Georgia', 'Cambria', serif;
  line-height: 1.65;
  color: var(--text-color);
  background: var(--surface-2);
  font-weight: 500;
  overflow-x: hidden;
  top: 0 !important;
  max-width: 100vw;
  width: 100%;
}

/* Prevent any child from breaching viewport horizontally */
.container,
.container-fluid,
main,
section,
header,
footer,
nav {
  max-width: 100%;
  overflow-x: hidden;
}

/* Bootstrap row negative margins cause scroll — neutralise on mobile */
@media (max-width: 991px) {
  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  img, video, iframe, embed, object {
    max-width: 100% !important;
    height: auto;
  }
  table {
    width: 100% !important;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ── Google Translate ───────────────────────────────────────────── */
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

/* Suppress any injected Google banner that pushes layout */
.goog-te-banner-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
}

body { top: 0 !important; }

#google_translate_element {
  display: inline-block;
}

#google_translate_element select {
  padding: 8px 15px;
  border-radius: 20px;
  background: #fff;
  border: 2px solid var(--secondary-color);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--primary-color);
  transition: var(--transition);
}

#google_translate_element select:hover {
  background: var(--secondary-color);
  color: #fff;
}

/* Mobile Google Translate widget */
#google_translate_element_mobile {
  display: inline-block;
  min-width: 0;
}

/* The actual <select> injected by Google inside the mobile widget */
#google_translate_element_mobile .goog-te-combo {
  padding: 7px 8px !important;
  border-radius: 4px !important;
  background: rgba(255,255,255,.15) !important;
  border: 1px solid rgba(255,255,255,.4) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700;
  cursor: pointer;
  max-width: 120px;
  appearance: auto;
}

#google_translate_element_mobile .goog-te-combo option {
  background: #1A3A6B;
  color: #fff;
}



/* ═══════════════════════════════════════════════════════════════
   HEADER STYLES
   ═══════════════════════════════════════════════════════════════ */
.desktop-header {
  display: block;
}

/* Top Bar — Deep Navy with a subtle gold underline */
.top-header-bar {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0D2550 100%);
  padding: 10px 0;
  position: relative;
  z-index: 10001;
  border-bottom: 2px solid var(--accent-color);
}

.top-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Social Icons — white circles on navy */
.header-social-icons {
  display: flex;
  gap: 10px;
}

.header-social-icons a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  transition: var(--transition);
  text-decoration: none;
}

.header-social-icons a:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212,160,23,.4);
}

/* News Ticker */
.news-ticker-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  max-width: 60%;
}

.news-label {
  background: var(--accent-color);
  color: #fff;
  padding: 7px 18px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: .5px;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(212,160,23,.35);
}

.news-label i {
  animation: pulse-header 1.5s infinite;
}

@keyframes pulse-header {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.7; transform:scale(.95); }
}

.news-marquee {
  flex: 1;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px;
  padding: 7px 15px;
}

.marquee-text {
  display: inline-block;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
  color: #0d2550;
  font-weight: 500;
  font-size: 13px;
  padding-left: 100%;
}

.news-marquee:hover .marquee-text {
  animation-play-state: paused;
}

@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Phone link */
.header-phone a {
  color: #F0E6C8;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: var(--transition);
  letter-spacing: .3px;
}

.header-phone a i {
  font-size: 17px;
  animation: ring 2.5s ease-in-out infinite;
  color: var(--accent-color);
}

@keyframes ring {
  0%,100%   { transform: rotate(0deg); }
  10%,30%   { transform: rotate(-12deg); }
  20%,40%   { transform: rotate(12deg); }
}

.header-phone a:hover {
  color: var(--accent-color);
}

/* Main Header — Pure white, commanding */
.main-header-section {
  background: #fff;
  padding: 14px 0;
  box-shadow: 0 4px 20px rgba(26,58,107,.12);
  position: relative;
  z-index: 10000;
  border-bottom: 3px solid var(--accent-color);
}

.main-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.logo-img {
  height: 80px;
  width: auto;
}

.site-info {
  display: flex;
  flex-direction: column;
}

.site-name {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
  margin: 0;
  letter-spacing: -.3px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Donate Button — Gold CTA */
.donate-button {
  background: linear-gradient(135deg, var(--accent-color) 0%, #B8860B 100%);
  color: #fff;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(212,160,23,.45);
  animation: bounce 2.5s ease-in-out infinite;
  letter-spacing: .5px;
  text-transform: uppercase;
}

@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

.donate-button:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #96210E 100%);
  box-shadow: 0 6px 20px rgba(192,57,43,.45);
  transform: scale(1.04);
  animation: none;
}

/* ── Mobile Header ──────────────────────────────────────────────── */
.mobile-header { display: none; }

.mobile-top-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0D2550 100%);
  padding: 10px 0;
  border-bottom: 2px solid var(--accent-color);
}

.mobile-top-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;        /* prevent flex children from overflowing */
  overflow: hidden;
}

/* ── Mobile Language Selector ── */
.mobile-language-selector {
  flex-shrink: 0;
}

/* The custom <select> that proxies to the hidden Google Translate widget */
.mobile-language-selector select,
#mobile_lang_select {
  background: rgba(255,255,255,.15) !important;
  border: 1px solid rgba(255,255,255,.5) !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 12px;
  padding: 7px 8px;
  cursor: pointer;
  border-radius: 4px;
  max-width: 120px;
  appearance: auto;
  -webkit-appearance: auto;
  outline: none;
}

.mobile-language-selector select option,
#mobile_lang_select option {
  background: #1A3A6B;
  color: #fff;
}


/* ── Mobile News Ticker — match desktop (white bg + dark text) ── */
.mobile-news-marquee {
  flex: 1;
  min-width: 0;          /* allow flex child to shrink below content size */
  overflow: hidden;
  background: #fff;      /* same as desktop .news-marquee */
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px;
  padding: 7px 12px;     /* same as desktop */
}

.mobile-marquee-text {
  display: inline-block;
  white-space: nowrap;
  animation: scrollMobile 22s linear infinite;
  color: #0d2550;        /* same dark navy as desktop .marquee-text */
  font-weight: 500;      /* match desktop weight */
  font-size: 13px;       /* match desktop font-size */
  padding-left: 100%;
}

.mobile-news-marquee:hover .mobile-marquee-text {
  animation-play-state: paused;
}

@keyframes scrollMobile {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.mobile-main-header {
  background: #fff;
  padding: 12px 0;
  box-shadow: 0 2px 12px rgba(26,58,107,.12);
}

.mobile-header-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger-menu-btn {
  background: none;
  border: none;
  font-size: 27px;
  color: var(--primary-color);
  cursor: pointer;
  padding: 5px;
}

.mobile-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: 1;
}

.mobile-logo-img {
  height: 52px;
  width: auto;
}

.mobile-site-name {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
  margin: 0;
}

.mobile-social-donate {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0D2550 100%);
  padding: 13px 0;
}

.mobile-social-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.mobile-social-icons {
  display: flex;
  gap: 8px;
}

.mobile-social-icons a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: #fff;
  font-size: 17px;
  transition: var(--transition);
  text-decoration: none;
}

.mobile-social-icons a:hover {
  background: var(--accent-color);
  color: #fff;
  transform: scale(1.08);
}

.mobile-donate-button {
  background: linear-gradient(135deg, var(--accent-color) 0%, #B8860B 100%);
  color: #fff;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(212,160,23,.4);
  transition: var(--transition);
  letter-spacing: .4px;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  .desktop-header { display: none; }
  .mobile-header  { display: block; }

  /* Prevent the mobile header sections from causing horizontal overflow */
  .mobile-top-section,
  .mobile-main-header,
  .mobile-social-donate {
    width: 100%;
    overflow: hidden;
  }

  .mobile-top-section .container,
  .mobile-main-header .container,
  .mobile-social-donate .container {
    padding-left: 12px;
    padding-right: 12px;
    overflow: hidden;
  }

  /* Prevent site name from stretching card */
  .mobile-site-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100vw - 120px);
  }
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR STYLES
   ═══════════════════════════════════════════════════════════════ */
.blur_main_div {
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0; left: 0;
  background: rgba(13,27,42,.75);
  z-index: 9990;
  display: none;
}

/* Navy Sticky Navbar */
.modern-navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0D2550 100%);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  box-shadow: 0 3px 15px rgba(26,58,107,.25);
  overflow: visible;
  border-bottom: 2px solid var(--accent-color);
}

.modern-navbar .container {
  position: relative;
  padding: 0 20px;
  overflow: visible;
  max-width: 1200px;
  margin: 0 auto;
}

.modern-navbar .nav-bar {
  overflow: visible;
}

.modern-navbar .sidenav2 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  padding: 0;
  margin: 0;
  list-style: none;
  width: 100%;
}

.modern-navbar .dropdown {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.modern-navbar .dropbtn {
  color: #E8D9B5 !important;
  padding: 15px 10px !important;
  font-weight: 600;
  font-size: 13.5px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  white-space: nowrap;
  letter-spacing: .25px;
}

.modern-navbar .home-btn {
  padding: 0 10px !important;
}

.modern-navbar .fa-home {
  padding: 10px 0 !important;
  font-size: 19px !important;
  margin: 0 !important;
  color: var(--accent-color) !important;
}

.modern-navbar .dropbtn:hover,
.modern-navbar .dropdown.active .dropbtn {
  color: #fff !important;
  background: rgba(212,160,23,.2);
}

.modern-navbar .dropdown.active .dropbtn {
  border-bottom: 2px solid var(--accent-color);
}

.modern-navbar .fa-sort-desc {
  margin-top: -3px !important;
  margin-left: 3px;
  font-size: 10px;
  color: var(--accent-color) !important;
  opacity: .8;
}

/* Dropdown Content */
.modern-navbar .dropdown-content {
  display: none;
  position: absolute;
  background: #fff;
  min-width: 210px;
  box-shadow: 0 8px 30px rgba(26,58,107,.2);
  z-index: 10000;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
  left: 0;
  top: 100%;
  border-top: 2px solid var(--accent-color);
}

.modern-navbar .dropdown:nth-last-child(-n+3) .dropdown-content {
  left: auto;
  right: 0;
}

.modern-navbar .dropdown-content a {
  color: var(--text-color);
  padding: 11px 20px;
  font-size: 13.5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  white-space: nowrap;
  border-bottom: 1px solid #f0f0f0;
}

.modern-navbar .dropdown-content a:last-child {
  border-bottom: none;
}

.modern-navbar .dropdown-content a i {
  color: var(--accent-color);
  font-size: 15px;
  width: 18px;
}

.modern-navbar .dropdown-content a:hover {
  background: var(--primary-color);
  color: #fff;
  padding-left: 26px;
}

.modern-navbar .dropdown-content a:hover i {
  color: var(--accent-color);
}

.modern-navbar .dropdown:hover .dropdown-content {
  display: block;
}

/* Mobile Sidebar */
.mobile-sidebar-header {
  display: none;
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  background: #fff;
  padding: 15px 20px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 20px rgba(26,58,107,.2);
  z-index: 10001;
  transition: left .3s ease;
  border-bottom: 2px solid var(--accent-color);
}

.mobile-sidebar-header.active {
  left: 0;
}

.sidebar-logo-img {
  height: 50px;
  width: auto;
}

.sidebar-close-btn {
  background: var(--primary-color);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  border: none;
  font-size: 18px;
  transition: var(--transition);
}

.sidebar-close-btn:hover {
  transform: rotate(90deg);
  background: var(--secondary-color);
}

@media (max-width: 1400px) {
  .modern-navbar .dropbtn { padding: 15px 8px !important; font-size: 12.5px; }
  .modern-navbar .home-btn { padding: 0 8px !important; }
}

@media (max-width: 1200px) {
  .modern-navbar .dropbtn { padding: 15px 6px !important; font-size: 12px; }
  .modern-navbar .home-btn { padding: 0 6px !important; }
}

@media (max-width: 991px) {
  .modern-navbar .container { padding: 0; }
  .modern-navbar .nav-bar   { overflow: visible; }

  .modern-navbar .sidenav2 {
    position: fixed;
    top: 0; left: -100%;
    height: 100vh;
    width: 300px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    background: linear-gradient(180deg, var(--primary-color) 0%, #0D2550 100%);
    z-index: 10000;
    transition: left .3s ease;
    padding-top: 80px;
    min-width: auto;
  }

  .modern-navbar .sidenav2.active { left: 0; }

  .mobile-sidebar-header {
    display: flex;
  }

  .sidebar-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }

  .modern-navbar .dropdown {
    width: 100%;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .modern-navbar .dropbtn {
    width: 100%;
    padding: 16px 20px !important;
    justify-content: space-between;
    font-size: 15px;
    color: #E8D9B5 !important;
  }

  .modern-navbar .home-btn,
  .modern-navbar .fa-home {
    padding: 16px 20px !important;
  }

  .modern-navbar .dropdown-content {
    position: static;
    background: rgba(0,0,0,.25);
    box-shadow: none;
    display: none;
    border-radius: 0;
    left: auto;
    right: auto;
    border-top: 1px solid rgba(212,160,23,.3);
  }

  .modern-navbar .dropdown.dropdown_open .dropdown-content {
    display: block;
  }

  .modern-navbar .dropdown-content a {
    color: #C8D8EA;
    padding: 11px 20px 11px 40px;
    background: rgba(0,0,0,.2);
    border-bottom: 1px solid rgba(255,255,255,.05);
  }

  .modern-navbar .dropdown-content a i {
    color: var(--accent-color);
  }

  .modern-navbar .dropdown-content a:hover {
    background: rgba(212,160,23,.15);
    color: #fff;
    padding-left: 46px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER STYLES
   ═══════════════════════════════════════════════════════════════ */
.contact-footer {
  background: var(--surface-2);
  margin-top: 60px;
  border-top: 3px solid var(--accent-color);
  padding: 0;
}

.footer-section { padding: 0; }

/* Footer Main — Deep Navy */
.footer-main-content {
  background: linear-gradient(135deg, #0D2550 0%, var(--primary-color) 100%);
  padding: 45px 0 35px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-logo-section {
  text-align: left;
  padding: 10px 0;
  flex: 1 1 200px;
}

.footer-logo-section img {
  max-width: 150px;
  width: 100%;
  height: auto;
  filter: brightness(1.1);
}

/* Footer Links */
.footer-links-section {
  flex: 1 1 400px;
  text-align: center;
  padding: 0 20px;
}

.footer-links-section h3 {
  color: var(--accent-color);
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212,160,23,.4);
  display: inline-block;
  letter-spacing: .5px;
}

.footer-links-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  text-align: left;
}

.footer-links-columns a {
  color: #A8BDD6;
  font-size: 13.5px;
  text-decoration: none;
  padding: 3px 0;
  display: block;
  transition: var(--transition);
}

.footer-links-columns a:hover {
  color: var(--accent-color);
  padding-left: 6px;
}

/* Footer Social */
.footer-social-section {
  flex: 1 1 200px;
  text-align: center;
  padding: 0 20px;
}

.footer-social-section h3 {
  color: var(--accent-color);
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212,160,23,.4);
  display: block;
  text-align: center;
  letter-spacing: .5px;
}

.footer-social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-social-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 17px;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,.2);
}

.footer-social-icons a:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 15px rgba(0,0,0,.4);
}

.footer-social-icons .facebook  { background: #1877F2; }
.footer-social-icons .twitter   { background: #14171A; }
.footer-social-icons .instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.footer-social-icons .youtube   { background: #CD201F; }

/* Footer Login Buttons */
.footer-login-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.footer-login-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(212,160,23,.5);
  color: #E8D9B5;
  transition: var(--transition);
  letter-spacing: .3px;
}

.footer-login-btn i {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  border-radius: 50%;
  font-size: 13px;
  color: #fff;
}

.footer-login-btn:hover {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}

.footer-login-btn:hover i {
  background: rgba(255,255,255,.25);
}

/* Copyright — Rich crimson strip */
.copyright-area {
  background: var(--secondary-color);
  padding: 14px 0;
  color: #fff;
}

.copyright-text { text-align: center; margin-bottom: 8px; }

.copyright-text p {
  margin: 0;
  font-size: 12.5px;
  color: rgba(255,255,255,.9);
  font-weight: 500;
}

.copyright-text a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.copyright-text p a:hover { text-decoration: underline; }

.footer-policy-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.footer-policy-links a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: 12px;
  padding: 0 5px;
  transition: var(--transition);
}

.footer-policy-links a:hover { color: #fff; text-decoration: underline; }

/* Footer Bottom — Darkest strip */
.footer-bottom {
  background: #0D1B2A;
  padding: 10px 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-bottom .footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,.55);
  font-weight: 500;
  text-align: center;
}

.footer-bottom a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom a:hover { color: var(--accent-color); }

/* WhatsApp & Call Fixed Buttons */
.fixed-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.fixed-whatsapp a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(37,211,102,.5);
  animation: pulse 2s infinite;
}

.fixed-whatsapp a:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,.6);
}

.fixed-call {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
}

.fixed-call a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), #0D47A1);
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(26,58,107,.5);
  animation: pulse 2s infinite;
}

.fixed-call a:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(26,58,107,.6);
}

@keyframes pulse {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-logo-section,
  .footer-links-section,
  .footer-social-section {
    flex: 1 1 100%;
    padding: 10px 0;
  }
  .footer-links-columns { grid-template-columns: 1fr 1fr; gap: 5px; }
  .footer-social-icons  { justify-content: center; }
  .footer-login-buttons { align-items: center; }
  .copyright-text,
  .footer-policy-links  { margin-bottom: 10px; }
}

/* ═══════════════════════════════════════════════════════════════
   HERO SLIDER
   ═══════════════════════════════════════════════════════════════ */
.main-slider .carousel-item {
  height: auto;
  min-height: 400px;
  max-height: 500px;
}

.main-slider .carousel-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

@media (min-width: 1200px) {
  .main-slider .carousel-item { max-height: 600px; }
}

@media (max-width: 768px) {
  .main-slider .carousel-item { height: auto; max-height: none; min-height: auto; }
  .main-slider .carousel-item img { object-fit: contain; }
}

/* ═══════════════════════════════════════════════════════════════
   PAGE CONTENT STYLES
   ═══════════════════════════════════════════════════════════════ */

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-color), #0D47A1);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--accent-color);
}

.back-to-top i      { font-size: 22px; }
.back-to-top:hover  { background: var(--secondary-color); }
.back-to-top.show   { opacity: 1; visibility: visible; }

/* Content Wrapper */
.content-wrapper {
  padding: 0 20px;
  margin-top: 30px;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .content-wrapper {
    margin-top: 20px !important;
    margin-bottom: 30px !important;
    padding: 0 15px !important;
  }
  .content-wrapper .row                 { margin-left: 0; margin-right: 0; }
  .content-wrapper .row>[class*='col-'] { padding-left: 10px; padding-right: 10px; }
  .back-to-top { bottom: 80px; right: 20px; width: 40px; height: 40px; }
  .back-to-top i { font-size: 18px; }
}

/* Full-Width Sections Container */
.full-width-sections-container {
  width: 100%;
  margin: 0;
  padding: 20px 0;
  clear: both;
  display: block;
}

@media (max-width: 768px) {
  .full-width-sections-container { padding: 15px 0; }
}

/* ── Sidebars ────────────────────────────────────────────────── */
.sidebar-left,
.sidebar-right {
  position: sticky;
  top: 20px;
  height: fit-content;
  background: var(--surface-1);
  padding: 15px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border-top: 2px solid var(--accent-color);
}

.sidebar-left .nav-link,
.sidebar-right .nav-link {
  color: var(--primary-color);
  padding: 10px;
  border-radius: 4px;
  display: block;
  transition: var(--transition);
}

.sidebar-left .nav-link:hover,
.sidebar-right .nav-link:hover {
  background: var(--primary-color);
  color: var(--light-color);
}

/* ── Team / Management / Members Sliders ────────────────────── */
.team-slider,
.management-slider,
.members-slider {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  min-height: 350px;
  background: transparent !important;
}

.team-slider .carousel,
.management-slider .carousel,
.members-slider .carousel,
.carousel-inner,
.carousel-item {
  background: transparent !important;
}

.team-slider h6,
.management-slider h6,
.members-slider h6 { text-align: center !important; }

.team-slider .carousel,
.management-slider .carousel,
.members-slider .carousel { width: 100%; height: 100%; }

.team-slider .carousel-inner,
.management-slider .carousel-inner,
.members-slider .carousel-inner { width: 100%; height: 100%; display: flex; }

.team-slider .carousel-item,
.management-slider .carousel-item,
.members-slider .carousel-item { display: none; width: 100%; height: 100%; }

.team-slider .carousel-item.active,
.management-slider .carousel-item.active,
.members-slider .carousel-item.active { display: block; }

/* ── Team Card — Navy/Gold gradient ──────────────────────────── */
.team-card {
  width: 100%;
  max-width: 300px;
  min-height: 360px;
  margin: 0 auto;
  background: linear-gradient(145deg, var(--primary-color) 0%, #0D2550 100%);
  border-radius: 10px;
  padding: 12px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  border: 1px solid rgba(212,160,23,.3);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
}

.team-card .image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 133.33%;
  background: #1C3A6B;
  border: 2px solid rgba(212,160,23,.4);
  border-radius: 8px;
  margin-bottom: 15px;
  flex-shrink: 0;
  overflow: hidden;
}

.team-card .image-wrapper img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
}

.team-card .text-container {
  border-top: 1px solid rgba(212,160,23,.35);
  padding: 12px 8px;
  margin-top: auto;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-card h6 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #F0E6C8;
  text-align: center;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
}

.team-card small {
  font-size: .85rem;
  color: rgba(212,160,23,.85);
  text-align: center;
  display: block;
  font-style: italic;
}

.team-slider .carousel-control-prev,
.team-slider .carousel-control-next,
.management-slider .carousel-control-prev,
.management-slider .carousel-control-next,
.members-slider .carousel-control-prev,
.members-slider .carousel-control-next { width: 15%; }

.team-slider .carousel-control-prev-icon,
.team-slider .carousel-control-next-icon,
.management-slider .carousel-control-prev-icon,
.management-slider .carousel-control-next-icon,
.members-slider .carousel-control-prev-icon,
.members-slider .carousel-control-next-icon {
  background-color: var(--accent-color);
  border-radius: 50%;
  width: 24px; height: 24px;
  background-size: 50% 50%;
  background-position: center;
  border: 1px solid rgba(255,255,255,.5);
}

/* ── Sidebar Scrolling Events/Activities ─────────────────────── */
.sidebar-right .recent-events,
.sidebar-right .recent-activities {
  height: 200px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  background: linear-gradient(135deg, #fff, rgba(26,58,107,.04));
  border-radius: 8px;
  padding: 15px;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--accent-color);
}

.sidebar-right .recent-activities {
  background: linear-gradient(135deg, #fff, rgba(26,58,107,.04));
  border-left-color: var(--secondary-color);
}

.sidebar-right .recent-events h6,
.sidebar-right .recent-activities h6 {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 5px;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 700;
}

.sidebar-right .recent-events h6::after,
.sidebar-right .recent-activities h6::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 35px; height: 2px;
  background: var(--accent-color);
  border-radius: 2px;
}

.events-scroller    { animation: scroll-up 15s linear infinite; }
.activities-scroller{ animation: scroll-up 35s linear infinite; min-height: 100%; }

.events-scroller:hover,
.activities-scroller:hover { animation-play-state: paused; }

.events-scroller p,
.activities-scroller p {
  margin: 8px 0;
  padding: 9px 10px;
  background: rgba(255,255,255,.9);
  border-left: 3px solid var(--primary-color);
  border-radius: 0 5px 5px 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  box-shadow: 0 1px 4px rgba(26,58,107,.06);
  font-size: .88rem;
}

.activities-scroller p { border-left-color: var(--secondary-color); }

.events-scroller p:hover,
.activities-scroller p:hover {
  transform: scale(1.01);
  background: rgba(26,58,107,.05);
}

.events-scroller p i,
.activities-scroller p i {
  margin-right: 8px;
  font-size: 1.1rem;
  color: var(--accent-color);
}

@keyframes scroll-up {
  0%   { transform: translateY(0%); }
  100% { transform: translateY(-50%); }
}

/* Sidebar CTA (legacy) */
.sidebar-right .cta-member-apply,
.sidebar-right .cta-donate { margin-bottom: 15px; }

.sidebar-right .cta-member-apply a,
.sidebar-right .cta-donate a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-top: 100%;
  position: relative;
  color: var(--light-color);
  font-weight: bold;
  font-size: 1.1rem;
  border-radius: 10px;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity .3s ease, transform .3s ease;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  background-color: #f0f0f0;
  background-size: cover;
  background-position: center;
}

.sidebar-right .cta-member-apply a::before,
.sidebar-right .cta-donate a::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(13,37,80,.45);
  transition: background .3s ease;
}

.sidebar-right .cta-member-apply a:hover::before,
.sidebar-right .cta-donate a:hover::before {
  background: rgba(13,37,80,.65);
}

.sidebar-right .cta-member-apply a:hover,
.sidebar-right .cta-donate a:hover { transform: scale(1.02); opacity: .9; }

.sidebar-right .cta-member-apply a span,
.sidebar-right .cta-donate a span {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sidebar-right .cta-member-apply a span::after,
.sidebar-right .cta-donate a span::after {
  content: '\2192';
  margin-left: 10px;
  font-size: 1.4rem;
  color: var(--accent-color);
}

/* ── Quick Links (Desktop & Mobile) ── */
.quick-links {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 10px 5px;
    margin-bottom: 20px;
    background: transparent;
    
    /* Smooth scrolling on mobile */
    -webkit-overflow-scrolling: touch;
    
    /* Hide scrollbar for a cleaner look */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.quick-links::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.quick-links a {
    text-decoration: none;
}

/* DEFAULT STATE: Premium Navy Background (Applies to both Mobile & Desktop) */
.quick-links button,
.btn-quick-link {
    background: linear-gradient(135deg, #1A3A6B 0%, #0D2550 100%) !important; /* Navy Blue normally */
    color: #F0E6C8 !important; /* Cream Text */
    border: 1px solid rgba(212,160,23,.25) !important; /* Subtle Gold Border */
    padding: 10px 20px !important;
    border-radius: 8px !important;
    white-space: nowrap; 
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(26,58,107,.15) !important;
    text-decoration: none;
}

.quick-links button i,
.btn-quick-link i {
    color: #D4A017 !important; /* Gold Icon */
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

/* HOVER STATE: Glowing Gold Border & Gold Text */
.quick-links button:hover,
.quick-links button:active,
.btn-quick-link:hover,
.btn-quick-link:active {
    background: linear-gradient(135deg, #0D2550 0%, #1A3A6B 100%) !important; 
    color: #D4A017 !important; /* Text turns Gold */
    border-color: #D4A017 !important; /* Solid Gold Border */
    box-shadow: 0 6px 16px rgba(212,160,23,.3) !important; /* Gold glow */
    transform: translateY(-2px); 
}

.quick-links button:hover i,
.quick-links button:active i,
.btn-quick-link:hover i,
.btn-quick-link:active i {
    color: #D4A017 !important; 
}

/* ── Feed ────────────────────────────────────────────────────── */
.feed-container {
  max-height: 1400px;
  overflow-y: auto;
  padding-right: 10px;
}

.feed-post {
  background: var(--surface-1);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
  border-top: 2px solid transparent;
  transition: border-color .3s;
}

.feed-post:hover { border-top-color: var(--accent-color); }

.feed-post img {
  max-height: none;
  width: 100%;
  object-fit: contain;
  border-radius: 6px;
  background-color: #f5f5f5;
  margin: 10px 0;
}

/* ── Share Buttons ───────────────────────────────────────────── */
.share-buttons a {
  margin-right: 10px;
  color: var(--light-color);
  padding: 5px 10px;
  border-radius: 4px;
  text-decoration: none;
}
.share-buttons .btn-facebook { background: #3b5998; }
.share-buttons .btn-twitter  { background: #1da1f2; }
.share-buttons .btn-linkedin { background: #0077b5; }
.share-buttons .btn-whatsapp { background: #25d366; }

/* ── Full Width Section ──────────────────────────────────────── */
.full-width-section {
  background: var(--surface-1);
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.full-width-section h5 {
  display: table;
  margin: 0 auto 20px auto;
  padding: 10px 40px;
  background: linear-gradient(135deg, #1A3A6B 0%, #0D2550 100%);
  border: 1px solid rgba(212,160,23,.3);
  color: #F0E6C8;
  font-size: 1.45rem;
  font-weight: 700;
  border-radius: 8px;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  letter-spacing: .5px;
  position: relative;
  box-shadow: 0 4px 14px rgba(26,58,107,.15);
  text-align: center;
}

/* ── About Us Section ────────────────────────────────────────── */
.about-us-section {
  background: linear-gradient(135deg, #fff, rgba(26,58,107,.05));
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.about-us-section h5 {
  display: table;
  margin: 0 auto 30px auto;
  padding: 10px 40px;
  background: linear-gradient(135deg, #1A3A6B 0%, #0D2550 100%);
  border: 1px solid rgba(212,160,23,.3);
  color: #F0E6C8;
  font-size: 1.45rem;
  font-weight: 700;
  border-radius: 8px;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  letter-spacing: .5px;
  position: relative;
  box-shadow: 0 4px 14px rgba(26,58,107,.15);
  text-align: center;
}

.about-us-section h5::after {
  display: none;
}

.about-us-section img {
  border: 3px solid var(--accent-color);
  border-radius: 8px;
  transition: var(--transition);
  max-height: 300px;
  object-fit: cover;
}

.about-us-section img:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-md);
}

.about-us-section .text-content {
  background: rgba(255,255,255,.95);
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-left: 3px solid var(--accent-color);
}

.about-us-section .text-content:hover { transform: translateY(-4px); }

.about-us-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 20px;
}

.about-us-section .btn {
  background: linear-gradient(135deg, var(--primary-color), #0D47A1);
  color: var(--light-color);
  padding: 10px 25px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 700;
  transition: var(--transition);
  border: none;
  letter-spacing: .4px;
}

.about-us-section .btn:hover {
  background: linear-gradient(135deg, var(--secondary-color), #96210E);
  transform: scale(1.04);
}

/* ── President's Message Section ─────────────────────────────── */
.president-message-section {
  background: linear-gradient(135deg, rgba(26,58,107,.04), #fff);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.president-message-section h5 {
  display: table;
  margin: 0 auto 30px auto;
  padding: 10px 40px;
  background: linear-gradient(135deg, #1A3A6B 0%, #0D2550 100%);
  border: 1px solid rgba(212,160,23,.3);
  color: #F0E6C8;
  font-size: 1.45rem;
  font-weight: 700;
  border-radius: 8px;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  letter-spacing: .5px;
  position: relative;
  box-shadow: 0 4px 14px rgba(26,58,107,.15);
  text-align: center;
}

.president-message-section h5::after {
  display: none;
}

.president-message-section::before {
  content: '\201C';
  position: absolute;
  top: 20px; left: 20px;
  font-size: 90px;
  color: var(--primary-color);
  opacity: .07;
  font-family: Georgia, serif;
  line-height: 1;
}

.president-message-section .text-content {
  animation: fadeIn 1s ease-in-out;
  padding: 20px;
  border-left: 3px solid var(--accent-color);
  background: rgba(255,255,255,.95);
  border-radius: 0 8px 8px 0;
  box-shadow: var(--shadow-sm);
}

.president-message-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 15px;
}

.president-message-section .signature {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--primary-color);
  margin-top: 10px;
}

.president-message-section img {
  border-radius: 50%;
  border: 3px solid var(--accent-color);
  padding: 5px;
  background: var(--light-color);
  max-height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.president-message-section img:hover {
  transform: rotate(4deg) scale(1.04);
  box-shadow: var(--shadow-md);
}

@keyframes fadeIn {
  0%   { opacity:0; transform: translateY(18px); }
  100% { opacity:1; transform: translateY(0); }
}

/* ── Gallery Slider ──────────────────────────────────────────── */
.gallery-slider {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 10px 0;
}

.gallery-slider img {
  width: 300px;
  height: auto;
  min-height: 200px;
  max-height: 300px;
  object-fit: contain;
  border-radius: 6px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.gallery-slider img:hover { transform: scale(1.04); }

.gallery-carousel { display: none; }

.gallery-carousel .carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}

.gallery-carousel .carousel-control-prev-icon,
.gallery-carousel .carousel-control-next-icon {
  background-color: var(--accent-color);
  border-radius: 50%;
  width: 24px; height: 24px;
  background-size: 50% 50%;
  background-position: center;
}

/* ── Video Wrapper ────────────────────────────────────────────── */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

.video-fallback { text-align: center; margin-top: 10px; }
.video-fallback a { color: var(--primary-color); text-decoration: none; }
.video-fallback a:hover { text-decoration: underline; }

/* ── Testimonial Card ─────────────────────────────────────────── */
.testimonial-card {
  background: linear-gradient(145deg, #fff, #F4F6FA);
  border-radius: 16px;
  padding: 25px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  margin: 15px;
  border: 1px solid rgba(212,160,23,.2);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 10px; left: 18px;
  font-size: 64px;
  color: var(--primary-color);
  opacity: .08;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 3px solid var(--accent-color);
  padding: 3px;
  background: var(--light-color);
  box-shadow: 0 5px 15px rgba(26,58,107,.15);
  transition: var(--transition);
}

.testimonial-card:hover img { transform: scale(1.05); }

.testimonial-card h4 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 700;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
}

.testimonial-card .designation {
  color: var(--accent-color);
  font-size: .88rem;
  margin-bottom: 14px;
  font-style: italic;
  font-weight: 600;
}

.testimonial-card .content {
  color: var(--text-color);
  font-size: .97rem;
  line-height: 1.65;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.testimonial-card .rating { color: var(--accent-color); font-size: 1.15rem; margin-top: 10px; }

/* ── Mobile Adjustments ──────────────────────────────────────── */
@media (max-width: 768px) {
  .team-card { max-width: 250px; margin: 0 auto; }

  .sidebar-left,
  .sidebar-right { position: static; margin-bottom: 20px; padding: 10px; }

  .feed-container { max-height: 500px; overflow-y: visible; padding: 0; margin-bottom: 20px; }

  .feed-post { padding: 12px; margin-bottom: 20px; overflow: hidden; }
  .feed-post img { max-width: 100%; height: auto; display: block; margin: 10px auto; }

  .share-buttons { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }

  .gallery-slider { padding: 5px 0; gap: 8px; }
  .gallery-slider img { width: 200px; min-height: 150px; max-height: 200px; }

  .quick-links button { padding: 6px 12px; font-size: 14px; }

  .full-width-section { padding: 15px; }

  .testimonial-card { padding: 20px; margin: 10px; }
  .testimonial-card img { width: 80px; height: 80px; }
  .testimonial-card h4  { font-size: 1.05rem; }
  .testimonial-card .content { font-size: .88rem; }

  .recent-events,
  .recent-activities { padding: 10px; height: auto; max-height: 300px; }

  .events-scroller p,
  .activities-scroller p { padding: 8px; font-size: .85rem; margin: 8px 0; }

  .events-scroller p i,
  .activities-scroller p i { font-size: .95rem; margin-right: 8px; }

  .events-scroller,
  .activities-scroller { animation: none; }
}

/* ── Utilities ───────────────────────────────────────────────── */
.img-fluid  { max-width: 100%; height: auto; }
.rounded    { border-radius: .3rem; }
.p-3        { padding: 1rem !important; }
.mt-3       { margin-top: 1rem !important; }
.mt-4       { margin-top: 1.5rem !important; }
.mb-3       { margin-bottom: 1rem !important; }
.mb-4       { margin-bottom: 1.5rem !important; }
.me-1       { margin-right: .25rem !important; }
.me-2       { margin-right: .5rem !important; }
.text-muted { color: #6c757d !important; }
.bg-white   { background-color: var(--white-color) !important; }

/* ── Grid Container ──────────────────────────────────────────── */
.grid_container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 20px 15px;
  width: 90%;
  margin: 20px auto;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .grid_container { grid-template-columns: 1fr 2fr; padding: 20px; }
}

@media (min-width: 992px) {
  .grid_container { grid-template-columns: 1fr 2fr 1fr; }
}

.grid_left_div,
.grid_center_div,
.grid_right_div {
  background-color: var(--white-color);
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.content-section-width { width: 90%; margin-left: auto; margin-right: auto; }

/* ── Headings ────────────────────────────────────────────────── */
.head_item3 {
  text-align: center;
  margin: 40px 0 25px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  position: relative;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
}

.head_item3 span {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 6px 22px;
  position: relative;
  z-index: 1;
  border-radius: 4px;
}

.head_item3::before {
  content: '';
  position: absolute;
  left: 5%; right: 5%;
  top: 50%;
  height: 1px;
  background-color: rgba(26,58,107,.2);
  z-index: 0;
}

/* ── Left Column Sliders ─────────────────────────────────────── */
.left_content_1 > div { margin-bottom: 25px; }

.member_slider .card { border: none; box-shadow: var(--shadow-sm); }
.member_slider .card-img-top { height: 100px; object-fit: contain; }
.member_slider .card-body    { padding: 15px; }
.member_slider .card-title   { font-size: 1rem; margin-bottom: 5px; font-weight: 500; }
.member_slider .carousel-indicators li { background-color: rgba(0,0,0,.3); }
.member_slider .carousel-indicators .active { background-color: var(--primary-color); }

/* ── Content Overlay Links ───────────────────────────────────── */
.content {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
}

.content a { display: block; }

.content .content-overlay {
  background: rgba(13,37,80,.6);
  position: absolute;
  height: 100%; width: 100%;
  left: 0; top: 0;
  opacity: 0;
  transition: opacity .4s ease-in-out;
}

.content:hover .content-overlay { opacity: 1; }

.content-image { width: 100%; display: block; transition: transform .4s ease; }
.content:hover .content-image  { transform: scale(1.05); }

.content-details {
  position: absolute;
  text-align: center;
  padding: 1em;
  width: 100%;
  top: 50%; left: 50%;
  opacity: 0;
  transform: translate(-50%,-50%) scale(.9);
  transition: all .4s ease-in-out;
  box-sizing: border-box;
}

.content:hover .content-details { opacity: 1; transform: translate(-50%,-50%) scale(1); }

.content-details h3 {
  color: #fff;
  font-weight: 600;
  letter-spacing: .1em;
  margin-bottom: .5em;
  text-transform: uppercase;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
}

.content-details .arrow { margin-left: 10px; transition: transform .3s ease; display: inline-block; }
.content:hover .arrow   { transform: translateX(5px); }

/* ── Center Column Buttons ───────────────────────────────────── */
.buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}

.buttons button {
  width: 100%;
  padding: 12px 10px;
  background: linear-gradient(135deg, var(--primary-color), #0D2550);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  font-size: .9rem;
  text-align: center;
  font-weight: 600;
  letter-spacing: .3px;
}

.buttons button i { margin-right: 8px; }

.buttons button:hover {
  background: linear-gradient(135deg, var(--secondary-color), #96210E);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.buttons button:active { transform: translateY(0); }

.buttons a { text-decoration: none; display: block; }

.center-div { margin-bottom: 30px; }

/* ── Latest Activity Styles ──────────────────────────────────── */
#latest-activity-scroll {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-height: 600px;
  overflow-y: auto;
  padding: 5px 15px 5px 5px;
  margin-right: -10px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) var(--surface-2);
}

#latest-activity-scroll::-webkit-scrollbar { width: 6px; }
#latest-activity-scroll::-webkit-scrollbar-track {
  background: var(--surface-2);
  border-radius: 10px;
  margin: 5px 0;
}
#latest-activity-scroll::-webkit-scrollbar-thumb {
  background-color: var(--accent-color);
  border-radius: 10px;
}
#latest-activity-scroll::-webkit-scrollbar-thumb:hover {
  background-color: var(--primary-color);
}

/* ── Right Column Recent Activity ────────────────────────────── */
.right_content_1 marquee {
  border: 1px solid var(--gray-color);
  padding: 15px;
  border-radius: 5px;
  background-color: #fdfdfd;
  height: 250px;
  width: 90%;
  margin: auto;
  display: block;
}

.right_content_1 marquee p {
  margin-bottom: 12px;
  font-size: .88rem;
  color: var(--text-color);
}

/* ── About Us & President Message (Legacy) ───────────────────── */
.about-us-section .col-md-4,
.president-message .col-md-4 { display: flex; align-items: center; }

.blog-slider__text p,
.pre_msg p { margin-bottom: 1rem; line-height: 1.7; color: #444; }

.blog-slider__button {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(135deg, var(--primary-color), #0D47A1);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: var(--transition);
  font-weight: 600;
  margin-top: 10px;
}

.blog-slider__button:hover {
  background: linear-gradient(135deg, var(--secondary-color), #96210E);
  transform: translateY(-2px);
}

/* ── YouTube Section ─────────────────────────────────────────── */
.youtube_div { width: 90%; margin: auto; }
.youtube_div .row_youtube { margin-left: -10px; margin-right: -10px; }
.youtube_div2  { padding-left: 10px; padding-right: 10px; margin-bottom: 20px; }

.youtube_2 iframe {
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/9;
  width: 100%; height: auto;
  border: none;
}

/* ── Image Preview ───────────────────────────────────────────── */
.image_preview {
  position: fixed;
  top: 0; left: 0;
  height: 100vh; width: 100vw;
  background: rgba(13,27,42,.9);
  box-shadow: 0 0 30px rgba(0,0,0,.6);
  z-index: 99999;
  overflow: hidden;
  display: none;
  align-items: center;
  justify-content: center;
}

.image_preview div {
  max-height: 90vh; max-width: 90vw;
  position: relative;
  overflow-y: auto;
  text-align: center;
}

.image_preview img {
  max-width: 100%; max-height: 85vh;
  height: auto;
  display: inline-block;
  margin: auto;
  border-radius: 5px;
}

.image_preview p#preview_cancel {
  position: fixed;
  top: 20px; right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px; width: 40px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  text-align: center;
  color: #fff;
  font-size: 1.25rem;
  font-weight: bold;
  transition: var(--transition);
  cursor: pointer;
  z-index: 100000;
  line-height: 40px;
}

.image_preview p#preview_cancel:hover {
  background: var(--secondary-color);
  color: #fff;
  border-color: var(--secondary-color);
}

/* ── Additional Media Queries ────────────────────────────────── */
@media (max-width: 991.98px) {
  .grid_container { grid-template-columns: 1fr 1.5fr; }
  .grid_right_div { grid-column: 1 / -1; }
  .buttons        { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
  #latest-activity-scroll { max-height: 550px; }
  .about-us-section .col-md-8,
  .president-message .col-md-8 { margin-top: 15px; }
}

@media (max-width: 767.98px) {
  .grid_container { grid-template-columns: 1fr; padding: 15px; }
  .head_item3     { font-size: 1.15rem; margin: 30px 0 20px; }
  .head_item3::before { left: 2%; right: 2%; }
  .buttons { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .buttons button { font-size: .83rem; padding: 10px 8px; }
  #latest-activity-scroll { max-height: 500px; padding-right: 10px; margin-right: -5px; }
  .youtube_div { width: 95%; }
  .youtube_div .row_youtube { margin: 0 -5px; }
  .youtube_div2 { padding: 0 5px; }
}

@media (max-width: 575.98px) {
  body { font-size: 14px; }
  .grid_container { padding: 10px; gap: 15px; }
  .grid_left_div,
  .grid_center_div,
  .grid_right_div { padding: 15px; }
  .head_item3 { font-size: 1.1rem; margin: 25px 0 15px; }
  .buttons    { grid-template-columns: 1fr; }
  #latest-activity-scroll { max-height: 450px; }
  .image_preview img { max-height: 80vh; }
  .image_preview p#preview_cancel { width: 35px; height: 35px; font-size: 1.1rem; line-height: 35px; top: 15px; right: 15px; }
}

/* ═══════════════════════════════════════════════════════════════
   OBJECTIVES SECTION
   ═══════════════════════════════════════════════════════════════ */
.objectives-section {
  padding: 60px 20px;
  background: var(--surface-2);
}

.objectives-title-container {
  text-align: center;
  margin-bottom: 50px;
}

.objectives-title {
  display: inline-block;
  padding: 10px 40px;
  background: linear-gradient(135deg, #1A3A6B 0%, #0D2550 100%);
  border: 1px solid rgba(212,160,23,.3);
  color: #F0E6C8;
  font-size: 1.45rem;
  font-weight: 700;
  border-radius: 8px;
  margin: 0;
  text-transform: capitalize;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  letter-spacing: .5px;
  position: relative;
  box-shadow: 0 4px 14px rgba(26,58,107,.15);
}

.objectives-title::before {
  display: none;
}

.objectives-cards-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 10px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  flex-wrap: nowrap;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.objectives-cards-container::-webkit-scrollbar { display: none; }

.objective-card-modern {
  position: relative;
  min-width: 260px;
  max-width: 260px;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  background: white;
  display: flex;
  flex-direction: column;
  border-bottom: 2px solid transparent;
}

.objective-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--accent-color);
}

.objective-bg-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 15px;
  transition: transform .4s ease;
  background: white;
  margin: 0 auto;
  display: block;
  border-radius: 10px !important;
}

.objective-card-modern:hover .objective-bg-image { transform: scale(1.05); }

.objective-overlay {
  position: relative;
  background: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(26,58,107,.08);
  width: 100%;
  min-height: 70px;
}

.objective-title {
  color: var(--primary-color);
  font-size: .95rem;
  font-weight: 700;
  text-align: left;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .4px;
  flex-grow: 1;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.05rem;
}

.objective-arrow {
  color: var(--accent-color);
  font-size: 1.2rem;
  opacity: 1;
  transform: translateX(0);
  transition: transform .3s ease;
}

.objective-card-modern:hover .objective-arrow { transform: translateX(5px); }

@media (min-width: 1024px) {
  .objective-card-modern { min-width: 240px; max-width: 240px; }
}

@media (max-width: 768px) {
  .objectives-section { padding: 40px 15px; }
  .objectives-title   { font-size: 1.35rem; padding: 10px 28px; }
  .full-width-section h5, .about-us-section h5, .president-message-section h5 { font-size: 1.35rem; padding: 10px 28px; }
  .objectives-title-container { margin-bottom: 30px; }
  .objective-card-modern { min-width: 240px; max-width: 240px; }
}

@media (max-width: 480px) {
  .objectives-title { font-size: 1.15rem; padding: 8px 22px; }
  .full-width-section h5, .about-us-section h5, .president-message-section h5 { font-size: 1.15rem; padding: 8px 22px; }
  .objective-card-modern { min-width: 220px; max-width: 220px; }
  .objective-bg-image { height: 150px; }
  .objective-title    { font-size: .95rem; }
}

/* ═══════════════════════════════════════════════════════════════
   SIDEBAR CTA BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.cta-wrapper { margin-bottom: 20px; text-align: center; }

.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 20px;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  color: white !important;
  border-radius: 4px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  letter-spacing: .4px;
}

.member-apply-btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0D47A1 100%);
}

.member-apply-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(26,58,107,.4);
  background: linear-gradient(135deg, #0D2550 0%, var(--primary-color) 100%);
}

.donate-btn {
  background: linear-gradient(135deg, var(--accent-color) 0%, #B8860B 100%);
}

.donate-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(212,160,23,.45);
  background: linear-gradient(135deg, #B8860B 0%, var(--accent-color) 100%);
}

.cta-button i { font-size: 1.25rem; }

@media (max-width: 768px) {
  .cta-button { font-size: .95rem; padding: 11px 15px; }
}

/* ═══════════════════════════════════════════════════════════════
   USER REFERENCE STYLE (About & President)
   ═══════════════════════════════════════════════════════════════ */
.head_item3 {
  text-align: center;
  margin-bottom: 30px;
}

.head_item3 span {
  display: inline-block;
  padding: 10px 40px;
  background: linear-gradient(135deg, #1A3A6B 0%, #0D2550 100%); /* Premium Navy Gradient */
  border: 1px solid rgba(212,160,23,.3); /* Gold border */
  color: #F0E6C8; /* Cream/Gold Text */
  font-size: 1.45rem;
  font-weight: 700;
  border-radius: 8px; /* Slightly more rounded */
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  letter-spacing: .5px;
  box-shadow: 0 4px 14px rgba(26,58,107,.15);
}

.about_us_main_div {
  display: flex;
  align-items: stretch;
  gap: 30px;
  margin-bottom: 50px;
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(26,58,107,.12); /* Navy tinted shadow */
  border: 1px solid rgba(212,160,23,.15); /* Subtle gold border */
}

.about_img_div {
  flex: 0 0 350px;
  border: 2px solid rgba(212,160,23,.35); /* Stronger gold border */
  padding: 15px;
  border-radius: 12px;
  background: #F4F6FA; /* Light navy tinted background */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(26,58,107,.1);
}

.about_img_div img { max-width: 100%; border-radius: 8px; }

.about_us_content_main {
  flex: 1;
  border: 1.5px solid rgba(26,58,107,.08);
  border-radius: 12px;
  padding: 30px;
  background: #F4F6FA;
  box-shadow: inset 0 0 0 1px #fff, 0 4px 12px rgba(26,58,107,.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 4px solid #1A3A6B; /* Navy left border matching feed posts */
  transition: all 0.3s ease;
}

.about_us_content_main:hover {
  border-color: #D4A017;
  border-left-color: #D4A017; /* Turns gold on hover */
  background: #fff;
  box-shadow: 0 6px 22px rgba(26,58,107,.13);
}

.about_us_content_div { font-size: 1rem; color: #333; line-height: 1.65; }

.about_us_content_div strong {
  font-size: 1.05rem;
  color: #1A3A6B; /* Navy headers */
  display: block;
  margin-top: 15px;
  margin-bottom: 5px;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
}

.readmore_btn_div { text-align: right; margin-top: 20px; }

.readmore_btn_div a {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, #1A3A6B 0%, #0D2550 100%); /* Navy Gradient */
  color: #F0E6C8; /* Cream Text */
  border: 1px solid rgba(212,160,23,.25); /* Gold Border */
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  font-size: .9rem;
  letter-spacing: .3px;
  box-shadow: 0 4px 12px rgba(26,58,107,.15);
}

.readmore_btn_div a:hover {
  background: linear-gradient(135deg, #0D2550 0%, #1A3A6B 100%);
  color: #D4A017; /* Solid gold text */
  border-color: #D4A017; /* Glowing gold border */
  box-shadow: 0 6px 16px rgba(212,160,23,.3);
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .about_us_main_div  { flex-direction: column; }
  .about_img_div      { flex: 0 0 auto; max-width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════
   MODERN GALLERY GRID
   ═══════════════════════════════════════════════════════════════ */
.gallery-section-modern {
  padding: 60px 0;
  background: #fff;
}

.gallery-modern-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(26,58,107,.08);
  height: auto !important;
  margin-bottom: 20px;
  border: 1px solid rgba(212,160,23,.15); /* Subtle gold border */
  border-bottom: 4px solid #1A3A6B; /* Navy base */
  transition: all 0.3s ease;
}

.gallery-modern-item:hover { 
  box-shadow: 0 10px 28px rgba(26,58,107,.25); 
  border-color: #D4A017;
  border-bottom-color: #D4A017; /* Turns gold */
  transform: translateY(-4px); /* Image card lifts */
}

.gallery-modern-img {
  width: 100%;
  height: auto !important;
  display: block;
  transition: transform .5s ease;
}

.gallery-modern-item:hover .gallery-modern-img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(13,37,80,.65); /* Deep Navy Overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease;
}

.gallery-modern-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay i {
  color: #D4A017; /* Gold Icon */
  font-size: 2.5rem;
  transform: scale(.8);
  transition: transform .3s ease;
}

.gallery-modern-item:hover .gallery-overlay i { transform: scale(1); }

/* Gallery Modal */
.gallery-modal-img   { max-height: 85vh; object-fit: contain; margin: 0 auto; }
.modal-content       { background-color: transparent !important; box-shadow: none !important; }
.modal-backdrop.show { opacity: .9; }

.carousel-caption {
  background: rgba(13,37,80,.8); /* Navy Tint */
  border: 1px solid rgba(212,160,23,.3); /* Gold border */
  border-radius: 8px;
  color: #F0E6C8; /* Cream text */
}

.masonry-grid { width: 100%; margin: 0 auto; max-width: 100%; }

/* Horizontal Scroll Gallery */
.gallery-cards-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 10px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  flex-wrap: nowrap;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.gallery-cards-container::-webkit-scrollbar { display: none; }

.gallery-cards-container .gallery-modern-item {
  flex: 0 0 auto;
  width: 320px;
  max-width: none;
  margin-bottom: 0;
  height: 250px !important;
}

.gallery-modern-item img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
}