/*
==============================================================================
                    CENTRAL COLOR CONTROL SYSTEM
                    Human Rights Theme - Justice & Equality
==============================================================================
*/
:root {
  /* PRIMARY COLORS - Justice Red & Authority Blue */
  --primary-justice: #B71C1C;         /* Deep justice red */
  --primary-justice-light: #D32F2F;   /* Lighter justice red */
  --primary-justice-dark: #8C1A1A;    /* Darker justice red */
  --primary-justice-darker: #641414;  /* Very dark justice red */
  
  /* SECONDARY COLORS - Authority Blue */
  --secondary-authority: #1A237E;     /* Deep authority blue */
  --secondary-authority-light: #303F9F; /* Light authority blue */
  --accent-freedom: #2196F3;          /* Freedom blue accent */
  --accent-freedom-light: #42A5F5;    /* Light freedom blue */
  
  /* NEUTRAL COLORS - Professional Graphite */
  --text-primary: #212121;            /* Dark graphite */
  --text-secondary: #424242;          /* Medium graphite */
  --text-light: #757575;              /* Light graphite */
  --text-white: #FFFFFF;              /* Pure white */
  --text-muted: #9E9E9E;              /* Muted graphite */
  
  /* BACKGROUND COLORS - Clean Professional */
  --bg-primary: #FFFFFF;              /* Pure white */
  --bg-secondary: #FAFAFA;            /* Light neutral */
  --bg-light: #F5F5F5;                /* Very light neutral */
  --bg-card: #FFFFFF;                 /* Card background */
  --bg-dark: #263238;                 /* Dark graphite background */
  
  /* GRADIENT COLORS - Power & Justice */
  --gradient-primary: linear-gradient(135deg, var(--primary-justice-dark) 0%, var(--primary-justice) 50%, var(--secondary-authority) 100%);
  --gradient-secondary: linear-gradient(45deg, var(--secondary-authority) 0%, var(--accent-freedom-light) 100%);
  --gradient-accent: linear-gradient(90deg, var(--accent-freedom) 0%, var(--secondary-authority-light) 100%);
  --gradient-justice: linear-gradient(135deg, var(--primary-justice) 0%, var(--primary-justice-light) 100%);
  
  /* SHADOW COLORS - Authority Shadows */
  --shadow-light: rgba(183, 28, 28, 0.1);
  --shadow-medium: rgba(183, 28, 28, 0.2);
  --shadow-dark: rgba(183, 28, 28, 0.3);
  --shadow-authority: rgba(26, 35, 126, 0.15);
  
  /* OVERLAY COLORS - Dramatic Impact */
  --overlay-light: rgba(183, 28, 28, 0.7);
  --overlay-medium: rgba(183, 28, 28, 0.8);
  --overlay-dark: rgba(183, 28, 28, 0.9);
  --overlay-authority: rgba(26, 35, 126, 0.8);
}




/*
==============================================================================
                       Ocean Blue Quick Links Section - Desktop
                       4 Column Grid Layout
==============================================================================
*/
.flaticon-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 8px rgba(30, 144, 255, 0.2));
}

.ql-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
  position: relative;
  overflow: hidden;
}

.ql-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.ql-title {
  text-align: center;
  font-size: 42px;
  color: #1e3a8a;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 4px 8px rgba(30, 58, 138, 0.1);
}

.ql-subtitle {
  text-align: center;
  color: #475569;
  font-size: 18px;
  margin-bottom: 45px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.ql-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px 0;
}

.ql-divider-line {
  height: 3px;
  width: 80px;
  background: linear-gradient(90deg, #3b82f6, #1e90ff);
  margin: 0 15px;
  border-radius: 2px;
}

.ql-divider-icon {
  color: #3b82f6;
  font-size: 1.5rem;
  animation: gentle-pulse 2s ease-in-out infinite;
}

@keyframes gentle-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* 4 Column Grid for Desktop */
.ql-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.ql-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  padding: 40px 25px;
  border-radius: 20px;
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 8px 25px rgba(59, 130, 246, 0.12),
    0 4px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 2px solid rgba(59, 130, 246, 0.1);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.ql-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 
    0 25px 50px rgba(59, 130, 246, 0.18),
    0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

.ql-card h3 {
  color: #1e3a8a;
  margin: 20px 0 12px;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.ql-card p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.ql-icon {
  font-size: 3rem;
  color: #3b82f6;
  margin-bottom: 20px;
  transition: all 0.4s ease;
}

.ql-card:hover .ql-icon {
  transform: scale(1.15) rotate(8deg);
  color: #1e90ff;
}

/* Ocean wave pattern at bottom of card */
.ql-pattern {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(
    90deg,
    #3b82f6 0%,
    #1e90ff 25%,
    #00bfff 50%,
    #1e90ff 75%,
    #3b82f6 100%
  );
  background-size: 60px 8px;
  animation: wave-flow 3s ease-in-out infinite;
  z-index: -1;
  transition: height 0.4s ease;
}

@keyframes wave-flow {
  0%, 100% { background-position-x: 0; }
  50% { background-position-x: 60px; }
}

.ql-card:hover .ql-pattern {
  height: 100%;
  opacity: 0.08;
  background: linear-gradient(
    135deg,
    #3b82f6 0%,
    #1e90ff 50%,
    #00bfff 100%
  );
}

/* Ocean-themed decorative elements */
.ql-section::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%233b82f6" opacity="0.08" d="M50 10 Q70 30 90 50 Q70 70 50 90 Q30 70 10 50 Q30 30 50 10 Z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
  animation: float-gentle 8s ease-in-out infinite;
}

.ql-section::after {
  content: "";
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%231e90ff" opacity="0.06" d="M20 50 Q35 20 50 35 Q65 50 80 35 Q95 50 80 65 Q65 80 50 65 Q35 50 20 65 Q5 50 20 35 Z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
  animation: float-gentle 10s ease-in-out infinite reverse;
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-15px) rotate(2deg); }
  66% { transform: translateY(8px) rotate(-2deg); }
}

/* Additional ocean bubbles for ambiance */
.ql-section {
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(30, 144, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(0, 191, 255, 0.03) 0%, transparent 50%);
}

/* Responsive Design */
@media (max-width: 1199px) {
  .ql-container {
    max-width: 960px;
    padding: 0 30px;
  }
  
  .ql-grid {
    gap: 25px;
  }
  
  .ql-card {
    padding: 35px 20px;
    min-height: 220px;
  }
  
  .ql-icon {
    font-size: 2.8rem;
  }
}

@media (max-width: 991px) {
  .ql-section {
    padding: 60px 0;
  }
  
  .ql-title {
    font-size: 36px;
  }
  
  .ql-subtitle {
    font-size: 16px;
  }
  
  .ql-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .ql-card {
    min-height: 200px;
  }
}

@media (max-width: 767px) {
  .ql-section {
    padding: 50px 0;
  }
  
  .ql-container {
    padding: 0 20px;
  }
  
  .ql-title {
    font-size: 28px;
  }
  
  .ql-subtitle {
    font-size: 15px;
    margin-bottom: 35px;
  }
  
  .ql-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
  }
  
  .ql-card {
    padding: 24px 18px;
    min-height: 180px;
  }
  
  .ql-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
  }
  
  .ql-card h3 {
    font-size: 1.15rem;
  }
  
  .ql-card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 479px) {
  .ql-container {
    padding: 0 16px;
  }
  
  .ql-title {
    font-size: 24px;
  }
  
  .ql-card {
    padding: 20px 16px;
    border-radius: 16px;
    min-height: 160px;
  }
  
  .ql-icon {
    font-size: 2rem;
  }
  
  .ql-card h3 {
    font-size: 1rem;
    margin: 16px 0 10px;
  }
}

/* Enhanced hover effects for desktop */
@media (min-width: 992px) {
  .ql-card {
    cursor: pointer;
  }
  
  .ql-card:hover h3 {
    color: #3b82f6;
  }
  
  .ql-card:hover p {
    color: #475569;
  }
  
  /* Staggered animation on load */
  .ql-card:nth-child(1) { animation-delay: 0.1s; }
  .ql-card:nth-child(2) { animation-delay: 0.2s; }
  .ql-card:nth-child(3) { animation-delay: 0.3s; }
  .ql-card:nth-child(4) { animation-delay: 0.4s; }
  
  .ql-card {
    animation: fadeInUp 0.6s ease-out both;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Accessibility improvements */
.ql-card:focus {
  outline: 3px solid #3b82f6;
  outline-offset: 2px;
}

/* Loading state (optional) */
.ql-card--loading {
  background: linear-gradient(90deg, #f0f8ff 25%, #e6f3ff 50%, #f0f8ff 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
  .ql-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  }
  
  .ql-title {
    color: #e2e8f0;
  }
  
  .ql-subtitle {
    color: #cbd5e1;
  }
  
  .ql-card {
    background: linear-gradient(145deg, #1e293b 0%, #334155 100%);
    border-color: rgba(96, 165, 250, 0.2);
    color: #e2e8f0;
  }
  
  .ql-card h3 {
    color: #e2e8f0;
  }
  
  .ql-card:hover h3 {
    color: #60a5fa;
  }
  
  .ql-card p {
    color: #94a3b8;
  }
}
/*
==============================================================================
                        ADVERTISEMENT BANNER - DESKTOP CSS
==============================================================================
*/

.advertisement {
    display: none;
    padding: 40px 150px 15px 150px;
    background-color: var(--bg-secondary);
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.advertisement__container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.advertisement__banner {
    position: relative;
    display: inline-block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 12px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advertisement__banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px var(--shadow-medium);
}

.advertisement__link {
    display: block;
    text-decoration: none;
    outline: none;
}

.advertisement__link:focus {
    outline: 3px solid var(--primary-saffron);
    outline-offset: 3px;
}

.advertisement__image {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.advertisement__image:hover {
    opacity: 0.95;
    transform: scale(1.02);
}

.advertisement__link--desktop,
.advertisement__image--desktop {
    display: block;
}

.advertisement__link--mobile,
.advertisement__image--mobile {
    display: none;
}

.advertisement__label {
    margin-top: 15px;
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
}

.advertisement__label span {
    padding: 6px 12px;
    background-color: #e9ecef;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    transition: background-color 0.3s ease;
}

.advertisement__label span:hover {
    background-color: #dee2e6;
}

.advertisement__image[src=""],
.advertisement__image[src="#"] {
    background: linear-gradient(90deg, #f0f0f0 25%, transparent 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    min-height: 200px;
    border-radius: 8px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .advertisement__image {
        image-rendering: -webkit-optimize-contrast;
    }
}

@media (prefers-reduced-motion: reduce) {
    .advertisement__banner,
    .advertisement__image {
        transition: none;
    }
    
    .advertisement__banner:hover {
        transform: none;
    }
    
    .advertisement__image:hover {
        transform: none;
    }
}

@media print {
    .advertisement {
        display: none;
    }
}

/*
==============================================================================
                        YouTube Gallery Styles
==============================================================================
*/

.youtube-gallery {
    padding: 5px 0px 30px 0px;
    background-color: var(--bg-secondary);
}

.youtube-gallery__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.youtube-gallery__header {
    text-align: center;
    margin-bottom: 40px;
}

.youtube-gallery__subtitle {
    color: var(--text-light);
    font-size: 16px;
    display: none;
    margin-bottom: 10px;
}

.youtube-gallery__title {
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.youtube-gallery__title span {
    color: var(--primary-saffron);
}

.youtube-gallery__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.youtube-gallery__divider span {
    height: 1px;
    background-color: #ddd;
    width: 50px;
}

.youtube-gallery__divider i {
    margin: 0 15px;
    color: var(--primary-saffron);
}

.youtube-gallery__description {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.youtube-gallery__carousel {
    position: relative;
    overflow: hidden;
}

.youtube-gallery__track {
    display: flex;
    transition: transform 0.5s ease;
}

.youtube-gallery__item {
    flex: 0 0 300px;
    margin: 0 10px;
}

.youtube-gallery__video-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 4px 10px var(--shadow-light);
}

.youtube-gallery__thumbnail {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.youtube-gallery__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-medium);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.youtube-gallery__info {
    text-align: center;
    padding: 20px;
    color: var(--text-white);
}

.youtube-gallery__item-title {
    font-size: 15px;
    margin-bottom: 10px;
    font-weight: 600;
}

.youtube-gallery__item-desc {
    font-size: 12px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.youtube-gallery__play {
    display: inline-block;
    color: var(--text-white);
    font-size: 36px;
    transition: transform 0.3s ease;
}

.youtube-gallery__play:hover {
    transform: scale(1.1);
    color: var(--primary-saffron);
}

.youtube-gallery__video-wrapper:hover .youtube-gallery__overlay {
    opacity: 1;
}

.youtube-gallery__video-wrapper:hover .youtube-gallery__thumbnail {
    transform: scale(1.05);
}

.youtube-gallery__empty {
    text-align: center;
    padding: 40px;
    background-color: #f1f1f1;
    border-radius: 6px;
}

.mobile-donors-section {
    display: none;
}

/*
==============================================================================
                        Hero Slider Section - Desktop Styles
==============================================================================
*/

.hero-slider {
  margin-top: 5px;
    position: relative;
    height: 650px;
    overflow: hidden;
    box-shadow: 0 5px 30px var(--shadow-medium);
}

.hero-slider__container {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.hero-slider__slide {
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    visibility: hidden;
    transition: right 1.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    align-items: center;
}

.hero-slider__slide--active {
    right: 0;
    visibility: visible;
    z-index: 1;
}

.hero-slider__slide--prev {
    right: 100%;
    visibility: visible;
    z-index: 0;
}

.hero-slider__content {
    width: 80%;
    padding: 0 10%;
    text-align: center;
    color: var(--text-white);
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.hero-slider__title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.hero-slider__description {
    font-size: 20px;
    line-height: 1.6;
    margin: 0 auto 40px;
    font-weight: 400;
    max-width: 90%;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-slider__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 10s ease;
}

.hero-slider__slide--active .hero-slider__image {
    transform: scale(1);
}

.hero-slider__slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-slider__btn {
    display: inline-block;
    padding: 16px 36px;
    background: var(--gradient-secondary);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-medium);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-slider__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
    z-index: -1;
}

.hero-slider__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px var(--shadow-dark);
}

.hero-slider__btn:hover::before {
    left: 100%;
}

.hero-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.hero-slider__arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.hero-slider__arrow--prev {
    left: 30px;
}

.hero-slider__arrow--next {
    right: 30px;
}

.hero-slider__dots {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.hero-slider__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
}

.hero-slider__dot--active {
    background-color: var(--primary-saffron);
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.5);
}

@keyframes hero-slider-slide-in-bottom {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-slider__slide--active .hero-slider__content {
    animation: hero-slider-slide-in-bottom 1s ease-out both;
    animation-delay: 0.3s;
}

.hero-slider__slide--zoom-out .hero-slider__image {
    transform: scale(1.15);
}

.hero-slider {
  padding: 0px;
}

/*
==============================================================================
                        Who We are (Desktop)
==============================================================================
*/
/* Who We Are Section - Desktop Styles */
.whoweare {
    position: relative;
    color: white;
    padding: 50px 0;
    overflow: hidden;
    background: var(--gradient-primary);
}

.whoweare::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/assets/img/bc1.png') no-repeat center;
    background-size: cover;
    opacity: 0.05;
    z-index: 1;
}

.whoweare__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.whoweare__header {
    text-align: center;
    margin-bottom: 60px;
}

.whoweare__subtitle {
    display: none;
    font-size: 16px;
    font-weight: 600;
    color: #ff9f3e;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
}

.whoweare__subtitle::before,
.whoweare__subtitle::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: #ff9f3e;
}

.whoweare__subtitle::before {
    right: 100%;
    margin-right: 15px;
}

.whoweare__subtitle::after {
    left: 100%;
    margin-left: 15px;
}

.whoweare__title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin: 0 0 20px;
    
}

.whoweare__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.whoweare__divider span {
    height: 2px;
    width: 60px;
    background-color: #ff9f3e;
}

.whoweare__divider i {
    color: #ff9f3e;
    font-size: 24px;
    margin: 0 15px;
}

.whoweare__description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

.whoweare__content {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 50px;
}

.whoweare__text {
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 20px !important;
    padding: 40px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

.whoweare__text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.whoweare__btn {
    display: inline-block;
    padding: 14px 25px!important;
    background: linear-gradient(45deg, #ff9f3e, #ffbb33) !important;
    color: #1e3c72!important;
    font-size: 18px!important;
    font-weight: 700!important;
    border-radius: 30px!important;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2)!important;
    border: none;
    text-align: center;
    align-self: flex-start;
    width: 100%; /* Make button full width */
    max-width: 600px!important; /* Match max-width of text container */
}

.whoweare__btn:hover {
    background: linear-gradient(45deg, #ffbb33, #ff8800);
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.whoweare__right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.whoweare__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.whoweare__card {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.whoweare__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.whoweare__card i {
    font-size: 32px;
    color: #ff9f3e;
    margin-bottom: 10px;
}

.whoweare__card-title {
    font-size: 20px;
    margin-bottom: 8px;
}

.whoweare__card p {
    font-size: 16px;
    line-height: 1.6;
}


/*
==============================================================================
                        Recent Activities Section - Desktop Styles
==============================================================================
*/

.activities {
    padding: 80px 0;
    background-color: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.activities::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/patterns/pattern-light.png');
    background-size: 200px;
    opacity: 0.1;
    z-index: 0;
}

.activities__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.activities__header {
    text-align: center;
    margin-bottom: 50px;
}

.activities__subtitle {
    display: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-saffron);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
}

.activities__subtitle::before,
.activities__subtitle::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: var(--primary-saffron);
}

.activities__subtitle::before {
    right: 100%;
    margin-right: 15px;
}

.activities__subtitle::after {
    left: 100%;
    margin-left: 15px;
}

.activities__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 20px;
   text-decoration: none;
}

.activities__title span {
    color: var(--primary-saffron);
}

.activities__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.activities__divider span {
    height: 2px;
    width: 60px;
    background-color: var(--primary-saffron);
}

.activities__divider i {
    color: var(--primary-saffron);
    font-size: 24px;
    margin: 0 15px;
}

.activities__description {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.activities__wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.activities__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.activities__card {
    background-color: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.activities__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px var(--shadow-medium);
}

.activities__image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.activities__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activities__card:hover .activities__image img {
    transform: scale(1.1);
}

.activities__date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow-medium);
    z-index: 1;
}

.activities__date-day {
    display: block;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.activities__date-month {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    margin-top: 3px;
}

.activities__content {
    padding: 8px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.activities__meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-light);
}

.activities__category, 
.activities__author {
    display: flex;
    align-items: center;
}

.activities__meta i {
    margin-right: 5px;
    color: var(--primary-saffron);
}

.activities__item-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.activities__link {
    color: #0176b5;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.activities__link:hover {
    color: var(--primary-saffron);
}

.activities__empty {
    text-align: center;
    padding: 40px;
    background: var(--bg-card);
    border-radius: 8px;
    box-shadow: 0 4px 6px var(--shadow-light);
    grid-column: span 3;
}

.activities__cta {
    text-align: center;
    margin-top: 30px;
}

.activities__btn {
    display: inline-flex;
    align-items: center;
    background: var(--gradient-primary);
    color: var(--text-white);
    font-size: 18px;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow-medium);
}

.activities__btn i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.activities__btn:hover {
    background: var(--gradient-secondary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-dark);
}

.activities__btn:hover i {
    transform: translateX(5px);
}

/*
==============================================================================
                        Gallery Section Styles
==============================================================================
*/

.gallery {
    padding: 20px 0;
    background-color: var(--bg-light);
    position: relative;
}

.gallery::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/patterns/pattern-light.png');
    background-size: 200px;
    opacity: 0.1;
    z-index: 0;
}

.gallery__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.gallery__header {
    text-align: center;
    margin-bottom: 50px;
}

.gallery__subtitle {
    display: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-saffron);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
}

.gallery__subtitle::before,
.gallery__subtitle::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: var(--primary-saffron);
}

.gallery__subtitle::before {
    right: 100%;
    margin-right: 15px;
}

.gallery__subtitle::after {
    left: 100%;
    margin-left: 15px;
}

.gallery__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 20px;
}

.gallery__title span {
    color: var(--primary-saffron);
    font-size: 32px;
    font-weight: 700;
    margin-right: 5px;
}

.gallery__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.gallery__divider span {
    height: 2px;
    width: 60px;
    background-color: var(--primary-saffron);
}

.gallery__divider i {
    color: var(--primary-saffron);
    font-size: 24px;
    margin: 0 15px;
}

.gallery__description {
    font-size: 16px;
    color: #605e5e;
    max-width: 600px;
    margin: 0 auto;
}

.gallery__carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
}

.gallery__track {
    display: flex;
    width: fit-content;
    animation: galleryScroll 60s linear infinite;
}

.gallery__track:hover {
    animation-play-state: paused;
}

@keyframes galleryScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.gallery__item {
    flex: 0 0 auto;
    width: 300px;
    margin-right: 25px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery__item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-medium);
    z-index: 10;
}

.gallery__image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery__item:hover .gallery__image {
    transform: scale(1.1);
}

.gallery__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery__item:hover .gallery__overlay {
    opacity: 1;
}

.gallery__info {
    text-align: center;
    color: var(--text-white);
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery__item:hover .gallery__info {
    transform: translateY(0);
}

.gallery__item-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.gallery__item-desc {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery__zoom {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--text-white);
    color: var(--primary-saffron);
    border-radius: 50%;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.gallery__zoom:hover {
    text-decoration: none;
    background-color: var(--primary-saffron);
    color: var(--text-white);
}

.gallery__empty {
    text-align: center;
    padding: 40px;
    background: var(--bg-card);
    border-radius: 8px;
    box-shadow: 0 4px 6px var(--shadow-light);
}

.gallery__btn-wrapper {
    text-align: center;
    margin-top: 30px;
}

.gallery__btn {
    display: inline-block;
    padding: 10px 30px;
    color: var(--text-white);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease;
    border: none;
    background: transparent;
}

.gallery__btn::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -20px;
    width: calc(100% + 50px);
    height: calc(100% + 25px);
    background-image: url('https://www.raiseindiafoundation.org/assets/img/brush-btn-6.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: -1;
}

.gallery__btn:hover {
    transform: translateY(-3px);
}

.gallery__btn span {
    position: relative;
    z-index: 2;
    font-size: 16px;
    font-weight: 700;
}

/* ===== DESKTOP IMPACT SECTION CSS ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* HR Theme Variables */
:root {
    --hr-authority-primary: #1A237E;
    --hr-authority-light: #303F9F;
    --hr-justice-primary: #B71C1C;
    --hr-justice-light: #D32F2F;
    --hr-freedom-accent: #2196F3;
    --hr-equality-accent: #FF8F00;
    --neutral-dark: #263238;
    --neutral-medium: #546E7A;
    --neutral-light: #FAFAFA;
    --pure-white: #FFFFFF;
    --text-primary: #212121;
    --text-secondary: #424242;
    
    --gradient-authority: linear-gradient(135deg, #1A237E 0%, #303F9F 100%);
    --gradient-justice: linear-gradient(135deg, #B71C1C 0%, #D32F2F 100%);
    --gradient-mixed: linear-gradient(135deg, #B71C1C 0%, #1A237E 50%, #FF8F00 100%);
    --gradient-gold: linear-gradient(135deg, #FF8F00 0%, #FFB300 100%);
}

/* ===== IMPACT SECTION ===== */
.impact-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--hr-justice-primary) 0%, var(--hr-authority-primary) 100%);
    overflow: hidden;
}

/* Simple Background Pattern */
.impact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="justice-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.05)"/><rect x="35" y="35" width="8" height="8" fill="rgba(255,143,0,0.08)" rx="2"/></pattern></defs><rect width="100%" height="100%" fill="url(%23justice-pattern)"/></svg>');
    pointer-events: none;
}

.impact-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, transparent 0%, rgba(255,143,0,0.1) 50%, transparent 100%);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 80%);
}

.impact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* ===== SECTION HEADER ===== */
.impact-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.impact-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: var(--hr-equality-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.impact-subtitle::before,
.impact-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: var(--hr-equality-accent);
}

.impact-subtitle::before {
    left: -60px;
}

.impact-subtitle::after {
    right: -60px;
}

.impact-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: relative;
}

.impact-title .highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.impact-description {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

/* ===== STATS GRID ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border-color: var(--hr-equality-accent);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,143,0,0.1) 0%, rgba(33,150,243,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-gold);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(255,143,0,0.3);
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotateY(180deg);
    box-shadow: 0 12px 35px rgba(255,143,0,0.4);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-description {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

/* ===== ACHIEVEMENTS SECTION ===== */
.achievements-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
}

/* Remove spaceship-like background animation */
.achievements-section::before {
    display: none;
}

.achievements-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.achievements-title {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.achievements-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    max-width: 500px;
    margin: 0 auto;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    position: relative;
    z-index: 2;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-card:hover {
    transform: translateY(-5px);
    border-color: var(--hr-equality-accent);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.achievement-card:hover::before {
    left: 100%;
}

.achievement-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-authority);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(26,35,126,0.3);
}

.achievement-title {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.achievement-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

/* ===== CALL TO ACTION ===== */
.impact-cta {
    text-align: center;
    margin-top: 70px;
    position: relative;
    z-index: 2;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-gold);
    color: white;
    text-decoration: none;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255,143,0,0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: left 0.3s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255,143,0,0.4);
}

.cta-button i {
    font-size: 18px;
}

/* ===== ENHANCED ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card {
    animation: fadeInUp 0.6s ease forwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.achievement-card {
    animation: fadeInUp 0.6s ease forwards;
}

.achievement-card:nth-child(1) { animation-delay: 0.2s; }
.achievement-card:nth-child(2) { animation-delay: 0.3s; }
.achievement-card:nth-child(3) { animation-delay: 0.4s; }
.achievement-card:nth-child(4) { animation-delay: 0.5s; }

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.stat-card:focus,
.achievement-card:focus,
.cta-button:focus {
    outline: 3px solid var(--hr-equality-accent);
    outline-offset: 3px;
}
/*
==============================================================================
                        Team Section - The Faces Behind Our Mission
==============================================================================
*/

.team-section {
    padding: 40px 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #e9f5f2 100%);
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/content/uploads/pattern.svg');
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.team-heading {
    text-align: center;
    margin-bottom: 60px;
}

.team-heading .subheading {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-saffron);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: none;
    margin-bottom: 10px;
}

.team-heading h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 20px;
    line-height: 1.2;
}

.heading-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.heading-divider span {
    height: 2px;
    width: 40px;
    background-color: var(--primary-saffron);
}

.heading-divider i {
    color: var(--primary-saffron);
    font-size: 18px;
    margin: 0 15px;
}

.team-intro {
    max-width: 700px;
    margin: 0 auto;
    font-size: 16px;
    color: #424242;
    line-height: 1.6;
}

.team-carousel-wrapper {
    position: relative;
    padding: 20px 0;
}

.team-carousel {
    position: relative;
    overflow: hidden;
}

.team-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.team-member {
    flex: 0 0 25%;
    padding: 15px;
    box-sizing: border-box;
}

.member-card {
    background-color: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.member-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.member-card:hover .member-image img {
    transform: scale(1.05);
}

.member-social {
    text-decoration: none;
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px 0;
    background: var(--gradient-secondary);
    transition: bottom 0.3s ease;
}

.member-social a {
    text-decoration: none;
}

.member-card:hover .member-social {
    bottom: 0;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--text-white);
    color: var(--primary-saffron);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
}

.member-info {
    padding: 25px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.member-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 5px;
}

.member-position {
    font-size: 15px;
    color: var(--primary-saffron-dark);
    font-weight: 500;
    margin: 0 0 15px;
}

.member-bio {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

.team-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.team-prev,
.team-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--text-white);
    border: none;
    color: var(--primary-saffron);
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.team-prev {
    margin-left: -25px;
}

.team-next {
    margin-right: -25px;
}

.team-prev:hover,
.team-next:hover {
    background-color: var(--primary-saffron);
    color: var(--text-white);
    transform: scale(1.1);
}

.team-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.team-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.team-dot.active {
    background-color: var(--primary-saffron);
    transform: scale(1.3);
}

.team-empty {
    text-align: center;
    padding: 50px;
    background-color: var(--text-white);
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-light);
}

.team-empty p {
    font-size: 18px;
    color: var(--text-light);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-heading,
.team-member {
    animation: fadeInUp 0.8s ease forwards;
}

.team-heading {
    animation-delay: 0.2s;
}

.team-member:nth-child(1) {
    animation-delay: 0.4s;
}

.team-member:nth-child(2) {
    animation-delay: 0.6s;
}

.team-member:nth-child(3) {
    animation-delay: 0.8s;
}

.team-member:nth-child(4) {
    animation-delay: 1s;
}

/*
==============================================================================
                        Testimonials Section - Voices of Impact
==============================================================================
*/

.testimonials {
    padding: 80px 0;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, var(--shadow-light) 1px, transparent 1px),
        radial-gradient(circle, var(--shadow-light) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    z-index: 0;
}

.testimonials__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.testimonials__header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials__subtitle {
    display: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-saffron);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
}

.testimonials__subtitle::before,
.testimonials__subtitle::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: var(--primary-saffron);
}

.testimonials__subtitle::before {
    right: 100%;
    margin-right: 15px;
}

.testimonials__subtitle::after {
    left: 100%;
    margin-left: 15px;
}

.testimonials__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 20px;
}

.testimonials__title span {
    color: var(--text-primary);
}

.testimonials__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.testimonials__divider span {
    height: 2px;
    width: 60px;
    background-color: var(--primary-saffron);
}

.testimonials__divider i {
    color: var(--primary-saffron);
    font-size: 24px;
    margin: 0 15px;
}

.testimonials__description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.testimonials__wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 50px;
    padding: 0 60px;
}

.testimonials__item {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonials__item--active {
    display: block;
    opacity: 1;
}

.testimonials__content {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px var(--shadow-light);
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonials__content:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px var(--shadow-medium);
}

.testimonials__quote-icon {
    position: absolute;
    top: -20px;
    left: 40px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 24px;
    box-shadow: 0 5px 15px var(--shadow-medium);
}

.testimonials__text {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonials__item-divider {
    width: 50px;
    height: 3px;
    background-color: var(--primary-saffron);
    margin-bottom: 20px;
}

.testimonials__author {
    display: flex;
    align-items: center;
}

.testimonials__author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--primary-saffron-dark);
}

.testimonials__author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonials__author-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-saffron-dark);
    margin-bottom: 5px;
}

.testimonials__author-info p {
    font-size: 14px;
    color: var(--text-light);
}

.testimonials__dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.testimonials__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials__dot--active {
    background-color: var(--primary-saffron-dark);
    transform: scale(1.2);
}

@keyframes testimonials-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes testimonials-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.testimonials__header,
.testimonials__item--active {
    animation: testimonials-fade-in 0.8s ease forwards;
}

/*
==============================================================================
                        Our Causes Section Styles
==============================================================================
*/

.causes {
    padding: 30px 0 0 0;
    background-color: var(--bg-secondary);
    position: relative;
}

.causes::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/pattern-light.svg');
    background-size: 200px;
    opacity: 0.07;
    z-index: 0;
}

.causes__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.causes__header {
    text-align: center;
    margin-bottom: 60px;
}

.causes__subtitle {
    display: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-saffron);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
}

.causes__subtitle::before,
.causes__subtitle::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: var(--primary-saffron);
}

.causes__subtitle::before {
    right: 100%;
    margin-right: 15px;
}

.causes__subtitle::after {
    left: 100%;
    margin-left: 15px;
}

.causes__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 20px;
    position: relative;
}

.causes__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.causes__divider span {
    height: 2px;
    width: 60px;
    background-color: var(--primary-saffron);
}

.causes__divider i {
    color: var(--primary-saffron);
    font-size: 24px;
    margin: 0 15px;
}

.causes__description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.causes__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.causes__item {
    transition: all 0.3s ease;
}

.causes__item:hover {
    transform: translateY(-10px);
}

.causes__inner {
    background-color: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow-light);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.causes__item:hover .causes__inner {
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.causes__thumb {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.causes__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.causes__item:hover .causes__thumb img {
    transform: scale(1.05);
}

.causes__badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-accent);
    color: var(--text-white);
    font-size: 14px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 10px var(--shadow-medium);
}

.causes__time {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.causes__time i {
    color: var(--primary-saffron);
}

.causes__content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.causes__item-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 15px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.causes__item:hover .causes__item-title {
    color: var(--primary-saffron);
}

.causes__excerpt {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.causes__progress {
    margin-top: auto;
    margin-bottom: 25px;
}

.causes__progress-bar {
    height: 10px;
    background-color: #e5e7eb;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
}

.causes__progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 5px;
    position: relative;
    transition: width 1s ease-in-out;
}

.causes__progress-fill::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 0 5px 5px 0;
}

.causes__stats {
    display: flex;
    justify-content: space-between;
}

.causes__stats-item {
    text-align: center;
    flex: 1;
}

.causes__stats-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.causes__stats-item:nth-child(2) .causes__stats-value {
    color: var(--primary-saffron-dark);
}

.causes__stats-label {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.causes__footer {
    border-top: 1px solid #f3f4f6;
    padding-top: 5px;
}

.causes__btn {
    width: 100%;
    text-align: center;
    display: block;
    background: var(--gradient-primary);
    color: var(--text-white);
    font-size: 15px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px var(--shadow-light);
}

.causes__btn:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-medium);
}

.causes__empty {
    text-align: center;
    padding: 50px;
    background-color: var(--bg-card);
    border-radius: 16px;
    box-shadow: 0 8px 25px var(--shadow-light);
}

.causes__empty p {
    font-size: 18px;
    color: var(--text-light);
}

@keyframes causes-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.causes__header,
.causes__item {
    animation: causes-fade-in-up 0.8s ease forwards;
}

.causes__header {
    animation-delay: 0.2s;
}

.causes__item:nth-child(1) {
    animation-delay: 0.4s;
}

.causes__item:nth-child(2) {
    animation-delay: 0.6s;
}

/*
==============================================================================
                        Latest Updates & Donors Section - Desktop CSS
==============================================================================
*/

.updates-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px 0 0 0;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gradient-accent);
    margin: 15px auto 0;
}

.updates-donors__container {
    display: flex;
    gap: 20px;
    margin: 0 auto;
}

.updates-feed__wrapper {
    flex: 2;
    background-color: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 5px 25px var(--shadow-light);
    overflow: hidden;
    border: 1px solid #e1e1e1;
}

.updates-feed__header {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.updates-feed__title_content {
    color: #393939;
    font-size: 18px;
    font-weight: bold;
}

.updates-feed__options {
    display: flex;
    gap: 15px;
}

.updates-feed__option {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.updates-feed__option:hover {
    background: rgba(255, 255, 255, 0.3);
}

#updatesAutoScrollToggle {
    min-width: 110px;
    text-align: center;
}

#updatesAutoScrollToggle.active {
    background: rgba(255, 255, 255, 0.4);
}

.updates-feed__scroll-container {
    position: relative;
    height: 500px;
    overflow-y: auto;
    background-color: var(--bg-light);
    scrollbar-width: none;
    scrollbar-color: var(--primary-saffron) #f0f0f0;
}

.updates-feed__scroll-content {
    width: 100%;
    padding: 15px;
}

.updates-feed__card {
    background-color: var(--bg-card);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px var(--shadow-light);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
    border: 1px solid #eaeaea;
    transition: transform 0.3s, box-shadow 0.3s;
}

.updates-feed__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px var(--shadow-medium);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.updates-feed__card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.updates-feed__avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #e1e1e1;
    margin-right: 12px;
    overflow: hidden;
    border: 2px solid var(--primary-saffron);
}

.updates-feed__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.updates-feed__info {
    flex: 1;
}

.updates-feed__author {
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 3px;
    font-size: 16px;
}

.updates-feed__timestamp {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.updates-feed__timestamp i {
    margin-right: 5px;
    font-size: 12px;
}

.updates-feed__content {
    margin-bottom: 15px;
}

.updates-feed__title {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 10px;
    color: white;
    font-weight: 700;
}

.updates-feed__text {
    line-height: 1.5;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 15px;
}

.updates-feed__media {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px var(--shadow-light);
}

.updates-feed__media img, 
.updates-feed__media video {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    display: block;
}

.updates-feed__actions {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.updates-feed__action-button {
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 20px;
    transition: background-color 0.3s, color 0.3s;
}

.updates-feed__action-button:hover {
    background-color: #f0f0f0;
}

.updates-feed__action-button i {
    margin-right: 8px;
    font-size: 16px;
}

.updates-feed__like-button:hover {
    color: #e74c3c;
}

.updates-feed__comment-button:hover {
    color: var(--primary-saffron);
}

.updates-feed__share-button:hover {
    color: #2ecc71;
}

.updates-feed__comments {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    display: none;
}

.updates-feed__comment-form {
    display: flex;
    margin-bottom: 10px;
}

.updates-feed__comment-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    margin-right: 10px;
}

.updates-feed__comment-submit {
    background-color: var(--primary-saffron);
    color: var(--text-white);
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
}

.updates-feed__comments-list {
    max-height: 200px;
    overflow-y: auto;
}

.updates-feed__comment-item {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.updates-feed__comment-author {
    font-weight: bold;
    color: var(--text-primary);
}

/*
==============================================================================
                        Donors Feed Styles
==============================================================================
*/

.donors-feed__wrapper {
    flex: 1;
    background-color: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 5px 25px var(--shadow-light);
    overflow: hidden;
    border: 1px solid #e1e1e1;
}

.donors-feed__header {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.donors-feed__title {
    font-size: 18px;
    font-weight: bold;
}

.donors-feed__options {
    display: flex;
    gap: 15px;
}

.donors-feed__option {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.donors-feed__option:hover {
    background: rgba(255, 255, 255, 0.3);
}

#donorsAutoScrollToggle {
    min-width: 110px;
    text-align: center;
}

#donorsAutoScrollToggle.active {
    background: rgba(255, 255, 255, 0.4);
}

.donors-feed__scroll-container {
    position: relative;
    height: 500px;
    overflow-y: auto;
    background-color: var(--bg-light);
    scrollbar-width: none;
    scrollbar-color: #2ecc71 #f0f0f0;
}

.donors-feed__scroll-content {
    width: 100%;
    padding: 15px;
}

.donors-feed__card {
    background-color: var(--bg-card);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px var(--shadow-light);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
    border: 1px solid #eaeaea;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
}

.donors-feed__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px var(--shadow-medium);
}

.donors-feed__donor-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--accent-gold);
    flex-shrink: 0;
}

.donors-feed__donor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.donors-feed__donor-info {
    flex: 1;
}

.donors-feed__donor-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 5px 0;
}

.donors-feed__donation-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 5px;
}

.donors-feed__donation-time {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.donors-feed__donor-message {
    font-size: 13px;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.4;
    border-left: 3px solid #e1e1e1;
    padding-left: 10px;
    margin-top: 5px;
}

.updates-section__header {
    text-align: center;
    margin-bottom: 50px;
}

.updates-section__subtitle {
    display: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-saffron);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
}

.updates-section__subtitle::before,
.updates-section__subtitle::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: var(--primary-saffron);
}

.updates-section__subtitle::before {
    right: 100%;
    margin-right: 15px;
}

.updates-section__subtitle::after {
    left: 100%;
    margin-left: 15px;
}

.updates-section__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 20px;
}

.updates-section__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.updates-section__divider span {
    height: 2px;
    width: 60px;
    background-color: var(--primary-saffron);
}

.updates-section__divider i {
    color: var(--primary-saffron);
    font-size: 24px;
    margin: 0 15px;
}

.updates-section__description {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/*
==============================================================================
                        RESPONSIVE DESIGN HELPERS
==============================================================================
*/

/* Utility Classes for Color Consistency */
.text-primary { color: var(--text-primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-light { color: var(--text-light) !important; }
.text-white { color: var(--text-white) !important; }
.text-saffron { color: var(--primary-saffron) !important; }
.text-saffron-dark { color: var(--primary-saffron-dark) !important; }
.text-gold { color: var(--accent-gold) !important; }

.bg-primary { background-color: var(--bg-primary) !important; }
.bg-secondary { background-color: var(--bg-secondary) !important; }
.bg-light { background-color: var(--bg-light) !important; }
.bg-card { background-color: var(--bg-card) !important; }
.bg-saffron { background: var(--primary-saffron) !important; }
.bg-gradient-primary { background: var(--gradient-primary) !important; }
.bg-gradient-secondary { background: var(--gradient-secondary) !important; }
.bg-gradient-accent { background: var(--gradient-accent) !important; }

.border-saffron { border-color: var(--primary-saffron) !important; }
.border-saffron-light { border-color: var(--primary-saffron-light) !important; }
.border-gold { border-color: var(--accent-gold) !important; }

.shadow-light { box-shadow: 0 5px 15px var(--shadow-light) !important; }
.shadow-medium { box-shadow: 0 10px 25px var(--shadow-medium) !important; }
.shadow-dark { box-shadow: 0 15px 35px var(--shadow-dark) !important; }

/*
==============================================================================
                        HOVER EFFECTS & TRANSITIONS
==============================================================================
*/

/* Global Hover Effects */
.hover-lift:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px var(--shadow-medium);
    transition: box-shadow 0.3s ease;
}

/* Button Hover Effects */
.btn-saffron {
    background: var(--gradient-primary);
    color: var(--text-white);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow-light);
}

.btn-saffron:hover {
    background: var(--gradient-secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--shadow-medium);
    color: var(--text-white);
    text-decoration: none;
}

.btn-outline-saffron {
    background: transparent;
    color: var(--primary-saffron);
    border: 2px solid var(--primary-saffron);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-outline-saffron:hover {
    background: var(--primary-saffron);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-medium);
    text-decoration: none;
}

/*
==============================================================================
                        ANIMATION KEYFRAMES
==============================================================================
*/

@keyframes saffron-glow {
    0% {
        box-shadow: 0 0 5px var(--shadow-light);
    }
    50% {
        box-shadow: 0 0 20px var(--shadow-medium);
    }
    100% {
        box-shadow: 0 0 5px var(--shadow-light);
    }
}

@keyframes saffron-pulse {
    0% {
        transform: scale(1);
        background-color: var(--primary-saffron);
    }
    50% {
        transform: scale(1.05);
        background-color: var(--primary-saffron-light);
    }
    100% {
        transform: scale(1);
        background-color: var(--primary-saffron);
    }
}

@keyframes saffron-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes saffron-fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes saffron-slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes saffron-slide-in-right {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/*
==============================================================================
                        ACCESSIBILITY IMPROVEMENTS
==============================================================================
*/

/* Focus States */
*:focus {
    outline: 2px solid var(--primary-saffron);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-saffron: #B71C1C;
        --primary-saffron-dark: #8D1010;
        --text-primary: #000000;
        --text-secondary: #2C2C2C;
        --bg-primary: #FFFFFF;
        --bg-secondary: #F8F8F8;
    }
}

/*
==============================================================================
                        PRINT STYLES
==============================================================================
*/

@media print {
    .hero-slider,
    .advertisement,
    .youtube-gallery,
    .updates-section {
        display: none;
    }
    
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
    
    .dharmic-mission,
    .impact {
        background: white !important;
        color: black !important;
    }
    
    .dharmic-mission *,
    .impact * {
        color: black !important;
    }
}

/*
==============================================================================
                        THEME CUSTOMIZATION NOTES
==============================================================================

To change the entire website theme, simply modify the color variables at the top of this file:

1. PRIMARY COLORS:
   - Change --primary-saffron for the main theme color
   - Adjust --primary-saffron-light and --primary-saffron-dark for variations

2. SECONDARY COLORS:
   - Modify --secondary-orange for complementary color
   - Update --accent-gold for accent highlights

3. QUICK THEME PRESETS:

   BLUE THEME:
   --primary-saffron: #1976D2;
   --primary-saffron-light: #42A5F5;
   --primary-saffron-dark: #1565C0;
   --secondary-orange: #2196F3;
   --accent-gold: #FFC107;

   GREEN THEME:
   --primary-saffron: #388E3C;
   --primary-saffron-light: #66BB6A;
   --primary-saffron-dark: #2E7D32;
   --secondary-orange: #4CAF50;
   --accent-gold: #FF9800;

   PURPLE THEME:
   --primary-saffron: #7B1FA2;
   --primary-saffron-light: #BA68C8;
   --primary-saffron-dark: #6A1B9A;
   --secondary-orange: #9C27B0;
   --accent-gold: #FF9800;

==============================================================================
*/