:root {
  /* Primary & Secondary Navies */
  --primary-navy: #0e2a4e;
  /* Nav, hero, placements */
  --secondary-navy: #152236;
  /* Trust bar, research */
  --bg-dark: #0e2a4e;
  --card-bg: #163154;
  --text-white: #ffffff;
  --text-dim: #8b949e;
  --accent-gold: #c8963e;
  --accent-glow: rgba(200, 150, 62, 0.4);
  --border-color: rgb(255 165 0);
  /* Gold Accents */
  --gold-primary: rgb(255 165 0);
  /* Buttons, borders, numbers */
  --gold-light: #ffa500;
  /* Nav text, hover states */
  --gold-pale: #f7edd8;
  /* Table rows, stat cards */

  /* Backgrounds & Alerts */
  --bg-cream: #f6f2eb;
  /* Page background */
  --bg-white: #ffffff;
  --urgency-red: #b83232;
  /* Badges, urgency tags */

  /* Functional Mappings (Keeping your original naming convention) */
  --primary-blue: var(--primary-navy);
  --accent-gold: var(--gold-primary);
  --accent: var(--gold-primary);
  --text-dark: var(--primary-navy);

  /* Overlay & Hero */
  --overlay-dark: rgba(12, 26, 46, 0.82);
  /* Match primary navy */
  --bottom-bar-bg: rgba(21, 34, 54, 0.6);
  /* Match secondary navy */
  --hero-bg: url("./images/hero2.jpg");

  /* Typography */
  --font-poppins: "Manrope", sans-serif;
  --font-montserrat: "Manrope", sans-serif;
}

h1,
h2,
h3,
.stat-number {
  font-family: var(--font-montserrat);
  font-weight: 500 !important;
  color: var(--primary-navy);
}

.text-warning {
  color: rgb(255 165 0) !important;
}

body,
html {
  margin: 0;
  padding: 0;
  font-family: var(--font-poppins);
  /* Improves rendering of thin fonts on high-res screens */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.hero-section {
  position: relative;
  height: auto;
  background:
    linear-gradient(rgb(7 38 78), #0e2a4dbd, rgb(0 0 0)), var(--hero-bg);
  background-size: cover;
  background-position: center;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
}

/* Glassmorphism style for the form container */
.hero-form-container {
  background: rgba(255,
      255,
      255,
      0.95);
  /* Nearly solid white for readability */
  border-radius: 0px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-form-container h3 {
  color: var(--primary-blue);
  letter-spacing: -0.5px;
}

.beep-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  /* Space for the pulse to expand */
  height: 20px;
  margin-right: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: rgb(255 165 0);
  /* Your brand gold */
  border-radius: 50%;
  z-index: 2;
}

.pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgb(255 165 0);
  border-radius: 50%;
  opacity: 0.6;
  animation: beep-animation 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

.delay-1 {
  animation-delay: 0.5s;
  /* Creates the second "wave" */
}

@keyframes beep-animation {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }

  100% {
    transform: scale(3);
    opacity: 0;
  }
}

/* Optional: Subtle glow on the main dot itself */
.status-dot {
  box-shadow: 0 0 10px #c8963e;
}

/* Matching the form elements to your UI font */
.form-control,
.form-select {
  font-family: var(--font-poppins);
  font-size: 0.9rem;
  padding: 12px;
  border: 1px solid #ddd;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.25rem rgba(0, 48, 87, 0.1);
}

.btn-primary {
  background-color: var(--accent-gold);
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--text-dark);
}

/* Ensure the row doesn't cause horizontal scroll */
.row {
  margin-right: 0;
  margin-left: 0;
}

/* .navbar{
    background-color: var(--bg-white);
} */
/* Email link styling */
.contact-link {
  font-size: 0.9rem !important;
  font-weight: 700;
  color: var(--bg-dark) !important;
  transition: color 0.3s ease;
  font-family: var(--font-montserrat);
}

.contact-link:hover {
  color: var(--accent-gold) !important;
}

/* Apply Now Pill Button */
.apply-btn-pill {
  background-color: #b83232 !important;
  color: var(--bg-white) !important;
  padding: 8px 25px !important;
  border-radius: 5px;
  /* Makes it a pill shape */
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(176, 38, 62, 0.2);
  font-family: var(--font-body);
}

.apply-btn-pill:hover {
  background-color: var(--primary-navy) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 48, 87, 0.2);
}

/* Responsive adjustment for mobile */
@media (max-width: 991px) {
  .navbar-nav {
    padding: 20px 0;
  }

  .apply-btn-pill {
    display: inline-block;
    margin-top: 10px;
  }

  .stats-bar-static {
    width: 100% !important;
    background: rgb(14 42 78);
    border: 1px solid #ffc107;
    border-radius: 5px;
    padding: 25px 0;
  }
}

.hero-text-box h1 {
  font-size: 58px;
  max-width: 900px;
  line-height: 1;
}

.location-text {
  color: var(--accent-gold);
  /* font-weight: 800; */
  letter-spacing: 1px;
  background-color: #ffffff26;
  padding: 3px 18px;
  font-size: 14px;
  border-radius: 40px;
  width: fit-content;
  text-align: center;
  font-family: var(--font-poppins);
  border: 1px solid;
}

/* Bottom Tars Section */
.bottom-bar {
  /* position: absolute; */
  bottom: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid rgb(0, 0, 0);
}

.bar-item {
  padding: 15px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dark) !important;
  border-right: 1px solid rgb(14 42 78);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
  border: 0.8px solid var(--urgency-red);
}

.bar-item:hover {
  background: rgba(2, 48, 105, 0.162);
}

.bar-item.active {
  border-top: 4px solid var(--accent-gold);
  /* Light blue highlight from the image */
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.bar-item:last-child {
  border-right: none;
}

@media (max-width: 768px) {
  .hero-text-box h1 {
    font-size: 35px;
    margin-top: 50px;
    font-weight: 500 !important;
  }

  .ecosystem-con {
    padding-top: 45px;
  }

  .campus-life-theme .display-title {
    font-size: 1.8rem !important;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .bottom-bar {
    position: relative;
    /* Stack on mobile instead of overlay */
  }

  .bar-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .location-text {
    width: 100% !important;
  }

  .hero-section {
    height: auto !important;
  }
}

/* Styling for the Captcha Placeholder */
.captcha-box {
  border: 1px solid #ced4da !important;
  height: 50px;
}

.captcha-box .form-check-input {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

/* Adjust row spacing for the form specifically */
.hero-form-container .row {
  margin-right: -4px;
  margin-left: -4px;
}

.hero-form-container .col-md-6 {
  padding-right: 4px;
  padding-left: 4px;
}

/* Maintain the minimalist Gotham look for all inputs */
.form-control::placeholder {
  color: #888;
  font-weight: 400;
}

.about-section {
  background-color: var(--bg-white);
  font-family: var(--font-poppins);
}

.about-card {
  /* border: 1px solid #e0e0e0; */
  /* */
  background-color: var(--bg-white);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Left Brand Column */
.brand-col {
  /* Use linear-gradient for the overlay, then the image path */
  background:
    linear-gradient(rgb(0 0 0 / 68%), rgb(135 0 24)), url(./images/about.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  height: -webkit-fill-available;
  min-height: 450px;
  /* Recommended to ensure the rotated text fits */
  color: var(--bg-white);
  padding: 2rem;
  overflow: hidden;
  /* Prevents large rotated text from spilling out */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text {
  font-size: 8.6rem;
  font-weight: 900;
  line-height: 1;
  color: rgb(255 255 255 / 25%);
  /* Slight transparency for a digital look */
  text-transform: uppercase;
  /* white-space: nowrap; */
  /* Keeps name on one line when rotated */
  transform: rotate(-90deg);
  z-index: 2;
  /* Ensures text is above the background */
}

.vertical-label {
  position: absolute;
  left: 15px;
  top: 0%;
  /* background-color: rgb(255 165 0); */
  color: var(--text-dark);
  padding: 5px 15px;
  font-size: 24px;
  z-index: 3;
  /* Top layer */
}

/* Right Content Column */
.content-col p {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .brand-col {
    min-height: 200px;
  }

  .brand-text {
    font-size: 3rem;
  }

  .vertical-label {
    position: relative;
    transform: none;
    top: 0;
    left: 0;
    display: inline-block;
    margin-bottom: 1rem;
  }

  .brand-col {
    flex-direction: column;
    align-items: flex-start !important;
  }
}

/* ============================================================================================================================ */
.admission-section {
  padding: 80px 5%;
  background-color: var(--bg-white);
  font-family: var(--font-poppins);
}

.admission-container {
  /* max-width: 1100px; */
  margin: 0 auto;
}

.admission-header h2 {
  font-family: var(--font-montserrat);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin: 10px 0 50px;
  text-transform: uppercase;
  font-weight: 900;
}

.highlight {
  color: var(--accent-gold);
}

/* --- The Seamless Accordion --- */
.admission-accordion {
  border-top: 1px solid var(--primary-blue);
}

.admission-item {
  border-bottom: 1px solid var(--primary-blue);
}

.admission-item input[type="radio"] {
  display: none;
}

.admission-label {
  display: flex;
  align-items: center;
  padding: 30px 0;
  cursor: pointer;
  transition: background 0.3s ease;
}

.panel-num {
  font-family: var(--font-montserrat);
  font-weight: 700;
  color: var(--primary-blue);
  margin-right: 30px;
  font-size: 1rem;
}

.panel-title {
  flex: 1;
  font-family: var(--font-montserrat);
  font-size: 1.3rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Custom Animated Plus Icon */
.panel-plus {
  position: relative;
  width: 24px;
  height: 24px;
}

.panel-plus::before,
.panel-plus::after {
  content: "";
  position: absolute;
  background: var(--accent-gold);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel-plus::before {
  width: 100%;
  height: 2px;
  top: 11px;
  left: 0;
}

.panel-plus::after {
  width: 2px;
  height: 100%;
  left: 11px;
  top: 0;
}

/* THE SMOOTH FIX: Grid-Template-Rows */
.admission-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-wrapper {
  overflow: hidden;
}

/* Checking the Radio Button */
input:checked~.admission-content {
  grid-template-rows: 1fr;
}

input:checked~.admission-label .panel-plus::after {
  transform: rotate(90deg);
  opacity: 0;
}

input:checked~.admission-label .panel-title {
  color: var(--accent-gold);
}

/* Interior Layout */
.content-inner {
  padding: 10px 0 50px 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.panel-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 25px;
}

.admission-cta {
  padding: 14px 35px;
  background: var(--text-dark);
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: background 0.3s;
}

.admission-cta:hover {
  background: var(--accent-gold);
}

.panel-img {
  width: 100%;
  height: 260px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--primary-blue);
  filter: grayscale(1);
  transition: 0.6s;
}

input:checked~.admission-content .panel-img {
  filter: grayscale(0);
}

/* --- Desktop Layout --- */
@media (min-width: 850px) {
  .content-inner {
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }

  .panel-text {
    flex: 1.2;
  }

  .panel-img {
    flex: 1;
    height: 380px;
  }

  .panel-title {
    font-size: 1.8rem;
  }
}

.admission-section.compact-mode {
  padding: 40px 5%;
  /* Reduced top/bottom padding */
  background-color: var(--bg-white);
  font-family: var(--font-poppins);
}

.admission-container {
  margin: 0 auto;
}

.admission-header h2 {
  font-family: var(--font-montserrat);
  font-size: 1.8rem;
  /* Smaller title */
  margin-bottom: 30px;
  text-transform: uppercase;
}

.admission-label {
  padding: 18px 0;
  /* Tighter vertical spacing */
}

.panel-title {
  font-size: 1.1rem;
  /* Smaller, more elegant labels */
  letter-spacing: 0.5px;
}

/* THE SMOOTH FIX: Grid Height Animation */
.admission-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease-out;
}

input:checked~.admission-content {
  grid-template-rows: 1fr;
}

.content-inner {
  padding: 0 0 25px 0;
  /* Reduced interior bottom padding */
  display: flex;
  flex-direction: column;
  gap: 15px;
  /* Tighter gap between text and image */
}

.panel-text p {
  font-size: 0.85rem;
  /* Smaller body text */
  line-height: 1.5;
  margin-bottom: 15px;
}

.admission-cta {
  padding: 8px 20px;
  /* Compact buttons */
  font-size: 0.7rem;
}

.panel-img {
  width: 100%;
  height: 150px;
  /* Significantly shorter image height */
  border-radius: 2px;
}

/* Desktop Compact View */
@media (min-width: 768px) {
  .content-inner {
    flex-direction: row;
    align-items: flex-start;
    /* Align to top to save space */
    gap: 30px;
  }

  .panel-text {
    flex: 1.5;
  }

  .panel-img {
    flex: 1;
    height: 180px;
  }

  /* Slimmer image on desktop */
}

/* Layout Strategy */
.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  /* Stacked on Mobile */
  gap: 60px;
  align-items: start;
}

@media (min-width: 1024px) {
  .split-layout {
    grid-template-columns: 0.8fr 1.2fr;
    /* 2 Columns on Desktop */
  }
}

/* Sidebar Styling */
.admission-sidebar {
  padding-right: 20px;
}

.sidebar-sticky {
  position: sticky;
  top: 40px;
}

.sidebar-title {
  font-family: var(--font-montserrat);
  font-size: 2.2rem;
  line-height: 1.1;
  margin: 15px 0;
  font-weight: 500;
}

.sidebar-desc {
  font-size: 0.9rem;
  color: #393939;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  border-top: 1px solid var(--primary-blue);
  padding-top: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-family: var(--font-montserrat);
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.place-val {
  font-family: var(--font-montserrat);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.stat-lab {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Faculty Avatars */
.faculty-preview p {
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.faculty-avatars {
  display: flex;
  align-items: center;
  gap: -10px;
  /* Overlap effect */
}

.avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-right: -10px;
}

.more-text {
  font-size: 0.7rem;
  margin-left: 20px;
  font-weight: 600;
  color: var(--primary-blue);
}

/* Maintain your existing compact-mode styles below here... */
.admission-accordion {
  border-top: 1px solid var(--primary-blue);
}

/* (Include all the previous admission-item, content-wrapper, and grid-transition CSS here) */
/* ================================================another =================================================================== */
.collab-section {
  padding: 40px 0;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--primary-blue);
  overflow: hidden;
}

.collab-container {
  max-width: 1200px;
  margin: 0 auto;
}

.collab-title {
  text-align: center;
  font-family: var(--font-montserrat);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-gold);
  margin-bottom: 30px;
  font-weight: 500;
}

/* Marquee Container */
.logo-marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right,
      hsl(0 0% 0% / 0),
      hsl(0 0% 0% / 1) 10%,
      hsl(0 0% 0% / 1) 90%,
      hsl(0 0% 0% / 0));
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
  padding: 0 30px;
  min-width: 100%;
  /* The Animation */
  animation: scroll-marquee 30s linear infinite;
}

/* Pause on hover for accessibility */
.logo-marquee:hover .marquee-content {
  animation-play-state: paused;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 20px;
}

.logo-item span {
  font-family: var(--font-montserrat);
  font-weight: 800;
  font-size: 1.1rem;
  /* color: var(--primary-blue); */
  opacity: 0.6;
  white-space: nowrap;
  transition: all 0.3s ease;
}

/* Hover effect to highlight partners */
.logo-item:hover span {
  opacity: 1;
  color: var(--accent-gold);
  transform: scale(1.05);
}

/* Animation Frames */
@keyframes scroll-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-100% - 60px));
  }
}

/* Mobile Tweaks */
@media (max-width: 768px) {
  .marquee-content {
    gap: 40px;
  }

  .logo-item span {
    font-size: 0.9rem;
  }
}

.logo-marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  /* This creates the "fade" edges */
  mask-image: linear-gradient(to right,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 15%,
      rgba(0, 0, 0, 1) 85%,
      rgba(0, 0, 0, 0) 100%);
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  gap: 60px;
  /* Space between logos */
  padding: 0;
  /* Remove side padding to avoid jump */
  min-width: 100%;
  align-items: center;
  justify-content: space-around;

  /* Animation */
  animation: scroll-marquee 10s linear infinite;
}

/* Updated Animation: Move exactly 100% */
@keyframes scroll-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

/* Ensure gap is consistent between the two groups */
.logo-marquee {
  gap: 60px;
}

/* ===========================================================another ======================================================= */
.admission-board {
  position: relative;
  /* Essential for positioning the grids */
  padding: 80px 5%;
  background: #0e2a4e;
  /* Pure black background */
  font-family: var(--font-poppins);
  overflow: hidden;
  /* Prevents the grid from causing scrollbars */
  color: #ffffff;
  /* Assuming white text for contrast */
}

/* Base styles for both grid boxes */
.admission-board::before,
.admission-board::after {
  content: "";
  position: absolute;
  width: 350px;
  /* Size of the grid area */
  height: 350px;
  pointer-events: none;
  /* User can click "through" the grid */
  z-index: 0;

  /* Creating the grid lines */
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.095) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.126) 1px, transparent 1px);
  background-size: 30px 30px;
  /* Size of each square in the grid */

  /* Fades the grid edges so they blend into the black */
  -webkit-mask-image: radial-gradient(circle, black 30%, transparent 80%);
  mask-image: radial-gradient(circle, black 30%, transparent 80%);
}

/* Position Top-Left */
.admission-board::before {
  top: -50px;
  left: -50px;
}

/* Position Bottom-Right */
.admission-board::after {
  bottom: -50px;
  right: -50px;
}

.board-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  /* More space for content side */
  gap: 50px;
  align-items: start;
}

.col-heading {
  font-family: var(--font-montserrat);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold-primary);
  margin-bottom: 30px;
  border-left: 4px solid var(--accent-gold);
  padding-left: 15px;
}

/* --- Eligibility Icon Cards --- */
.eligibility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px;
}

.e-card {
  background: #fff;
  padding: 21px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 20px;
  transition: 0.3s;
}

.e-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  border-color: var(--accent-gold);
}

.e-icon {
  font-size: 1.8rem;
  background: #fdf2f2;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
}

.e-text h4 {
  font-size: 1rem;
  margin: 0 0 10px;
  color: var(--gold-primary);
}

.e-text p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #fff;
  margin: 0;
}

/* --- Mixed Analytics Graph --- */
.placement-analytics {
  background: #fff;
  padding: 10px;
  border: 1px solid #eee;
  margin-bottom: 20px;
}

.legacy-item {
  padding: 20px;
  background: transparent;
  /* Clean background */
  border-left: 3px solid var(--accent-gold);
  /* Solid burgundy line like the image */
  text-align: center;
  /* Ensure no dashed borders are inherited */
  border-top: none;
  border-right: none;
  border-bottom: none;
}

.graph-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.graph-header h4 {
  font-size: 0.9rem;
  margin: 0;
}

.rate-badge {
  background: var(--accent-gold);
  color: #fff;
  padding: 5px 12px;
  font-size: 0.7rem;
  font-weight: 700;
}

.dual-graph {
  height: 150px;
  position: relative;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: flex-end;
}

.bar-group {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
}

.bar {
  width: 40px;
  background: #f0f0f0;
  transition: 0.5s;
  position: relative;
}

.bar:hover {
  background: var(--primary-blue);
}

.trend-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.graph-labels {
  display: flex;
  justify-content: space-around;
  padding-top: 15px;
  font-size: 0.65rem;
  color: #999;
  text-transform: uppercase;
}

/* --- Accreditations Ribbon --- */
.accreditation-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.ribbon-item {
  background: var(--primary-blue);
  color: #fff;
  padding: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gold-primary);
  border-radius: 5px;
}

.ribbon-item strong {
  font-size: 1rem;
  letter-spacing: 1px;
}

.ribbon-item span {
  font-size: 0.6rem;
  opacity: 0.7;
  text-transform: uppercase;
}

/* Mobile */
@media (max-width: 900px) {
  .board-container {
    grid-template-columns: 1fr;
  }

  .eligibility-grid {
    grid-template-columns: 1fr;
  }
}

/* Legacy Stats Strip Styling */
.eligibility-legacy-stats {
  margin-top: 25px;
  background: #ffffff08;
  /* Dark industrial background */
  padding: 17px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-left: 4px solid var(--accent-gold);
}

.stat-item {
  text-align: start;
}

.stat-number {
  font-family: var(--font-montserrat);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 5px;
}

/* Adding a plus sign via CSS */
.stat-number::after {
  content: "+";
  font-size: 1.2rem;
  vertical-align: top;
  margin-left: 2px;
}

.stat-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #888;
  line-height: 1.4;
  font-weight: 600;
}

@media (max-width: 600px) {
  .eligibility-legacy-stats {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

/* ============================================================================================================================ */
.background-grid line {
  stroke: rgba(0, 0, 0, 0.05);
  /* Very minor visibility */
  stroke-width: 1;
}

.revenue-highlight {
  margin-top: 30px;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
}

.rev-header h2 {
  font-family: var(--font-montserrat);
  font-size: 2rem;
  color: #f4a300;
  letter-spacing: -1px;
}

.rev-header h2 span {
  font-size: 1rem;
  color: #fff;
  text-transform: uppercase;
  margin-left: 5px;
}

/* Updated Pill for a cleaner look */
.active-pill {
  position: relative;
  top: 5px;
  bottom: 0;
  width: 32px;
  background: linear-gradient(to bottom,
      rgba(144, 18, 18, 0.05),
      var(--accent-gold));
  border-radius: 20px;
  /* More rounded like the image */
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
  box-shadow: 0 4px 15px rgba(144, 18, 18, 0.1);
}

.pill-value {
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

.wave-axis span {
  font-weight: 500;
  font-size: 0.7rem;
}

* {
  outline: none !important;
}

/* Specifically for your legacy boxes */
.legacy-item,
.stat-item {
  border: none !important;
}

/* =================================================================section==================================================== */
/* ── SECTION ── */
.admission-section {
  margin-top: 30px;
  padding: 0px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

/* .admission-section::before {
    content: 'ADMISSION';
    position: absolute;
    bottom: -30px;
    left: -10px;
    font-family: var(--font-montserrat);
    font-weight: 900;
    font-size: 200px;
    color: rgba(0,0,0,0.04);
    letter-spacing: -4px;
    pointer-events: none;
    white-space: nowrap;
    line-height: 1;
  } */

.section-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 60px;
}

.section-topbar .bar {
  width: 50px;
  height: 4px;
  background: var(--accent-gold);
}

.section-topbar .label {
  font-family: var(--font-montserrat);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.admission-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 35px;
  gap: 40px;
}

.admission-header h2 {
  font-family: var(--font-montserrat);
  font-size: 2.2rem;
  /* font-weight: 900; */
  /* font-weight: 500 !important; */
  color: #0a0a0a;
  line-height: 1;
  text-transform: none;
  letter-spacing: -1px;
}

.admission-header h2 em {
  font-style: normal;
  color: var(--urgency-red);
  /* display: block; */
}

.admission-header p {
  max-width: 340px;
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  flex-shrink: 0;
  border-left: 2px solid var(--accent-gold);
  padding-left: 20px;
}

/* ── STEPS GRID ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

.steps-grid::before {
  content: "";
  position: absolute;
  top: 46px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      var(--accent-gold),
      rgba(176, 38, 62, 0.1));
  z-index: 0;
}

/* ── STEP ITEM ── */
.step-item {
  position: relative;
  padding: 0 24px 0px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.5s ease forwards;
}

.step-item:nth-child(1) {
  animation-delay: 0.05s;
}

.step-item:nth-child(2) {
  animation-delay: 0.15s;
}

.step-item:nth-child(3) {
  animation-delay: 0.25s;
}

.step-item:nth-child(4) {
  animation-delay: 0.35s;
}

.step-item:nth-child(5) {
  animation-delay: 0.45s;
}

.step-item::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: rgba(0, 0, 0, 0.08);
}

.step-item:last-child::after {
  display: none;
}

/* ── NUMBER ── */
.step-number {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  background: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border-radius: 5px;

  transition: background 0.3s;
}

.step-item:hover .step-number {
  background: #0e2a4e;
}

.step-number span {
  font-family: var(--font-montserrat);
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  transition: color 0.3s;
}

.step-item:hover .step-number span {
  color: #fff;
}

/* ── CONTENT ── */
.step-content .step-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--urgency-red);
  display: block;
  margin-bottom: 10px;
}

.step-content h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--urgency-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.step-content p {
  font-size: 13px;
  color: #555;
  line-height: 1.75;
}

.step-item::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.step-item:hover::before {
  transform: scaleX(1);
}

/* ── FOOTER ROW ── */
.admission-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}

.footer-note {
  font-size: 12px;
  color: #999;
  letter-spacing: 0.5px;
}

.footer-note strong {
  color: var(--urgency-red);
  font-weight: 600;
}

.btn-apply {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--accent-gold);
  padding: 14px 36px;
  border: 2px solid var(--accent-gold);
  border-radius: 5px;
  transition:
    background 0.3s,
    color 0.3s;
  cursor: pointer;
}

.btn-apply:hover {
  background: transparent;
  color: var(--accent-gold);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid::before {
    display: none;
  }

  .step-item::after {
    display: none;
  }

  .admission-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .admission-section {
    padding: 60px 24px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .admission-footer {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* ========================================================================================================================= */
/* ═══════════════════════════════
     SECTION SHELL
  ═══════════════════════════════ */
.collab-section {
  background: #fff;
  position: relative;
  overflow: hidden;
}

/* ── TOP HERO BAND ── */
.collab-hero {
  background: #0e2a4e;
  padding: 30px 60px 30px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* animated world-grid background */
.collab-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(176, 38, 62, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(176, 38, 62, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* red diagonal slash */
.collab-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: -80px;
  width: 260px;
  height: 100%;
  background: var(--accent-gold);
  transform: skewX(-8deg);
  opacity: 0.08;
  pointer-events: none;
}

.hero-left {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-eyebrow .bar {
  width: 40px;
  height: 3px;
  background: var(--accent-gold);
}

.hero-eyebrow span {
  font-family: var(--font-montserrat);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.hero-left h2 {
  font-family: var(--font-montserrat);
  font-size: clamp(36px, 4.5vw, 62px);
  font-weight: 500;
  color: #fff;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.hero-left h2 em {
  font-style: normal;
  color: var(--accent-gold);
}

.hero-left p {
  margin-top: 22px;
  font-size: 14px;
  color: #ffffff;
  line-height: 1.85;
  max-width: 420px;
}

/* stat counters */
.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
}

.stat {
  flex: 1;
  padding-right: 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 30px;
}

.stat:first-child {
  padding-left: 0;
}

.stat-num {
  font-family: var(--font-montserrat);
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.stat-num sup {
  font-size: 20px;
  color: var(--accent-gold);
  vertical-align: super;
}

.stat-label {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #555;
}

/* right side — partner flags grid */
.hero-right {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.partner-flag {
  aspect-ratio: 3/2;
  background: #f4a300;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition:
    background 0.25s,
    border-color 0.25s;
  cursor: default;
  opacity: 0;
  animation: popIn 0.4s ease forwards;
}

.partner-flag:nth-child(1) {
  animation-delay: 0.05s;
}

.partner-flag:nth-child(2) {
  animation-delay: 0.1s;
}

.partner-flag:nth-child(3) {
  animation-delay: 0.15s;
}

.partner-flag:nth-child(4) {
  animation-delay: 0.2s;
}

.partner-flag:nth-child(5) {
  animation-delay: 0.25s;
}

.partner-flag:nth-child(6) {
  animation-delay: 0.3s;
}

.partner-flag:nth-child(7) {
  animation-delay: 0.35s;
}

.partner-flag:nth-child(8) {
  animation-delay: 0.4s;
}

.partner-flag:nth-child(9) {
  animation-delay: 0.45s;
}

.partner-flag:nth-child(10) {
  animation-delay: 0.5s;
}

.partner-flag:nth-child(11) {
  animation-delay: 0.55s;
}

.partner-flag:nth-child(12) {
  animation-delay: 0.6s;
}

.partner-flag:hover {
  background: rgba(176, 38, 62, 0.12);
  border-color: var(--accent-gold);
}

.partner-flag .flag-emoji {
  font-size: 22px;
  line-height: 1;
}

.partner-flag .flag-code {
  font-family: var(--font-montserrat);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #555;
  text-transform: uppercase;
}

.partner-flag:hover .flag-code {
  color: var(--accent-gold);
}

/* ── BENEFITS BAND ── */
.benefits-band {
  padding: 40px;
  background: #ffffff;
  position: relative;
}

/* .benefits-band::before {
    content: 'GLOBAL';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-family: var(--font-montserrat);
    font-weight: 900;
    font-size: 140px;
    color: rgba(0,0,0,0.035);
    pointer-events: none;
    white-space: nowrap;
  } */

.benefits-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 50px;
  gap: 30px;
}

.benefits-header h3 {
  font-family: var(--font-montserrat);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 300;
  color: #0a0a0a;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.5px;
}

.benefits-header h3 span {
  color: var(--urgency-red);
}

.benefits-header p {
  max-width: 560px;
  font-size: 13px;
  color: #888;
  line-height: 1.8;
  border-left: 2px solid var(--accent-gold);
  padding-left: 16px;
  flex-shrink: 0;
}

/* benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.benefit-card {
  background: #fff;
  padding: 20px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.5s ease forwards;
  border-bottom: 1px solid #152236;
  border-left: 1px solid #152236;
}

.benefit-card:nth-child(1) {
  animation-delay: 0.05s;
}

.benefit-card:nth-child(2) {
  animation-delay: 0.15s;
}

.benefit-card:nth-child(3) {
  animation-delay: 0.25s;
}

.benefit-card:nth-child(4) {
  animation-delay: 0.35s;
}

.benefit-card:nth-child(5) {
  animation-delay: 0.45s;
}

.benefit-card:nth-child(6) {
  animation-delay: 0.55s;
}

/* top color bar — hidden until hover */
.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

/* large faded number watermark */
.benefit-card::after {
  content: attr(data-num);
  position: absolute;
  bottom: -10px;
  right: 16px;
  font-family: var(--font-montserrat);
  font-weight: 900;
  font-size: 90px;
  color: #b8324d2c;
  line-height: 1;
  pointer-events: none;
  transition: color 0.3s;
  z-index: -1000000;
}

.benefit-card:hover::after {
  color: #ffffff;
}

.benefit-card:hover {
  background: #ffedf1;
}

.benefit-icon {
  /* width: 44px; */
  height: 44px;
  /* background: var(--accent-gold); */
  display: flex;
  align-items: start;
  justify-content: flex-start;
  margin-bottom: 22px;
  transition: background 0.3s;
}

/* .benefit-card:hover .benefit-icon { background: #ffffff; } */

.benefit-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.benefit-card h4 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--urgency-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.benefit-card p {
  font-size: 13px;
  color: #888;
  line-height: 1.8;
}

/* ── PARTNER LOGOS TICKER ── */
.ticker-band {
  background: #0e2a4e;
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 28s linear infinite;
  width: max-content;
}

.ticker-item {
  padding: 0 48px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-item .dot {
  width: 5px;
  height: 5px;
  background: var(--accent-gold);
  flex-shrink: 0;
}

.ticker-item span {
  font-family: var(--font-montserrat);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #f0f0f0;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .collab-hero {
    grid-template-columns: 1fr;
  }

  .hero-right {
    grid-template-columns: repeat(6, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .collab-hero {
    padding: 60px 24px;
  }

  .benefits-band {
    padding: 60px 24px;
  }

  .hero-right {
    grid-template-columns: repeat(4, 1fr);
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .stat {
    border-right: none;
    padding: 0;
  }
}

/* ============================================================================================================================ */
/* ═══════════════════════════════
     CTA SECTION
  ═══════════════════════════════ */
.cta-section {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.cta-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

/* LEFT panel */
.cta-section__panel--accent {
  background: var(--accent-gold);
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-section__panel--accent::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-50deg,
      transparent,
      transparent 36px,
      rgba(255, 255, 255, 0.04) 36px,
      rgba(255, 255, 255, 0.04) 38px);
  pointer-events: none;
}

.cta-section__panel--accent::after {
  content: "GMRIT";
  position: absolute;
  bottom: -30px;
  right: -16px;
  font-family: var(--font-montserrat);
  font-weight: 900;
  font-size: 160px;
  color: rgba(255, 255, 255, 0.175);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -4px;
}

.cta-section__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.cta-section__eyebrow-line {
  width: 28px;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
}

.cta-section__eyebrow-label {
  font-family: var(--font-montserrat);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
}

.cta-section__heading {
  font-family: var(--font-montserrat);
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -1.5px;
  position: relative;
  z-index: 1;
}

.cta-section__heading-sub {
  display: block;
  color: rgb(14 42 78);
  font-size: 0.65em;
  font-weight: 700;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0px;
}

/* RIGHT panel */
.cta-section__panel--light {
  background: #fff;
  /* padding: 80px 64px; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid #ebebeb;
  position: relative;
}

.cta-section__panel--light::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  /* background: #f0f0f0; */
}

.cta-section__description {
  font-size: 14px;
  color: #888;
  line-height: 1.85;
  margin-bottom: 32px;
  max-width: 380px;
}

.cta-section__description-title {
  display: block;
  font-family: var(--font-montserrat);
  font-size: 16px;
  font-weight: 800;
  color: #0a0a0a;
  text-transform: uppercase;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.cta-section__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cta-section__btn--primary {
  font-family: var(--font-montserrat);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  padding: 15px 36px;
  border: 2px solid var(--accent);
  transition:
    background 0.3s,
    color 0.3s;
  white-space: nowrap;
  display: inline-block;
}

.cta-section__btn--primary:hover {
  background: transparent;
  color: var(--accent);
}

.cta-section__btn--secondary {
  font-family: var(--font-montserrat);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  color: #aaa;
  padding: 15px 28px;
  border: 2px solid #e8e8e8;
  transition:
    border-color 0.3s,
    color 0.3s;
  white-space: nowrap;
  display: inline-block;
}

.cta-section__btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cta-section__deadline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.cta-section__deadline-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  flex-shrink: 0;
  animation: blink 1.6s ease-in-out infinite;
}

.cta-section__deadline-text {
  font-size: 11px;
  color: #bbb;
}

.cta-section__deadline-text strong {
  color: #555;
  font-weight: 600;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }
}

/* ═══════════════════════════════
     FOOTER
  ═══════════════════════════════ */
.site-footer {
  background: #ffffff;
}

.site-footer__main {
  padding: 16px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid #161616;
  flex-wrap: wrap;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-shrink: 0;
}

.site-footer__brand-name {
  font-family: var(--font-montserrat);
  font-size: 16px;
  font-weight: 900;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: -0.3px;
  line-height: 1;
}

.site-footer__brand-name span {
  color: var(--urgency-red) !important;
}

.site-footer__brand-tagline {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #2a2a2a;
}

.site-footer__nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}

.site-footer__nav-link {
  font-size: 11.5px;
  color: #3d3d3d;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s;
  white-space: nowrap;
}

.site-footer__nav-link:hover {
  color: var(--bg-dark);
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: right;
  flex-shrink: 0;
}

.site-footer__contact-item {
  font-size: 11.5px;
  color: #3d3d3d;
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer__contact-item:hover {
  color: var(--accent);
}

.site-footer__bar {
  padding: 14px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer__copyright {
  font-size: 11px;
  color: #000000;
}

.site-footer__copyright span {
  color: var(--urgency-red) !important;
  font-weight: 900;
}

.site-footer__legal {
  display: flex;
  gap: 20px;
}

.site-footer__legal-link {
  font-size: 11px;
  color: #242424;
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer__legal-link:hover {
  color: var(--accent);
}

/* ── RESPONSIVE ── */
@media (max-width: 820px) {
  .cta-section__grid {
    grid-template-columns: 1fr;
  }

  .cta-section__panel--accent {
    padding: 60px 32px;
  }

  .cta-section__panel--light {
    padding: 9px;
  }

  .site-footer__main {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }

  .site-footer__contact {
    text-align: left;
  }

  .site-footer__bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 24px;
  }
}

.three-col-grid {
  display: grid;
  /* This ensures all 3 columns take up exactly the same amount of space */
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 20px 0;
}

.program-col {
  display: flex;
  flex-direction: column;
}

.border-x {
  border-left: 1px solid var(--gold-pale);
  border-right: 1px solid var(--gold-pale);
  padding: 0 30px;
}

.col-header h4 {
  font-family: var(--font-montserrat);
  color: var(--primary-navy);
  font-size: 20px;
  margin-bottom: 5px;
}

.fee-text {
  font-family: var(--font-poppins);
  color: var(--gold-primary);
  font-weight: 600;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 20px;
}

.pill-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* The Course Pills */
.prog-pill {
  font-family: var(--font-poppins);
  font-size: 11px;
  font-weight: 500;
  color: var(--primary-navy);
  background: rgb(255 165 0) 47;
  border: 1px solid #03306952;
  padding: 8px 19px;
  border-radius: 50px;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  width: 100%;
}

.prog-pill:hover {
  background: var(--primary-navy);
  color: var(--gold-light);
  border-color: var(--primary-navy);
  transform: translateY(-2px);
}

.pill-arrow {
  margin-left: 8px;
  color: var(--gold-primary);
  font-weight: bold;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .three-col-grid {
    grid-template-columns: 1fr;
  }

  .border-x {
    border: none;
    padding: 0;
    margin: 20px 0;
  }

  .hero-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0px !important;
  }

  .stat-val {
    font-family: var(--font-montserrat);
    font-size: 2.8rem !important;
    font-weight: 800;
    color: var(--accent-gold);
  }

  .place-val {
    font-family: var(--font-montserrat);
    font-size: 2.2rem !important;
    font-weight: 800;
    color: var(--accent-gold);
  }
}

.hero-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 20px;
  background: #0e2a4e;
  /* Deep Navy Base */
}

.research-card {
  background: rgba(255, 255, 255, 0.03);
  /* Ghostly white overlay */
  border: 1px solid rgba(200, 146, 42, 0.2);
  /* Faded Gold border */
  padding: 25px 20px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  backdrop-filter: blur(10px);
  /* Glass effect */
}

.research-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--gold-primary);
  /* #C8922A */
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.card-icon {
  font-size: 1.4rem;
  margin-bottom: 15px;
  /* filter: drop-shadow(0 0 5px rgba(232, 185, 75, 0.074)); */
}

.card-val {
  font-family: var(--font-display);
  /* Cormorant Garamond */
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-light);
  /* #ffa500 - Makes numbers pop against navy */
  line-height: 0.9;
  margin-bottom: 8px;
}

.card-lab {
  font-family: var(--font-body);
  /* Plus Jakarta Sans */
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.6);
  /* Muted white for labels */
  line-height: 1.3;
}

/* Special styling for the 1st and last card to create a visual pattern */
.research-card:nth-child(1),
.research-card:nth-child(6) {
  background: rgba(200, 146, 42, 0.05);
  /* Very subtle gold tint */
}

/* Stats Bar Styling */
.stats-bar-static {
  width: 570px;
  background: rgb(14 42 78 / 62%);
  border: 1px solid rgb(255 165 0);
  border-radius: 5px;
  padding: 10px;
}

.stat-box {
  border-right: 1px solid rgb(255 165 0);
  text-align: center;
}

.stat-val {
  color: rgb(255 165 0);
  /* Gold Accent */
  font-weight: 700;
  font-size: 2.2rem;
  margin: 0;
}

.stat-val span {
  font-size: 1rem;
  font-weight: 400;
}

.stat-desc {
  color: #8b949e;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  margin-top: 5px;
}

.place-desc {
  color: #ffffff;
  text-transform: uppercase;
  font-size: 1.4rem;
  letter-spacing: 1px;
  margin-top: 5px;
}

.academic-ecosystem {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 40px;
  position: relative;
}

.academic-ecosystem::before {
  top: -50px;
  left: -50px;
}

.academic-ecosystem::before,
.academic-ecosystem::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 350px;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(circle, black 30%, transparent 80%);
  mask-image: radial-gradient(circle, black 30%, transparent 80%);
}

.academic-ecosystem::after {
  bottom: -50px;
  right: -50px;
}

/* Header Styling */
.ecosystem-header {
  text-align: center;
  margin-bottom: 50px;
}

.main-title {
  font-size: 3rem;
  /* font-weight: 800; */
  margin-bottom: 10px;
}

.sub-title {
  color: var(--text-dim);
  font-size: 1.1rem;
}

/* Tabs Navigation */
.school-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 60px;
}

.tab-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-dim);
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* Programs Grid */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Card Styling */
.program-card {
  height: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.program-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
}

.level-tag {
  color: var(--accent-gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.program-name {
  font-size: 1.8rem;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--accent-gold);
  font-family: var(--font-body);
  font-weight: 500 !important;
}

.specialization {
  color: var(--text-dim);
  font-style: italic;
  font-size: 0.9rem;
  margin-bottom: 40px;
}

/* Detail Rows */
.program-details {
  margin-top: auto;
  border-top: 1px solid var(--accent-gold);
  padding-top: 15px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.detail-row .label {
  color: var(--text-dim);
  font-weight: 500;
}

.detail-row .value {
  font-weight: 600;
}

/* Footer Link */
.syllabus-link {
  color: var(--accent-gold);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 0px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.syllabus-link:hover .arrow {
  transform: translateX(5px);
}

.arrow {
  transition: transform 0.2s ease;
}

.campus-life-theme .display-title {
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
}

.campus-life-theme .highlight {
  color: var(--accent-gold);
  /* Using your existing gold variable */
  /* font-style: italic; */
}

.campus-life-theme .lead-text {
  font-size: 1.1rem;
  color: #fff;
  max-width: 90%;
  margin-bottom: 30px;
}

/* Adjusting your existing e-card to feel more like gallery items */
.campus-life-theme .e-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.3s ease;
  border-radius: 5px;
}

.campus-life-theme .e-card:hover {
  background: rgba(200, 150, 62, 0.05);
  border-color: var(--accent-gold);
  transform: translateY(-5px);
}

.bar-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 10px;
  transition: all 0.3s ease;
}

/* Icon Container */
.bar-icon {
  width: auto;
  /* Adjust size as needed */
  height: 60px;
  /* Adjust size as needed */
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bar-icon img {
  /* max-width: 100%; */
  max-height: 100%;
  object-fit: contain;
  /* Optional: filter to make icons look uniform/white */
  /* filter: brightness(0) invert(1); 
    opacity: 0.7; */
}

.bar-item.active .bar-icon img {
  opacity: 1;
  filter: none;
  /* Shows original color for the active item */
}

.bar-text {
  font-size: 0.8rem;
  line-height: 1.4;
  font-weight: 500;
}

.placements-section {
  background-color: #fff;
  color: #272727;
  position: relative;
}

.text-gold {
  color: var(--urgency-red);
}

.tracking-widest {
  letter-spacing: 3px;
}

/* Left Stats Card */
.stats-vertical-card {
  background: var(--card-dark);
  border: 1px solid var(--urgency-red);
  border-radius: 5px;
  padding: 20px;
  height: 100%;
}

.stat-block {
  padding: 10px;
  border-bottom: 1px solid var(--urgency-red);
  text-align: left;
}

.stat-value {
  color: var(--urgency-red);
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-value .unit {
  font-size: 1.2rem;
  font-weight: 500;
}

.stat-label {
  color: #8b949e;
  font-size: 0.85rem;
  margin: 0;
}

/* Recruiter Grid */
.recruiter-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.logo-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--urgency-red);
  border-radius: 5px;
  padding: 15px 10px;
  text-align: center;
  color: #cbd5e0;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.logo-pill:hover {
  background: rgba(200, 150, 62, 0.1);
  border-color: var(--accent-gold);
  color: var(--bg-dark);
}

/* Quote Box */
.quote-box {
  border-left: 3px solid var(--urgency-red);
  padding: 20px 30px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0px;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
  .recruiter-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .recruiter-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-value {
    font-size: 2.2rem;
  }
}

.placements-section::before {
  top: -50px;
  left: -50px;
}

.placements-section::before,
.placements-section::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 350px;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(#0e2a4e54 1px, transparent 1px),
    linear-gradient(90deg, #0e2a4e54 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(circle, black 30%, transparent 80%);
  mask-image: radial-gradient(circle, #0000007a 30%, transparent 80%);
}

.placements-section::after {
  bottom: -50px;
  right: -50px;
}

.sticky-apply-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #c8963e;
  /* Your Theme Gold */
  color: #000;
  text-decoration: none;

  /* Rotation Logic */
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);

  padding: 25px 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  z-index: 9999;

  /* Premium Styling */
  border-radius: 0 15px 15px 0;
  /* Adjusted for rotation */
  box-shadow: 5px 0 20px rgba(200, 150, 62, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sticky-apply-btn:hover {
  padding-left: 25px;
  /* Expands "outward" from the wall */
  background: #e5b35a;
  box-shadow: 8px 0 25px rgba(200, 150, 62, 0.5);
}

.sticky-apply-btn .btn-icon {
  transform: rotate(90deg);
  /* Points the arrow "up" or "down" depending on preference */
  display: inline-block;
}

/* --- Mobile Fix: Returns to horizontal bar at bottom --- */
@media (max-width: 767px) {
  .sticky-apply-btn {
    writing-mode: horizontal-tb;
    transform: none;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 18px;
    border-radius: 0;
    text-align: center;
  }

  .btn-content {
    justify-content: center;
    flex-direction: row;
  }

  .sticky-apply-btn .btn-icon {
    transform: rotate(0deg);
  }

  .academic-ecosystem {
    padding: 3px !important;
  }

  .beep-container {
    width: 10px !important;
    height: 10px !important;
  }
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 0;
  gap: 15px;
}

/* Mobile Stack */
@media (max-width: 576px) {
  .detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .value {
    text-align: left;
  }
}

.section {
  position: relative;
  /* CRITICAL: Keeps ornaments inside the section */
  overflow: hidden;
  /* Prevents the ornaments from creating scrollbars */
  background-color: #ffffff;
  width: 100%;
  padding: 50px;
  /* Increased top/bottom padding for better breathing room */
  text-align: center;
  /* margin-top: 14px; */
}

.section::before,
.section::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 350px;
  pointer-events: none;
  z-index: 0;
  /* Keeps grids behind your text/cards */

  /* Grid Pattern */
  background-image:
    linear-gradient(#0e2a4e54 1px, transparent 1px),
    linear-gradient(90deg, #0e2a4e54 1px, transparent 1px);
  background-size: 30px 30px;

  /* Fading effect for the edges of the grid */
  -webkit-mask-image: radial-gradient(circle, black 30%, transparent 80%);
  mask-image: radial-gradient(circle, #0000007a 30%, transparent 80%);
}

.section::before {
  top: -50px;
  left: -50px;
  /* Optional: rotate slightly for a more organic look */
  /* transform: rotate(-15deg); */
}

.section::after {
  bottom: -50px;
  right: -50px;
  /* transform: rotate(15deg); */
}

/* Ensure content stays above the background ornaments */


.section>* {
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--urgency-red);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #131313;
  font-weight: 400;
  margin-bottom: 60px;
  letter-spacing: 0.01em;
}

.cards-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* Base card */
.card {
  background: #163154;
  padding: 36px 32px;
  text-align: left;
  width: 280px;
  position: relative;
  border: 1px solid rgb(255 165 0);
  border-radius: 5px;
}

/* Featured middle card */
.card.featured {
  background: linear-gradient(130deg, rgb(255 165 0) 4d, #163154, #163154);
  border: 1px solid rgb(255 165 0);
  /* width: 300px; */
  padding: 40px 34px;
  z-index: 2;
}

/* Tier label */
.tier-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #c9a84c;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.card.featured .tier-label {
  color: #b8b8b8;
}

/* Percentage */
.percentage {
  font-size: 4.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 4px;
}

.fee-waiver {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgb(255 165 0);
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ffc311;
}

.card.featured .fee-waiver {
  border-bottom-color: rgb(255 165 0);
}

/* Criteria list */
.criteria {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 10px 0;
  padding: 0;
}

.criteria li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;  
  color: #c9d1d9;
  font-weight: 400;
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card:not(.featured) .check-icon {
  background: #c9a84c;
}

.card.featured .check-icon {
  background: #3a2e12;
  border: 1px solid #6a5520;
}

.check-icon svg {
  width: 11px;
  height: 11px;
}

/* Badge icon on featured */
.badge-icon {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 40px;
  height: 40px;
  background: rgba(201, 168, 76, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon svg {
  width: 20px;
  height: 20px;
  fill: #c9a84c;
}

.school-tabs .nav-link {
  background: transparent;
  border: 1px solid rgba(255, 165, 0, 0.5);
  color: rgb(255, 165, 0);
  border-radius: 5px;
  padding: 12px 28px;
  letter-spacing: 1.5px;
  font-size: 13px;
  font-weight: 500;
  transition: 0.35s ease;
}

/* Hover */
.school-tabs .nav-link:hover {
  background: rgba(255, 165, 0, 0.1);
  color: rgb(255, 165, 0);
  border-color: rgb(255, 165, 0);
}

/* Active Pill */
.school-tabs .nav-link.active {
  background: rgb(255, 165, 0);
  color: #000;
  border-color: rgb(255, 165, 0);
  box-shadow: 0 8px 25px rgba(255, 165, 0, 0.45);
}

/* Remove Bootstrap focus glow */
.school-tabs .nav-link:focus {
  box-shadow: none;
}
/* ── TESTIMONIAL SECTION ── */
    .testimonial-section {
      background: var(--primary-navy);
      padding: 80px 5%;
      position: relative;
      overflow: hidden;
    }

    .testimonial-section::before,
    .testimonial-section::after {
      content: "";
      position: absolute;
      width: 360px;
      height: 350px;
      pointer-events: none;
      z-index: 0;
      background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
      background-size: 30px 30px;
      -webkit-mask-image: radial-gradient(circle, black 30%, transparent 80%);
      mask-image: radial-gradient(circle, black 30%, transparent 80%);
    }

    .testimonial-section::before {
      top: -50px;
      left: -50px;
    }

    .testimonial-section::after {
      bottom: -50px;
      right: -50px;
    }

    .testimonial-section > * {
      position: relative;
      z-index: 1;
    }

    .t-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      margin-bottom: 50px;
      flex-wrap: wrap;
      gap: 20px;
    }

    .t-header h2 {
      font-size: clamp(28px, 4vw, 48px);
      font-weight: 300;
      color: #fff;
      line-height: 1.05;
      letter-spacing: -1px;
    }

    .carousel-btn {
      width: 44px;
      height: 44px;
      background: transparent;
      border: 1px solid rgba(255, 165, 0, 0.5);
      color: var(--accent-gold);
      font-size: 18px;
      cursor: pointer;
      transition: 0.3s;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .carousel-btn:hover {
      background: var(--accent-gold);
      color: #000;
    }

    .carousel-track {
      padding: 10px 0px;
      display: flex;
      gap: 24px;
      flex-wrap: nowrap; /* Forces JS sliding instead of CSS stacking */
      transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* ── DEFAULT CARD (Desktop - 3 Cards) ── */
    .testimonial-card {
      flex: 0 0 calc(33.33% - 16px);
      max-width: calc(33.33% - 16px); 
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 165, 0, 0.2);
      border-radius: 5px;
      padding: 36px 30px;
      transition: 0.3s ease;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .testimonial-card::before {
      content: "\201C";
      position: absolute;
      top: 10px;
      right: 20px;
      font-size: 100px;
      color: rgba(255, 165, 0, 0.07);
      font-family: Georgia, serif;
      pointer-events: none;
    }

    .testimonial-card:hover {
      border-color: var(--accent-gold);
      transform: translateY(-4px);
    }

    /* ── IMAGE STRETCH FIX ── */
    .t-image-top {
      width: 60px !important;
      height: 60px !important;
      min-width: 60px;
      min-height: 60px;
      border-radius: 50%;
      object-fit: cover;
      margin-bottom: 20px;
      border: 2px solid var(--accent-gold);
    }

    .card-content {
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }

    .stars {
      color: var(--accent-gold);
      font-size: 14px;
      margin-bottom: 16px;
      letter-spacing: 2px;
    }

    .t-quote {
      font-size: 14px;
      color: rgba(255, 255, 255, 0.75);
      line-height: 1.85;
      margin-bottom: 28px;
      font-style: italic;
      flex-grow: 1;
    }

    .t-author {
      display: flex;
      align-items: center;
      gap: 14px;
      border-top: 1px solid rgba(255, 165, 0, 0.15);
      padding-top: 20px;
    }

    .t-name {
      font-size: 14px;
      font-weight: 700;
      color: #fff;
    }

    .t-meta {
      font-size: 11px;
      color: #8b949e;
      letter-spacing: 0.5px;
      margin-top: 2px;
    }

    .carousel-dots {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 36px;
    }

    .dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(255, 165, 0, 0.3);
      cursor: pointer;
      transition: 0.3s;
    }

    .dot.active {
      background: var(--accent-gold);
      width: 24px;
      border-radius: 4px;
    }

    /* ── RESPONSIVE MEDIA QUERIES ── */
    @media (max-width: 900px) {
      .testimonial-card {
        flex: 0 0 calc(50% - 12px) !important;
        max-width: calc(50% - 12px) !important;
      }
    }

    @media (max-width: 600px) {
      .testimonial-card {
        flex: 0 0 100% !important;
        max-width: 100% !important;
      }
      .t-header {
        flex-direction: column;
        align-items: flex-start;
      }
    }
/* ── VIDEO SECTION ── */
.video-section {
  background: #fff;
  padding: 60px 5%;
  position: relative;
  overflow: hidden;
}

/* Background grid ornaments */
.video-section::before,
.video-section::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 450px;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(#0e2a4e18 1px, transparent 1px),
    linear-gradient(90deg, #0e2a4e18 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(circle, black 30%, transparent 80%);
  mask-image: radial-gradient(circle, #0000006a 30%, transparent 80%);
}

.video-section::before {
  top: -50px;
  left: -50px;
}

.video-section::after {
  bottom: -50px;
  right: -50px;
}

.video-section>* {
  position: relative;
  z-index: 1;
}

/* New Layout Container */
.v-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  /* Space between text and video */
}

/* Header Text Styling */
.v-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.v-header h2 {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 300;
  color: var(--primary-navy);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.v-header h2 span {
  color: var(--urgency-red);
}

.v-header p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin: 0;
}

/* Video Wrapper Styling */
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--primary-navy);
  border-radius: 8px;
  /* Slightly rounded corners */
  overflow: hidden;
  border: 1px solid rgba(255, 165, 0, 0.3);
  box-shadow: 0 20px 50px rgba(14, 42, 78, 0.2);
}

/* ── STICKY BUTTONS WRAPPER ── */
.sticky-container {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  /* FIX: Forces both buttons to snap strictly to the right */
  gap: 15px;
  /* Slightly tightened the gap between buttons */
}

/* ── INDIVIDUAL BUTTON LAYOUT ── */
.sticky-action {
  display: flex;
  flex-direction: row;
  /* FIX: Puts tooltip side-by-side with the button */
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  text-decoration: none;
}

/* ── TOOLTIP STYLING ── */
.sticky-tooltip {
  background: #fff;
  color: #003b73;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 5px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: 0.3s ease-in-out;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-left: 3px solid #ffaa00;
}

.sticky-action:hover .sticky-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ── BASE BUTTON STYLING ── */
.sticky-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  animation: sticky-bob 3s ease-in-out infinite;
  transition: transform 0.3s;
}

.sticky-action:hover .sticky-btn {
  transform: scale(1.1);
}

/* ── UNIQUE BUTTON COLORS ── */
.btn-whatsapp {
  background: #25d366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-apply {
  background: #ffaa00;
  box-shadow: 0 4px 20px rgba(255, 170, 0, 0.4);
}

.btn-apply-h{
    height: 76px !important;
}

/* ── ANIMATION ── */
@keyframes sticky-bob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}


/* ==============================================================
FAQ SECTION CSS
============================================================== */
.faq-section {
  background-color: #fcfcfc;
  /* Very subtle off-white to separate from pure white sections */
  border-top: 1px solid rgba(14, 42, 78, 0.05);
}

.custom-faq-accordion .accordion-item {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(14, 42, 78, 0.15);
  /* Subtle navy line */
  margin-bottom: 5px;
}

.custom-faq-accordion .accordion-button {
  background-color: transparent;
  color: var(--primary-navy);
  font-family: var(--font-montserrat);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 24px 10px;
  box-shadow: none !important;
  /* Removes Bootstrap blue glow */
  transition: color 0.3s ease;
}

.custom-faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

/* Active State Styling */
.custom-faq-accordion .accordion-button:not(.collapsed) {
  color: var(--accent-gold);
  background-color: transparent;
}

/* Change chevron icon color for active state to match gold */
.custom-faq-accordion .accordion-button:not(.collapsed)::after {
  filter: invert(65%) sepia(50%) saturate(600%) hue-rotate(5deg) brightness(95%) contrast(85%);
}

.custom-faq-accordion .accordion-body {
  padding: 0 10px 30px 10px;
  font-family: var(--font-poppins);
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
}

.custom-faq-accordion .accordion-body strong {
  color: var(--primary-navy);
  font-weight: 700;
}


/* ==============================================================
   MERGED VIDEO & FAQ SECTION
   ============================================================== */

/* Main Section Background & Grid Ornaments */
.merged-section {
  background-color: #fcfcfc;
  padding: 80px 3%;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(14, 42, 78, 0.05);
}

.merged-section::before,
.merged-section::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 450px;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(#0e2a4e18 1px, transparent 1px),
    linear-gradient(90deg, #0e2a4e18 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(circle, black 30%, transparent 80%);
  mask-image: radial-gradient(circle, #0000006a 30%, transparent 80%);
}

.merged-section::before {
  top: -50px;
  left: -50px;
}

.merged-section::after {
  bottom: -50px;
  right: -50px;
}

.merged-section>* {
  position: relative;
  z-index: 1;
}

@media (max-width: 480px) {
  .merged-section{
    padding: 80px 0 ;
  }
}

/* Unified Headers */
.section-head h2 {
  font-family: var(--font-montserrat);
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 300;
  color: var(--primary-navy);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 15px;
}

.section-head h2 span {
  color: var(--urgency-red);
  font-weight: 500;
}

.section-head p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin: 0;
}

/* Video Styling */
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--primary-navy);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 165, 0, 0.3);
  box-shadow: 0 20px 50px rgba(14, 42, 78, 0.2);
}

/* FAQ Accordion Styling */
.custom-faq-accordion .accordion-item {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(14, 42, 78, 0.15);
  margin-bottom: 5px;
}

.custom-faq-accordion .accordion-button {
  background-color: transparent;
  color: var(--primary-navy);
  font-family: var(--font-montserrat);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 24px 10px;
  box-shadow: none !important;
  transition: color 0.3s ease;
}

.custom-faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

/* Active State Styling */
.custom-faq-accordion .accordion-button:not(.collapsed) {
  color: var(--accent-gold);
  background-color: transparent;
}

.custom-faq-accordion .accordion-button:not(.collapsed)::after {
  filter: invert(65%) sepia(50%) saturate(600%) hue-rotate(5deg) brightness(95%) contrast(85%);
}

.custom-faq-accordion .accordion-body {
  padding: 0 10px 30px 10px;
  font-family: var(--font-poppins);
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
}

.custom-faq-accordion .accordion-body strong {
  color: var(--primary-navy);
  font-weight: 700;
}


/* Container to hide the overflow and create a fade edge effect */
.auto-carousel-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 50px 0px 0px;

  /* Optional: Creates a fade-out effect on the left and right edges */
  mask-image: linear-gradient(to right,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 10%,
      rgba(0, 0, 0, 1) 90%,
      rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to right,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 10%,
      rgba(0, 0, 0, 1) 90%,
      rgba(0, 0, 0, 0) 100%);
}

/* The track holding the cards */
.auto-carousel-track {
  display: flex;
  width: max-content;
  /* Allows track to expand to fit all items */
  gap: 30px;
  /* Space between cards */
  /* 30s is the speed. Lower = faster, Higher = slower */
  animation: scrollInfinite 30s linear infinite;
}

/* Pauses the animation when a user hovers to read */
.auto-carousel-track:hover {
  animation-play-state: paused;
}

/* Styling for the individual items */
.auto-carousel-card {
  width: 250px;
  /* Fixed width so cards don't shrink */
  background: var(--card-bg, #163154);
  /* Navy background */
  border: 1px solid var(--accent-gold, #c8963e);
  /* Gold border */
  border-radius: 8px;
  padding: 15px;
  color: #fff;
  flex-shrink: 0;
  /* Prevents flexbox from squeezing them */
  transition: transform 0.3s ease;
}

.auto-carousel-card:hover {
  transform: translateY(-5px);
}

.auto-carousel-card .card-title {
  color: var(--gold-light, #ffa500);
  margin-bottom: 15px;
  font-weight: 600;
  font-family: var(--font-montserrat, sans-serif);
}

/* The Infinite Scroll Animation */
@keyframes scrollInfinite {
  0% {
    transform: translateX(0);
  }

  100% {
    /* Moves exactly halfway. 
       Because we duplicated the items, 50% is the exact end of Set 1. 
       The 15px accounts for half of the gap size (30px / 2) to prevent jitter. */
    transform: translateX(calc(-50% - 15px));
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .auto-carousel-card {
    width: 280px;
    /* Slightly smaller cards on mobile */
  }
}


/* testimonial section css */

.testimonial-card {
  flex: 0 0 calc(33.333% - 13.33px);
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.t-image-top {
  width: 100%;
  height: 320px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  margin-bottom: 12px;
}

/* Add this new class for the text content area */


/* srm section */
 :root {
      --usp-blue: #0033a0;
      --usp-yellow: #ffc72c;
      --text-dark: #2d3748;
      --text-muted: #718096;
      --bg-light: #fdfdfd;
    }
    .usp-section {
      padding: 80px 0px;
    }

    /* Header Styles */
    .admission-header {
      text-align: center;
      margin-bottom: 60px;
    }

    .admission-header h2 {
      font-size: 2.5rem;
      color: var(--usp-blue);
      margin: 0;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .admission-header em {
      color: var(--usp-yellow);
      font-style: normal;
    }

    /* Grid Styles */
    .usp-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 50px 40px; 
    }

    .usp-item {
      width: 280px; 
      display: flex;
      flex-direction: column;
      /* align-items: center;
      text-align: center; */
    }

    /* Icon Wrapper */
    .usp-icon-wrapper {
      width: 90px;
      height: 90px;
      border-radius: 50%;
      background-color: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
      border: 4px solid;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .usp-item:hover .usp-icon-wrapper {
      transform: translateY(-5px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    }

    /* Border and Icon Colors */
    .border-yellow { border-color: var(--usp-yellow); }
    .border-yellow i { color: var(--usp-yellow); }

    .border-blue { border-color: var(--usp-blue); }
    .border-blue i { color: var(--usp-blue); }

    /* Font Awesome Icon Sizing */
    .usp-icon-wrapper i {
      font-size: 36px;
      transition: transform 0.3s ease;
    }

    /* Optional: Slight pop on hover for the icon itself */
    .usp-item:hover .usp-icon-wrapper i {
      transform: scale(1.1);
    }

    /* Text Styles */
    .usp-title {
      font-size: 1.1rem;
      color: var(--text-dark);
      font-weight: 700 !important;
      line-height: 1.3;
      margin: 0 0 10px 0;

    }

    .usp-desc {
      font-size: 0.9rem;
      color: var(--text-muted);
      line-height: 1.5;
      margin: 0;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .usp-section {
        padding: 50px 20px;
      }
      .admission-header h2 {
        font-size: 2rem;
      }
      .usp-grid {
        gap: 40px 20px;
      }
      .usp-item {
        width: 100%;
        max-width: 320px; 
      }
    }
    
    
/*  scholarships section css */
