* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Oswald", Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Oswald", Arial, Helvetica, sans-serif;
}

/* Navbar Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.logo img {
  height: 60px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  font-size: 14px;
}

/* Hamburger Menu Icon */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 100;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #000;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

/* Hero Section Styles */
.hero {
  position: relative;
  background:
    linear-gradient(rgb(71 71 71 / 17%), rgba(0, 0, 0, 0.5)),
    url(./images/banner.webp) no-repeat center center / cover;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 40px 5%;
  color: white;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

/* Left Content */
.hero-content {
  flex: 1;
  padding-right: 50px;
  margin-top: 60px;
}

.programs-list {
  font-weight: bold;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.programs-list span {
  text-decoration: underline;
  cursor: pointer;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 20px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.stat-icon {
  background: white;
  border-radius: 8px;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.stat-icon img {
  width: 60%;
}

.stat-text h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.stat-text p {
  font-size: 14px;
  opacity: 0.9;
}

.footnotes {
  font-size: 11px;
  line-height: 1.6;
  opacity: 0.8;
  color: white !important;
}

/* Right Form Card */
.form-card {
  background: white;
  width: 100%;
  max-width: 450px;
  border-radius: 30px;
  padding: 30px;
  color: #333;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-card h2 {
  font-size: 28px;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 10px;
  position: relative;
}

.form-card h2::after {
  content: "";
  display: block;
  width: 240px;
  height: 4px;
  background: linear-gradient(to right, #f44336, #2196f3);
  margin-top: 6px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 8px;
}

input,
select {
  width: 100%;
  padding: 7px 14px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 15px;
  outline: none;
  color: #555;
}

input::placeholder {
  color: #999;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin: 20px 0;
  color: #666;
}

.checkbox-group a {
  color: #666;
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
  background: #000;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.btn-submit:hover {
  background: #333;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Responsive - Tablet */
@media (max-width: 1100px) {
  header {
    flex-wrap: wrap;
  }

  .hamburger {
    display: flex;
  }

  nav {
    width: 100%;
    display: none;
    margin-top: 15px;
  }

  nav.show {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
  }

  .hero-container {
    flex-direction: column;
    align-items: center;
  }
  .hero-content {
    padding-right: 0;
    margin-bottom: 50px;
    text-align: center;
  }
  .stat-item {
    text-align: start;
  }
}

/* Responsive - Mobile */
@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .stat-icon {
    height: 65px;
    width: 70px;
  }
  .stat-text h4 {
    font-size: 14px !important;
  }
  .stat-text p {
    font-size: 14px !important;
  }
  .footnotes {
    text-align: start;
  }
  .hero {
    padding: 0px 5%;
  }
  .programs-list {
    font-size: 15px;
    text-align: start;
  }
  .form-card {
    padding: 14px;
    width: 112%;
    border-radius: 0%;
  }
}

/* Sticky Footer Styles */
.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #000000;
  color: #ffffff;
  padding: 12px 5%;
  z-index: 1000;
  display: flex;
  justify-content: center; /* Aligns the content to the right */
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

.footer-content {
  display: flex;
  flex-direction: column;
}

.sticky-footer p {
  font-size: 22px;
  font-weight: 300; /* Gives it that clean, thin look */
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.gradient-line {
  width: 100%;
  height: 2.5px;
  /* Custom gradient to match your image (Orange -> Red/Pink -> Purple -> Blue) */
  background: linear-gradient(to right, #fca311, #ff4d4d, #a35b9e, #1e90ff);
}

/* Optional but recommended: Add padding to the bottom of the body 
   so the footer doesn't cover your page content when scrolled all the way down */
body {
  padding-bottom: 70px;
}

/* Mobile Responsive adjustment for the footer */
@media (max-width: 600px) {
  .sticky-footer {
    justify-content: center; /* Centers it on mobile screens */
    padding: 12px 20px;
  }
  .sticky-footer p {
    font-size: 18px;
  }
}

/* =========================================
   Scholarship Banner Styles
   ========================================= */
.scholarship-banner {
  background-color: #f2f4f7;
  text-align: center;
  padding: 25px 20px;
}

.scholarship-banner h2 {
  color: #005bb5;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 6px;
}

.scholarship-banner p {
  font-size: 13px;
  color: #1a1a1a;
  font-weight: 500;
}

/* =========================================
   Why UPES - Advanced Dynamic Layout (Light Mode)
   ========================================= */
.why-upes-advanced {
    padding: 40px 0px 70px;
    background: #ffffff; /* Clean white background */
    color: #111827; /* Dark slate text for high contrast */
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow: hidden;
}

.why-upes-advanced .why-upes-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* --- Left Column: Heading --- */
.heading-column {
    flex: 1;
    max-width: 400px;
}

.heading-column h2 {
    font-size: 55px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #111827;
}

/* Gradient text for 'UPES?' */
.heading-column h2 span {
    background: linear-gradient(to right, #fca311, #ff4d4d, #a35b9e, #1e90ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-line-dynamic {
    height: 4px;
    width: 80px;
    background: linear-gradient(to right, #fca311, #ff4d4d, #a35b9e, #1e90ff);
    margin-bottom: 30px;
    border-radius: 2px;
}

.heading-column .subtitle {
    font-size: 18px;
    color: #4b5563; /* Soft medium grey */
    line-height: 1.6;
}

/* --- Right Column: Staggered Grid --- */
.stats-column {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    position: relative;
}

/* Stagger the even columns to create a complex editorial look */
.stats-column .stat-box:nth-child(even) {
    transform: translateY(40px);
}

/* --- Light Card Design --- */
.stat-box {
    position: relative;
    background: #ffffff;
    border: 1px solid #f3f4f6; /* Very subtle border */
    border-radius: 20px;
    padding: 50px 40px;
    /* Soft shadow to separate from the white background */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03); 
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

/* The glowing accent top border */
.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    opacity: 0.7;
    transition: opacity 0.4s ease, height 0.4s ease;
}

/* Background Watermark Numbers */
.watermark {
    position: absolute;
    bottom: -20px;
    right: 10px;
    font-size: 140px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03); /* Faint dark watermark */
    line-height: 1;
    z-index: -1;
    transition: color 0.4s ease, transform 0.4s ease;
}

.content-wrapper {
    position: relative;
    z-index: 2;
}

.content-wrapper h3 {
    font-size: 60px;
    font-weight: 800;
    color: #0f172a; /* Deep blue/black */
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    line-height: 1;
}

/* The '+' sign takes on the card's specific accent color */
.content-wrapper h3 .plus {
    font-size: 40px;
    color: var(--accent-color);
    margin-left: 5px;
}

.content-wrapper p {
    font-size: 16px;
    color: #475569; /* Slate grey for readability */
    line-height: 1.6;
    margin: 0;
}

/* --- Hover Effects --- */
.stat-box:hover {
    /* transform: translateY(-10px) scale(1.02) !important; */
    border-color: #e2e8f0;
    /* Deeper, slightly more pronounced shadow on hover */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); 
}

.stat-box:hover::before {
    height: 6px;
    opacity: 1;
}

.stat-box:hover .watermark {
    color: rgba(0, 0, 0, 0.06);
    transform: translateY(-10px);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .why-upes-advanced .why-upes-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .heading-column {
        max-width: 100%;
        margin-bottom: 20px;
    }
    .stats-column .stat-box:nth-child(even) {
        transform: translateY(0); /* Remove stagger on smaller screens */
    }
    /* Re-apply stagger since we are still in a 2x2 grid */
    .stats-column .stat-box:nth-child(even) {
        transform: translateY(30px);
    }
}

@media (max-width: 768px) {
    .heading-column h2 {
        font-size: 42px;
    }
    .stats-column {
        grid-template-columns: 1fr;
        gap: 25px;
        width: 100%;
    }
    .stats-column .stat-box:nth-child(even) {
        transform: translateY(0); /* completely remove stagger on mobile */
    }
    .stat-box {
        padding: 40px 30px;
    }
    .content-wrapper h3 {
        font-size: 48px;
    }
}

/* =========================================
   Features List Section Styles
   ========================================= */
.features-section {
  background-color: #f2f4f7; /* Soft light grey/blue matching your image */
  padding: 60px 5%;
  font-family: "Oswald", Arial, Helvetica, sans-serif;
}

.features-container {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 25px; /* Spacing between each list item */
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 25px; /* Spacing between the icon and the text */
}

/* Circular Icon Outline */
.feature-icon {
  width: 90px;
  height: 90px;
  border: 2px solid #1a1a1a;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.feature-icon img {
  width: 80%; /* Keeps the image perfectly sized inside the circle */
  height: auto;
}

.feature-text p {
  font-size: 20px;
  color: #1a1a1a;
}

.features-footnote {
  margin-top: 5px;
  font-size: 11px;
  color: #1a1a1a;
}

/* Responsive Rules for Features Section */
@media (max-width: 768px) {
  .features-section {
    padding: 40px 5%;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
  }

  .feature-text p {
    font-size: 15px;
  }

  .feature-item {
    gap: 15px;
  }
}

/* =========================================
   International Partners Section Styles
   ========================================= */
.international-partners {
  background-color: #ffffff;
  padding: 40px 5%;
}

.partners-container {
  margin: 0 auto;
  position: relative;
}

/* Re-using heading wrapper styles but ensuring spacing */
.international-partners .heading-wrapper {
  margin-bottom: 50px;
}

.international-partners h2 {
  font-size: 30px;
  font-weight: 300;
  color: #1a1a1a;
  margin-bottom: 8px;
}

/* Layout for the Logos inside the carousel */
.partner-col {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  height: 250px; /* Fixed height to keep columns uniform */
  padding: 20px;
}

.partner-col.single-logo {
  justify-content: center; /* Centers the single logo (like Waterloo) */
}

.partner-logo {
  max-height: 100%; /* Restricts height so logos look balanced */
  object-fit: contain;
  width: auto !important; /* Overrides Owl carousel forcing 100% width */
}

/* =========================================
   Custom Owl Carousel Navigation Styles
   ========================================= */
.partners-carousel .owl-nav {
  margin: 0;
}

.partners-carousel .owl-nav button.owl-prev,
.partners-carousel .owl-nav button.owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background-color: #3b4252 !important; /* Dark grey from your image */
  color: #ffffff !important;
  border-radius: 50% !important;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 34px !important;
  line-height: 1 !important;
  transition: background-color 0.3s ease;
}

.partners-carousel .owl-nav button.owl-prev:hover,
.partners-carousel .owl-nav button.owl-next:hover {
  background-color: #1a1a1a !important;
}

/* Position arrows slightly outside the container */
.partners-carousel .owl-nav button.owl-prev {
  left: -40px;
}

.partners-carousel .owl-nav button.owl-next {
  right: -40px;
}

/* Remove default dots */
.partners-carousel .owl-dots {
  display: none !important;
}

/* Responsive arrows for mobile */
@media (max-width: 768px) {
  .partners-carousel .owl-nav button.owl-prev {
    left: 0;
  }
  .partners-carousel .owl-nav button.owl-next {
    right: 0;
  }
}

/* =========================================
   Placements - Unified Dashboard Panel
   ========================================= */
.placements-section {
    padding: 30px 5%;
    background: #ffffff;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.placements-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styling */
.placements-header {
    text-align: left;
    margin-bottom: 40px;
}

.placements-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.gradient-line {
    height: 4px;
    width: 60px;
    background: linear-gradient(to right, #fca311, #ff4d4d, #a35b9e, #1e90ff);
    border-radius: 2px;
}

/* --- The Unified Panel --- */
.placements-panel {
    display: flex;
    background: #0f172a; /* Deep, premium dark slate */
    border-radius: 20px;
    padding: 50px 0;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12); /* Soft shadow for depth */
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
}

/* Subtle background glow effect inside the panel */
.placements-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 77, 77, 0.08), transparent 50%),
                radial-gradient(circle at bottom left, rgba(30, 144, 255, 0.08), transparent 50%);
    pointer-events: none;
}

/* Individual Stat Blocks */
.stat-item {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1); /* Crisp internal dividers */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* Remove border from the last item */
.stat-item:last-child {
    border-right: none;
}

/* Typography for Numbers */
.stat-item h3 {
    font-size: 56px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1;
    display: flex;
    align-items: baseline;
}

/* Gradient highlights for the symbols (+, %, Cr) */
.stat-item h3 .highlight {
    font-size: 32px;
    background: linear-gradient(to right, #fca311, #ff4d4d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 5px;
    font-weight: 700;
}

.stat-item p {
    font-size: 16px;
    color: #94a3b8; /* Slate grey for readability */
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

/* --- Footnotes --- */
.placements-footnotes {
    padding-left: 15px;
    border-left: 3px solid #e2e8f0;
}

.placements-footnotes p {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 6px 0;
}

/* --- Responsive Rules --- */
@media (max-width: 1024px) {
    /* Switch to a 2x2 grid on tablets to prevent text squeezing */
    .placements-panel {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        padding: 0; /* Reset padding to manage it inside items */
    }
    
    .stat-item {
        padding: 40px 20px;
        border-right: none; /* Reset all borders first */
    }
    
    /* Apply borders for a 2x2 grid */
    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .stat-item:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 600px) {
    .placements-header h2 {
        font-size: 32px;
    }
    
    /* Switch to a single column on mobile */
    .placements-panel {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        border-right: none !important; /* Remove all vertical dividers */
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 35px 20px;
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
    
    .stat-item h3 {
        font-size: 48px;
    }
    
    .stat-item h3 .highlight {
        font-size: 26px;
    }
}

/* =========================================
   Trusted by Industry Section Styles
   ========================================= */
.trusted-industry-section {
  background-color: #ffffff;
  padding: 50px 5%;
}

.industry-container {
  margin: 0 auto;
  position: relative;
}

.trusted-industry-section .heading-wrapper {
  margin-bottom: 30px;
}

/* Custom Navigation Styles for Industry Carousel */
.industry-carousel .owl-nav {
  margin: 0;
}

.industry-carousel .owl-nav button.owl-prev,
.industry-carousel .owl-nav button.owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background-color: #3b4252 !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px !important;
  line-height: 1 !important;
  transition: background-color 0.3s ease;
}

.industry-carousel .owl-nav button.owl-prev:hover,
.industry-carousel .owl-nav button.owl-next:hover {
  background-color: #1a1a1a !important;
}

.industry-carousel .owl-nav button.owl-prev {
  left: -40px;
}

.industry-carousel .owl-nav button.owl-next {
  right: -40px;
}

.industry-carousel .owl-dots {
  display: none !important;
}

/* Responsive arrows for mobile */
@media (max-width: 768px) {
  .industry-carousel .owl-nav button.owl-prev {
    left: 0;
  }
  .industry-carousel .owl-nav button.owl-next {
    right: 0;
  }
}

/* =========================================
   Programs Offered - Side-Accent Clean Layout
   ========================================= */
.programs-offered-section {
    padding: 50px 5%;
    background: #f9fbfd; /* Very subtle cool-white to make the pure white cards pop */
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.programs-offered-container {
    max-width: 1300px;
    margin: 0 auto;
}

/* Header Styling (Matching your overall theme) */
.programs-offered-section .heading-wrapper {
    margin-bottom: 50px;
    text-align: center;
}

.programs-offered-section h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 15px 0;
}

.gradient-line {
    height: 4px;
    width: 60px;
    background: linear-gradient(to right, #fca311, #ff4d4d, #a35b9e, #1e90ff);
    margin: 0 auto;
    border-radius: 2px;
}

/* --- Grid & Card Layout --- */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.program-card {
    position: relative;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f4f8;
    overflow: hidden; /* Crucial to keep the side-accent inside the rounded corners */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* The Unique Feature: Gradient Side Accent */
.program-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px; /* Thin subtle line by default */
    background: linear-gradient(to bottom, #ff4d4d, #1e90ff); /* Vertical gradient */
    transition: width 0.3s ease;
}

/* Hover Effect */
.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.program-card:hover::before {
    width: 10px; /* Expands slightly on hover for an interactive feel */
}

/* --- Typography inside Card --- */
.school-prefix {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ff4d4d; /* Gives the prefix a pop of color */
    margin-bottom: 5px;
    font-weight: 700;
}

.program-card h3 {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0;
    line-height: 1.2;
}

/* Changed from a solid line to a clean, dashed divider */
.card-divider {
    height: 0px;
    border-top: 1px dashed #cbd5e1;
    margin: 20px 0;
}

/* --- Custom Styled List (Removing boring discs) --- */
.program-card ul {
    list-style-type: none; /* Remove default bullets */
    padding-left: 0;
    margin: 0;
}

.program-card ul li {
    position: relative;
    font-size: 15px;
    color: #475569;
    margin-bottom: 16px;
    line-height: 1.5;
    padding-left: 24px; /* Space for custom bullet */
    font-weight: 500;
    transition: color 0.2s ease;
}

.program-card ul li:last-child {
    margin-bottom: 0;
}

/* Custom Arrow Bullet Point */
.program-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px; /* Align with text */
    width: 6px;
    height: 6px;
    border-top: 2px solid #1e90ff;
    border-right: 2px solid #1e90ff;
    transform: rotate(45deg); /* Creates a slick 'chevron' arrow */
}

.program-card ul li:hover {
    color: #0f172a; /* Darkens text slightly when hovered */
}

/* --- Responsive Rules --- */
@media (max-width: 1024px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .programs-offered-section {
        padding: 60px 5%;
    }
    .programs-grid {
        grid-template-columns: 1fr;
    }
    .program-card {
        padding: 30px 25px;
    }
    .program-card h3 {
        font-size: 24px;
    }
}

/* =========================================
   Admission Criteria Section Styles
   ========================================= */
.admission-criteria-section {
  padding: 50px 5%;
  background: #ffffff;
}

.admission-container {
  margin: 0 auto;
}

.admission-criteria-section .heading-wrapper {
  margin-bottom: 40px;
}

/* Level 1: School Tabs */
.school-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.school-tab-btn {
  padding: 12px 20px;
  background: #ffffff;
  border: 1px solid #5a5a5a;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  transition: all 0.2s ease;
}

.school-tab-btn:hover {
  border-color: #000;
}

.school-tab-btn.active {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

/* Level 2: Degree Tabs */
.degree-tabs {
  display: flex;
  gap: 30px;
  margin-bottom: 25px;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 0;
}

.degree-tab-btn {
  background: none;
  border: none;
  font-size: 20px;
  font-weight: 500;
  color: #a0a0a0;
  cursor: pointer;
  padding-bottom: 10px;
  position: relative;
}

.degree-tab-btn.active {
  color: #000000;
  font-weight: 600;
}

.degree-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px; /* Overlaps the bottom border of the container */
  left: 0;
  width: 100%;
  height: 3px;
  background: #000000;
}

/* Content Area & Cards */
.criteria-panel {
  display: none; /* Hidden by default */
}

.criteria-panel.active {
  display: block; /* Shown when active */
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.criteria-card {
  background-color: #eef1f5;
  border-radius: 16px;
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.criteria-card h3 {
  font-size: 20px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 20px;
}

.criteria-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 8px;
}

.criteria-card p {
  font-size: 14px;
  color: #555555;
  line-height: 1.5;
  margin-bottom: 25px;
}

.apply-btn {
  margin-top: auto; /* Pushes the button to the bottom if cards have different heights */
  padding: 8px 18px;
  background: transparent;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: 0.3s;
}

.apply-btn:hover {
  background: #e0e4e8;
  color: #000;
  border-color: #999;
}

/* Responsive Rules */
@media (max-width: 768px) {
  .criteria-grid {
    grid-template-columns: 1fr;
  }
  .degree-tabs {
    gap: 20px;
  }
  .degree-tab-btn {
    font-size: 16px;
  }
  .school-tab-btn {
    font-size: 12px;
    padding: 10px 14px;
  }
}

/* =========================================
   Stories of Excellence Section Styles
   ========================================= */
.stories-section {
  padding: 70px 5%;
  background: #ffffff;
}

.stories-container {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

.stories-section .heading-wrapper {
  margin-bottom: 40px;
}

/* Card Styling */
.story-card {
  background-color: #f0f3f6; /* Light gray-blue matching your image */
  border-radius: 12px;
  overflow: hidden; /* Keeps the image inside the rounded corners */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.story-img {
  width: 100%;
  /* A subtle gray background behind the image in case it's a transparent PNG */
  background-color: #e5e5e5;
}

.story-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.story-content {
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Ensures buttons/text align nicely if heights vary */
}

.story-content h3 {
  font-size: 20px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.story-content .degree {
  font-size: 13px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 15px;
}

.story-content .role {
  font-size: 13px;
  color: #1a1a1a;
  line-height: 1.5;
}

/* Custom Navigation Styles for Stories Carousel (Thin floating chevrons) */
.stories-carousel .owl-nav {
  margin: 0;
}

.stories-carousel .owl-nav button.owl-prev,
.stories-carousel .owl-nav button.owl-next {
  position: absolute;
  /* Positions the arrow roughly in the middle of the portrait image */
  top: 35%;
  transform: translateY(-50%);
  background: transparent !important;
  color: #333 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: color 0.3s ease;
}

.stories-carousel .owl-nav button.owl-prev:hover,
.stories-carousel .owl-nav button.owl-next:hover {
  color: #000 !important;
}

.stories-carousel .owl-nav button.owl-prev {
  left: 10px;
}

.stories-carousel .owl-nav button.owl-next {
  right: 10px;
}

.stories-carousel .owl-dots {
  display: none !important;
}

/* =========================================
   Disclaimer Section Styles
   ========================================= */
.disclaimer-section {
  background-color: #f2f4f7; /* Matches the soft grey background of your other sections */
  padding: 40px 5%;
  text-align: center;
}

.disclaimer-container {
  max-width: 1300px;
  margin: 0 auto;
}

.disclaimer-section p {
  font-size: 14px;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.5;
  font-weight: 400;
}

.disclaimer-section p:last-child {
  margin-bottom: 0;
}

/* Responsive adjustment for mobile */
@media (max-width: 600px) {
  .disclaimer-section {
    padding: 30px 5%;
  }
  .disclaimer-section p {
    font-size: 12px;
  }
}

/* =========================================
   Floating Apply Now Button
   ========================================= */
.floating-apply-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #000000;
  color: #ffffff;
  padding: 20px 12px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.4);
  z-index: 1500;

  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease,
    background-color 0.2s;
}

/* Inner span rotates the text to read bottom-to-top */
.floating-apply-btn span {
  display: block;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.floating-apply-btn.show {
  opacity: 1;
  visibility: visible;
}

.floating-apply-btn:hover {
  background-color: #333333;
}

/* Adjust button size slightly for mobile phones */
@media (max-width: 600px) {
  .floating-apply-btn {
    padding: 20px 10px;
    font-size: 14px;
  }
}
