/* THIS IS THE HERO SECTION IN THE INDEX PAGE  ***********************************************************************/

.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

@media (max-width: 992px) {
  .hero-section {
    height: 100vh;
  }
}

/* THIS IS THE HERO SECTION IN THE INDEX PAGE  ***********************************************************************/

/* THIS IS THE FORM CARD IN THE INDEX PAGE  ***********************************************************************/

.gmiu-enroll-card {
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  padding: 35px;
  max-width: 550px;
  margin: auto;
  position: relative;
  overflow: hidden;
}

.gmiu-enroll-card::before,
.gmiu-enroll-card::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  z-index: 0;
  opacity: 0.06; /* Slightly lower opacity as they are much larger */
}

.gmiu-enroll-card::before {
  top: -120px;
  left: -120px;
  background: #bc2823;
}

.gmiu-enroll-card::after {
  bottom: -120px;
  right: -120px;
  background: #1e264a;
}

/* Ensure content stays above decorations */
.gmiu-enroll-card > h3,
.gmiu-enroll-card > .nav,
.gmiu-enroll-card > .tab-content {
  position: relative;
  z-index: 1;
}

.gmiu-toggle-pills {
  background: #f4f6f8;
  border-radius: 6px;
  padding: 4px;
}

.gmiu-nav-link {
  border-radius: 6px !important;
  font-weight: 600;
  color: #bc2823 !important;
  transition: 0.3s;
}

.gmiu-nav-link.active {
  background-color: #bc2823 !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(188, 40, 35, 0.2);
}

.gmiu-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e264a;
  margin-bottom: 5px;
  display: block;
}

.gmiu-input {
  border-radius: 6px !important;
  border: 1px solid #DFDFDF !important;
  font-size: 0.9rem !important;
  padding: 10px 12px !important;
}

.gmiu-input:focus {
  border-color: #bc2823 !important;
  box-shadow: 0 0 0 3px rgba(188, 40, 35, 0.1) !important;
  outline: none;
}

.gmiu-captcha-display {
  background: #F5F6FA;
  border: 1px solid #DFDFDF;
  border-radius: 6px;
  padding: 8px;
  text-align: center;
  font-weight: 800;
  color: #1F2937;
}

.gmiu-checkbox:checked {
  background-color: #bc2823;
  border-color: #bc2823;
}

.gmiu-btn-submit {
  background-color: #bc2823;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  border: 1px solid #bc2823;
}

.gmiu-btn-submit:hover {
  background-color: #ffffff;
  border: 1px solid #bc2823;
  transform: translateY(-1px);
  color: #bc2823;
}

.gmiu-info-box {
  text-align: center;
  padding: 40px;
}

.gmiu-info-box h2 {
  font-weight: 800;
  color: #1e293b;
}

.gmiu-info-box p {
  color: #64748b;
}

/* THIS IS THE FORM CARD IN THE INDEX PAGE  ***********************************************************************/

/* THIS IS THE ADMISSION GUIDANCE SECTION IN THE INDEX PAGE  ***********************************************************************/

.nep-clean-section {
  padding: 50px 0 40px;
  background: #F5F6FA;
  color: #1e264a;
}

.nep-accordion {
  max-width: 420px;
}

.nep-acc-item {
  /* border-bottom: 1px solid #DFDFDF; */
  padding: 0px 0;
}

.nep-acc-header {
  width: 100%;
  background: none;
  border: none;
  padding: 10px 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #bc2823;
  text-align: left;
  position: relative;
}

.nep-acc-header::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 1.1rem;
  color: #bc2823;
}

.nep-acc-header:not(.collapsed)::after {
  content: "–";
}

.nep-acc-body {
  font-size: 0.85rem;
  color: #6B7280;
  padding: 4px 0 10px;
  line-height: 1.5;
}

.nep-content-clean {
  max-width: 560px;
}

.nep-small {
  font-size: 0.75rem;
  letter-spacing: 1.2px;
  color: #64748b;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.nep-main {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 25px;
}

.nep-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 25px;
}

.nep-btn-outline {
  padding: 10px 22px;
  border: 1px solid #0f172a;
  color: #0f172a;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.nep-btn-outline:hover {
  background: #0f172a;
  color: #ffffff;
}

.nep-tagline {
  font-size: 1.05rem;
  font-weight: 500;
  color: #475569;
}

.nep-inquiry {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  font-size: 1rem;
}

.nep-inquiry a {
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
}

/* THIS IS THE ADMISSION GUIDANCE SECTION IN THE INDEX PAGE  ***********************************************************************/

/* THIS IS THE GMIU EVENTS SECTION IN THE INDEX PAGE  ***********************************************************************/

.gmiu-events-section {
  background: linear-gradient(
    120deg,
    #1e264a 0%,
    /* dark blue - left */ #1F2937 45%,
    /* dark gray transition */ #bc2823 100% /* brand red - right */
  );
}

.gradient-text-reverse {
  background: #bc2823;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.events-title {
  color: #fff;
  font-size: clamp(30px, 6vw, 76px);
  font-weight: 600;
  text-align: center;
}

/* Image behavior */
.event-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* THIS IS THE GMIU EVENTS SECTION IN THE INDEX PAGE  ***********************************************************************/

/* THIS IS THE STATS / NUMBER SECTION IN THE INDEX PAGE  ***********************************************************************/

.stats-section {
  background: #F5F6FA;
  padding: 80px 20px;
}

.stats-container {
  max-width: 1250px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 35px;
  text-align: center;
}

.stat-card {
  position: relative;
  padding: 40px 25px 35px;
  border-radius: 16px;
  background: #ffffff;
  /* border: 1px solid #DFDFDF; */
  /* ✅ border added for definition against off-white */
  backdrop-filter: blur(6px);
  transition: all 0.35s ease;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #bc2823, #1e264a);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.35s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(188, 40, 35, 0.1);
}

.stat-card:hover::before {
  opacity: 0.07;
}

/* Icon badge */
.stat-card i {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #bc2823, #1e264a);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
  box-shadow: 0 10px 25px rgba(188, 40, 35, 0.35);
}

/* Counter */
.stat-card h3 {
  font-size: 46px;
  font-weight: 800;
  color: #1e264a;
  margin: 0;
  letter-spacing: -1px;
}

.stat-card h3::after {
  content: "+";
  font-size: 28px;
  margin-left: 2px;
  color: #bc2823;
}

/* Label */
.stat-card p {
  margin-top: 10px;
  font-size: 15px;
  color: #6b7280;
  font-weight: 600;
  line-height: 1.4;
}

/* 📱 Mobile layout ONLY */
@media (max-width: 768px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Center the last card */
  .stat-card:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 260px;
  }

  .stat-card h3 {
    font-size: 28px;
  }

  .stat-card h3::after {
    font-size: 18px;
  }
}

/* THIS IS THE STATS / NUMBER SECTION IN THE INDEX PAGE  ***********************************************************************/

/* THIS IS GMIU TOUR IN THE INDEX PAGE  ***********************************************************************/

.image-hover-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  text-decoration: none;
}

.image-hover-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.hover-text {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  padding: 10px 20px;
  font-size: 3.5rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  white-space: nowrap;
}

.image-hover-wrapper:hover .hover-text {
  opacity: 1;
}

.mobile-text {
  display: none;
}

/* 📱 Responsive Adjustments */
@media (max-width: 767.98px) {
  .hover-text {
    display: none;
  }

  .mobile-text {
    display: block;
  }
}

@media (max-width: 480px) {
  .hover-text {
    display: none;
  }

  .mobile-text {
    display: block;
  }
}

/* THIS IS GMIU TOUR IN THE INDEX PAGE  ***********************************************************************/

/* THIS IS CENTER CARDS SECTION IN THE INDEX PAGE  ***********************************************************************/

.center-list-section {
  background: #f9fafb;
  padding: 70px 20px;
}

/* Heading */
.center-list-title {
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 45px;
}

.center-list-title::after {
  content: "";
  width: 70px;
  height: 3px;
  background: #dc3545;
  display: block;
  margin: 12px auto 0;
}

/* ✅ FLEX layout – centers remaining cards dynamically */
.center-list-grid {
  max-width: 1400px;
  margin: auto;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* ⭐ THIS fixes your issue */
  gap: 28px;
}

/* Card */
.center-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(220, 53, 69, 0.25);
  overflow: hidden;
  transition: all 0.35s ease;

  max-width: 320px;
  /* enables max 4 per row */
  width: 100%;
  text-align: center;
}

.center-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(30, 38, 74, 0.1);
}

/* Header */
.center-card-header {
  background: #F5F6FA;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.center-card-header i {
  color: #bc2823;
  font-size: 20px;
}

.center-card-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1e264a;
  margin: 0;
}

/* Body */
.center-card-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 10px;
  text-align: center;
}

.info-row i {
  color: #bc2823;
  width: 16px;
}

.info-row a {
  color: #1e264a;
  font-weight: 600;
  text-decoration: none;
}

/* Footer */
.center-card-footer {
  padding: 14px 18px;
  border-top: 1px dashed #DFDFDF;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.center-card-footer a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #DFDFDF;
  color: #1e264a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
}

.center-card-footer a:hover {
  background: #bc2823;
  border-color: #bc2823;
  color: #ffffff;
}

/* THIS IS CENTER CARDS SECTION IN THE INDEX PAGE  ***********************************************************************/

/* THIS IS GIRLS COLLEGE SECTION IN THE INDEX PAGE  ***********************************************************************/

.girls-college-section {
  min-height: 100vh;
  background: #ffffff;
  display: flex;
  align-items: center;
  padding: 0 6%;
  margin: 10px 0px;
}

/* Container */
.girls-college-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 80px;
}

/* Image */
.girls-college-image img {
  height: 560px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* Content wrapper */
.girls-college-content {
  position: relative;
  padding-left: 26px;
  color: #0d1c39;
}

/* Accent bar */
.girls-college-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 85%;
  background: linear-gradient(to bottom, #dc3545, rgba(220, 53, 69, 0.2));
  border-radius: 2px;
}

/* Heading */
.girls-college-content h2 {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 22px;
  color: #0d1c39;
}

.girls-college-content h2 span {
  color: #bc2823;
}

/* Paragraph */
.girls-college-content p {
  font-size: 18px;
  line-height: 1.9;
  color: #6B7280;
  max-width: 620px;
  margin-bottom: 38px;
}

/* Button */
.girls-college-btn {
  display: inline-block;
  padding: 16px 44px;
  border: 2px solid #bc2823;
  color: #bc2823;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  background: transparent;
  transition: all 0.35s ease;
}

.girls-college-btn:hover {
  background: #bc2823;
  color: #ffffff;
  transform: translateY(-2px);
}

/* 📱 Mobile Optimization */
@media (max-width: 768px) {
  .girls-college-section {
    min-height: auto;
    padding: 70px 20px;
  }

  .girls-college-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .girls-college-image {
    display: none;
  }

  .girls-college-content {
    padding-left: 0;
  }

  .girls-college-content::before {
    display: none;
  }

  .girls-college-content h2 {
    font-size: 32px;
  }

  .girls-college-content p {
    font-size: 16px;
  }
}

/* 🖥 Large screens */
@media (min-width: 1400px) {
  .girls-college-image img {
    height: 620px;
  }
}

/* THIS IS GIRLS COLLEGE SECTION IN THE INDEX PAGE  ***********************************************************************/

/* TESTIMONIAL SECTION ***********************************************************************/
.testimonial-section {
  background: #F5F6FA;
  padding: 100px 0;
  overflow: hidden;
}

.testimonial-container {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-slide {
  padding: 40px 20px;
}

.testimonial-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-img-bg {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #bc2823 0%, transparent 70%);
  opacity: 0.1;
  border-radius: 50%;
  z-index: 0;
}

.testimonial-img {
  max-height: 500px;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.testimonial-quote-icon {
  font-size: 60px;
  color: #bc2823;
  opacity: 0.2;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e264a;
  line-height: 1.6;
  margin-bottom: 30px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #bc2823;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.author-meta {
  font-size: 0.9rem;
  font-weight: 700;
  color: #6B7280;
  margin-top: 5px;
}

.carousel-indicators [data-bs-target] {
  background-color: #bc2823;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 6px;
}

/* 📱 Mobile Adjustments */
@media (max-width: 991px) {
  .testimonial-section {
    padding: 60px 0;
  }
  .testimonial-slide {
    text-align: center;
  }
  .testimonial-image-wrapper {
    margin-bottom: 40px;
  }
  .testimonial-img {
    max-height: 350px;
  }
  .testimonial-text {
    font-size: 1.2rem;
  }
}

/* GLOBAL OVERRIDES FOR BRAND CONSISTENCY */
.text-danger {
  color: #bc2823 !important;
}

.border-danger {
  border-color: #bc2823 !important;
}

.btn-danger {
  background-color: #bc2823 !important;
  border-color: #bc2823 !important;
}

.btn-danger:hover {
  background-color: #ffffff !important;
  color: #bc2823 !important;
  border-color: #bc2823 !important;
}

.btn-outline-danger {
  color: #bc2823 !important;
  border-color: #bc2823 !important;
}

.btn-outline-danger:hover {
  background-color: #bc2823 !important;
  color: #ffffff !important;
}
