body {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
  line-height: 1.6;
  color: #333;
}

/* Custom Padding Override */
.py-5 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

/* Modern Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #ee5a24, #3a9b94);
}

/* Smooth Animations */
* {
  transition: all 0.3s ease;
}

/* Modern Focus States */
*:focus {
  outline: 2px solid #ff6b6b;
  outline-offset: 2px;
}

/* Improved Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* Modern Button Base */
.btn {
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.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.5s;
}

.btn:hover::before {
  left: 100%;
}

/* Navbar */
.navbar {
  background: linear-gradient(90deg, #000 0%, #3c1e1b 100%) !important;
  border-bottom: none;
  padding: 15px 0;
}
.navbar-brand {
  font-weight: 600;
  color: #fff !important;
}
.navbar-brand img {
  height: 40px;
}
.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 400;
  margin: 0 15px;
  padding: 8px 0 !important;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
}
.navbar-nav .nav-link:hover {
  color: #fff !important;
}
.navbar-nav .nav-link i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}
.navbar-nav .nav-link:hover i {
  transform: rotate(180deg);
}

/* Navbar Toggler Icon - White */
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown */
.dropdown-menu-custom {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  min-width: 240px;
  padding: 8px 0;
  background: linear-gradient(180deg, #1a1a1a 0%, #2d1f1f 100%);
  margin-top: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: all 0.2s ease;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
}

/* Hover dropdown functionality */
.nav-item.dropdown {
  position: relative;
}

.nav-item.dropdown:hover .dropdown-menu-custom {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  display: block;
}

.nav-item.dropdown:hover .nav-link::after {
  width: 80%;
}
.dropdown-menu-custom .dropdown-item {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  padding: 10px 16px;
  transition: all 0.2s ease;
  color: #fff;
  text-decoration: none;
}
.dropdown-menu-custom .dropdown-item i {
  font-size: 1rem;
  margin-right: 10px;
  width: 16px;
  text-align: center;
  color: #fff !important;
}

/* Override Bootstrap color classes for dropdown icons */
.dropdown-menu-custom .dropdown-item i.text-primary,
.dropdown-menu-custom .dropdown-item i.text-success,
.dropdown-menu-custom .dropdown-item i.text-warning,
.dropdown-menu-custom .dropdown-item i.text-danger,
.dropdown-menu-custom .dropdown-item i.text-info {
  color: #fff !important;
}

.dropdown-menu-custom .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding-left: 20px;
}

.dropdown-menu-custom .dropdown-item:hover i {
  color: #fff !important;
}

.dropdown-menu-custom .dropdown-item:hover i.text-primary,
.dropdown-menu-custom .dropdown-item:hover i.text-success,
.dropdown-menu-custom .dropdown-item:hover i.text-warning,
.dropdown-menu-custom .dropdown-item:hover i.text-danger,
.dropdown-menu-custom .dropdown-item:hover i.text-info {
  color: #fff !important;
}

/* Donate Button */
.donate-btn {
  margin-left: 20px;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  background: linear-gradient(135deg, #ff4757 0%, #ff3742 50%, #ff2f3a 100%);
  border: none;
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
  position: relative;
  overflow: hidden;
}
.donate-btn:hover {
  background: linear-gradient(135deg, #ff2f3a 0%, #ff3742 50%, #ff4757 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 71, 87, 0.5);
  color: #fff;
}
.donate-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.5s;
}
.donate-btn:hover::before {
  left: 100%;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.hero .carousel-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.8) 100%);
}
.hero .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.hero p {
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
}
.hero .btn {
  padding: 15px 35px;
  font-weight: 600;
  border-radius: 30px;
  margin: 0 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.hero .btn-danger {
  background: linear-gradient(135deg, #ff4757 0%, #ff3742 50%, #ff2f3a 100%);
  border: none;
  box-shadow: 0 8px 25px rgba(255, 71, 87, 0.4);
  font-weight: 600;
}
.hero .btn-danger:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 71, 87, 0.5);
  background: linear-gradient(135deg, #ff2f3a 0%, #ff3742 50%, #ff4757 100%);
}
.hero .btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  backdrop-filter: blur(10px);
}
.hero .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}



/* ===== ViRAT Hero Carousel Section ===== */
.hero-virat-carousel {
  background: linear-gradient(135deg, #672626 0%, #672626 40%, #672626 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 60px 0; /* ?? Added top and bottom space */
}

/* ===== Text Section ===== */
.hero-text {
  padding: 60px 60px;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.4px;
  color: #fff;
}

.hero-text p {
  font-size: 1.1rem;
  color: #f0eaea;
  line-height: 1.7;
  margin-bottom: 25px;
}

.hero-text .btn-warning {
  background: #ffc107;
  color: #111;
  border: none;
  transition: all 0.3s ease;
}

.hero-text .btn-warning:hover {
  background: #ffb300;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

/* ===== Image Side ===== */
.hero-image {
  position: relative;
  overflow: hidden;
  padding: 20px 0; /* ?? Adds space around image top & bottom */
}

.hero-img {
  width: 100%;
  height: 500px; /* ?? Reduced slightly for balance */
  object-fit: cover;
  object-position: center;
  border-top-left-radius: 60px;
  border-bottom-left-radius: 60px;
  transition: transform 0.8s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* ?? adds depth */
}

.hero-image:hover .hero-img {
  transform: scale(1.04);
}

/* Overlay gradient */
.image-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.2), transparent 70%);
}

/* ===== Carousel Controls ===== */
#heroViRAT .carousel-control-prev-icon,
#heroViRAT .carousel-control-next-icon {
  filter: invert(0);
  opacity: 0.9;
}

#heroViRAT .carousel-control-prev,
#heroViRAT .carousel-control-next {
  transition: all 0.3s ease;
  width: auto;
  z-index: 10;
  cursor: pointer;
}

#heroViRAT .carousel-control-prev {
  left: 10px;
}

#heroViRAT .carousel-control-next {
  right: 10px;
}

#heroViRAT .carousel-control-prev:hover,
#heroViRAT .carousel-control-next:hover {
  opacity: 1;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .hero-text {
    text-align: center;
    padding: 40px 20px;
  }

  .hero-img {
    height: 320px;
    border-radius: 0;
  }

  .hero-virat-carousel {
    padding: 20px 0;
  }
}


/* About Section - Interactive Design */
#about {
  position: relative;
  overflow: hidden;
}

#about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(78, 205, 196, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(255, 107, 107, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

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

.about-title {
  background: linear-gradient(135deg, #2c3e50 0%, #4ecdc4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
}

.about-text {
  animation: fadeInUp 0.8s ease-out 0.2s both;
  transition: all 0.3s ease;
  color: #444;
  line-height: 1.8;
  font-size: 1rem;
}

.about-text:hover {
  transform: translateX(5px);
}

/* About Section Video - Rounded Box */
#about .video-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
}

#about .video-wrapper:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

#about .video-wrapper iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 16px;
}

/* Activities Section Video - Rounded Box */
#activities .video-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
}

#activities .video-wrapper:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

#activities .video-wrapper iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 16px;
}




/* Feature Cards Layout */
.feature-cards-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

/* Feature Cards */
.feature-card {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 107, 107, 0.2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.1), transparent);
  transition: left 0.6s ease;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 35px rgba(255, 107, 107, 0.2);
  border-color: rgba(255, 107, 107, 0.4);
}

.feature-card:hover::before {
  left: 100%;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-icon i {
  font-size: 2rem;
  color: white;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 1rem;
  color: #6c757d;
  margin: 0;
  font-weight: 500;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

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

/* Research Centers Section */
#research-centers {
  position: relative;
  overflow: hidden;
}

#research-centers::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(78, 205, 196, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.research-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
  backdrop-filter: blur(10px);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(103, 38, 38, 0.08);
}

.research-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #672626 0%, #9b3636 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  z-index: 1;
}

.research-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 40px rgba(103, 38, 38, 0.2);
  background: #fff;
  border-color: rgba(103, 38, 38, 0.2);
}

.research-card:hover::before {
  transform: scaleX(1);
}

.research-card img {
  height: 220px;
  object-fit: cover;
  transition: all 0.3s ease;
  filter: brightness(0.95);
  border-radius: 12px 12px 0 0;
}

.research-card:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.research-card .card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.research-card h5 {
  color: #2c2c2c;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.research-card:hover h5 {
  color: #672626;
}

.research-card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 25px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.research-card .view-more-btn {
  background: linear-gradient(135deg, #672626 0%, #9b3636 100%);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  align-self: flex-start;
  margin-top: auto;
  box-shadow: 0 4px 15px rgba(103, 38, 38, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.research-card .view-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(103, 38, 38, 0.5);
  background: linear-gradient(135deg, #9b3636 0%, #b33a3a 100%);
  color: #fff;
}

.research-card .view-more-btn:active {
  transform: translateY(0);
}

.research-card .view-more-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.5s ease;
}

.research-card .view-more-btn:hover::before {
  left: 100%;
}

.research-card .view-more-btn::after {
  content: '→';
  margin-left: 8px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.research-card .view-more-btn:hover::after {
  transform: translateX(5px);
}

/* Research Card Link Styling */
.research-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.3s ease;
  height: 100%;
}

.research-card-link:hover {
  text-decoration: none;
  color: inherit;
}



/* Section Titles */
.section-title {
  font-weight: 800;
  color: #1a1a1a;
  position: relative;
  display: inline-block;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
  margin: 15px auto 0;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
}

/* Focus Areas Cards */
.focus-card {
  border: none;
  border-radius: 20px;
  background: #fff;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}
.focus-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.focus-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.focus-card:hover::before {
  transform: scaleX(1);
}

/* Icon Circle */
.icon-circle {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  font-size: 2.2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.icon-circle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.focus-card:hover .icon-circle {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}
.focus-card:hover .icon-circle::before {
  opacity: 1;
}

/* Buttons inside cards */
.focus-card .btn {
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  display: inline-block;
  width: auto;
  margin-top: 15px;
}
.focus-card .btn:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.focus-card .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.5s;
}
.focus-card .btn:hover::before {
  left: 100%;
}


/* Info Cards */
.info-card {
  transition:transform 0.3s, box-shadow 0.3s;
  border:none;
}
.info-card:hover {
  transform:translateY(-5px);
  box-shadow:0 4px 15px rgba(0,0,0,0.15);
}

/* Careers */
.careers {
  background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 50%, #0c0c0c 100%);
  color: #fff;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.careers::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(78, 205, 196, 0.1) 0%, transparent 50%);
  pointer-events: none;
}
.careers h2 {
  font-weight: 800;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.careers .lead {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
}
.careers .btn {
  padding: 15px 35px;
  font-weight: 600;
  border-radius: 30px;
  background: linear-gradient(135deg, #ff4757 0%, #ff3742 50%, #ff2f3a 100%);
  border: none;
  box-shadow: 0 8px 25px rgba(255, 71, 87, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.careers .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 71, 87, 0.5);
  background: linear-gradient(135deg, #ff2f3a 0%, #ff3742 50%, #ff4757 100%);
}



/* Publications Section */
#publications {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.publication-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.publication-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.publication-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.publication-card:hover::before {
  transform: scaleX(1);
}

.publication-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.publication-card:hover .publication-icon {
  transform: scale(1.1) rotate(5deg);
}

.publication-icon i {
  font-size: 1.5rem;
  color: #fff;
}

.publication-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.publication-desc {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.publication-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.publication-meta .badge {
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
}

.publication-count {
  font-size: 0.85rem;
  color: #888;
  font-weight: 500;
}

/* FAQs Section */
/* ===== FAQs Section - Improved UI/UX ===== */
#faqs {
  padding: 80px 0;
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  background: #fff;
  margin-bottom: 1rem;
}

.faq-card:hover {
  box-shadow: 0 4px 20px rgba(103, 38, 38, 0.15);
  transform: translateY(-2px);
}

.faq-card .accordion-button {
  background: #fff;
  color: #2c2c2c;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 20px 25px;
  border: none;
  box-shadow: none;
  transition: all 0.3s ease;
  position: relative;
}

.faq-card .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #672626 0%, #9b3636 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(103, 38, 38, 0.2);
}

.faq-card .accordion-button:not(.collapsed) .faq-icon {
  color: #ffcc33;
}

.faq-card .accordion-button:focus {
  border-color: transparent;
  box-shadow: 0 0 0 0.25rem rgba(103, 38, 38, 0.15);
}

.faq-card .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23672626'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.faq-card .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(180deg);
}

.faq-icon {
  font-size: 1.3rem;
  color: #672626;
  transition: all 0.3s ease;
}

.faq-card .accordion-body {
  padding: 20px 25px;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
  background: #fafafa;
  border-top: 1px solid rgba(103, 38, 38, 0.1);
}

.faq-card .accordion-collapse {
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  #faqs {
    padding: 60px 0;
  }
  
  .faq-card .accordion-button {
    padding: 15px 20px;
    font-size: 0.95rem;
  }
  
  .faq-card .accordion-body {
    padding: 15px 20px;
    font-size: 0.9rem;
  }
  
  .faq-icon {
    font-size: 1.1rem;
  }
}

/* Footer */
.footer {
  background: linear-gradient(180deg, #000 0%, #1a0f0f 50%, #3c1e1b 100%);
  color: #fff;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.social-icons-footer {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-icons-footer a {
  color: #fff;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none !important;
}

.social-icons-footer a::after {
  display: none !important;
  content: none !important;
}

.social-icons-footer a:hover {
  color: #ffcc33;
  background: rgba(255, 204, 51, 0.2);
  transform: translateY(-3px);
  text-decoration: none !important;
}

.social-icons-footer a:hover::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
}

.footer-content {
  position: relative;
}

.footer-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255, 107, 107, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(78, 205, 196, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo a {
  display: inline-block;
  text-decoration: none;
}

.footer-logo img {
  max-width: 150px;
  filter: brightness(1.1);
  transition: transform 0.3s ease;
}

.footer-logo img:hover {
  transform: scale(1.05);
}

.footer-about {
  margin-bottom: 1.5rem;
}

.footer-about p {
  color: #cfc7c7;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer li {
  padding: 2px 0;
}

.footer a {
  color: #ddd;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  font-size: 1rem;
}
.footer a:hover {
  color: #fff;
  transform: translateX(5px);
}
.footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
  transition: width 0.3s ease;
}
.footer a:hover::after {
  width: 100%;
}
.footer h6 {
  margin-bottom: 15px;
  font-weight: 700;
  color: #fff;
  position: relative;
  font-size: 1.1rem;
}
.footer h6::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
  border-radius: 2px;
}
.footer .bi {
  color: #fff;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}
.footer .bi:hover {
  transform: scale(1.2) rotate(5deg);
  color: #ff6b6b;
}
.footer-bottom {
  color: #bbb;
  position: relative;
  z-index: 1;
}

.footer-bottom.border-top {
  border-color: #666 !important;
}
.footer-bottom a {
  color: #bbb;
  margin: 0 8px;
  transition: all 0.3s ease;
}
.footer-bottom a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

/* Contact Details Styling */
.contact-details {
  margin-top: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
  color: #ddd;
  font-size: 0.9rem;
  line-height: 1.4;
}

.contact-item i {
  color: #ff6b6b;
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-item a {
  color: #ddd;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-item a:hover {
  color: #fff;
  text-shadow: 0 0 5px rgba(255, 107, 107, 0.3);
}

.contact-address {
  font-size: 1rem;
  color: #ddd;
  line-height: 1.4;
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .navbar-nav .nav-link {
    margin: 5px 0;
    padding: 10px 15px !important;
  }
  
  .dropdown-menu-custom {
    min-width: 100%;
    margin-top: 5px;
  }
  
  .focus-card {
    margin-bottom: 2rem;
  }
  
  .icon-circle {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }
  
  .careers h2 {
    font-size: 2.5rem;
  }
  
  .careers .lead {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero .btn {
    display: block;
    margin: 10px auto;
    width: 80%;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .navbar-brand img {
    height: 40px;
  }
  
  .donate-btn {
    margin-left: 0;
    margin-top: 10px;
  }
}

/* Loading Animation */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.loading {
  animation: pulse 2s infinite;
}

/* Modern Card Hover Effects */
.card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Improved Form Elements */
.form-control {
  border-radius: 8px;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.25);
}

/* Accessibility Improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .navbar {
    background: linear-gradient(90deg, #000 0%, #3c1e1b 100%) !important;
    border-bottom: 2px solid #fff;
  }
  
  .navbar-nav .nav-link {
    color: #fff !important;
    border: 1px solid transparent;
  }
  
  .navbar-nav .nav-link:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.2);
  }
}




/* ===== Topbar Styling ===== */
.topbar {
  background: linear-gradient(90deg, #000 0%, #3c1e1b 100%);
  color: #fff;
  padding: 6px 0;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
  width: 100%;
  z-index: 1031;
  position: relative; /* not fixed now */
}

.topbar a {
  color: #f8f9fa;
  transition: color 0.3s ease;
  font-size: 0.85rem;
}

.topbar i {
  font-size: 1.1rem;
}

.topbar a:hover {
  color: #ffb3b3;
}

/* ===== Main Navbar ===== */
.main-navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: linear-gradient(90deg, #000 0%, #3c1e1b 100%);
}

/* Navbar Links Hover Effect */
.navbar-nav .nav-link {
  color: #fff !important;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #ff4d4d;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Donate Button Glow */
.btn-danger {
  background: linear-gradient(90deg, #ff4d4d 0%, #ff1a1a 100%);
  border: none;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
}

.btn-danger:hover {
  background: linear-gradient(90deg, #ff1a1a 0%, #e60000 100%);
}

/* Responsive */
@media (max-width: 768px) {
  .topbar {
    text-align: center;
    font-size: 0.8rem;
  }
  
  .topbar a {
    font-size: 0.85rem;
  }
  
  .topbar i {
    font-size: 1rem;
  }
}


/* ===== ViRAT Branded Horizontal Scroller ===== */
.virat-scroller {
  background: #4b1f1f; /* ViRAT deep maroon tone */
  color: #fff;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  border-top: 3px solid #b33a3a;
  border-bottom: 3px solid #b33a3a;
}

/* Text animation */
.scroller-content {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 25s linear infinite;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.scroller-content span {
  display: inline-block;
  margin-right: 50px;
  padding: 0 20px;
  color: #ffdbdb;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.scroller-content span:last-child {
  border-right: none;
}

/* Animation keyframes */
@keyframes scroll-left {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Pause on hover */
.virat-scroller:hover .scroller-content {
  animation-play-state: paused;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .scroller-content {
    font-size: 0.9rem;
    animation-duration: 30s;
  }
}


/* ===== ViRAT Organizational Impact Section ===== */
#impact {
  background: #faf9f8;
  position: relative;
}

.section-title {
  color: #3a1d1d;
  font-size: 2rem;
  letter-spacing: 0.5px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: #b33a3a;
  margin: 10px auto 0;
  border-radius: 10px;
}

.bg-virat {
  background-color: #672626 !important;
}

.impact-table {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  overflow: hidden;
}

.impact-table td {
  vertical-align: middle;
  padding: 0.6rem 0.8rem;
  font-size: 0.85rem;
}

.impact-table td:first-child {
  font-weight: 500;
  background: linear-gradient(90deg, #672626 0%, #9b3636 100%);
  color: #fff;
  width: 65%;
  font-size: 0.95rem;
}

.impact-table td:last-child {
  color: #111;
  font-weight: 600;
  text-align: center;
  font-size: 0.9rem;
}

#impact img {
  max-width: 90%;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Counter animation style */
.impact-table .counter {
  display: inline-block;
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 991px) {
  #impact {
    text-align: center;
  }
  .impact-table td:first-child {
    text-align: left;
  }
}


/* ===== ViRAT Recent Activities Section ===== */
#activities {
  background: #faf9f8;
}

.text-virat {
  color: #672626;
}

.activity-video {
  position: relative;
  border: 8px solid #f4eaea;
  border-radius: 18px;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #672626;
  color: #fff;
  font-size: 2.5rem;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-play-btn:hover {
  background: #9b3636;
  transform: translate(-50%, -50%) scale(1.1);
}

.activity-list {
  border-left: none;
  margin-left: 0;
  padding-left: 0;
}

.activity-list .activity-item {
  margin-bottom: 0;
}

.icon-box {
  background: linear-gradient(135deg, #672626 0%, #9b3636 50%, #b33a3a 100%);
  color: #fff;
  border-radius: 12px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-right: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(103, 38, 38, 0.3);
  position: relative;
  overflow: hidden;
}

.icon-box::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.5s ease;
}

.icon-box i {
  position: relative;
  z-index: 1;
}

.activity-item:hover .icon-box {
  background: linear-gradient(135deg, #9b3636 0%, #b33a3a 50%, #672626 100%);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(103, 38, 38, 0.5);
}

.activity-item:hover .icon-box::before {
  left: 100%;
}

.activity-item h5 {
  color: #222;
  transition: color 0.3s ease;
}

.activity-item:hover h5 {
  color: #9b3636;
}

/* Responsive */
@media (max-width: 991px) {
  .activity-list {
    border-left: none;
    margin-left: 0;
    padding-left: 0;
  }

  .icon-box {
    width: 55px;
    height: 55px;
    font-size: 1.4rem;
  }

  .video-play-btn {
    width: 55px;
    height: 55px;
    font-size: 2rem;
  }
}
/* ===== Activity Links Hover Styling ===== */
.activity-item {
  transition: all 0.3s ease;
}

.activity-item:hover {
  transform: translateX(5px);
}

.activity-item:hover .icon-box {
  background: linear-gradient(135deg, #9b3636 0%, #b33a3a 50%, #672626 100%);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(103, 38, 38, 0.5);
}

.activity-item:hover h5 {
  color: #9b3636;
}



/* ===== ViRAT Thematic Focus Section ===== */
.text-virat {
  color: #672626;
}

#thematic-focus {
  background: #fdfdfd;
}

.theme-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  padding: 30px 20px;
  height: 100%;
  transition: all 0.35s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.theme-card:hover,
.theme-card.active {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-color: #b33a3a;
}

.theme-icon {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #672626;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 15px;
  transition: all 0.3s ease;
  border: 6px solid #b86957;
}

.theme-card:hover .theme-icon,
.theme-card.active .theme-icon {
  background: #fff;
  color: #672626;
  border: 6px solid #672626;
}

.theme-card h5 {
  color: #3a1d1d;
  line-height: 1.3;
}

.theme-card p {
  color: #7a6b6b;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .theme-card {
    padding: 20px 10px;
  }
  .theme-icon {
    width: 80px;
    height: 80px;
    font-size: 1.8rem;
    border-width: 4px;
  }
  .theme-card h5 {
    font-size: 0.95rem;
  }
}


/* ===== ViRAT Testimonial Section ===== */
#testimonials {
  background-color: #fff;
}

.text-virat {
  color: #672626;
}

.bg-virat {
  background-color: #9b3636;
}

/* ===== Testimonials Section - Improved UI/UX ===== */
#testimonials {
  position: relative;
  padding: 60px 0;
}

#testimonialCarousel {
  position: relative;
  padding: 0 60px;
}

.testimonial-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.testimonial-image-wrapper {
  padding: 0;
  overflow: hidden;
  position: relative;
}

.testimonial-image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.testimonial-card:hover .testimonial-image {
  transform: scale(1.05);
}

.testimonial-content {
  background: linear-gradient(135deg, #672626 0%, #9b3636 50%, #b33a3a 100%);
  padding: 50px 40px;
  color: #fff;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.testimonial-text {
  position: relative;
  z-index: 2;
}

.testimonial-quote {
  font-size: 4rem;
  color: rgba(255, 204, 51, 0.3);
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}

.testimonial-paragraph {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #f9f9f9;
  margin-bottom: 25px;
  font-weight: 400;
}

.testimonial-divider {
  border-color: rgba(255, 255, 255, 0.3);
  margin: 25px 0;
  opacity: 1;
}

.testimonial-author {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.testimonial-role {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

/* Testimonial Navigation Arrows - Separate Styles for Better UX */
#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
  width: 50px;
  height: 50px;
  opacity: 1;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  border: 2px solid rgba(103, 38, 38, 0.1);
}

#testimonialCarousel .carousel-control-prev {
  left: 0;
}

#testimonialCarousel .carousel-control-next {
  right: 0;
}

#testimonialCarousel .carousel-control-prev:hover,
#testimonialCarousel .carousel-control-next:hover {
  background: #672626;
  box-shadow: 0 6px 20px rgba(103, 38, 38, 0.4);
  transform: translateY(-50%) scale(1.1);
  border-color: #672626;
}

#testimonialCarousel .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23672626'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
  width: 24px;
  height: 24px;
  opacity: 1;
  filter: none;
}

#testimonialCarousel .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23672626'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  width: 24px;
  height: 24px;
  opacity: 1;
  filter: none;
}

#testimonialCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next:hover .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

#testimonialCarousel .carousel-control-next:hover .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Testimonial Indicators - Improved */
#testimonialCarousel .carousel-indicators {
  position: relative;
  margin-top: 30px;
  margin-bottom: 0;
}

#testimonialCarousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #d0d0d0;
  border: 2px solid #fff;
  margin: 0 6px;
  transition: all 0.3s ease;
  opacity: 1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#testimonialCarousel .carousel-indicators button.active {
  background-color: #672626;
  width: 35px;
  border-radius: 6px;
  border-color: #672626;
  box-shadow: 0 3px 8px rgba(103, 38, 38, 0.4);
}

#testimonialCarousel .carousel-indicators button:hover {
  background-color: #9b3636;
  border-color: #9b3636;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  #testimonialCarousel {
    padding: 0 50px;
  }
  
  .testimonial-content {
    padding: 30px 25px;
    min-height: auto;
  }
  
  .testimonial-paragraph {
    font-size: 1rem;
  }
  
  .testimonial-quote {
    font-size: 3rem;
  }
  
  #testimonialCarousel .carousel-control-prev {
    left: -10px;
  }
  
  #testimonialCarousel .carousel-control-next {
    right: -10px;
  }
  
  #testimonialCarousel .carousel-control-prev,
  #testimonialCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
  }
  
  #testimonialCarousel .carousel-control-prev-icon,
  #testimonialCarousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
  }
  
  .testimonial-image {
    min-height: 250px;
  }
}


/* ===== Partnership Section ===== */
#partners {
  background: #fdfbf9;
}

.text-virat {
  color: #672626;
}

/* Slider Wrapper */
.logo-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Moving Track */
.logos-track {
  display: flex;
  width: calc(250px * 14);
  animation: scroll-alternate 40s linear infinite alternate;
}

/* Individual Logos */
.partner-logo {
  flex: 0 0 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  transition: transform 0.3s ease;
}

.partner-logo img {
  max-height: 70px;
  object-fit: contain;
  filter: grayscale(80%);
  transition: filter 0.3s ease;
}

.partner-logo:hover img {
  filter: grayscale(0);
  transform: scale(1.05);
}

/* Alternating Animation Keyframes */
@keyframes scroll-alternate {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause on Hover */
.logo-slider:hover .logos-track {
  animation-play-state: paused;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .partner-logo {
    flex: 0 0 180px;
    padding: 15px;
  }
  .partner-logo img {
    max-height: 60px;
  }
}


/* ===== Social Impact Section ===== */
#social-impact {
  background: linear-gradient(135deg, #2d1a1a 0%, #4a2424 50%, #672626 100%);
  position: relative;
  overflow: hidden;
}

#social-impact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 204, 51, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(255, 204, 51, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

#social-impact h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.impact-item {
  padding: 30px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.impact-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 204, 51, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.impact-item i {
  color: #ffcc33;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(255, 204, 51, 0.3));
}

.impact-item:hover i {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 6px 12px rgba(255, 204, 51, 0.5));
}

.impact-count {
  font-size: 3rem;
  font-weight: 800;
  color: #ffcc33;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #ffcc33 0%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.impact-item:hover .impact-count {
  transform: scale(1.1);
}

.impact-label {
  color: #f0f0f0;
  font-size: 0.95rem;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0.3px;
  max-width: 280px;
  margin: 0 auto;
  font-weight: 500;
}

@media (max-width: 768px) {
  #social-impact h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  .impact-item {
    padding: 25px 15px;
    margin-bottom: 1rem;
  }
  
  .impact-item i {
    font-size: 2.5rem;
  }
  
  .impact-count {
    font-size: 2.2rem;
  }
  
  .impact-label {
    font-size: 0.85rem;
  }
}


/* ===== ViRAT Footer ===== */
.bg-dark-brown {
  background-color: #3c1e1b;
}

.footer-heading {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 6px;
}

.footer p {
  color: #cfc7c7;
  font-size: 0.9rem;
  line-height: 1.6;
}

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

.footer-links a {
  color: #d5d5d5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffcc33;
}

.social-icons a {
  color: #fff;
  font-size: 1.2rem;
  margin-right: 10px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ffcc33;
}

/* Latest Blogs Section */
.latest-blog {
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.latest-blog:last-child {
  border-bottom: none;
}

.latest-blog:hover {
  background: rgba(255, 255, 255, 0.03);
  padding-left: 8px;
  border-radius: 4px;
}

.blog-thumb {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.latest-blog:hover .blog-thumb {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.blog-content {
  flex: 1;
}

.blog-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.4;
  display: block;
  transition: color 0.3s ease;
}

.blog-link:hover {
  text-decoration: none !important;
  color: #ffcc33;
}

.blog-date {
  font-size: 0.8rem;
  opacity: 0.7;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.15);
}

.text-light-emphasis {
  color: #b7b0b0 !important;
}

@media (max-width: 991px) {
  .footer {
    text-align: left;
  }
  .footer .footer-heading {
    margin-top: 1.5rem;
  }
}

/* ===== Contact Page Styles ===== */
.contact-hero {
  position: relative;
  overflow: hidden;
  background-image: url('../images/sustainability.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  pointer-events: none;
  z-index: 1;
}

.contact-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(78, 205, 196, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 2;
}

.contact-hero .container {
  position: relative;
  z-index: 3;
}

.contact-hero h1,
.contact-hero .lead,
.contact-hero p {
  color: #fff !important;
}

.contact-info-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.contact-info-card .contact-item {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.contact-info-card .contact-item:last-child {
  border-bottom: none;
}

.contact-info-card .contact-item .d-flex {
  flex-wrap: wrap;
}

.contact-info-card .contact-item i {
  flex-shrink: 0;
  font-size: 1.2rem;
  margin-top: 4px;
}

.contact-info-card .contact-item a {
  color: #333;
  transition: color 0.3s ease;
}

.contact-info-card .contact-item a:hover {
  color: #ff6b6b;
}

.contact-form-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}

.contact-form-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.contact-form-card .form-control {
  border: 2px solid #e9ecef;
  padding: 12px 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form-card .form-control:focus {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.25);
  outline: none;
}

.contact-form-card .form-label {
  color: #333;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.contact-form-card textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.contact-form-card .btn-primary {
  background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-form-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.map-container {
  border: 3px solid #f0f0f0;
  transition: border-color 0.3s ease;
  height: 450px;
}

.map-container:hover {
  border-color: #ff6b6b;
}

.map-container iframe {
  width: 100%;
  height: 100%;
}

.text-virat {
  color: #672626;
}

@media (max-width: 768px) {
  .contact-hero {
    background-attachment: scroll;
    padding: 3rem 0 !important;
  }
  
  .contact-hero h1 {
    font-size: 2.5rem;
    color: #fff !important;
  }
  
  .contact-hero .lead {
    font-size: 1.1rem;
    color: #fff !important;
  }
  
  .contact-info-card,
  .contact-form-card {
    margin-bottom: 2rem;
  }
  
  .contact-info-card .contact-item {
    padding: 12px 0;
  }
  
  .contact-form-card .row .col-md-6 {
    margin-bottom: 1rem;
  }
  
  .map-container {
    height: 300px !important;
  }
  
  .contact-hero .container {
    padding: 0 15px;
  }
}

@media (max-width: 576px) {
  .contact-hero {
    padding: 2.5rem 0 !important;
  }
  
  .contact-hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem !important;
  }
  
  .contact-hero .lead {
    font-size: 1rem;
  }
  
  .contact-info-card,
  .contact-form-card {
    padding: 1.5rem !important;
  }
  
  .contact-info-card h3,
  .contact-form-card h3 {
    font-size: 1.5rem;
  }
  
  .contact-item {
    flex-direction: column;
  }
  
  .contact-item i {
    margin-bottom: 8px;
  }
  
  .contact-form-card .btn-primary {
    width: 100%;
    padding: 12px 20px;
  }
  
  .map-container {
    height: 250px !important;
  }
}

/* ===== Who We Are Page Styles ===== */
.about-content-card {
  transition: box-shadow 0.3s ease;
  background: #fff;
  border: 1px solid #e9ecef;
}

.about-content-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-2px);
}

/* Modern Content Wrapper */
.modern-content-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.modern-content-card {
  background: #fff;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.modern-content-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

.content-header {
  position: relative;
}

.divider-line {
  height: 3px;
  width: 80px;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
  border-radius: 2px;
}

/* Modern Corporate Cards */
.corporate-card-modern {
  background: #fff;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f0f0f0 !important;
}

.corporate-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12) !important;
  border-color: #e0e0e0 !important;
}

.corporate-icon-modern {
  text-align: center;
}

.icon-circle-modern {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.icon-circle-modern i {
  font-size: 2rem;
}

.corporate-card-modern:hover .icon-circle-modern {
  transform: scale(1.1) rotate(5deg);
}

.corporate-card-modern h5 {
  color: #2c3e50;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.4;
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.corporate-code {
  text-align: center;
  font-family: 'Courier New', 'Monaco', monospace;
  font-weight: 600;
  font-size: 1rem;
  color: #495057;
  letter-spacing: 0.5px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.corporate-card-modern:hover .corporate-code {
  background: #e9ecef;
  color: #212529;
  transform: scale(1.02);
}

.corporate-card {
  transition: all 0.3s ease;
  background: #f8f9fa;
  border: 2px solid #e9ecef !important;
}

.corporate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: #ff6b6b !important;
}

.corporate-icon {
  text-align: center;
}

.corporate-card h5 {
  color: #333;
  text-align: center;
}

.corporate-card p {
  text-align: center;
  font-family: 'Courier New', monospace;
  font-weight: 600;
  color: #495057;
}

.info-item {
  padding: 1rem;
  border-radius: 8px;
  background: #f8f9fa;
  transition: all 0.3s ease;
  height: 100%;
}

.info-item:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateX(5px);
}

.info-item h5 {
  color: #333;
}

.info-item i {
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .about-content-card {
    padding: 2rem !important;
  }
  
  .modern-content-card {
    padding: 2.5rem !important;
  }
  
  .corporate-card,
  .corporate-card-modern {
    margin-bottom: 1.5rem;
  }
  
  .icon-circle-modern {
    width: 70px;
    height: 70px;
  }
  
  .icon-circle-modern i {
    font-size: 1.75rem;
  }
  
  .info-item {
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .about-content-card {
    padding: 1.5rem !important;
  }
  
  .modern-content-card {
    padding: 1.5rem !important;
  }
  
  .corporate-card,
  .corporate-card-modern {
    padding: 1.5rem !important;
  }
  
  .corporate-icon i {
    font-size: 2rem !important;
  }
  
  .icon-circle-modern {
    width: 60px;
    height: 60px;
  }
  
  .icon-circle-modern i {
    font-size: 1.5rem;
  }
  
  .corporate-card h5,
  .corporate-card-modern h5 {
    font-size: 1rem;
    min-height: auto;
  }
  
  .corporate-code {
    font-size: 0.9rem;
    padding: 10px;
  }
  
  .info-item h5 {
    font-size: 1.1rem;
  }
}

/* ===== Research Centers Page Styles ===== */
.research-center-modern-card {
  display: block;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.research-center-modern-card:hover {
  transform: translateY(-8px);
  text-decoration: none;
}

.research-center-modern-card .card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
  overflow: hidden;
}

.research-center-modern-card:hover .card {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-8px);
}

.research-image-wrapper {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.research-center-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.research-center-modern-card:hover .research-center-image {
  transform: scale(1.1);
}

.research-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.research-center-modern-card:hover .research-overlay {
  opacity: 1;
}

.research-badge {
  z-index: 2;
  opacity: 0.95;
  transition: all 0.3s ease;
}

.research-center-modern-card:hover .research-badge {
  transform: scale(1.1);
  opacity: 1;
}

.research-center-modern-card .card-body {
  background: #fff;
  transition: background 0.3s ease;
}

.research-center-modern-card:hover .card-body {
  background: #fafafa;
}

.research-center-modern-card .card-title {
  font-size: 1.25rem;
  line-height: 1.4;
  transition: color 0.3s ease;
  min-height: 1.5rem;
}

.research-center-modern-card:hover .card-title {
  color: #672626 !important;
}

.research-center-modern-card .card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  min-height: 3rem;
}

.research-center-modern-card .bi-arrow-right {
  transition: transform 0.3s ease;
}

.research-center-modern-card:hover .bi-arrow-right {
  transform: translateX(5px);
}

/* Introduction Section Styling */
.intro-content {
  max-width: 900px;
  margin: 0 auto;
}

.intro-content .lead {
  color: #2c3e50;
  font-weight: 400;
}

.intro-content strong {
  color: #672626;
  font-weight: 600;
}

@media (max-width: 768px) {
  .research-image-wrapper {
    height: 220px;
  }
  
  .research-center-modern-card .card-title {
    font-size: 1.1rem;
    min-height: auto;
  }
  
  .research-center-modern-card .card-text {
    min-height: auto;
  }
  
  .intro-content .lead {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .research-image-wrapper {
    height: 200px;
  }
  
  .research-center-modern-card .card-body {
    padding: 1.5rem !important;
  }
}

/* Individual Research Center Page Styles */
.research-hero-image-wrapper {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.research-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}

.research-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.research-badge-large {
  display: inline-flex;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
}

.content-body {
  line-height: 1.9;
}

.content-body strong {
  color: #672626;
  font-weight: 600;
}

.content-body em {
  color: #495057;
  font-style: italic;
}

.content-footer {
  border-top: 2px solid #e9ecef;
}

.content-footer .btn {
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.content-footer .btn:hover {
  transform: translateX(-5px);
}

@media (max-width: 768px) {
  .research-hero-image-wrapper {
    height: 300px;
  }
  
  .content-header .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
  }
  
  .research-badge-large {
    margin-bottom: 1rem !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 576px) {
  .research-hero-image-wrapper {
    height: 250px;
  }
}

/* Donation Form Styles */
#donationForm .form-control,
#donationForm .form-select {
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  padding: 12px 16px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

#donationForm .form-control:focus,
#donationForm .form-select:focus {
  border-color: #8B4513;
  box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.25);
  outline: none;
}

#donationForm .form-label {
  color: #333;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

#donationForm .input-group-text {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-right: none;
  border-radius: 8px 0 0 8px;
  color: #8B4513;
}

#donationForm .input-group .form-control {
  border-left: none;
  border-radius: 0 8px 8px 0;
}

#donationForm .input-group .form-control:focus {
  border-left: 1px solid #8B4513;
}

#donationForm textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

#donationForm .btn-primary {
  background: #8B4513;
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

#donationForm .btn-primary:hover {
  background: #6B3410;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

#donationForm .btn-primary:active {
  transform: translateY(0);
}

/* Responsive adjustments for donation form */
@media (max-width: 768px) {
  #donationForm .form-control,
  #donationForm .form-select {
    padding: 10px 14px;
    font-size: 0.95rem;
  }
  
  #donationForm .btn-primary {
    padding: 10px 24px;
    font-size: 1rem;
  }
}


/* Ensure main dropdown allows flyout */
.dropdown-menu-custom {
  overflow: visible !important;
  position: absolute;
  z-index: 1050;
}

/* Submenu container */
.dropdown-submenu {
  position: relative;
}

/* Submenu flyout */
.dropdown-submenu > .dropdown-menu {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 220px;
  display: none;
   background: linear-gradient(180deg, #1a1a1a 0%, #2d1f1f 100%);/* match your dark menu */
  border-radius: 6px;
  z-index: 1060;
}

/* Show submenu on hover */
.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

/* Prevent white box issue */
.dropdown-submenu > .dropdown-menu li a {
  color: #fff;
}

/* Mobile safety */
@media (max-width: 991px) {
  .dropdown-submenu > .dropdown-menu {
    position: static;
    display: none;
  }

  .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }
}

/* ================================
   Mobile Dropdown Click Fix (CSS only)
   ================================ */

/* Desktop: allow normal link click */
@media (min-width: 992px) {
  .navbar-nav .dropdown > .nav-link {
    pointer-events: auto;
  }
}

/* Mobile: disable navigation on dropdown parent */
@media (max-width: 991px) {
  .navbar-nav .dropdown > .nav-link {
    pointer-events: none;
  }

  /* Allow icon / arrow area to still receive touch */
  .navbar-nav .dropdown > .nav-link i {
    pointer-events: auto;
  }
}




