/* ============================================================
   NCM Theme – Hero & Slider Styles
   ============================================================ */

/* --- Hero Slider Section --- */
.hero-slider-section {
  position: relative;
  overflow: hidden;
}

.hero-swiper {
  width: 100%;
}

.hero-swiper .swiper-slide {
  position: relative;
  overflow: hidden;
}

/* --- Slide Background (image sets natural height) --- */
.hero-slide-bg {
  position: relative;
  width: 100%;
  line-height: 0;
}
.hero-slide-bg img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- Slide Overlay --- */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(15, 36, 64, 0.88) 0%,
    rgba(27, 58, 92, 0.65) 50%,
    rgba(27, 58, 92, 0.4) 100%
  );
}

/* --- Slide Content (overlaid on image) --- */
.hero-slide-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 80px 0;
}
.hero-slide-content .container {
  width: 100%;
}
.hero-slide-content .col-lg-7 {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}
.swiper-slide-active .hero-slide-content .col-lg-7 {
  opacity: 1;
  transform: translateY(0);
}

/* --- Eyebrow --- */
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

/* --- Title --- */
.hero-title {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

/* --- Subtitle / Text --- */
.hero-text {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
}

/* --- Hero Buttons --- */
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Primary button — Gold solid */
.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background-color: var(--gold);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.hero-btn-primary:hover {
  background-color: #B5842A;
  border-color: #B5842A;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

/* Outline button — White border */
.hero-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background-color: rgba(255,255,255,0.1);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.hero-btn-outline:hover {
  border-color: var(--white);
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Hero Navigation Arrows --- */
.hero-nav-arrows {
  position: absolute;
  bottom: 40px;
  right: 60px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-arrow {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.hero-arrow:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  transform: scale(1.08);
}

/* --- Swiper Pagination (Hero) --- */
.hero-swiper .swiper-pagination {
  bottom: 40px !important;
  left: 60px !important;
  text-align: left;
  width: auto !important;
}
.hero-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.4);
  opacity: 1;
  margin: 0 5px !important;
  transition: all var(--transition);
}
.hero-swiper .swiper-pagination-bullet-active {
  background-color: var(--gold);
  width: 32px;
  border-radius: 6px;
}

/* --- Swiper Fade Effect --- */
.hero-swiper .swiper-slide {
  opacity: 0 !important;
  transition: opacity 0.6s ease;
}
.hero-swiper .swiper-slide-active {
  opacity: 1 !important;
}

/* ============================================================
   Inner Page Hero (About, Contact, MBBS, FAQ, Fees, etc.)
   ============================================================ */
.ncm-hero-inner {
  position: relative;
  background: linear-gradient(135deg, #0F2440 0%, #1B3A5C 60%, #234B73 100%);
  padding: 100px 0 60px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
}

/* Decorative overlay pattern */
.ncm-hero-inner::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.03'%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");
  pointer-events: none;
}

/* Decorative circles */
.ncm-hero-inner::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: var(--gold);
  opacity: 0.08;
  pointer-events: none;
}

.ncm-hero-inner .hero-inner-shape {
  position: absolute;
  bottom: -40px;
  left: 10%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-color: var(--orange);
  opacity: 0.06;
  pointer-events: none;
}

.ncm-hero-inner .container {
  position: relative;
  z-index: 1;
}

.ncm-hero-inner .hero-eyebrow {
  color: var(--gold);
  margin-bottom: 12px;
}

.ncm-hero-inner .hero-inner-title {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.ncm-hero-inner .hero-inner-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 0;
}

/* ============================================================
   Breadcrumb Bar (below inner hero)
   ============================================================ */
.ncm-breadcrumb {
  background-color: var(--light-gray);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.ncm-breadcrumb .breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: var(--gray);
}

.ncm-breadcrumb .breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ncm-breadcrumb .breadcrumb-list li a {
  color: var(--navy);
  font-weight: 500;
  transition: color var(--transition);
  text-decoration: none;
}
.ncm-breadcrumb .breadcrumb-list li a:hover {
  color: var(--gold);
}

.ncm-breadcrumb .breadcrumb-list li .breadcrumb-sep {
  color: var(--border);
  font-size: 11px;
}

.ncm-breadcrumb .breadcrumb-list li.active {
  color: var(--text);
  font-weight: 500;
}

.ncm-breadcrumb .breadcrumb-list li i {
  font-size: 14px;
}

/* ============================================================
   Stats Bar (below hero on homepage)
   ============================================================ */
.hero-stats-bar {
  position: relative;
  z-index: 5;
  margin-top: -40px;
}

.hero-stats-bar .stats-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.hero-stats-bar .stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.hero-stats-bar .stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.hero-stats-bar .stat-value {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-navy);
  line-height: 1.2;
  margin-bottom: 2px;
}

.hero-stats-bar .stat-label {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.3;
}

.hero-stats-bar .stat-divider {
  width: 1px;
  height: 48px;
  background-color: var(--border);
}

/* ============================================================
   Campus Swiper
   ============================================================ */
.campus-section {
  overflow: hidden;
}

.campus-swiper {
  padding: 20px 0 60px;
  overflow: visible;
}
.campus-swiper .swiper-slide {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), opacity var(--transition);
  opacity: 0.6;
  transform: scale(0.88);
}
.campus-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}
.campus-swiper .swiper-slide img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.campus-swiper .swiper-slide:hover img {
  transform: scale(1.05);
}

.campus-pagination {
  text-align: center;
  margin-top: 24px;
}
.campus-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: var(--navy);
  opacity: 0.25;
  margin: 0 5px;
  transition: all var(--transition);
}
.campus-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background-color: var(--gold);
  width: 28px;
  border-radius: 5px;
}

/* ============================================================
   Testimonial Card & Swiper
   ============================================================ */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  position: relative;
  height: 100%;
  transition: all var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-sm);
}

.testimonial-card .testimonial-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--light-gray);
}

.testimonial-card .testimonial-quote {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-card .testimonial-quote::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 48px;
  color: var(--gold);
  line-height: 0;
  vertical-align: -16px;
  margin-right: 4px;
}

.testimonial-card .testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-card .testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-card .testimonial-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 2px;
}
.testimonial-card .testimonial-role {
  font-size: 13px;
  color: var(--gray);
}

/* Testimonial Swiper */
.testimonial-swiper {
  padding-bottom: 60px;
}
.testimonial-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: var(--navy);
  opacity: 0.25;
  margin: 0 5px;
  transition: all var(--transition);
}
.testimonial-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background-color: var(--gold);
  width: 28px;
  border-radius: 5px;
}

/* ============================================================
   Hero + Floating Enquiry Form Overlay (Home Page)
   ============================================================ */
.hero-enquiry-wrapper {
  position: relative;
}
.hero-enquiry-wrapper .hero-slider-section {
  /* ensure the hero gets adequate space */
}
.hero-enquiry-overlay {
  position: relative;
  z-index: 10;
  margin-top: -120px;
  padding-bottom: 60px;
}
.hero-enquiry-overlay .container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.hero-enquiry-overlay .hero-enquiry-text {
  flex: 1;
  min-width: 0;
}
.hero-enquiry-overlay .hero-enquiry-form {
  flex: 0 0 420px;
  max-width: 420px;
}
.hero-enquiry-overlay .hero-enquiry-form .floating-form-card {
  position: relative;
  top: auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.06);
}

@media (max-width: 991px) {
  .hero-enquiry-overlay {
    margin-top: -60px;
    padding-bottom: 40px;
  }
  .hero-enquiry-overlay .container {
    flex-direction: column;
  }
  .hero-enquiry-overlay .hero-enquiry-form {
    flex: 1 1 auto;
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .hero-enquiry-overlay {
    margin-top: -40px;
    padding-bottom: 32px;
  }
}

/* ============================================================
   Hero Floating Enquiry Bar (bottom of hero, overlapping)
   ============================================================ */
.hero-enquiry-bar {
  position: relative;
  z-index: 10;
  transform: translateY(-93px);
  max-width: 1400px;
  margin: auto;
}

.hero-enquiry-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 28px 32px;
}

.hero-enquiry-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.hero-enquiry-header i {
  color: var(--gold);
  font-size: 20px;
}
.hero-enquiry-header strong {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--dark-navy);
}
.hero-enquiry-header span {
  font-size: 13px;
  color: var(--gray);
  margin-left: 4px;
}

.hero-form-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.hero-form-row .ncm-field-group {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}
.hero-form-row input,
.hero-form-row select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #e0e3e8;
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--dark-navy);
  background: var(--white);
  transition: border-color var(--transition);
  height: 44px;
}
.hero-form-row input:focus,
.hero-form-row select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(200,150,46,0.1);
}
.hero-form-row input::placeholder {
  color: #adb5bd;
}

.hero-enquiry-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 32px;
  background: var(--dark-navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  height: 44px;
  flex: 1;
  min-width: 0;
}
.hero-enquiry-submit:hover {
  background: var(--navy);
}

.hero-form-ack {
  margin-top: 12px;
}
.hero-form-ack label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--gray);
  cursor: pointer;
}
.hero-form-ack input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--navy);
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-enquiry-bar {
    margin-top: -40px;
  }
  .hero-enquiry-card {
    padding: 20px;
  }
  .hero-form-row {
    flex-wrap: wrap;
  }
  .hero-form-row .ncm-field-group {
    flex: 1 1 calc(50% - 6px);
  }
  .hero-enquiry-submit {
    flex: 1 1 100%;
  }
}
@media (max-width: 576px) {
  .hero-enquiry-bar {
    margin-top: -30px;
  }
  .hero-form-row .ncm-field-group {
    flex: 1 1 100%;
  }
  .hero-enquiry-submit {
    width: 100%;
  }
}
