/* Global Styles */
body {
  color: #333;
}

.head-logo {
  height: 90px;
  width: 90px;
}

.head-logo-naac {
  height: 90px;
  width: auto;
}

.logo-text-1 {
  font-size: 38px;
  font-weight: bold;
  line-height: 1.1;
  letter-spacing: 2px;
  color: #01356f;
  text-align: start;
  text-wrap: nowrap;
  margin-bottom: 8px !important;
}

.logo-text-2 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 1.5px;
  color: #01356f;
  text-align: start;
  text-wrap: nowrap;
  margin-bottom: 8px !important;
}

.logo-text-3 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  font-style: italic;
  color: #01356f;
  text-align: start;
  text-wrap: nowrap;
}

/* Logo Styling */
.logo-text {
  font-size: 1.2rem;
  line-height: 1.1;
  color: #0d47a1 !important;
  /* Deep Blue matching the design */
}

.logo-subtext {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #0d47a1 !important;
}

.navbar-sticky-wrapper {
  position: sticky !important;
  top: 0 !important;
  z-index: 1050 !important;
  /* higher than content, lower than modal */
  background: #fff;
}

@media (min-width:1024px) and (max-width:1399px) {
  .head-logo {
    height: 70px;
    width: 70px;
  }

  .head-logo-naac {
    height: 80px;
    width: auto;
  }

  .logo-text-1 {
    font-size: 24px;
    letter-spacing: 0.5px;
    margin-bottom: 8px !important;
  }

  .logo-text-2 {
    font-size: 16px;
    font-weight: 600;
    line-height: 0.8;
    letter-spacing: 1.5px;
  }

  .logo-text-3 {
    font-size: 16px;
    font-weight: 800;
    line-height: 0.8;
  }
}

@media (min-width:768px) and (max-width:1023px) {
  .head-logo {
    height: 70px;
    width: 70px;
  }

  .head-logo-naac {
    height: 70px;
    width: auto;
  }

  .logo-text-1 {
    font-size: 18px;
    letter-spacing: 0.5px;
    margin-bottom: 8px !important;
  }

  .logo-text-2 {
    font-size: 12px;
    font-weight: 600;
    line-height: 0.8;
    letter-spacing: 1.5px;
  }

  .logo-text-3 {
    font-size: 13px;
    font-weight: 800;
    line-height: 0.8;
  }

  .mail-phone a {
    font-size: 10px;
  }
}

@media (max-width:1023px) {
  .header-section {
    position: sticky;
    top: 0;
    z-index: 1050;
  }

}

/* Navigation Links */
.navbar-nav .nav-link {
  color: #1a1a1a;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #0044cc;
  /* Lighter blue for interaction */
  font-weight: 600;
}

/* Contact Button */
.contact-btn {
  background-color: #003399;
  /* Strong Blue */
  border-color: #003399;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 51, 153, 0.2);
}

.contact-btn:hover {
  background-color: #002266;
  border-color: #002266;
  transform: translateY(-1px);
  box-shadow: 0 6px 8px rgba(0, 51, 153, 0.3);
}

/* Mobile Adjustments */
/* Mobile Adjustments (Offcanvas & Hero) */
/* Mobile Adjustments (Offcanvas & Hero) */
@media (max-width: 991px) {

  /* Offcanvas */
  .offcanvas {
    max-width: 80%;
    border-radius: 0;
  }

  .offcanvas-header {
    background: #f8fbff;
    padding: 10px;
    border-bottom: 1px solid #e3f2fd;
  }

  .navbar-nav .nav-link {
    padding: 10px !important;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
  }

  /* Hero Section - Tablet/Mobile */
  .hero-bg {
    min-height: auto;
    padding: 3rem 1.5rem !important;
    /* Balanced padding */
    text-align: center;
    background-position: center;
  }



  .hero-bg h1 {
    font-size: 2rem;
    line-height: 1.25;
  }

  .hero-bg p.lead {
    margin: 0 auto 1.5rem auto;
    /* Center paragraph */
    font-size: 0.95rem !important;
    line-height: 1.6;
    max-width: 90%;
  }

  .stats-container {
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 2.5rem;
    gap: 1.25rem !important;
  }

  .admission-card {
    margin-top: 2rem;
    text-align: left !important;
    border-radius: 20px;
  }
}

@media (max-width: 576px) {

  /* Small Mobile */
  .hero-bg {
    padding: 2.5rem 1rem !important;
    border-radius: 15px !important;
  }

  .hero-bg h1 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
  }

  .stat-circle {
    width: 75px;
    height: 75px;
  }

  .stat-circle span.fs-5 {
    font-size: 0.85rem !important;
  }

  .stat-circle span.small {
    font-size: 0.6rem !important;
  }

  .hero-bg .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

.cursor-pointer {
  cursor: pointer;
}

/* ================= Hero Section ================= */
.hero-section {
  background-color: #fff;
  padding-bottom: 2rem;
  /* Reduced bottom padding */
}

/* The blue card container */
.hero-bg {
  background: linear-gradient(135deg,
      #071a33 0%,
      #0b2c5a 35%,
      #0e3b73 65%,
      #0a456f 100%);


  position: relative;
  min-height: 450px;
  /* Reduced from 600px */
  border-radius: 20px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Green highlight text */
.text-success {
  color: #2ed573 !important;
  font-weight: 700;
}

/* Buttons in Hero */
.hero-bg .btn-light {
  background: #fff;
  border: none;
  color: #0d47a1;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 1rem !important;
  /* Slightly smaller buttons */
}

.hero-bg .btn-light.text-success {
  color: #2ed573 !important;
}

/* Stats Circle */
.stats-container {
  margin-top: 2rem;
  /* Reduced margin */
}

.stat-circle {
  width: 85px;
  /* Smaller stats */
  height: 85px;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease;
  padding: 10px !important;
}

.stat-circle:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

/* Student Image Styling (Grid Method) */
.student-col-wrapper {
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  min-height: 480px;
  /* Aligns with hero section height */
}

.hero-student-img {
  max-width: 140%;
  /* Allows image to overlap column slightly for design flow */
  height: auto;
  max-height: 520px;
  object-fit: contain;
  margin-bottom: -40px;
  /* 3D pop-out effect at the bottom */
  filter: drop-shadow(0 15px 45px rgba(0, 0, 0, 0.45));
  z-index: 5;
}

@media (min-width: 992px) {
  .hero-bg {
    overflow: visible !important;
  }
}

/* ================= Explore Our Programs Section ================= */
.programs-section {
  background-color: #f8fafc;
  position: relative;
  overflow: hidden;
}

/* Background Icons Decor */
.programs-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M10 10l5 5m10 0l-5 5" stroke="rgba(13, 71, 161, 0.03)" stroke-width="2" fill="none"/></svg>');
  opacity: 0.5;
  pointer-events: none;
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 10px;
}

.section-title {
  color: #0d47a1;
  font-weight: 700;
  display: inline-block;
  position: relative;
}

/* Custom Heading Underline using PNG */
.heading-underline {
  width: 150px;
  height: 12px;
  background-image: url("../images/heading-underline.png");
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: 5px;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 8px;
  border: 1.5px solid #e2e8f0;
  background: white;
  color: #64748b;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn:hover {
  border-color: #0d47a1;
  color: #0d47a1;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: #0d47a1;
  color: white;
  border-color: #0d47a1;
  box-shadow: 0 4px 12px rgba(13, 71, 161, 0.2);
}

/* Program Cards Grid Container */
.programs-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding-right: 40px;
  /* Space for the custom scrollbar on the right */
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 25px;
  max-height: 520px;
  /* Fixed height for scrolling */
  overflow-y: auto;
  padding: 15px 5px;
  scrollbar-width: none;
  /* Hide default scrollbar for Firefox */
  background-color: #fff;
}

.programs-grid::-webkit-scrollbar {
  display: none;
  /* Hide default scrollbar for Chrome/Safari */
}

/* Custom Scrollbar Rail */
.scroll-rail {
  position: absolute;
  right: 10px;
  top: 15px;
  bottom: 15px;
  width: 8px;
  background: #f1f5f9;
  border-radius: 10px;
}

.scroll-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #0d47a1;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.program-card {
  background: #f3f7fa;
  /* Light off-white background from design */
  border-radius: 28px;
  padding: 40px 25px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  cursor: pointer;
}

.program-card:hover {
  background: #0d47a1;
  /* Solid blue on hover */
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(13, 71, 161, 0.3);
}

.program-icon-wrapper {
  width: 90px;
  height: 90px;
  background: linear-gradient(180deg,
      #0d47a1 0%,
      #002159 100%);
  /* Gradient from design */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.8rem;
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(13, 71, 161, 0.2);
}

.program-card:hover .program-icon-wrapper {
  background: #ffffff;
  /* White circle on hover */
  color: #0d47a1;
  /* Blue icon on hover */
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.program-name {
  color: #0d47a1;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.4;
  margin: 0;
  transition: color 0.4s ease;
}

.program-card:hover .program-name {
  color: #ffffff;
  /* White text on hover */
}

/* Category indicator (optional or styled subtly) */
.program-category {
  display: none;
  /* Hidden to match design simplicity */
}

/* Search Bar Styling Enhancement */
.search-container {
  max-width: 500px;
  margin: 0 auto 3.5rem;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 12px 20px 12px 45px;
  background-color: #f3f4f6;
  /* Light gray background from design */
  border: 1px solid #d1d5db;
  /* Light border */
  border-radius: 12px;
  font-size: 0.95rem;
  color: #4b5563;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #0d47a1;
  box-shadow: 0 0 0 4px rgba(13, 71, 161, 0.1);
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 1rem;
  pointer-events: none;
}

.search-input::placeholder {
  color: #9ca3af;
}

/* Filter Tabs Enhancement */
.filter-btn {
  border: 1px solid #cbd5e1;
  color: #1e293b;
  border-radius: 8px;
  padding: 8px 20px;
  background: white;
  font-weight: 500;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.filter-btn.active {
  background: #0d47a1;
  color: white;
  border-color: #0d47a1;
}

@media (max-width: 1023px) {
  .programs-wrapper {
    padding-right: 0;
  }

  .scroll-rail {
    display: none;
  }

  .programs-grid {
    max-height: 350px;
    /* Disable scroll for small screens/touch */
    overflow-y: scroll;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .program-card {
    padding: 25px 12px;
    border-radius: 20px;
    gap: 15px;
  }

  .program-icon-wrapper {
    width: 65px;
    height: 65px;
    font-size: 2rem;
  }

  .program-name {
    font-size: 0.9rem;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Tweaks */
@media (max-width: 767px) {

  .filter-tabs {
    justify-content: flex-start;
    overflow-x: scroll;
    padding: 0 15px 15px;
    margin: 0 -15px 2rem;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    white-space: nowrap;
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .search-container {
    margin-bottom: 3rem;
  }

  .program-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
  }
}

/* Admission Form Card (Previous Update) */
.admission-card {
  background: rgba(255, 255, 255, 0.356);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  padding: 1.5rem !important;
  /* Reduced padding from p-4 (which is 1.5rem usually, forcing it smaller if needed) */
}

.admission-card h3 {
  font-size: 1.15rem;
  /* Smaller header */
  margin-bottom: 1rem !important;
  /* Tighter spacing */
}

.admission-card .form-control,
.admission-card .form-select {
  background-color: #ffffff;
  border-radius: 6px;
  border: none;
  padding: 10px 10px;
  /* Smaller padding inputs */
  font-size: 0.85rem;
  color: #333;
  height: auto;
}

.admission-card .form-control:focus,
.admission-card .form-select:focus {
  box-shadow: 0 0 0 3px rgba(46, 213, 115, 0.4);
}

.admission-card label {
  color: #000000;
  font-weight: 600;
  font-size: 0.8rem;
  /* Smaller label */
  margin-bottom: 0px !important;
}

.admission-card .btn-primary {
  background-color: #0d47a1;
  border: none;
  padding: 8px;
  /* Smaller button padding */
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background 0.3s;
  font-size: 0.9rem;
}

.admission-card .btn-primary:hover {
  background-color: #003399;
}

/* ================= Brand Marquee Section ================= */
.marquee-track {
  /* background: linear-gradient(90deg,
      #d9e3f1 0%,
      #d4d5d7 100%); */
  /* Deep Navy Gradient in screenshot */
  white-space: nowrap;
}

.marquee-content {
  display: inline-flex;
  animation: scroll 30s linear infinite;
  width: max-content;
  /* Ensure container fits all content */
}

/* Pause animation on hover */
.marquee-track:hover .marquee-content {
  animation-play-state: paused;
}

/* Animation Keyframes */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-63.33%);
    /* Move 1/3 since we have 3 sets */
  }
}

.brand-logo {
  opacity: 1;

  height: 50px;
}



/* ================= Why Choose Section ================= */
.why-choose-section {
  background-color: #ffffff;
}

.why-choose-img-wrapper {
  position: relative;
  padding: 20px;
}



.title-underline-green {
  width: 150px;
  height: 12px;
  background-image: url("../images/heading-underline.png");
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: 8px;
}

.feature-icon-img {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.feature-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-title {
  color: #0d47a1;
  font-weight: 700;
  font-size: 1.25rem;
}

.feature-text {
  font-size: 1rem;
  line-height: 1.6;
}

.admission-btn {
  background-color: #0d47a1;
  border: none;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.admission-btn:hover {
  background-color: #003399;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(13, 71, 161, 0.3);
}

@media (max-width: 991px) {
  .why-choose-content {
    text-align: center;
  }

  .why-choose-content .section-title,
  .why-choose-content .section-desc {
    text-align: center !important;
  }

  .title-underline-green {
    margin: 5px auto 0;
  }

  .feature-item {
    text-align: left;
  }
}

/* ================= Admission Process Section ================= */
.admission-process-section {
  overflow: hidden;
}

.process-subtitle {

  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.apply-btn {
  background-color: #0d47a1;
  border: none;
  font-weight: 600;
  padding: 14px 35px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.apply-btn:hover {
  background-color: #003399;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(13, 71, 161, 0.3);
}

/* Video Container */
.video-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video-container img {
  transition: transform 0.5s ease;
}

.video-container:hover img {
  transform: scale(1.05);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
}

.play-button {
  width: 80px;
  height: 80px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d47a1;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.2);
}

.play-button:hover {
  transform: scale(1.1);
  background: #0d47a1;
  color: #ffffff;
}

@media (max-width: 768px) {
  .play-button {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.2);
  }

  .video-caption h5 {
    font-size: 0.95rem;
  }

  .video-caption small {
    font-size: 0.75rem;
  }
}

.video-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

/* Process Cards */
.process-card {
  display: flex;
  align-items: flex-start;
  padding: 30px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  transition: all 0.4s ease;
  height: 100%;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.step-number {
  width: 50px;
  height: 50px;
  background: #0d47a1;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin-right: 20px;
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.step-title {
  color: #1e293b;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 1.35rem;
  transition: all 0.4s ease;
}

.step-text {
  color: #64748b;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.6;
  transition: all 0.4s ease;
}

/* Step 01 Hover Effect Style (as seen in design) */
.process-card:hover {
  background: #0d47a1;
  border-color: #0d47a1;
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(13, 71, 161, 0.3);
}

.process-card:hover .step-number {
  background: #ffffff;
  color: #0d47a1;
}

.process-card:hover .step-title {
  color: #ffffff;
}

.process-card:hover .step-text {
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 991px) {
  .process-subtitle {
    font-size: 1.4rem;
  }
}

@media (max-width: 1023px) {
  .admission-steps-swiper .process-card {
    height: 250px !important;

  }

  .process-card {
    display: flex;
    flex-direction: column !important;
    align-items: center !important;
    padding: 10px !important;
    justify-content: center !important;
    gap: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.4s ease;
    height: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }
}

.admission-steps-swiper .process-card {
  height: 160px;
}

/* ================= Career & Placement Section ================= */
.placement-section {
  background-color: #ffffff;
}

.placement-item {
  transition: transform 0.3s ease;
}

.placement-item:hover {
  transform: translateX(10px);
}

.placement-icon-img {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.placement-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.placement-title {
  color: #0d47a1;
  font-weight: 700;
  font-size: 1.1rem;
}

.placement-section .section-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #1e293b;
  font-weight: 500;
}

@media (max-width: 991px) {
  .placement-section {
    text-align: center;
  }

  .placement-section .section-title,
  .placement-section .section-desc {
    text-align: center !important;
    padding-right: 0 !important;
  }

  .placement-section .title-underline-green {
    margin: 8px auto 0;
  }

  .placement-features {
    padding-left: 0 !important;
    display: inline-block;
    text-align: left;
  }

  .placement-title {
    color: #0d47a1;
    font-weight: 700;
    font-size: 1rem;
  }

  .placement-icon-img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
}

/* Student Swiper Styles */
.student-swiper-container {
  overflow: hidden;
  padding-bottom: 30px;
}

.student-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 10px;
  transition: all 0.3s ease;
  height: 320px;
  /* Reduced from 450px */
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.student-card:hover {
  border-color: #0d47a1;
  box-shadow: 0 10px 25px rgba(13, 71, 161, 0.1);
  transform: translateY(-5px);
}

.student-img-wrapper {
  border-radius: 8px;
  overflow: hidden;
  background-color: #f5f5f5;
  height: 100%;
}

.student-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Changed from cover to show full rank/award image */
  background: #f8fbff;
}

.student-name {
  color: #0d47a1;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.student-dept {
  color: #555;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.student-company {
  color: #0d47a1;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Swiper Pagination & Navigation Styling */
.student-swiper-pagination .swiper-pagination-bullet {
  background: #0d47a1;
  opacity: 0.3;
}

.student-swiper-pagination .swiper-pagination-bullet-active {
  background: #0d47a1;
  opacity: 1;
}

.student-swiper-prev,
.student-swiper-next {
  color: #0d47a1;
  background: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.student-swiper-prev:after,
.student-swiper-next:after {
  font-size: 1.2rem;
  font-weight: bold;
}

.student-swiper-prev:hover,
.student-swiper-next:hover {
  background: #0d47a1;
  color: white;
  transform: scale(1.1);
}

.student-swiper-prev {
  left: 0;
}

.student-swiper-next {
  right: 0;
}

@media (max-width: 768px) {
  .student-card {
    height: 300px;
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .student-card {
    height: 320px;
  }
}

/* ================= Life At Jaya Group Section ================= */
.life-section {
  background-color: #ffffff;
}

.life-card {
  transition: all 0.4s ease;
  padding: 10px;
  text-align: center;
}

.life-img-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  aspect-ratio: 4 / 3;
}

.life-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.life-card:hover .life-img-wrapper img {
  transform: scale(1.1);
}

.life-caption {
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.4;
  margin-top: 15px;
}

@media (max-width: 768px) {
  .life-caption {
    font-size: 1rem;
  }
}

/* ================= Testimonials Section ================= */
.testimonials-section {
  background-color: #f8fbff;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 15px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(13, 71, 161, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(13, 71, 161, 0.05);
  display: flex;
  flex-direction: column;
}

.testimonialSwiper .swiper-slide {
  height: auto;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(13, 71, 161, 0.1);
  border-color: #0d47a1;
}

.testimonial-avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #e3f2fd;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  color: #0d47a1;
  font-weight: 700;
  font-size: 1.25rem;
}

.testimonial-text {
  color: #555c68;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
  font-style: italic;
  text-align: justify;
  /* Pushes the rating to the bottom */
}

@media (max-width: 767px) {
  .testimonial-text {
    font-size: 12px;
  }
}

.testimonial-college {
  font-weight: 700;
  color: #0d47a1;
  font-size: 0.85rem;
  margin-top: auto;
  margin-left: auto;
  margin-right: 5px;
}

.testimonial-rating {
  display: none;
}

/* Subtitle for Testimonials */
.section-subtitle {
  font-size: 1.25rem;
  color: #4b5563;
  font-weight: 500;
}

/* Swiper Pagination Styling for Testimonials */
.testimonialSwiper .swiper-pagination-bullet-active {
  background: #0d47a1;
}

/* ================= Footer Section ================= */
.footer-section {
  position: relative;
  background-color: #f1f4f9;
  overflow: hidden;
}

.footer-curve {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.footer-curve svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.footer-curve .shape-fill {
  fill: #ffffff;
}

.footer-content {
  padding-top: 100px !important;
}

.footer-heading {
  color: #0d47a1;
  font-weight: 800;
  font-size: 1.4rem;
}

.contact-icon {
  width: 32px;
  height: 32px;
  background: #0d47a1;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.contact-label {
  color: #0d47a1;
  font-weight: 700;
}

.footer-links li a {
  color: #4b5563;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1.05rem;
}

.footer-links li a:hover {
  color: #0d47a1;
  padding-left: 5px;
}

.footer-bottom {
  background-color: #0d47a1;
}

.map-wrapper {
  border: 4px solid #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

@media (max-width: 991px) {
  .footer-content {
    padding-top: 60px !important;
  }

  .footer-curve svg {
    height: 40px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .footer-content {
    text-align: left;
  }

  .contact-info .d-flex {
    justify-content: flex-start;
    text-align: left;
  }

  .footer-links {
    padding-left: 0;
  }
}

@media (max-width: 767px) {
  .footer-content {
    text-align: left;
  }

  .contact-info .d-flex {
    justify-content: flex-start;
    text-align: left;
  }

  .footer-logo {
    display: flex;
    justify-content: flex-start;
  }

  .footer-heading {
    text-align: left;
  }

  .footer-links {
    padding-left: 0;
  }
}

/* ================= Go to Top Button ================= */
.go-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #0d47a1;
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(13, 71, 161, 0.4);
}

.go-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  bottom: 40px;
}

.go-to-top-btn:hover {
  background-color: #002159;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(13, 71, 161, 0.6);
}

@media (max-width: 767px) {
  .go-to-top-btn.show {
    bottom: 85px;
    /* Stay above mobile bottom nav */
  }
}

/* Floating Actions (Desktop / Tablet) */
.floating-actions {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
}

.fab {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: white;
  text-decoration: none;
  font-size: 1.6rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 0;
  overflow: hidden;
}

.fab i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 0;
  margin: 0;
}

.fab:hover {
  transform: scale(1.1) rotate(5deg);
  color: white;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.fab-whatsapp {
  background-color: #25d366;
}

.fab-enquiry {
  background-color: #0d47a1;
}

.fab-chatbot {
  background-color: #00c6ff;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.1);
  z-index: 700;
  padding: 0 10px;
}

.mobile-bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #4b5563;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  flex: 1;
}

.mobile-bottom-nav .nav-item i {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.mobile-bottom-nav .nav-item:nth-child(1) i {
  color: #0d47a1;
}

/* Enquiry */
.mobile-bottom-nav .nav-item:nth-child(2) i {
  color: #25d366;
}

/* WhatsApp */
.mobile-bottom-nav .nav-item:nth-child(3) i {
  color: #0072ff;
}

/* Chatbot */

.mobile-bottom-nav .nav-item:active {
  transform: scale(0.9);
  opacity: 0.7;
}

/* Adjusting footer padding for mobile bottom nav */
@media (max-width: 767px) {
  body {
    padding-bottom: 70px;
  }

  .admission-steps-swiper .process-card {
    height: 250px !important;
  }

}

.admission-steps-swiper .process-card {
  height: 160px;
}




/* ==============================
   MODAL HEADER & INFO PANEL
================================*/
.admission-modal-header {
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
}

.admission-info {
  background: linear-gradient(160deg, #0d6efd, #084298);
}

/* ==============================
   FORM BASE STYLES
================================*/
.admission-form .form-control,
.admission-form .form-select {
  border-radius: 10px;
  border: 1px solid #dee2e6;
  padding: 0.65rem 0.75rem;
}

/* Focus state */
.admission-form .form-control:focus,
.admission-form .form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, .15);
}

/* ==============================
   VALIDATION STATES
================================*/
/* Error */
.admission-form .form-control.is-invalid,
.admission-form .form-select.is-invalid {
  border-color: #dc3545;
}

/* Success */
.admission-form .form-control.is-valid,
.admission-form .form-select.is-valid {
  border-color: #198754;
}



/* ==============================
   REMOVE BOOTSTRAP TICK / CROSS
   KEEP BORDER COLOR
================================*/
.admission-form .form-control.is-valid,
.admission-form .form-control.is-invalid,
.admission-form .form-select.is-valid,
.admission-form .form-select.is-invalid {
  background-image: none !important;
  padding-right: 0.75rem !important;
}


/* ==============================
   BUTTON INTERACTION
================================*/
.admission-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(13, 110, 253, .3);
}


.admission-form input,
.admission-form textarea {
  border-radius: 10px;
  font-size: 14px !important;
}

button {
  font-weight: 600;
}

/* ==============================
   SHAKE ANIMATION
================================*/
@keyframes shake {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  50% {
    transform: translateX(5px);
  }

  75% {
    transform: translateX(-5px);
  }

  100% {
    transform: translateX(0);
  }
}

.shake {
  animation: shake 0.4s;
}


/* CHATBOT */

.chatbot-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 360px;
  height: 520px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .2);
  display: none;
  flex-direction: column;
  font-family: "Segoe UI", sans-serif;
  z-index: 9999;
}

.chatbot-header {
  background: #0d3b66;
  color: #fff;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header small {
  display: block;
  font-size: 12px;
  opacity: .9;
}

.chatbot-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.chatbot-body {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  background: #f4f7fb;
  overscroll-behavior: contain;
}

.bot-message,
.user-message {
  max-width: 80%;
  padding: 10px 14px;
  margin-bottom: 10px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
}

.bot-message {
  background: #fff;
  align-self: flex-start;
}

.user-message {
  background: #0d3b66;
  color: #fff;
  align-self: flex-end;
}

.choice-btn {
  display: inline-flex;
  width: auto;
  margin-right: 5px;
  padding: 5px;
  margin-top: 8px;
  border: 1px solid #0d3b66;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
}

.choice-btn:hover {
  background: #0d3b66;
  color: #fff;
}

.chatbot-footer {
  padding: 10px;
  display: flex;
  gap: 8px;
  border-top: 1px solid #ddd;
}

.chatbot-footer input {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.chatbot-footer button {
  padding: 10px 14px;
  background: #0d3b66;
  border: none;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
}

@media (max-width: 767px) {
  .chatbot-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 90%;
    height: 80%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .2);
    display: none;
    flex-direction: column;
    font-family: "Segoe UI", sans-serif;
    z-index: 9999;
  }
}

.contact-info-section .contact-info {
  text-decoration: none;
  padding: 6px 12px;
  background-color: #18438b;
  color: #fff;
  font-size: 14px;
}

/* Offcanvas Social Icons */
.social-icon-btn {
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon-btn:hover {
  transform: translateY(-3px);
  filter: brightness(0.95);
}

/* Course Selection Modal Premium Styling */
#courseSelectionModal .modal-content {
  border: none;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  background-color: #ffffff;
  overflow: hidden;
}

#courseSelectionModal .modal-header {
  background: linear-gradient(135deg, #0d47a1 0%, #002159 100%) !important;
  padding: 1rem;
  border-bottom: none;
}

#courseSelectionModal .modal-title {
  color: #ffffff !important;
  font-size: 1.25rem;
  letter-spacing: 0.5px;

}

#courseSelectionModal .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: all 0.3s ease;
}

#courseSelectionModal .btn-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

#courseSelectionModal .modal-body {
  padding: 0.5rem;
  max-height: 450px;
  overflow-y: auto;
}

#courseSelectionModal .list-group-item-action {
  border: 1px solid #f1f5f9 !important;
  background-color: #f8fafc;
  margin-bottom: 10px;
  padding: 1rem 1.25rem;
  border-radius: 12px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#courseSelectionModal .list-group-item-action:hover {
  background: linear-gradient(135deg, #0d47a1 0%, #002159 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px) translateX(4px);
  box-shadow: 0 10px 15px -3px rgba(13, 71, 161, 0.3);
  border-color: transparent !important;
}

#courseSelectionModal .list-group-item-action .fw-medium {
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

#courseSelectionModal .list-group-item-action:hover .fw-medium {
  color: #ffffff !important;
}

#courseSelectionModal .list-group-item-action i {
  transition: all 0.3s ease;
}

#courseSelectionModal .list-group-item-action:hover i {
  color: #ffffff !important;
  transform: translateX(4px);
  opacity: 1 !important;
}

#courseSelectionModal #courseSearchInput {
  padding: 0.5rem 1rem 0.5rem 2rem;
  font-size: 0.95rem;
  border: 1.5px solid #e2e8f0;
  transition: all 0.3s ease;
}

#courseSelectionModal #courseSearchInput:focus {
  background-color: #ffffff !important;
  border-color: #0d47a1 !important;
  box-shadow: 0 0 0 4px rgba(13, 71, 161, 0.1) !important;
}

#courseSelectionModal .search-icon-modal {
  left: 0.8rem;
  color: #94a3b8;
}

/* Custom Scrollbar for Modal */
#courseSelectionModal .modal-body::-webkit-scrollbar {
  width: 6px;
}

#courseSelectionModal .modal-body::-webkit-scrollbar-track {
  background: #f1f5f9;
}

#courseSelectionModal .modal-body::-webkit-scrollbar-thumb {
  background-color: #0d47a1;
  border-radius: 10px;
}

/* Feature & Placement Icon Styling */
.feature-icon-box,
.placement-icon-box {
  width: 48px;
  height: 48px;
  background-color: #eff6ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  border: 1px solid #dbeafe;
}

.feature-item:hover .feature-icon-box,
.placement-item:hover .placement-icon-box {
  background-color: #0d47a1;
  transform: scale(1.1) rotate(5deg);
  border-color: #0d47a1;
}

.feature-item:hover .feature-icon-box i,
.placement-item:hover .placement-icon-box i {
  color: #ffffff !important;
}

.feature-icon-box i,
.placement-icon-box i {
  transition: color 0.3s ease;
}



.youtube-wrapper {
  max-width: 100%;
  position: relative;
}

.youtube-thumb {
  position: relative;
  cursor: pointer;
}

.youtube-thumb img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.play-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.program-card {
  display: none;
}

.program-card.show {
  display: flex;
  animation: fadeIn 0.5s ease forwards;
}
