/* =================================================================
   COMPLETE NGO WEBSITE STYLESHEET
   Includes: Header, Navbar, Footer, and All Section Styles
   ================================================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Devanagari:wght@400;700&display=swap');

/* CSS Variables */
:root {
  --primary-color: #00AEEF;
  --secondary-color: #ED1C24;
  --accent-color: #FFD100;
  --text-color: #333333;
  --light-color: #FFFFFF;
  --dark-color: #000000;
  --tertiary-color: #8CC63F;
  --quaternary-color: #0066B3;
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Serif Devanagari', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: #f0f2f5;
  font-weight: bold;
  overflow-x: hidden;
  top: 0 !important;
  max-width: 100vw;
}

.container {
  max-width: 100%;
  overflow-x: hidden;
}

/* Google Translate */
.goog-te-banner-frame.skiptranslate {
  display: none !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: all 0.3s ease;
}

#google_translate_element select:hover {
  background: var(--secondary-color);
  color: #fff;
}

/* ========== HEADER STYLES ========== */
.desktop-header {
  display: block;
}

.top-header-bar {
  background: var(--primary-color);
  padding: 10px 0;
  position: relative;
  z-index: 10001;
}

.top-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-social-icons {
  display: flex;
  gap: 10px;
}

.header-social-icons a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 16px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.header-social-icons a:hover {
  background: var(--secondary-color);
  color: #fff;
  transform: scale(1.1);
}

.news-ticker-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  max-width: 60%;
}

.news-label {
  background: var(--secondary-color);
  color: #fff;
  padding: 8px 18px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.news-label i {
  animation: pulse-header 1.5s infinite;
}

@keyframes pulse-header {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(0.95);
  }
}

.news-marquee {
  flex: 1;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 8px 15px;
}

.marquee-text {
  display: inline-block;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  padding-left: 100%;
}

.news-marquee:hover .marquee-text {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.header-phone a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.header-phone a i {
  font-size: 18px;
  animation: ring 2s ease-in-out infinite;
}

@keyframes ring {

  0%,
  100% {
    transform: rotate(0deg);
  }

  10%,
  30% {
    transform: rotate(-10deg);
  }

  20%,
  40% {
    transform: rotate(10deg);
  }
}

.header-phone a:hover {
  color: var(--secondary-color);
}

.main-header-section {
  background: #fff;
  padding: 15px 0;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10000;
}

.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-size: 28px;
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.5px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.donate-button {
  background: var(--secondary-color);
  color: #fff;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 140, 66, 0.4);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.donate-button:hover {
  background: var(--primary-color);
  box-shadow: 0 6px 20px rgba(13, 110, 94, 0.5);
  transform: scale(1.05);
  animation: none;
}

/* Mobile Header */
.mobile-header {
  display: none;
}

.mobile-top-section {
  background: var(--primary-color);
  padding: 12px 0;
}

.mobile-top-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mobile-language-selector select {
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 8px;
}

.mobile-news-marquee {
  flex: 1;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 10px 12px;
}

.mobile-marquee-text {
  display: inline-block;
  white-space: nowrap;
  animation: scrollMobile 20s linear infinite;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 13px;
  padding-left: 100%;
}

@keyframes scrollMobile {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.mobile-main-header {
  background: #fff;
  padding: 12px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-header-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger-menu-btn {
  background: none;
  border: none;
  font-size: 28px;
  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: 55px;
  width: auto;
}

.mobile-site-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1.2;
  margin: 0;
}

.mobile-social-donate {
  background: var(--primary-color);
  padding: 15px 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: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.mobile-social-icons a:hover {
  background: var(--secondary-color);
  color: #fff;
  transform: scale(1.1);
}

.mobile-donate-button {
  background: var(--secondary-color);
  color: #fff;
  font-weight: 700;
  padding: 12px 25px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(255, 140, 66, 0.4);
  transition: all 0.3s ease;
}

@media (max-width: 991px) {
  .desktop-header {
    display: none;
  }

  .mobile-header {
    display: block;
  }
}

/* ========== NAVBAR STYLES ========== */
.blur_main_div {
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, .7);
  z-index: 9990;
  display: none;
}

.modern-navbar {
  background: var(--primary-color);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: visible;
}

.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: #fff !important;
  padding: 16px 10px !important;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  white-space: nowrap;
}

.modern-navbar .home-btn {
  padding: 0 10px !important;
}

.modern-navbar .fa-home {
  padding: 10px 0 !important;
  font-size: 20px !important;
  margin: 0 !important;
}

.modern-navbar .dropbtn:hover,
.modern-navbar .dropdown.active .dropbtn {
  background: rgba(0, 0, 0, 0.3);
  color: #fff !important;
}

.modern-navbar .fa-sort-desc {
  margin-top: -3px !important;
  margin-left: 3px;
  font-size: 10px;
}

/* Dropdown Content */
.modern-navbar .dropdown-content {
  display: none;
  position: absolute;
  background: #fff;
  min-width: 200px;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  border-radius: 5px;
  overflow: hidden;
  left: 0;
  top: 100%;
}

.modern-navbar .dropdown:nth-last-child(-n+3) .dropdown-content {
  left: auto;
  right: 0;
}

.modern-navbar .dropdown-content a {
  color: #333;
  padding: 12px 20px;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.modern-navbar .dropdown-content a i {
  color: var(--primary-color);
  font-size: 16px;
}

.modern-navbar .dropdown-content a:hover {
  background: var(--primary-color);
  color: #fff;
  padding-left: 25px;
}

.modern-navbar .dropdown-content a:hover i {
  color: #fff;
}

.modern-navbar .dropdown:hover .dropdown-content {
  display: block;
}

.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 10px rgba(0, 0, 0, 0.1);
  z-index: 10001;
  transition: left 0.3s ease;
}

.mobile-sidebar-header.active {
  left: 0;
}

.sidebar-logo-img {
  height: 50px;
  width: auto;
}

.sidebar-close-btn {
  background: var(--secondary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  border: none;
  font-size: 20px;
  transition: all 0.3s ease;
}

.sidebar-close-btn:hover {
  transform: rotate(90deg);
  background: #ff6b35;
}

@media (max-width: 1400px) {
  .modern-navbar .dropbtn {
    padding: 16px 8px !important;
    font-size: 13px;
  }

  .modern-navbar .home-btn {
    padding: 0 8px !important;
  }
}

@media (max-width: 1200px) {
  .modern-navbar .dropbtn {
    padding: 16px 6px !important;
    font-size: 12.5px;
  }

  .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: var(--primary-color);
    z-index: 10000;
    transition: left 0.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, 0.1);
  }

  .modern-navbar .dropbtn {
    width: 100%;
    padding: 16px 20px !important;
    justify-content: space-between;
    font-size: 16px;
  }

  .modern-navbar .home-btn,
  .modern-navbar .fa-home {
    padding: 16px 20px !important;
  }

  .modern-navbar .dropdown-content {
    position: static;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: none;
    display: none;
    border-radius: 0;
    left: auto;
    right: auto;
  }

  .modern-navbar .dropdown.dropdown_open .dropdown-content {
    display: block;
  }

  .modern-navbar .dropdown-content a {
    color: #fff;
    padding: 12px 20px 12px 40px;
    background: rgba(0, 0, 0, 0.2);
  }

  .modern-navbar .dropdown-content a i {
    color: #fff;
  }

  .modern-navbar .dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 45px;
  }
}

/* ========== FOOTER STYLES ========== */
.contact-footer {
  background: #f5f5f5;
  margin-top: 60px;
  border-top: 3px solid #ff6b35;
  padding: 0;
}

.footer-section {
  padding: 0;
}

.footer-main-content {
  background: #fff;
  padding: 40px 0 30px;
}

.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;
}

.footer-links-section {
  flex: 1 1 400px;
  text-align: center;
  padding: 0 20px;
}

.footer-links-section h3 {
  color: #333;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 2px solid #ff6b35;
  display: inline-block;
}

.footer-links-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  text-align: left;
}

.footer-links-columns a {
  color: #555;
  font-size: 14px;
  text-decoration: none;
  padding: 3px 0;
  display: block;
  transition: all 0.3s ease;
}

.footer-links-columns a:hover {
  color: #ff6b35;
  padding-left: 5px;
}

.footer-social-section {
  flex: 1 1 200px;
  text-align: center;
  padding: 0 20px;
}

.footer-social-section h3 {
  color: #333;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 2px solid #ff6b35;
  display: block;
  text-align: center;
}

.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: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social-icons a:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-social-icons .facebook {
  background: #1877F2;
}

.footer-social-icons .twitter {
  background: #000;
}

.footer-social-icons .instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.footer-social-icons .youtube {
  background: #CD201F;
}

.footer-login-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.footer-login-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  background: #fff;
  border: 2px solid #ff6b35;
  color: #333;
  transition: all 0.3s ease;
}

.footer-login-btn i {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ff6b35;
  border-radius: 50%;
  font-size: 14px;
  color: #fff;
}

.footer-login-btn:hover {
  background: #ff6b35;
  color: #fff;
}

.footer-login-btn:hover i {
  background: #fff;
  color: #ff6b35;
}

.copyright-area {
  background: #ff6b35;
  padding: 15px 0;
  color: #fff;
  border-top: 1px solid #e0e0e0;
}

.copyright-text {
  text-align: center;
  margin-bottom: 10px;
}

.copyright-text p {
  margin: 0;
  font-size: 12px;
  color: #fff;
  font-weight: 600;
}

.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: #fff;
  text-decoration: none;
  font-size: 12px;
  padding: 0 5px;
  transition: all 0.3s ease;
}

.footer-policy-links a:hover {
  color: #ccc;
}

.footer-bottom {
  background: #ff6b35;
  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: #fff;
  font-weight: 600;
  text-align: center;
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
}

.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, 0.5);
  animation: pulse 2s infinite;
}

.fixed-whatsapp a:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.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: #007bff;
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(0, 123, 255, 0.5);
  animation: pulse 2s infinite;
}

.fixed-call a:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 123, 255, 0.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 (Retained from original style.css)
   ================================================================= */

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.back-to-top i {
  font-size: 24px;
}

.back-to-top:hover {
  background-color: var(--accent-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;
}

/* Mobile adjustments for content wrapper */
@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: 20px;
  }
}

/* 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;
  }
}

/* Sidebar Styles */
.sidebar-left,
.sidebar-right {
  position: sticky;
  top: 20px;
  height: fit-content;
  background: var(--light-color);
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.sidebar-left .nav-link,
.sidebar-right .nav-link {
  color: var(--primary-color);
  padding: 10px;
  border-radius: 5px;
  display: block;
  transition: background 0.3s;
}

.sidebar-left .nav-link:hover,
.sidebar-right .nav-link:hover {
  background: var(--accent-color);
  color: var(--light-color);
}

/* Team Slider, Management Slider, and Members Slider */
.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 (Premium Consistent Design)
   ========================= */
.team-card {
  width: 100%;
  max-width: 300px;
  min-height: 360px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.team-card .image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 133.33%;
  /* 3:4 ratio */
  background: #e0e0e0;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  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;
  /* Premium look: cover the area */
  object-position: top center;
  /* Focus on faces */
  border-radius: 10px;
}

.team-card .text-container {
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  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.2rem;
  font-weight: bold;
  color: var(--light-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.team-card small {
  font-size: 0.9rem;
  color: var(--light-color);
  text-align: center;
  display: block;
}

.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(--primary-color);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  background-size: 50% 50%;
  background-position: center;
  border: 1px solid #fff;
}

/* Recent Events & Activities */
.sidebar-right .recent-events,
.sidebar-right .recent-activities {
  height: 200px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  background: linear-gradient(135deg, var(--light-color), rgba(233, 30, 99, 0.05));
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.sidebar-right .recent-activities {
  background: linear-gradient(135deg, var(--light-color), rgba(33, 150, 243, 0.05));
}

.sidebar-right .recent-events h6,
.sidebar-right .recent-activities h6 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 5px;
}

.sidebar-right .recent-events h6::after,
.sidebar-right .recent-activities h6::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--secondary-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: 10px 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.9);
  border-left: 4px solid var(--primary-color);
  border-radius: 5px;
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.activities-scroller p {
  border-left-color: var(--secondary-color);
}

.events-scroller p:hover {
  transform: scale(1.02);
  background: rgba(33, 150, 243, 0.1);
}

.activities-scroller p:hover {
  transform: scale(1.02);
  background: rgba(156, 39, 176, 0.1);
}

.events-scroller p i,
.activities-scroller p i {
  margin-right: 10px;
  font-size: 1.2rem;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes scroll-up {
  0% {
    transform: translateY(0%);
  }

  100% {
    transform: translateY(-50%);
  }
}

/* Sidebar CTA Buttons */
.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.2rem;
  border-radius: 15px;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  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(0, 0, 0, 0.4);
  transition: background 0.3s ease;
}

.sidebar-right .cta-member-apply a:hover::before,
.sidebar-right .cta-donate a:hover::before {
  background: rgba(0, 0, 0, 0.6);
}

.sidebar-right .cta-member-apply a:hover,
.sidebar-right .cta-donate a:hover {
  transform: scale(1.02);
  opacity: 0.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.5rem;
  color: var(--light-color);
}

/* Quick Links */
.quick-links {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 10px;
  background: var(--light-color);
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.quick-links button {
  background: var(--primary-color);
  color: var(--light-color);
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  white-space: nowrap;
  transition: background 0.3s;
}

.quick-links button:hover {
  background: var(--accent-color);
}

/* Feed Container */
.feed-container {
  max-height: 1400px;
  overflow-y: auto;
  padding-right: 10px;
}

.feed-post {
  background: var(--light-color);
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.feed-post img {
  max-height: none;
  width: 100%;
  object-fit: contain;
  border-radius: 8px;
  background-color: #f5f5f5;
  margin: 10px 0;
}

/* Share Buttons */
.share-buttons a {
  margin-right: 10px;
  color: var(--light-color);
  padding: 5px 10px;
  border-radius: 5px;
  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(--light-color);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.full-width-section h5 {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* Enhanced About Us Section */
.about-us-section {
  background: linear-gradient(135deg, var(--light-color), rgba(233, 30, 99, 0.1));
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.about-us-section h5 {
  color: var(--primary-color);
  margin-bottom: 30px;
  position: relative;
}

.about-us-section h5::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 2px;
}

.about-us-section img {
  border: 4px solid var(--primary-color);
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-height: 300px;
  object-fit: cover;
}

.about-us-section img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.about-us-section .text-content {
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.about-us-section .text-content:hover {
  transform: translateY(-5px);
}

.about-us-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 20px;
}

.about-us-section .btn {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: var(--light-color);
  padding: 10px 25px;
  border-radius: 25px;
  text-transform: uppercase;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
}

.about-us-section .btn:hover {
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  transform: scale(1.05);
}

/* Enhanced President's Message Section */
.president-message-section {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.05), var(--light-color));
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.president-message-section h5 {
  color: var(--primary-color);
  margin-bottom: 30px;
  position: relative;
}

.president-message-section h5::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 2px;
}

.president-message-section::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 80px;
  color: var(--primary-color);
  opacity: 0.1;
  font-family: Georgia, serif;
}

.president-message-section .text-content {
  animation: fadeIn 1s ease-in-out;
  padding: 20px;
  border-left: 4px solid var(--primary-color);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0 10px 10px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.president-message-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 15px;
}

.president-message-section .signature {
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-top: 10px;
}

.president-message-section img {
  border-radius: 50%;
  border: 4px solid var(--primary-color);
  padding: 5px;
  background: var(--light-color);
  max-height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.president-message-section img:hover {
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  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: 8px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-slider img:hover {
  transform: scale(1.05);
}

.gallery-carousel {
  display: none;
}

.gallery-carousel .carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-carousel .carousel-control-prev-icon,
.gallery-carousel .carousel-control-next-icon {
  background-color: var(--primary-color);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  background-size: 50% 50%;
  background-position: center;
  border: 1px solid #fff;
}

/* 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, var(--light-color), #f8f9fa);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  margin: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 60px;
  color: var(--primary-color);
  opacity: 0.1;
  font-family: Georgia, serif;
}

.testimonial-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 4px solid var(--primary-color);
  padding: 3px;
  background: var(--light-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.testimonial-card:hover img {
  transform: scale(1.05);
}

.testimonial-card h4 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.testimonial-card .designation {
  color: var(--secondary-color);
  font-size: 0.9rem;
  margin-bottom: 15px;
  font-style: italic;
}

.testimonial-card .content {
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.testimonial-card .rating {
  color: #ffd700;
  font-size: 1.2rem;
  margin-top: 10px;
}

/* Mobile-specific 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.1rem;
  }

  .testimonial-card .content {
    font-size: 0.9rem;
  }

  .recent-events,
  .recent-activities {
    padding: 10px;
    height: auto;
    max-height: 300px;
  }

  .events-scroller p,
  .activities-scroller p {
    padding: 8px;
    font-size: 0.9rem;
    margin: 8px 0;
  }

  .events-scroller p i,
  .activities-scroller p i {
    font-size: 1rem;
    margin-right: 8px;
  }

  .events-scroller,
  .activities-scroller {
    animation: none;
  }
}

/* Utilities */
.img-fluid {
  max-width: 100%;
  height: auto;
}

.rounded {
  border-radius: 0.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: 0.25rem !important;
}

.me-2 {
  margin-right: 0.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: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.content-section-width {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

/* Headings */
.head_item3 {
  text-align: center;
  margin: 40px 0 25px 0;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--primary-color);
  position: relative;
}

.head_item3 span {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 5px 20px;
  position: relative;
  z-index: 1;
  border-radius: 4px;
}

.head_item3::before {
  content: '';
  position: absolute;
  left: 5%;
  right: 5%;
  top: 50%;
  height: 1px;
  background-color: var(--gray-color);
  z-index: 0;
}

/* Left Column Sliders */
.left_content_1>div {
  margin-bottom: 25px;
}

.member_slider .card {
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.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, 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(0, 0, 0, 0.6);
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.content:hover .content-overlay {
  opacity: 1;
}

.content-image {
  width: 100%;
  display: block;
  transition: transform 0.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(0.9);
  transition: all 0.4s ease-in-out;
  box-sizing: border-box;
}

.content:hover .content-details {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.content-details h3 {
  color: var(--white-color);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 0.5em;
  text-transform: uppercase;
}

.content-details .arrow {
  margin-left: 10px;
  transition: transform 0.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-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 0.9rem;
  text-align: center;
  font-weight: 500;
}

.buttons button i {
  margin-right: 8px;
}

.buttons button:hover {
  background-color: #c7423a;
  transform: translateY(-2px);
}

.buttons button:active {
  transform: translateY(0);
}

.buttons a {
  text-decoration: none;
  display: block;
}

/* Center Column Divs */
.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(--primary-color) var(--gray-color);
}

#latest-activity-scroll::-webkit-scrollbar {
  width: 8px;
}

#latest-activity-scroll::-webkit-scrollbar-track {
  background: var(--secondary-color);
  border-radius: 10px;
  margin: 5px 0;
}

#latest-activity-scroll::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 10px;
  border: 2px solid var(--secondary-color);
}

#latest-activity-scroll::-webkit-scrollbar-thumb:hover {
  background-color: #c7423a;
}

/* 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: 0.9rem;
  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-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-weight: 500;
  margin-top: 10px;
}

.blog-slider__button:hover {
  background-color: #c7423a;
  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: 0 4px 10px rgba(0, 0, 0, 0.1);
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  border: none;
}

/* Image Preview Styles */
.image_preview {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0, 0, 0, 0.85);
  box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.5);
  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, 0.8);
  border-radius: 50%;
  text-align: center;
  color: #333;
  font-size: 1.25rem;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
  cursor: pointer;
  z-index: 100000;
  line-height: 40px;
}

.image_preview p#preview_cancel:hover {
  background: var(--primary-color);
  color: var(--white-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.25rem;
    margin: 30px 0 20px 0;
  }

  .head_item3::before {
    left: 2%;
    right: 2%;
  }

  .buttons {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .buttons button {
    font-size: 0.85rem;
    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.125rem;
    margin: 25px 0 15px 0;
  }

  .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.125rem;
    line-height: 35px;
    top: 15px;
    right: 15px;
  }
}

/* OBJECTIVES SECTION - MODERN CARD DESIGN */
.objectives-section {
  padding: 60px 20px;
  background: #f8f9fa;
}

.objectives-title-container {
  text-align: center;
  margin-bottom: 50px;
}

.objectives-title {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 700;
  color: #d32f2f;
  padding: 12px 40px;
  border: 3px solid #d32f2f;
  border-radius: 50px;
  margin: 0;
  background: white;
  text-transform: capitalize;
}

.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;
}

.objectives-cards-container::-webkit-scrollbar-thumb:hover {
  background: #b71c1c;
}

.objective-card-modern {
  position: relative;
  min-width: 260px;
  max-width: 260px;
  height: auto;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  background: white;
  display: flex;
  flex-direction: column;
}

.objective-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.objective-bg-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 15px;
  transition: transform 0.4s ease;
  background: white;
  margin: 0 auto;
  display: block;
  border-radius: 20px !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 #eee;
  width: 100%;
  min-height: 70px;
}

.objective-card-modern:hover .objective-overlay {
  background: white;
}

.objective-title {
  color: #333;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: none;
  flex-grow: 1;
}

.objective-arrow {
  color: #d32f2f;
  font-size: 1.2rem;
  opacity: 1;
  transform: translateX(0);
  transition: transform 0.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.4rem;
    padding: 10px 30px;
  }

  .objectives-title-container {
    margin-bottom: 30px;
  }

  .objective-card-modern {
    min-width: 240px;
    max-width: 240px;
  }
}

@media (max-width: 480px) {
  .objectives-title {
    font-size: 1.2rem;
    padding: 8px 25px;
  }

  .objective-card-modern {
    min-width: 220px;
    max-width: 220px;
  }

  .objective-bg-image {
    height: 150px;
  }

  .objective-title {
    font-size: 0.9rem;
  }
}

/* SIDEBAR CTA BUTTONS REDESIGN */
.cta-wrapper {
  margin-bottom: 20px;
  text-align: center;
}

.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: white !important;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.member-apply-btn {
  background: linear-gradient(135deg, #0d6e5e 0%, #00bfa5 100%);
}

.member-apply-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(13, 110, 94, 0.4);
  background: linear-gradient(135deg, #094f42 0%, #009688 100%);
}

.donate-btn {
  background: linear-gradient(135deg, #ff8c42 0%, #ff5722 100%);
}

.donate-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 87, 34, 0.4);
  background: linear-gradient(135deg, #e64a19 0%, #ff7043 100%);
}

.cta-button i {
  font-size: 1.3rem;
}

@media(max-width: 768px) {
  .cta-button {
    font-size: 1rem;
    padding: 12px 15px;
  }
}

/* USER REFERENCE STYLE REDESIGN (About & President) */
.head_item3 {
  text-align: center;
  margin-bottom: 30px;
}

.head_item3 span {
  display: inline-block;
  padding: 10px 40px;
  border: 2px solid #d32f2f;
  color: #d32f2f;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 5px;
  background: white;
}

.about_us_main_div {
  display: flex;
  align-items: stretch;
  gap: 30px;
  margin-bottom: 50px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
}

.about_img_div {
  flex: 0 0 350px;
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 15px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.about_img_div img {
  max-width: 100%;
  border-radius: 10px;
}

.about_us_content_main {
  flex: 1;
  border: 1px solid #eee;
  border-radius: 15px;
  padding: 30px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about_us_content_div {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.about_us_content_div strong {
  font-size: 1.1rem;
  color: #000;
  display: block;
  margin-top: 15px;
  margin-bottom: 5px;
}

.readmore_btn_div {
  text-align: right;
  margin-top: 20px;
}

.readmore_btn_div a {
  display: inline-block;
  padding: 8px 25px;
  border: 1px solid #d32f2f;
  color: #d32f2f;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.readmore_btn_div a:hover {
  background: #d32f2f;
  color: white;
}

@media (max-width: 991px) {
  .about_us_main_div {
    flex-direction: column;
  }

  .about_img_div {
    flex: 0 0 auto;
    max-width: 100%;
  }
}

/* MODERN GALLERY GRID REDESIGN */
.gallery-section-modern {
  padding: 60px 0;
  background: #fff;
}

.gallery-modern-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  height: auto !important;
  margin-bottom: 20px;
}

.gallery-modern-img {
  width: 100%;
  height: auto !important;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-modern-item:hover .gallery-modern-img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-modern-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: white;
  font-size: 2rem;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.gallery-modern-item:hover .gallery-overlay i {
  transform: scale(1);
}

/* GALLERY MODAL STYLES */
.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: 0.9;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.masonry-grid {
  width: 100%;
  margin: 0 auto;
  max-width: 100%;
}

/* HORIZONTAL SCROLL GALLERY (Slider Mode) */
.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;
}