html {
  scroll-padding-top: 80px;
}

html.mobile-menu-open {
  overflow: hidden;
  padding-right: var(--scrollbar-width);
}

body {
  font-family: 'Poppins', sans-serif;
  color: #5d4e37;
  line-height: 1.8;
  margin:0; 
  padding:0; 
  background: linear-gradient(135deg, #fffef7 0%, #fff8dc 50%, #fffef7 100%); /* Even lighter with gradient */
  min-height: 100vh;
}
section { padding: 60px 0; }
/* Global paragraph style */
p, .lead, li {
  font-size: 1.25rem;
  line-height: 1.6;
  font-family: 'Quicksand', sans-serif;
}
/* Footer styles */
footer p, 
footer li, 
footer a {
  font-size: 0.9rem;
  color: #8b7355;
  font-family: 'Quicksand', sans-serif;
}
footer a {
  text-decoration: none;
  transition: color 0.3s ease;
}
footer a:hover {
  color: #d4af37;
}

/* Quicksand Font Application */
* {
  font-family: 'Quicksand', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
}

.navbar-brand,
.nav-link,
.btn,
.card-title,
.badge,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-family: 'Quicksand', sans-serif;
}

.navbar-brand {
  font-weight: 700;
}

.nav-link {
  font-weight: 500;
  font-size: 0.9rem; /* Smaller nav items */
}

.btn {
  font-weight: 600;
}

/* Gradient Button Styles - Apply everywhere */
.btn-primary,
.btn-warning,
.btn {
  background: linear-gradient(135deg, #ffc107, #ff8f00) !important;
  border: none !important;
  border-radius: 25px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  color: #fff !important;
}

.btn-primary:hover,
.btn-warning:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255,193,7,0.3);
  background: linear-gradient(135deg, #ff8f00, #ff6f00) !important;
}

.card-title {
  font-weight: 600;
}

.main-stat-number,
.card-amount,
.impact-stat-number {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
}

.main-stat-label,
.card-title,
.impact-title {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
}

.testimonial-author {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
}

.testimonial-role {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
}

/* Material Icons Fix */
.material-icons-outlined {
  font-family: 'Material Icons Outlined' !important;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* Values Section Icons */
#values .material-icons-outlined {
  font-size: 6rem !important;
  color: #d4af37 !important;
  margin-bottom: 1rem;
  display: block;
}

#values h4 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

#values p {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  color: #8b7355;
}

/* Enhanced Header Styling */
header.sticky-top {
  box-shadow: 0 2px 20px rgba(212, 175, 55, 0.1);
  z-index: 1030;
  background-color: #fff8dc !important; /* Light yellow header */
}

.navbar {
  padding: 0.5rem 2rem;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
  transition: all 0.3s ease;
}

.desktop-nav {
  display: flex;
  flex-grow: 1;
  justify-content: space-between;
  align-items: center;
}

.btn-warning-outline {
    border: 2px solid #ffc107;
    color: #5d4e37;
    background-color: transparent;
}

.btn-warning-outline:hover {
    background-color: #ffc107;
    color: #212529;
}

.navbar-social .social-icon {
  color: #5d4e37;
  margin-left: 15px;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 18px;
}

.navbar-social .social-icon:hover {
  color: #d4af37;
  transform: scale(1.2);
  text-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.navbar-social .social-icon .fa-youtube {
    display: inline-block !important;
    font-size: 18px !important;
    color: #5d4e37 !important;
}

/* Hamburger Menu Styles */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-icon {
  width: 28px;
  height: 3px;
  background-color: #333;
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

.hamburger-text {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333;
  margin-top: 4px;
}

.hamburger-menu.active .hamburger-icon:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active .hamburger-icon:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-icon:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hamburger-menu.active .hamburger-text {
    display: block;
}

.hamburger-menu.active {
  position: fixed;
  right: 2rem;
  top: 1.25rem;
  z-index: 1003;
}

/* Mobile Navigation Panel */
.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: -320px; /* Start off-screen */
  width: 320px;
  height: 100%;
  background-color: #fff;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  z-index: 1002;
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}

.mobile-nav-panel.active {
  right: 0;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

.mobile-nav-header .navbar-brand {
  padding: 0;
}

.mobile-nav-header h3 {
    font-size: 1.2rem;
    margin: 0;
}
.mobile-nav-header p {
    font-size: 0.8rem;
    margin: 0;
    color: #6c757d;
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 15px;
  transition: color 0.3s ease;
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  flex-grow: 1;
}

.mobile-nav-links li a {
  display: block;
  padding: 12px 0;
  color: #333;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.mobile-nav-links li a:hover {
  color: #d4af37;
}

.mobile-nav-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.mobile-nav-button .button-text {
  line-height: 1.2;
  text-align: center;
}

/* Mobile Navigation Footer */
.mobile-nav-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 2px solid rgba(212, 175, 55, 0.3);
  text-align: center;
}

.mobile-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.mobile-social .social-icon {
  color: #5d4e37;
  font-size: 24px;
  transition: all 0.3s ease;
  display: inline-block;
}

.mobile-social .social-icon:hover {
  color: #d4af37;
  transform: scale(1.2);
  text-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.mobile-social .social-icon .fa-youtube {
    display: inline-block !important;
    font-size: 24px !important;
    color: #5d4e37 !important;
}

/* Responsive Breakpoint */
@media (max-width: 1450px) {
  .navbar-collapse {
    display: none !important;
  }
  
  .hamburger-menu {
    display: flex;
  }
}

/* Correct Responsive Breakpoint - Override */
@media (max-width: 1450px) {
  .desktop-nav {
    display: none !important;
  }
  
  .hamburger-menu {
    display: flex;
  }
}

/* Hero with YouTube background */
.hero { 
  position: relative; 
  height: 100vh; 
  overflow: hidden; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  color: #fff;
  background-color: #fff8dc;
  padding: 0 !important;
  margin-bottom: 0 !important;
}
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(139, 115, 85, 0.3);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Carousel containers */
.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
}

.carousel-container:hover {
  /* Remove hover pause - keep scrolling */
}

.carousel-track {
  display: flex;
  gap: 40px;
  transition: transform 2.5s ease-in-out;
  /* Ensure continuous scrolling */
}

.carousel-card {
  flex: 0 0 calc(100% - 40px);
  background: #fff;
  border-radius: 20px;
  padding: 60px;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
  transition: transform 0.3s ease;
  text-align: center;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.carousel-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.25);
}

.carousel-card:active {
  /* Remove active state that might interfere with dragging */
}

/* Auto-scroll animation */
@keyframes autoScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.auto-scroll {
  animation: autoScroll 30s linear infinite;
}

.auto-scroll:hover {
  animation-play-state: paused;
}

.auction-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}
.auction-card .card-body {
  padding: 20px;
}
.accolade-card {
  padding: 30px;
  text-align: center;
}
.accolade-card .material-icons-outlined {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #d4af37;
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
--bs-gutter-x: 0!important;
--bs-gutter-y: 0;
width: 100%;
padding-right: calc(var(--bs-gutter-x) * .5);
padding-left: calc(var(--bs-gutter-x) * .5);
margin-right: auto;
margin-left: auto;
}


/* Gallery full width no gutter */
#gallery .container-fluid { padding:0; }
#gallery .row { margin:0; }
#gallery .col { padding:0; }
footer { 
  padding:40px 0; 
  background: linear-gradient(135deg, #fff8dc 0%, #fff5e6 50%, #fff8dc 100%) !important; 
}

/* Dark footer override for about page */
footer.bg-dark {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
  color: white !important;
}

footer.bg-dark p,
footer.bg-dark li,
footer.bg-dark a {
  color: white !important;
}

footer.bg-dark a:hover {
  color: #ffc107 !important;
}

/* Enhanced Testimonials */
.testimonials-container {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
  /* Ensure continuous scrolling */
}

.testimonials-track {
  display: flex;
  gap: 40px;
  transition: transform 2.5s ease-in-out;
  /* Continuous scrolling behavior */
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 27px);
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
  transition: transform 0.3s ease;
  text-align: center;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Ensure cards don't interfere with scrolling */
  pointer-events: auto;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.25);
  /* Don't pause scrolling on hover */
}

.testimonial-text {
  font-size: 1.8rem;
  margin-bottom: 40px;
  font-style: italic;
  color: #8b7355;
  line-height: 1.6;
}

.testimonial-author {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: #d4af37;
}

.testimonial-role {
  color: #8b7355;
  font-size: 1.1rem;
}

/* Testimonials Navigation Dots */
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  background: #d4af37;
  transform: scale(1.2);
}

/* Upcoming Events Enhanced */
.upcoming-events-container {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
}

.upcoming-events-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
}

.upcoming-event-card {
  flex: 0 0 calc(33.333% - 20px);
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.1);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.upcoming-event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.2);
}

.event-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
}

.upcoming-event-card .card-body {
  padding: 1.5rem;
}

.event-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #5d4e37;
  margin-bottom: 1rem;
  padding: 0;
}

.event-details a {
  color: #d4af37;
  text-decoration: none;
  transition: color 0.3s ease;
}

.event-details a:hover {
  color: #b8941f;
  text-decoration: underline;
}

/* Upcoming Events Navigation Dots */
.upcoming-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.upcoming-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.upcoming-dot.active {
  background: #d4af37;
  transform: scale(1.2);
}

/* Section Backgrounds */
.bg-white {
  background: linear-gradient(135deg, #fffef7 0%, #fff8dc 50%, #fffef7 100%) !important;
}

.bg-light {
  background: linear-gradient(135deg, #fff8dc 0%, #fff5e6 50%, #fff8dc 100%) !important;
}

.bg-dark {
  background: linear-gradient(135deg, #fff8dc 0%, #fff5e6 50%, #fff8dc 100%) !important;
  color: #8b7355 !important;
}

/* Fundraising Section Styling */
.main-stat-card {
  background: linear-gradient(135deg, #d4af37, #b8941f);
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
  margin-bottom: 2rem;
}

.main-stat-number {
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  margin-bottom: 0.5rem;
}

.main-stat-label {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.main-stat-description {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  font-style: italic;
}

.fundraising-card {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  height: 100%;
}

.fundraising-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
  border-color: #d4af37;
}

.card-icon {
  margin-bottom: 1.5rem;
}

.card-icon .material-icons-outlined {
  font-size: 3rem;
  color: #d4af37;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  padding: 1rem;
  display: inline-block;
}

.card-title {
  color: #8b7355;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.card-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: #d4af37;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.card-description {
  color: #8b7355;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.card-badges {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.card-badges .badge {
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

.impact-section {
  background: linear-gradient(135deg, rgba(212,175,55,0.1), rgba(184,148,31,0.1));
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 20px;
  padding: 3rem 2rem;
  margin-top: 3rem;
}

.impact-title {
  color: #d4af37;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.impact-description {
  color: #8b7355;
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.impact-stats-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.impact-stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255,255,255,0.8);
  border-radius: 15px;
  border: 1px solid rgba(212,175,55,0.2);
  transition: all 0.3s ease;
  flex: 1 1 180px;
  min-width: 180px;
  max-width: 200px;
}

.impact-stat-item:hover {
  background: rgba(212,175,55,0.1);
  border-color: #d4af37;
  transform: scale(1.05);
}

.impact-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #d4af37;
  margin-bottom: 0.5rem;
}

.impact-stat-label {
  color: #8b7355;
  font-weight: 500;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .impact-stats-grid {
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
  }
  .impact-stat-item {
    min-width: auto;
    max-width: none;
  }
}

/* Footer Social Media */
.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-bottom: 20px;
}
.social-link-footer {
  color: #8b7355;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  padding: 12px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-link-footer:hover {
  color: #d4af37;
  transform: translateY(-5px);
  background: rgba(212, 175, 55, 0.2);
}
.social-link-footer .material-icons-outlined {
  font-size: 2rem;
}

.social-link-footer .fa-youtube {
    display: inline-block !important;
    font-size: 24px !important;
    color: white !important;
}

/* YouTube UI Sound Button Styling */
iframe[src*="youtube.com"] {
  filter: hue-rotate(45deg) saturate(1.5);
}

/* Target YouTube player controls to make sound button gold */
.ytp-button.ytp-mute-button,
.ytp-button.ytp-volume-button {
  filter: hue-rotate(45deg) saturate(1.5) brightness(1.2);
}

/* Alternative approach using CSS custom properties */
.hero-video,
#rotating-video {
  --youtube-gold: #d4af37;
}

/* Instagram Embed Container */
.instagram-embed-container {
  background: white;
  border-radius: 0;
  padding: 30px 0;
  box-shadow: none;
  width: 100%;
  max-width: none;
}
.instagram-profile-info {
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 20px;
  margin: 0 30px 20px 30px;
}
.instagram-feed-grid {
  width: 100%;
}

/* About Page Specific Styles */
.hero-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.profile-image {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #ffc107;
  box-shadow: 0 12px 35px rgba(255,193,7,0.3);
}

.section-title {
  font-weight: 700;
  color: #333;
  margin-bottom: 2rem;
  position: relative;
}

.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #ffc107, #ff8f00);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 0;
  width: 12px;
  height: 12px;
  background: #ffc107;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px #ffc107;
}

.achievement-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(255,193,7,0.1);
}

.achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255,193,7,0.2);
}

.achievement-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ffc107, #ff8f00);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255,193,7,0.1), rgba(255,143,0,0.1));
  border-radius: 15px;
  border: 1px solid rgba(255,193,7,0.2);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #ffc107;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: #666;
  font-weight: 500;
}

.contact-info {
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  color: white;
  border-radius: 15px;
  padding: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: #ffc107;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: #333;
}

/* About page testimonial styles */
.testimonial-org {
  color: #666;
  font-size: 0.9rem;
}

/* Contact Form Styling */
.contact-form-container {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.form-label {
  font-weight: 600;
  color: #8b7355;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-control,
.form-select {
  border: 2px solid rgba(212, 175, 55, 0.2);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fffef7;
}

.form-control:focus,
.form-select:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
  background: white;
}

.form-control::placeholder {
  color: #8b7355;
  opacity: 0.7;
}

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

.section-subtitle {
  color: #8b7355;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  font-weight: 400;
}

/* Accolades Carousel Dots */
.carousel-dots,
.upcoming-dots,
.testimonials-dots {
  gap: 8px;
  margin-top: 20px;
}

.carousel-dot,
.upcoming-dot,
.testimonial-dot {
  width: 10px;
  height: 10px;
}

/* Accolades Section - Separate from Testimonials */
.accolades-container {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
  cursor: grab;
}

.accolades-container:hover {
  cursor: grab;
}

.accolades-container:active {
  cursor: grabbing;
}

.accolades-track {
  display: flex;
  gap: 40px;
  transition: transform 0.1s ease;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  animation: autoScroll 30s linear infinite;
  cursor: grab;
  will-change: transform;
}

.accolades-track:hover {
  animation-play-state: paused;
}

.accolades-track:active {
  cursor: grabbing;
  transition: none;
}

.accolades-track.dragging {
  cursor: grabbing;
  user-select: none;
  transition: none;
}

.accolade-item {
  flex: 0 0 calc(33.333% - 27px);
  background: #fff;
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
  transition: transform 0.3s ease;
  text-align: center;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: grab;
  border: 1px solid rgba(212, 175, 55, 0.1);
  pointer-events: none;
}

.accolade-item:active {
  cursor: grabbing;
}

.accolade-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.25);
}

.accolade-item h5 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #8b7355;
  margin: 1rem 0 0.5rem 0;
}

.accolade-item p {
  color: #666;
  font-size: 1rem;
  margin: 0;
}

@keyframes autoScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-200%);
  }
}

.footer-contact-list li {
  display: flex;
  align-items: center;
}
.footer-contact-list .material-icons-outlined {
  font-size: 2rem;
  margin-right: 0.75rem;
  vertical-align: middle;
}

/* Additional Responsive Adjustments (Unified for all screens < 768px) */
@media (max-width: 767px) {
  .navbar-brand img {
    height: 60px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero .lead {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .testimonial-text {
    font-size: 1.4rem;
  }
  
  .impact-stat-number {
    font-size: 2rem;
  }
  
  .card-amount {
    font-size: 1.8rem;
  }
  
  .contact-form-container {
    padding: 2rem;
  }
  
  .impact-stats-grid {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-social {
    gap: 15px;
  }
  
  .social-link-footer {
    width: 50px;
    height: 50px;
  }
  
  .social-link-footer .material-icons-outlined {
    font-size: 1.5rem;
  }
  
  /* Mobile-specific adjustments */
  .upcoming-event-card {
    flex: 0 0 calc(100% - 20px);
  }
  
  .accolade-item {
    flex: 0 0 calc(100% - 40px);
  }
  
  .testimonial-card {
    padding: 40px 20px;
  }
}

/* Enhanced Responsive Design - Everything except header navigation */
@media (max-width: 1200px) {
  /* Large tablets and small desktops */
  .hero-content h1 {
    font-size: 3.5rem;
  }
  
  .hero-content .lead {
    font-size: 1.3rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .main-stat-number {
    font-size: 3rem;
  }
  
  .card-amount {
    font-size: 2.5rem;
  }
  
  .impact-stat-number {
    font-size: 2.5rem;
  }
  
  .upcoming-event-card {
    flex: 0 0 calc(50% - 30px);
  }
  
  .accolade-item {
    flex: 0 0 calc(50% - 30px);
  }
  
  .testimonial-card {
    padding: 50px 30px;
  }
  
  .values .col-md-3 {
    margin-bottom: 2rem;
  }
  
  .values .material-icons-outlined {
    font-size: 5rem !important;
  }
}

@media (max-width: 992px) {
  /* Tablets */
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content .lead {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .main-stat-number {
    font-size: 2.5rem;
  }
  
  .card-amount {
    font-size: 2.2rem;
  }
  
  .impact-stat-number {
    font-size: 2.2rem;
  }
  
  .upcoming-event-card {
    flex: 0 0 calc(100% - 20px);
  }
  
  .accolade-item {
    flex: 0 0 calc(100% - 40px);
  }
  
  .testimonial-card {
    flex: 0 0 calc(50% - 20px);
    padding: 30px;
    min-height: 250px;
  }
  
  .values .col-md-3 {
    margin-bottom: 2.5rem;
  }
  
  .values .material-icons-outlined {
    font-size: 4.5rem !important;
  }
  
  .timeline-item {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .achievement-card {
    padding: 2rem 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .hero-section .row {
    flex-direction: column-reverse;
  }
  
  .hero-section .col-lg-6 {
    margin-bottom: 2rem;
  }
  
  .profile-image {
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  /* Large mobile devices */
  .hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .hero-content .lead {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .main-stat-number {
    font-size: 2.2rem;
  }
  
  .main-stat-label {
    font-size: 1rem;
  }
  
  .card-amount {
    font-size: 1.8rem;
  }
  
  .card-title {
    font-size: 1.3rem;
  }
  
  .impact-stat-number {
    font-size: 2rem;
  }
  
  .impact-stat-label {
    font-size: 0.9rem;
  }
  
  .testimonial-text {
    font-size: 1.2rem;
    line-height: 1.5;
  }
  
  .testimonial-author {
    font-size: 1.1rem;
  }
  
  .testimonial-org {
    font-size: 0.9rem;
  }
  
  .upcoming-event-card {
    flex: 0 0 calc(100% - 40px);
    padding: 30px;
    min-height: 200px;
  }
  
  .event-title {
    font-size: 1.3rem;
  }
  
  .event-details p {
    font-size: 0.9rem;
  }
  
  .accolade-item {
    flex: 0 0 calc(100% - 40px);
    padding: 30px;
    min-height: 200px;
  }
  
  .accolade-item h5 {
    font-size: 1.2rem;
  }
  
  .accolade-item p {
    font-size: 0.9rem;
  }
  
  .values .col-md-3 {
    margin-bottom: 2rem;
  }
  
  .values .material-icons-outlined {
    font-size: 4rem !important;
  }
  
  .values h4 {
    font-size: 1.3rem;
  }
  
  .values p {
    font-size: 1rem;
  }
  
  .timeline-item {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .timeline-item h4 {
    font-size: 1.2rem;
  }
  
  .timeline-item p {
    font-size: 1rem;
  }
  
  .achievement-card {
    padding: 1.5rem;
    text-align: center;
  }
  
  .achievement-card h4 {
    font-size: 1.3rem;
  }
  
  .achievement-card p {
    font-size: 1rem;
  }
  
  .achievement-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .stat-item {
    padding: 1.5rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .stat-label {
    font-size: 1rem;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .contact-item {
    padding: 1rem;
  }
  
  .contact-icon {
    font-size: 2rem;
  }
  
  .contact-form-container {
    padding: 1.5rem;
  }
  
  .form-label {
    font-size: 1rem;
  }
  
  .form-control {
    font-size: 1rem;
    padding: 0.75rem;
  }
  
  .hero-section .col-lg-6 {
    margin-bottom: 1.5rem;
  }
  
  .profile-image {
    max-width: 250px;
  }
  
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
  }
  
  .btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  p {
    font-size: 0.9rem;
  }
  
  .footer-social {
    gap: 12px;
  }
  
  .social-link-footer {
    width: 45px;
    height: 45px;
  }
  
  .social-link-footer .material-icons-outlined {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  /* Small mobile devices */
  .navbar-collapse {
    width: 100%;
  }
  
  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-content .lead {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .main-stat-number {
    font-size: 1.8rem;
  }
  
  .main-stat-label {
    font-size: 0.9rem;
  }
  
  .card-amount {
    font-size: 1.6rem;
  }
  
  .card-title {
    font-size: 1.2rem;
  }
  
  .impact-stat-number {
    font-size: 1.8rem;
  }
  
  .impact-stat-label {
    font-size: 0.8rem;
  }
  
  .testimonial-text {
    font-size: 1.1rem;
    line-height: 1.4;
  }
  
  .testimonial-author {
    font-size: 1rem;
  }
  
  .testimonial-org {
    font-size: 0.8rem;
  }
  
  .upcoming-event-card {
    flex: 0 0 calc(100% - 10px);
    margin-bottom: 1rem;
  }
  
  .event-title {
    font-size: 1.2rem;
  }
  
  .event-details p {
    font-size: 0.85rem;
  }
  
  .accolade-item {
    flex: 0 0 calc(100% - 20px);
    padding: 25px 15px;
    min-height: 200px;
  }
  
  .accolade-item h5 {
    font-size: 1.1rem;
  }
  
  .accolade-item p {
    font-size: 0.85rem;
  }
  
  .values .col-md-3 {
    margin-bottom: 1.5rem;
  }
  
  .values .material-icons-outlined {
    font-size: 3.5rem !important;
  }
  
  .values h4 {
    font-size: 1.2rem;
  }
  
  .values p {
    font-size: 0.9rem;
  }
  
  .timeline-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .timeline-item h4 {
    font-size: 1.1rem;
  }
  
  .timeline-item p {
    font-size: 0.9rem;
  }
  
  .achievement-card {
    padding: 1.25rem;
  }
  
  .achievement-card h4 {
    font-size: 1.2rem;
  }
  
  .achievement-card p {
    font-size: 0.9rem;
  }
  
  .achievement-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }
  
  .stats-grid {
    gap: 1rem;
  }
  
  .stat-item {
    padding: 1.25rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-label {
    font-size: 0.9rem;
  }
  
  .contact-info {
    gap: 0.75rem;
  }
  
  .contact-item {
    padding: 0.75rem;
  }
  
  .contact-icon {
    font-size: 1.75rem;
  }
  
  .contact-form-container {
    padding: 1rem;
  }
  
  .form-label {
    font-size: 0.9rem;
  }
  
  .form-control {
    font-size: 0.9rem;
    padding: 0.6rem;
  }
  
  .hero-section .col-lg-6 {
    margin-bottom: 1rem;
  }
  
  .profile-image {
    max-width: 200px;
  }
  
  .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .btn-lg {
    padding: 0.6rem 1.75rem;
    font-size: 1rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  p {
    font-size: 0.9rem;
  }
  
  .footer-social {
    gap: 10px;
  }
  
  .social-link-footer {
    width: 40px;
    height: 40px;
  }
  
  .social-link-footer .material-icons-outlined {
    font-size: 1.2rem;
  }
  
  .testimonial-card {
    padding: 25px 15px;
  }
  
  .impact-stats-grid {
    gap: 0.75rem;
  }
  
  .impact-stat-item {
    padding: 0.75rem;
  }
  
  .impact-stat-number {
    font-size: 1.6rem;
  }
  
  .impact-stat-label {
    font-size: 0.75rem;
  }
  
  .main-stat-card {
    padding: 1.5rem 1rem;
  }
  
  .fundraising-card {
    padding: 1.5rem 1rem;
  }
  
  .card-icon .material-icons-outlined {
    font-size: 2.5rem;
  }
  
  .card-badges .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }
  
  .hero-video {
    height: 300px;
  }
  
  .hero-overlay {
    background: rgba(0, 0, 0, 0.6);
  }
  
  .hero-content {
    padding: 2rem 1rem;
  }
  
  .display-1 {
    font-size: 2.5rem;
  }
  
  .display-4 {
    font-size: 2rem;
  }
  
  .display-5 {
    font-size: 1.75rem;
  }
  
  .display-6 {
    font-size: 1.5rem;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-content .lead {
    font-size: 0.95rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .main-stat-number {
    font-size: 1.6rem;
  }
  
  .card-amount {
    font-size: 1.4rem;
  }
  
  .impact-stat-number {
    font-size: 1.5rem;
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
  
  .upcoming-event-card {
    flex: 0 0 100%;
  }
  
  .accolade-item {
    flex: 0 0 100%;
  }
  
  .values .material-icons-outlined {
    font-size: 3rem !important;
  }
  
  .achievement-icon {
    font-size: 2rem;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .contact-icon {
    font-size: 1.5rem;
  }
  
  .profile-image {
    max-width: 180px;
  }
  
  .btn {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
  }
  
  .btn-lg {
    padding: 0.55rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .lead {
    font-size: 0.95rem;
  }
  
  p {
    font-size: 0.85rem;
  }
  
  .social-link-footer {
    width: 35px;
    height: 35px;
  }
  
  .social-link-footer .material-icons-outlined {
    font-size: 1.1rem;
  }
  
  .hero-video {
    height: 250px;
  }
  
  .hero-content {
    padding: 1.5rem 0.75rem;
  }
  
  .display-1 {
    font-size: 2.2rem;
  }
  
  .display-4 {
    font-size: 1.8rem;
  }
  
  .display-5 {
    font-size: 1.6rem;
  }
  
  .display-6 {
    font-size: 1.4rem;
  }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content .lead {
    font-size: 1rem;
  }
  
  .hero-video {
    height: 200px;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .timeline-item {
    padding: 1rem;
  }
  
  .achievement-card {
    padding: 1.25rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .stat-item {
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-video {
    transform: scale(1.01);
  }
  
  .profile-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print styles */
@media print {
  .hero-video,
  .navbar-social,
  .footer-social,
  .btn {
    display: none !important;
  }
  
  .hero-content {
    color: #000 !important;
    background: #fff !important;
  }
  
  .section {
    page-break-inside: avoid;
  }
  
  .testimonial-card,
  .achievement-card,
  .upcoming-event-card,
  .accolade-item {
    border: 1px solid #ccc !important;
    box-shadow: none !important;
  }
}

/* Carousel and Interactive Elements Responsive */
@media (max-width: 1200px) {
  .carousel-card {
    flex: 0 0 calc(33.333% - 20px);
  }
  
  .testimonials-track {
    gap: 30px;
  }
  
  .testimonial-card {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 992px) {
  .carousel-card {
    flex: 0 0 calc(50% - 15px);
  }
  
  .testimonials-track {
    gap: 25px;
  }
  
  .testimonial-card {
    flex: 0 0 calc(100% - 20px);
  }
  
  .carousel-container {
    padding: 0 20px;
  }
  
  .upcoming-events-container {
    padding: 0 20px;
  }
  
  .accolades-container {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .carousel-card {
    flex: 0 0 calc(100% - 10px);
  }
  
  .testimonials-track {
    gap: 20px;
  }
  
  .testimonial-card {
    flex: 0 0 calc(100% - 10px);
  }
  
  .carousel-container {
    padding: 0 15px;
  }
  
  .upcoming-events-container {
    padding: 0 15px;
  }
  
  .accolades-container {
    padding: 0 15px;
  }
  
  .carousel-dots,
  .upcoming-dots,
  .testimonials-dots {
    gap: 8px;
    margin-top: 20px;
  }
  
  .carousel-dot,
  .upcoming-dot,
  .testimonial-dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 576px) {
  .carousel-container {
    padding: 0 10px;
  }
  
  .upcoming-events-container {
    padding: 0 10px;
  }
  
  .accolades-container {
    padding: 0 10px;
  }
  
  .carousel-dots,
  .upcoming-dots,
  .testimonials-dots {
    gap: 6px;
    margin-top: 15px;
  }
  
  .carousel-dot,
  .upcoming-dot,
  .testimonial-dot {
    width: 8px;
    height: 8px;
  }
}

/* Container responsive adjustments */
@media (max-width: 1200px) {
  .container {
    max-width: 1140px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 960px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 720px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 576px) {
  .container {
    max-width: 540px;
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 480px) {
  .container {
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Section padding responsive adjustments */
@media (max-width: 768px) {
  section {
    padding: 40px 0;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

@media (max-width: 576px) {
  section {
    padding: 30px 0;
  }
  
  .py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
}

/* Row and column responsive adjustments */
@media (max-width: 768px) {
  .row {
    margin-left: -10px;
    margin-right: -10px;
  }
  
  .col,
  .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
  .col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
  .col-sm, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6,
  .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12,
  .col-md, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
  .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12,
  .col-lg, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
  .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12,
  .col-xl, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6,
  .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12 {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 576px) {
  .row {
    margin-left: -5px;
    margin-right: -5px;
  }
  
  .col,
  .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
  .col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
  .col-sm, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6,
  .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12,
  .col-md, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
  .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12,
  .col-lg, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
  .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12,
  .col-xl, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6,
  .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12 {
    padding-left: 5px;
    padding-right: 5px;
  }
}

/* Margin responsive adjustments */
@media (max-width: 768px) {
  .mb-5 {
    margin-bottom: 2rem !important;
  }
  
  .mb-4 {
    margin-bottom: 1.5rem !important;
  }
  
  .mb-3 {
    margin-bottom: 1rem !important;
  }
  
  .mt-5 {
    margin-top: 2rem !important;
  }
  
  .mt-4 {
    margin-top: 1.5rem !important;
  }
  
  .mt-3 {
    margin-top: 1rem !important;
  }
}

@media (max-width: 576px) {
  .mb-5 {
    margin-bottom: 1.5rem !important;
  }
  
  .mb-4 {
    margin-bottom: 1rem !important;
  }
  
  .mb-3 {
    margin-bottom: 0.75rem !important;
  }
  
  .mt-5 {
    margin-top: 1.5rem !important;
  }
  
  .mt-4 {
    margin-top: 1rem !important;
  }
  
  .mt-3 {
    margin-top: 0.75rem !important;
  }
}

/* Text alignment responsive adjustments */
@media (max-width: 768px) {
  .text-center {
    text-align: center !important;
  }
  
  .text-left {
    text-align: left !important;
  }
  
  .text-right {
    text-align: right !important;
  }
}

/* Display responsive adjustments */
@media (max-width: 768px) {
  .d-none {
    display: none !important;
  }
  
  .d-block {
    display: block !important;
  }
  
  .d-flex {
    display: flex !important;
  }
  
  .d-inline {
    display: inline !important;
  }
  
  .d-inline-block {
    display: inline-block !important;
  }
}

/* Flex responsive adjustments */
@media (max-width: 768px) {
  .flex-column {
    flex-direction: column !important;
  }
  
  .flex-row {
    flex-direction: row !important;
  }
  
  .justify-content-center {
    justify-content: center !important;
  }
  
  .align-items-center {
    align-items: center !important;
  }
}

/* Grid responsive adjustments */
@media (max-width: 768px) {
  .impact-stats-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .impact-stats-grid {
    gap: 0.75rem;
  }
  
  .stats-grid {
    gap: 1rem;
  }
  
  .contact-info {
    gap: 0.75rem;
  }
}

/* Testimonials responsive adjustments */
@media (max-width: 992px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 20px);
    padding: 30px;
    min-height: 250px;
  }
  
  .testimonials-track {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 calc(100% - 40px);
    padding: 30px;
    min-height: 200px;
  }
  
  .testimonials-track {
    gap: 20px;
  }
}

/* Testimonials Draggable States */
.testimonials-track.dragging {
  cursor: grabbing;
  user-select: none;
  transition: none;
}

.testimonials-track {
  cursor: grab;
  user-select: none;
}

.testimonials-track:active {
  cursor: grabbing;
}

/* Upcoming Events Draggable States */
.upcoming-events-track.dragging {
  cursor: grabbing;
  user-select: none;
  transition: none;
}

.upcoming-events-track {
  cursor: grab;
  user-select: none;
}

.upcoming-events-track:active {
  cursor: grabbing;
}

/* Accolades Draggable States */
.accolades-track.dragging {
  cursor: grabbing;
  user-select: none;
  transition: none;
}

.accolades-track {
  cursor: grab;
  user-select: none;
}

.accolades-track:active {
  cursor: grabbing;
}

/* Responsive Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  z-index: 9999;
  position: relative;
  background: transparent;
  border: none;
  padding: 0;
}

.hamburger-icon {
  width: 30px;
  height: 3px;
  background-color: #5d4e37;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.hamburger-text {
  font-size: 10px;
  font-weight: 700;
  color: #5d4e37;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* Close button styles */
.hamburger-menu.active .hamburger-icon:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active .hamburger-icon:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-icon:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.hamburger-menu.active .hamburger-text {
  opacity: 1;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9998;
  transition: right 0.3s ease;
}

.mobile-nav-overlay.active {
  right: 0;
}

/* Mobile Navigation Panel */
.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: -350px;
  width: 350px;
  height: 100vh;
  background: linear-gradient(135deg, #fffef7 0%, #fff8dc 50%, #fffef7 100%);
  z-index: 9999;
  transition: right 0.3s ease;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
}

.mobile-nav-panel.active {
  right: 0;
}

/* Mobile Navigation Content */
.mobile-nav-content {
  padding: 80px 30px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #5d4e37;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10000;
}

.mobile-nav-close:hover {
  background: rgba(212, 175, 55, 0.1);
  color: #d4af37;
  transform: scale(1.1);
}

.mobile-nav-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.mobile-nav-header h3 {
  color: #5d4e37;
  font-weight: 700;
  margin-bottom: 10px;
}

.mobile-nav-header p {
  color: #8b7355;
  font-size: 14px;
  margin: 0;
}

/* Mobile Navigation Links */
.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.mobile-nav-links li {
  margin-bottom: 15px;
}

.mobile-nav-links a {
  display: block;
  padding: 15px 20px;
  color: #5d4e37;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.mobile-nav-links a:hover {
  background: rgba(212, 175, 55, 0.1);
  border: 2px solid #d4af37;
  padding: 15px 20px;
  color: #d4af37;
}

/* Mobile Contact Info */
.mobile-nav-contact {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid rgba(212, 175, 55, 0.3);
}

.mobile-nav-contact h4 {
  color: #5d4e37;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 16px;
}

.mobile-nav-contact p {
  color: #8b7355;
  margin: 8px 0;
  font-size: 14px;
}

.mobile-nav-contact a {
  color: #d4af37;
  text-decoration: none;
  font-weight: 600;
}

.mobile-nav-contact a:hover {
  text-decoration: underline;
}

/* Responsive Breakpoint */
@media (max-width: 1450px) {
  .navbar-collapse {
    display: none !important;
  }
  
  .hamburger-menu {
    display: flex;
  }
}

/* Universal Carousel Navigation Dots */
.testimonials-dots, .upcoming-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
  padding-left: 0; /* Remove default padding */
}

.testimonial-dot, .upcoming-dot {
  all: unset; /* Reset all default styles */
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  display: block; /* Ensure it behaves like a block element */
}

.testimonial-dot.active, .upcoming-dot.active {
  background: #d4af37;
  transform: scale(1.2);
}

/* Override for Header Phone Button */
#nav-phone-btn {
  padding: 0.5rem 1.25rem !important;
  display: inline-flex !important;
  align-items: center !important;
  font-size: 0.9rem !important;
}

#youtube-header-icon, #youtube-mobile-icon, #youtube-footer-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}
  