/* ==================== 
   EDUJOY SAVITRIBAI PHULE FOUNDATION
   Custom Styles
   ==================== */

/* ==================== BASE STYLES ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  background-color: #ffffff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #1e3a5f, #d4a739);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #0d2137, #b8922e);
}

/* Selection Color */
::selection {
  background: #d4a739;
  color: #ffffff;
}

/* ==================== NAVBAR STYLES ==================== */
#navbar {
  background: transparent;
  transition: all 0.5s ease;
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

#navbar.scrolled .nav-link {
  color: #1e3a5f;
}

#navbar.scrolled .nav-link:hover {
  color: #d4a739;
}

#navbar.scrolled .nav-link.active {
  color: #d4a739;
}

/* Navigation Links */
.nav-link {
  position: relative;
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d4a739, #ffc61a);
  transition: width 0.3s ease;
  border-radius: 2px;
}

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

.nav-link:hover {
  color: #d4a739;
}

.nav-link.active {
  color: #d4a739;
}

/* Mobile Navigation */
.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 0.875rem 1rem;
  color: #1e3a5f;
  font-weight: 500;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
  color: #ffffff;
  transform: translateX(5px);
}

.mobile-nav-link i {
  width: 20px;
}

/* ==================== BUTTON STYLES ==================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 58, 95, 0.4);
  background: linear-gradient(135deg, #0d2137, #1e3a5f);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #d4a739, #ffc61a);
  color: #1e3a5f;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 167, 57, 0.4);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 167, 57, 0.5);
  background: linear-gradient(135deg, #b8922e, #d4a739);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: transparent;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-3px);
}

.btn-outline-white-dark {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: transparent;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-outline-white-dark:hover {
  background: #ffffff;
  color: #1e3a5f;
  border-color: #ffffff;
  transform: translateY(-3px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: #ffffff;
  color: #1e3a5f;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Glow Animation for Button */
.glow-animation {
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  0% {
    box-shadow:
      0 0 5px #ffffff,
      0 0 10px #ffffff,
      0 0 15px #d4a739;
  }
  100% {
    box-shadow:
      0 0 10px #ffffff,
      0 0 20px #ffffff,
      0 0 30px #d4a739,
      0 0 40px #d4a739;
  }
}

/* ==================== HERO SECTION STYLES ==================== */
.hero-gradient {
  background: linear-gradient(135deg, #1e3a5f 0%, #0d2137 50%, #1a365d 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Hero Text Animation */
.hero-text-animate {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating Shapes */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 20s ease-in-out infinite;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #d4a739, #ffc61a);
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #ffffff, #e0e0e0);
  top: 60%;
  left: 15%;
  animation-delay: 2s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #2563eb, #1e3a5f);
  top: 20%;
  right: 10%;
  animation-delay: 4s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #d4a739, #ffc61a);
  bottom: 20%;
  right: 20%;
  animation-delay: 6s;
}

.shape-5 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #ffffff, #e0e0e0);
  bottom: 10%;
  left: 40%;
  animation-delay: 8s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(30px, -30px) rotate(5deg);
  }
  50% {
    transform: translate(-20px, 20px) rotate(-5deg);
  }
  75% {
    transform: translate(20px, 30px) rotate(3deg);
  }
}

/* Glass Card Effect */
.glass-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Float Animation */
.animate-float {
  animation: floatUpDown 6s ease-in-out infinite;
}

@keyframes floatUpDown {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ==================== SERVICE CARDS ==================== */
.service-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid #f0f0f0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1e3a5f, #d4a739);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(30, 58, 95, 0.15);
  border-color: transparent;
}

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

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  color: #ffffff;
  transition: all 0.3s ease;
}

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

/* ==================== GOAL CARDS ==================== */
.goal-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 1.5rem;
  transition: all 0.4s ease;
}

.goal-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.goal-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #d4a739, #ffc61a);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: #1e3a5f;
  transition: all 0.3s ease;
}

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

/* Progress Bar Animation */
.progress-bar {
  transition: width 2s ease-out;
}

/* ==================== SCHOLARSHIP BANNER ==================== */
.scholarship-banner {
  position: relative;
}

.scholarship-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
  pointer-events: none;
}

/* ==================== STATS SECTION ==================== */
.counter {
  font-variant-numeric: tabular-nums;
}

/* ==================== PARTICLES ==================== */
.particle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(212, 167, 57, 0.5);
  border-radius: 50%;
  animation: particleFloat 15s infinite;
}

.particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 12s;
}

.particle:nth-child(2) {
  top: 60%;
  left: 20%;
  animation-delay: 2s;
  animation-duration: 15s;
  width: 15px;
  height: 15px;
}

.particle:nth-child(3) {
  top: 30%;
  left: 70%;
  animation-delay: 4s;
  animation-duration: 18s;
  width: 8px;
  height: 8px;
}

.particle:nth-child(4) {
  top: 70%;
  left: 80%;
  animation-delay: 6s;
  animation-duration: 14s;
  width: 12px;
  height: 12px;
}

.particle:nth-child(5) {
  top: 50%;
  left: 50%;
  animation-delay: 8s;
  animation-duration: 16s;
}

@keyframes particleFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
  25% {
    transform: translate(100px, -50px) scale(1.2);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50px, 100px) scale(0.8);
    opacity: 0.3;
  }
  75% {
    transform: translate(-100px, -100px) scale(1.1);
    opacity: 0.6;
  }
}

/* ==================== FOOTER STYLES ==================== */
.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(212, 167, 57, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4a739;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: linear-gradient(135deg, #d4a739, #ffc61a);
  color: #1e3a5f;
  transform: translateY(-3px);
}

.footer-link {
  color: #9ca3af;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.footer-link:hover {
  color: #d4a739;
  transform: translateX(5px);
}

/* ==================== SCROLL TO TOP BUTTON ==================== */
#scrollTopBtn.visible {
  opacity: 1;
  visibility: visible;
}

/* ==================== FORM STYLES ==================== */
.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 1rem;
  font-size: 1rem;
  color: #1e3a5f;
  transition: all 0.3s ease;
  outline: none;
}

.form-input:focus {
  border-color: #d4a739;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(212, 167, 57, 0.1);
}

.form-input::placeholder {
  color: #94a3b8;
}

.form-label {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.3s ease;
  background: transparent;
  padding: 0 0.25rem;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: 0;
  font-size: 0.75rem;
  color: #d4a739;
  background: #ffffff;
}

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

.form-textarea ~ .form-label {
  top: 1.25rem;
  transform: translateY(0);
}

.form-textarea:focus ~ .form-label,
.form-textarea:not(:placeholder-shown) ~ .form-label {
  top: -0.5rem;
  transform: translateY(0);
}

/* ==================== TIMELINE STYLES ==================== */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #1e3a5f, #d4a739);
  border-radius: 3px;
}

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

.timeline-item::before {
  content: "";
  position: absolute;
  left: -0.5rem;
  top: 0;
  width: 1rem;
  height: 1rem;
  background: linear-gradient(135deg, #d4a739, #ffc61a);
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 3px #d4a739;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

/* ==================== STEPPER STYLES ==================== */
.stepper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}

.stepper::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: #e2e8f0;
  z-index: 0;
}

.stepper-progress {
  position: absolute;
  top: 24px;
  left: 10%;
  height: 3px;
  background: linear-gradient(90deg, #1e3a5f, #d4a739);
  z-index: 1;
  transition: width 0.5s ease;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.step-number {
  width: 50px;
  height: 50px;
  background: #ffffff;
  border: 3px solid #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.step.active .step-number,
.step.completed .step-number {
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
  border-color: #1e3a5f;
  color: #ffffff;
}

.step.completed .step-number {
  background: linear-gradient(135deg, #10b981, #34d399);
  border-color: #10b981;
}

.step-title {
  font-weight: 600;
  color: #64748b;
  text-align: center;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.step.active .step-title,
.step.completed .step-title {
  color: #1e3a5f;
}

/* ==================== CARD STYLES ==================== */
.info-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

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

.benefit-card {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e3a5f, #d4a739);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(30, 58, 95, 0.2);
}

.benefit-card > * {
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
}

.benefit-card:hover .benefit-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.benefit-card:hover h4,
.benefit-card:hover p {
  color: #ffffff;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.4s ease;
}

/* ==================== CONTACT PAGE STYLES ==================== */
.contact-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  transition: all 0.4s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(30, 58, 95, 0.15);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: #ffffff;
  transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, #d4a739, #ffc61a);
}

/* Map Placeholder */
.map-container {
  border-radius: 1.5rem;
  overflow: hidden;
  height: 400px;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  position: relative;
}

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

/* ==================== PAGE HEADER / BANNER ==================== */
.page-header {
  position: relative;
  padding: 10rem 0 5rem;
  background: linear-gradient(135deg, #1e3a5f 0%, #0d2137 50%, #1a365d 100%);
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  opacity: 0.5;
}

.page-header-content {
  position: relative;
  z-index: 10;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #d4a739;
}

.breadcrumb .separator {
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb .current {
  color: #d4a739;
}

/* ==================== ABOUT PAGE SPECIFIC ==================== */
.mission-card {
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
  color: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.4s ease;
}

.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(30, 58, 95, 0.3);
}

.vision-card {
  background: linear-gradient(135deg, #d4a739, #ffc61a);
  color: #1e3a5f;
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.4s ease;
}

.vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(212, 167, 57, 0.3);
}

.value-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  border: 2px solid #f0f0f0;
  transition: all 0.4s ease;
}

.value-card:hover {
  border-color: #d4a739;
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: #1e3a5f;
  transition: all 0.4s ease;
}

.value-card:hover .value-icon {
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
  color: #ffffff;
  transform: rotate(10deg) scale(1.1);
}

/* ==================== SERVICES PAGE SPECIFIC ==================== */
.service-detail-card {
  background: #ffffff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  transition: all 0.4s ease;
}

.service-detail-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.service-detail-card .service-image {
  height: 200px;
  overflow: hidden;
}

.service-detail-card .service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-detail-card:hover .service-image img {
  transform: scale(1.1);
}

.service-detail-card .service-content {
  padding: 1.5rem;
}

/* ==================== SCHOLARSHIP PAGE SPECIFIC ==================== */
.eligibility-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.eligibility-item:hover {
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transform: translateX(5px);
}

.eligibility-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #10b981, #34d399);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

/* ==================== ANIMATIONS ==================== */
/* Spin Slow */
.animate-spin-slow {
  animation: spin 8s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Bounce Slow */
.animate-bounce-slow {
  animation: bounce 3s infinite;
}

/* Pulse Slow */
.animate-pulse-slow {
  animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Fade In */
.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Slide Up */
.slide-up {
  animation: slideUp 0.5s ease forwards;
}

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

/* Scale In */
.scale-in {
  animation: scaleIn 0.5s ease forwards;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==================== RESPONSIVE STYLES ==================== */
@media (max-width: 1024px) {
  .hero-gradient {
    min-height: auto;
    padding: 8rem 0 4rem;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 8rem 0 3rem;
  }

  .stepper {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stepper::before {
    display: none;
  }

  .step {
    flex-direction: row;
    gap: 1rem;
    width: 100%;
  }

  .step-number {
    margin-bottom: 0;
  }

  .step-title {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .btn-primary,
  .btn-gold,
  .btn-outline-white,
  .btn-white {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }

  .service-card {
    padding: 1.5rem;
  }

  .goal-card {
    padding: 1.5rem;
  }
}

/* ==================== UTILITY CLASSES ==================== */
.text-gradient {
  background: linear-gradient(135deg, #1e3a5f, #d4a739);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
}

.bg-gradient-gold {
  background: linear-gradient(135deg, #d4a739, #ffc61a);
}

.shadow-gold {
  box-shadow: 0 10px 40px rgba(212, 167, 57, 0.3);
}

.shadow-primary {
  box-shadow: 0 10px 40px rgba(30, 58, 95, 0.3);
}

/* Hover Lift Effect */
.hover-lift {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

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

/* Image Zoom on Hover */
.img-zoom {
  overflow: hidden;
}

.img-zoom img {
  transition: transform 0.5s ease;
}

.img-zoom:hover img {
  transform: scale(1.1);
}

/* Underline Animation */
.underline-animation {
  position: relative;
}

.underline-animation::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d4a739, #ffc61a);
  transition: width 0.3s ease;
}

.underline-animation:hover::after {
  width: 100%;
}

/* ==================== LOADING ANIMATION ==================== */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid #f0f0f0;
  border-top-color: #d4a739;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* ==================== ACCORDION STYLES ==================== */
.accordion-item {
  background: #ffffff;
  border-radius: 1rem;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
}

.accordion-header {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.accordion-header:hover {
  background: #f8fafc;
}

.accordion-header.active {
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
  color: #ffffff;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content.active {
  max-height: 500px;
}

.accordion-body {
  padding: 1.5rem;
  color: #64748b;
  line-height: 1.7;
}

/* ==================== TAB STYLES ==================== */
.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  background: #f8fafc;
  border: 2px solid transparent;
  border-radius: 50px;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tab-btn:hover {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #1e3a5f;
}

.tab-btn.active {
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
  color: #ffffff;
  border-color: transparent;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

/* ==================== TOOLTIP ==================== */
.tooltip {
  position: relative;
}

.tooltip::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1rem;
  background: #1e3a5f;
  color: #ffffff;
  font-size: 0.8rem;
  border-radius: 0.5rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
}

.tooltip::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1e3a5f;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.tooltip:hover::before,
.tooltip:hover::after {
  opacity: 1;
  visibility: visible;
}

/* ==================== BADGE STYLES ==================== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
}

.badge-primary {
  background: rgba(30, 58, 95, 0.1);
  color: #1e3a5f;
}

.badge-gold {
  background: rgba(212, 167, 57, 0.1);
  color: #d4a739;
}

.badge-success {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.badge-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.badge-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

@keyframes floatSlow {
  0% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.02);
  }
  100% {
    transform: translateY(0px) scale(1);
  }
}

.animate-float-slow {
  animation: floatSlow 6s ease-in-out infinite;
}
@keyframes zoomIn {
  0% {
    transform: scale(1.2);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.animate-zoom-in {
  animation: zoomIn 1.5s ease-out forwards;
}
@keyframes gradientMove {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 0.5;
  }
}

.animate-gradient {
  animation: gradientMove 4s ease-in-out infinite;
}

/* ==================== SCHOLARSHIP 2026 ADDITIONS ==================== */

/* 5-step stepper override on mobile */
@media (max-width: 768px) {
  .stepper {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
  .stepper::before,
  .stepper-progress {
    display: none;
  }
  .step {
    flex-direction: row;
    gap: 1rem;
    width: 100%;
    align-items: center;
  }
  .step-number {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .step-title {
    text-align: left;
  }
  .step p {
    display: block !important;
  }
}

/* Exam overview grid responsive */
@media (max-width: 480px) {
  .grid.grid-cols-2.sm\\:grid-cols-3.lg\\:grid-cols-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Fee policy & amber boxes */
.bg-amber-50 {
  background-color: #fffbeb;
}
.border-amber-200 {
  border-color: #fde68a;
}
.text-amber-800 {
  color: #92400e;
}
.text-amber-700 {
  color: #b45309;
}
.text-amber-500 {
  color: #f59e0b;
}

/* Container */
.floating-contact {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Base button styling */
.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  font-size: 28px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  text-decoration: none !important;
  position: relative;
}

/* WhatsApp Styling */
.whatsapp {
  background-color: #25d366;
}

/* Phone Styling */
.phone {
  background-color: #007bff;
}

/* Hover Effects */
.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4);
}

/* Pulse Animation for WhatsApp */
.whatsapp {
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Tooltip Labels */
.tooltip {
  visibility: hidden;
  position: absolute;
  right: 75px;
  background: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
}

.floating-btn:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .floating-btn {
    width: 55px;
    height: 55px;
    font-size: 24px;
  }
  .tooltip {
    display: none; /* Hide labels on small screens */
  }
}

/* Container for all 3 buttons */
.floating-stack {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px; /* Space between buttons */
  align-items: center;
}

/* Base style for all 3 buttons */
.floating-btn {
  width: 45px; /* Small size */
  height: 45px; /* Small size */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  font-size: 18px; /* Icon size */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  position: relative;
}

/* WhatsApp Styling */
.whatsapp {
  background-color: #25d366;
}

/* Phone Styling */
.phone {
  background-color: #007bff;
}

/* Scroll Top Styling (Keeps your original gradient) */
.scroll-top {
  background: linear-gradient(to right, #1e3a5f, #d4a739);
}

/* Hover effect for all */
.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
}

/* Visibility for Scroll Top (Controlled by your JS) */
#scrollTopBtn.show {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Tooltips */
.tooltip {
  visibility: hidden;
  position: absolute;
  right: 55px;
  background: #333;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.floating-btn:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

/* Mobile: Make them even slightly smaller */
@media (max-width: 480px) {
  .floating-stack {
    bottom: 15px;
    right: 15px;
    gap: 8px;
  }
  .floating-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .tooltip {
    display: none;
  }
}

/* Vertical Stack for all 3 icons */
.floating-stack {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

/* Small size buttons */
.floating-btn {
  width: 45px !important;
  height: 45px !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  font-size: 20px !important;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.whatsapp {
  background-color: #25d366;
}
.phone {
  background-color: #007bff;
}
/* Scroll top gradient matches your theme */
.scroll-top {
  background: linear-gradient(to right, #1e3a5f, #d4a739);
}

/* Ensure Scroll Top shows only when active */
#scrollTopBtn.show {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Vertical Stack Container */
.floating-stack {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

/* Small size for all 3 buttons */
.floating-btn {
  width: 45px !important;
  height: 45px !important;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  font-size: 18px !important;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.whatsapp {
  background-color: #25d366;
}
.phone {
  background-color: #007bff;
}
.scroll-top {
  background: linear-gradient(to right, #1e3a5f, #d4a739);
}

/* Ensure Scroll Top hides/shows correctly */
#scrollTopBtn.show {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Tooltips (Hidden on Mobile) */
@media (max-width: 768px) {
  .tooltip {
    display: none !important;
  }
  .floating-btn {
    width: 40px !important;
    height: 40px !important;
    font-size: 16px !important;
  }
}

/* Professional Styling for Scholarship Page */
.font-serif {
  font-family: "Georgia", "Times New Roman", serif;
}
.border-primary-900 {
  border-color: #1e3a5f !important;
}
.text-primary-900 {
  color: #1e3a5f !important;
}
.text-gold-600 {
  color: #b8922e;
}
.text-gold-700 {
  color: #9c7c23;
}

/* ==================== NAVBAR STYLES ==================== */
#navbar {
  /* Change from transparent to white */
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  transition: all 0.5s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Soft shadow always visible */
}

/* Force Menu Button (Hamburger) to be Blue */
#menuBtn {
  color: #1e3a5f !important; /* Your primary blue */
  background: rgba(
    30,
    58,
    95,
    0.1
  ) !important; /* Light blue background for the button circle */
}

/* Nav Links default color (so they are visible on white background) */
.nav-link {
  position: relative;
  color: #1e3a5f !important; /* Primary blue */
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

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