/* Import Google Fonts - Easy to change later */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

/* CSS Variables */
:root {
  --navy-blue: #293850;
  --primary-blue: #003d7c;
  --primary-red: #c60c30;
  --dark-gray: #333333;
  --medium-gray: #666666;
  --light-gray: #f5f5f5;
  --light-white: #f5f5f5;
  --white: #ffffff;
  --black: #000000;
  --text-dark: #293850;
  --hover-gold: #d9b263;
  --text-gold: #d9b263;
  --light-gold: #f2e4c0;
  --dark-green: #01362d;
  --dark-green-80: #001713;
  --light-green: #a4e6b4;
  --secondary-green: #02352a;
  --tertiary-green: #00614d;
  --dark-green-gradient: linear-gradient(45deg, #161d1c, #00654c);
  --dark-green-gradient2: linear-gradient(135deg, #00604c, #00634e);
  --gradient-text-gold: linear-gradient(
    135deg,
    #fff5c6,
    #e0c080,
    #b88f4a,
    #7d5930
  );

  /* Font Variables - Easy to change later */
  --primary-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    system-ui, sans-serif;
  --secondary-font: var(--primary-font);

  /* Font Sizes */
  --fs-1: clamp(0.875rem, 0.9rem + 0.3vw, 1rem);
  --fs-2: clamp(1.1rem, 1rem + 0.5vw, 1.333rem);
  --fs-3: clamp(1.4rem, 1.2rem + 0.8vw, 1.777rem);
  --fs-4: clamp(1.8rem, 1.4rem + 1.2vw, 2.369rem);
  --fs-5: clamp(2.4rem, 1.6rem + 2vw, 3.157rem);
  --fs-small: clamp(0.7rem, 0.6rem + 0.3vw, 0.75rem);

  color-scheme: light only;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none !important;
}

html,
body {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
  overflow-y: auto !important;
}

body {
  font-family: var(--primary-font);
  color: var(--dark-gray);
  padding-top: 80px;
  line-height: 1.6;
}

hr {
  margin-block: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Section Padding */
section {
  padding: 80px 0;
}

button:focus,
a:focus,
input:focus,
.btn:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* =========================================
   2. NAVBAR STYLING
   ========================================= */
.navbar {
  height: 80px;
  border-bottom: 1px solid #e5e7eb;
}

.navbar-logo {
  height: 60px;
  transition: height 0.3s;
}

/* Desktop Navigation Links */
.navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--hover-gold);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Icons */
.fa-search {
  font-size: 1.2rem;
  color: var(--text-dark);
}

/* Custom Hamburger Button */
.custom-toggler {
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  cursor: pointer;
  z-index: 1050;
}

.toggler-line {
  width: 100%;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: 0.3s;
}

.custom-toggler:hover .toggler-line {
  background-color: var(--hover-gold);
}

/* =========================================
   1. GLOBAL & RESET
   ========================================= */
:root {
  --primary-green: #006b4f;
  --text-dark: #1e3a2f;
  --hover-gold: #c5ad6d;
  --active-green: #00a67c; /* Restored from old code */
  --white: #ffffff;
}

body {
  padding-top: 80px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

button:focus,
a:focus,
input:focus,
.btn:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* =========================================
   2. NAVBAR STYLING
   ========================================= */
.navbar {
  height: 80px;
  border-bottom: 1px solid #e5e7eb;
}

.navbar-logo {
  height: 60px;
  transition: height 0.3s;
}

.navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.navbar-nav .nav-link:hover {
  color: var(--hover-gold) !important;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--hover-gold);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.fa-search {
  font-size: 1.2rem;
  color: var(--text-dark);
}

.custom-toggler {
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  cursor: pointer;
  z-index: 1050;
}

.toggler-line {
  width: 100%;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: 0.3s;
}

.custom-toggler:hover .toggler-line {
  background-color: var(--hover-gold);
}

/* =========================================
   3. MEGA MENU STYLES
   ========================================= */

/* OVERLAY & CONTAINER */
#mega-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.mega-menu-container {
  background-color: white;
  display: flex;
  overflow: hidden;
  position: relative;
  width: 95%;
  max-width: 1400px;
  height: 90dvh; /* Mobile Fix */
  max-height: 90dvh;
  border-radius: 4px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  flex-direction: column; /* Default mobile layout */
}

@media (min-width: 992px) {
  .mega-menu-container {
    flex-direction: row;
    height: 85vh;
  }
}

.mega-menu-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
}

.back-button {
  background: none;
  border: none;
  font-size: 1rem;
  padding: 0;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
}

/* SIDEBAR STYLES */
.mega-menu-sidebar {
  width: 100%;
  background-color: var(--primary-green);
  padding: 1.5rem;
  color: white;
  overflow-y: auto;
  flex-shrink: 0;
  z-index: 2;
  height: auto;
  max-height: 100%;
}

@media (min-width: 992px) {
  .mega-menu-sidebar {
    width: 320px;
    height: 100%;
    padding: 2.5rem 2rem;
  }
}

.nav-link-sidebar {
  color: white !important;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: all 0.2s ease;
  width: 100%;
  position: relative;
  border-bottom: 1px solid transparent;
}

.nav-link-sidebar:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

.nav-link-sidebar.active {
  font-weight: 700;
  width: 100%;
  border-bottom: 3px solid rgb(255 255 255);
}

.nav-link-sidebar::after {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.9rem;
  display: block;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.nav-link-sidebar.active::after {
  opacity: 1;
  transform: translateX(0);
}

.divider {
  border-color: rgb(255 255 255);
  margin: 2rem 0;
}

.close-button {
  background: none;
  border: none;
  color: white;
  font-size: 1rem;
  padding: 0;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.close-button i {
  font-size: 1.5rem;
}

.social-icons a {
  color: white;
  font-size: 1.1rem;
  opacity: 0.8;
  transition: 0.2s;
}

.social-icons a:hover {
  opacity: 1;
}

/* CONTENT PANEL STYLES */
.mega-menu-content {
  flex-grow: 1;
  padding: 1.5rem;
  background-color: var(--bg-grey);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  display: none; /* Hidden on mobile initially */
  height: 100%;
}

@media (min-width: 992px) {
  .mega-menu-content {
    display: block !important;
    padding: 3rem 4rem;
  }
}

/* MOBILE STATE MANAGEMENT */
.mega-menu-container:not(.mobile-active) .mega-menu-sidebar {
  display: block;
}

.mega-menu-container:not(.mobile-active) .mega-menu-content {
  display: none;
}

.mega-menu-container.mobile-active .mega-menu-sidebar {
  display: none;
}

.mega-menu-container.mobile-active .mega-menu-content {
  display: block;
  flex: 1 1 auto;
}

/* GENERAL TEXT STYLES */
.column-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 1.5rem;
  font-family: sans-serif;
}

.sub-link {
  color: #495057;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
  padding: 2px 0;
}

.sub-link:hover {
  color: var(--primary-green);
  text-decoration: underline;
}

@media (min-width: 992px) {
  .border-start-lg {
    border-left: 1px solid #ced4da !important;
  }
}

/* FEATURED CARD & FLOATER */
.btn-help-floating {
  background-color: #555e61;
  color: #e0e0e0;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.2s;
  display: inline-flex;
  align-items: center;
  position: absolute;
  right: 0;
  top: -60px;
}

.btn-help-floating:hover {
  background-color: #444b4d;
  color: white;
}

.featured-card-custom {
  min-height: 280px;
}

.bg-primary-green {
  background-color: var(--primary-green);
  overflow: hidden;
}

.curve-shape {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60px;
  background-color: white;
  border-top-left-radius: 50% 100%;
  border-bottom-left-radius: 50% 100%;
  transform: scaleX(0.6) translateX(30px);
  z-index: 1;
}

.custom-read-more {
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  width: fit-content;
  transition: all 0.2s;
}

.custom-read-more:hover {
  border-bottom-color: var(--primary-green);
}

/* PARTNERS GRID */
.partners-grid {
  margin-top: 15px;
}

.partner-item {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

.partner-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.8;
}

.partner-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-color: #ddd;
}

.partner-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 991px) {
  .border-start-lg {
    border-left: none !important;
    margin-top: 40px;
    padding-left: 0 !important;
  }
}

/* REFINED PREMIUM STYLES */
.btn-floater-refined {
  background-color: #4a5557;
  padding: 0.6rem 0.8rem 0.6rem 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-floater-refined:hover {
  background-color: #343a40;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2) !important;
}

.icon-circle {
  width: 28px;
  height: 28px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ade80;
  transition: transform 0.3s ease;
}

.btn-floater-refined:hover .icon-circle {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateX(3px);
}

.read-more-link {
  color: #212529;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  position: relative;
}

.read-more-link::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary-green);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.read-more-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.read-more-link:hover .transition-icon {
  transform: translateX(5px);
  color: var(--primary-green);
}

.transition-icon {
  transition: transform 0.2s ease, color 0.2s ease;
  color: var(--primary-green);
}

.border-white-50 {
  border-color: rgba(255, 255, 255, 0.3) !important;
}
/* --- FACULTY & RESEARCH SECTION STYLES --- */

/* 1. Custom Image Card (Rounded Tab Effect) */
.custom-image-card {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.custom-image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Image Area Fixed Height */
.custom-image-card .card-img-top {
  height: 240px;
  background-color: #f0f0f0;
}

.custom-image-card img {
  transition: transform 0.5s ease;
}

.custom-image-card:hover img {
  transform: scale(1.05);
}

/* 2. Curve Overlay (Visual Tab) */
/* Simulates the white content box curving up into the image area */
.curve-overlap-top {
  position: absolute;
  top: -40px; /* Push up into image */
  right: 0;
  width: 100%;
  height: 40px;
  background: transparent;
  pointer-events: none;
}

/* This creates the bottom rounded corners */
.custom-image-card .card-body {
  border-radius: 0 0 12px 12px;
  /* Visual trick handled here */
}

/* 3. Green Arrow Button */
.icon-box-green {
  width: 40px;
  height: 40px;
  background-color: #6cbf84; /* Base Green */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.custom-image-card:hover .icon-box-green {
  background-color: var(--primary-green); /* Darker on hover */
}

/* 4. Text Link Hover Effects */
.hover-green-text:hover {
  color: var(--primary-green) !important;
}

.hover-green-row:hover span {
  color: var(--primary-green);
  font-weight: 500;
}

/* Group Hover Logic for Icons */
.group:hover .group-hover-100 {
  opacity: 1 !important;
}

.transition-fade {
  transition: opacity 0.2s ease;
}

.transition-icon {
  transition: transform 0.2s ease;
}
.group:hover .transition-icon {
  transform: translateX(5px);
}

/* 5. Accordion Clean Style */
.accordion-button:not(.collapsed) {
  color: var(--primary-green);
  background-color: transparent;
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: none;
}
.accordion-button::after {
  background-size: 1rem;
}

/* 6. Layout Utilities */
.border-end-lg {
  border-right: 1px solid #e9ecef;
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .border-end-lg {
    border-right: none;
    padding-right: 0 !important;
    margin-bottom: 2rem;
  }

  .ps-lg-5 {
    padding-left: 0 !important;
  }

  .custom-image-card {
    min-height: auto;
  }

  .custom-image-card .card-img-top {
    height: 200px;
  }
}

/* =========================================
   FACILITIES PANEL STYLES
   ========================================= */

/* Panel Container */
.mega-menu-panel {
  padding: 2rem;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

/* --- White Card Style --- */
.recruit-card-white {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
  display: block;
}

.recruit-card-white:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.recruit-card-img-wrapper {
  height: 200px;
  width: 100%;
  overflow: hidden;
  border-bottom-left-radius: 50% 20px;
  border-bottom-right-radius: 0;
}

.recruit-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.recruit-card-white:hover .recruit-card-img {
  transform: scale(1.05);
}

.recruit-card-body {
  padding: 1.5rem;
  position: relative;
}

.recruit-card-title {
  font-size: 1.1rem;
  margin-right: 1rem;
}

/* Renamed Class: Action Icon Wrapper */
.action-icon-wrapper {
  background-color: #6cbf84; /* Light green accent */
  width: 40px;
  height: 40px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}

.recruit-card-white:hover .action-icon-wrapper {
  background-color: var(--primary-green);
}

/* --- Green Card Style --- */
.recruit-card-green {
  background-color: var(--primary-green);
  border-radius: 8px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

/* Background Overlay for Green Card */
.card-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1; /* Low opacity texture */
  background-size: cover;
  background-position: center;
  mix-blend-mode: overlay;
  z-index: 0;
}

.recruit-link-green {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.3s ease;
  margin-top: auto;
}

.recruit-link-green:hover {
  opacity: 0.8;
  color: var(--white);
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
  .mega-menu-panel {
    padding: 1.5rem;
  }

  .recruit-card-img-wrapper {
    height: 180px;
  }

  .recruit-card-green {
    padding: 2rem;
    min-height: 250px;
  }
}

@media (max-width: 576px) {
  .recruit-card-body {
    padding: 1rem;
  }

  .action-icon-wrapper {
    width: 35px;
    height: 35px;
  }
}

/* =========================================
   HERO SECTION STYLES (UPDATED)
   ========================================= */

.hero {
  position: relative;
  width: 100%;
  height: 600px; /* Fixed height for desktop */
  overflow: hidden;
  margin-bottom: 0;
  padding: 0;
}

/* Ensure Carousel takes full height */
#heroCarousel {
  height: 100%;
  width: 100%;
}

.carousel-inner,
.carousel-item {
  height: 100%;
}

.carousel-item img {
  object-fit: cover;
  object-position: center;
  filter: brightness(0.6); /* Slightly darker to make logo pop */
  height: 100%;
  width: 100%;
}
/* Content Overlay Styling */
.hero-overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Wrapper Animation */
.hero-logo-wrapper {
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.3s;
}

/* Logo Styling */
.hero-logo {
  max-width: 400px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Subtitle Styling */
.hero-subtitle {
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0;
  letter-spacing: 1px;
}

/* Simple Fade In Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
  .hero-logo {
    max-width: 300px;
  }
  .hero-subtitle {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .hero-logo {
    max-width: 220px;
  }
  .hero-subtitle {
    font-size: 1.1rem;
    margin-top: 0.5rem;
  }
}

/* Section Titles */
.section-title {
  color: var(--secondary-green);
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
  font-size: 2.5rem;
}

/* Mission Banner Section */
.mission-banner {
  background-color: var(--white);
  padding: 60px 20px;
  text-align: center;
}
.mission-banner h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--black);
  margin: 0;
}
.mission-banner p {
  font-size: 1.8rem;
  color: var(--white);
  margin-top: 10px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .mission-banner {
    padding: 5px 20px;
  }
  .mission-banner p {
    font-size: 1.1rem;
  }
}

/* Story Section */
.story-text {
  font-size: 1.2rem;
}
.story-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 20px;
}

.story-feature {
  position: relative;
  width: 100%;
  max-width: 350px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.story-feature-image {
  height: 200px;
  overflow: hidden;
}

.story-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.story-feature:hover .story-feature-image img {
  transform: scale(1.05);
}

.story-feature-content {
  padding: 25px;
  position: relative;
  z-index: 2;
  background: var(--dark-green-gradient);
}

.story-feature h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.story-feature p {
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 20px;
}

.story-link {
  display: inline-block;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.story-link::after {
  content: "→";
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.story-link:hover {
  color: var(--hover-gold);
}

.story-link:hover::after {
  transform: translateX(4px);
}

/* Responsive design */
@media (max-width: 992px) {
  .story-features {
    gap: 20px;
  }

  .story-feature {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .story-features {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
  }

  .story-feature {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .story-features {
    padding: 30px 15px;
  }

  .story-feature-content {
    padding: 20px;
  }

  .story-feature h3 {
    font-size: 1.3rem;
  }
}

/* Specializations Section */

.specializations-section {
  padding: 80px 0;
  background-color: var(--white);
}

.specializations-section .section-title::after {
  content: none !important;
}

.specializations-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 1280px;
  margin: 0;
}

.specializations-header {
  text-align: left;
  margin: 0 auto 50px;
  width: 100%;
}

.section-overline {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 5px;
  font-weight: 500;
}

.specializations-subtitle {
  font-size: 1.2rem;
  color: var(--medium-gray);
  margin-top: 15px;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
}

.specializations-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 auto;
  width: 100%;
}

.specialization-item {
  display: flex;
  align-items: center;
  width: calc(50% - 12px);
  margin: 15px 0;
  padding: 15px;
  background-color: var(--white);
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.specialization-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.specialization-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #705ded;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.specialization-item:nth-child(2) .specialization-icon {
  background-color: #f1644c;
}

.specialization-item:nth-child(3) .specialization-icon {
  background-color: #fe9f11;
}

.specialization-item:nth-child(4) .specialization-icon {
  background-color: #0f4089;
}

.specialization-title {
  color: var(--black);
  font-weight: 600;
  font-size: 1.3rem;
  padding-left: 16px;
  margin: 0;
  line-height: 1.4;
}

/* Specializations Section with Larger Container */
.specializations-section .container {
  max-width: 1280px; /* Increased from default 1140px */
  padding: 0 20px;
}

/* Responsive Styles for Specializations Section */
@media (max-width: 1200px) {
  .specializations-wrapper {
    padding: 0 20px;
  }
}

@media (max-width: 992px) {
  .specializations-list {
    width: 100%;
    gap: 20px;
  }

  .specialization-item {
    width: calc(50% - 10px);
  }

  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .specializations-section {
    padding: 60px 0;
  }

  .specializations-header {
    margin-bottom: 40px;
    text-align: center;
  }

  .specializations-list {
    gap: 16px;
  }

  .specialization-item {
    width: 100%;
    margin: 10px 0;
    padding: 12px;
  }

  .specialization-title {
    font-size: 1.1rem;
  }

  .specializations-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
    text-align: center;
  }

  .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 576px) {
  .specializations-section {
    padding: 50px 0;
  }

  .specialization-icon {
    width: 35px;
    height: 35px;
  }

  .specialization-title {
    font-size: 1rem;
    padding-left: 12px;
  }

  .specializations-subtitle {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .specializations-wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .specializations-header {
    width: 46%;
    margin: 0;
    text-align: left;
  }

  .specializations-list {
    width: 54%;
    margin: 0;
  }

  .section-title {
    text-align: left;
    margin: 20px 0px;
  }

  .section-title::after {
    left: 0;
    transform: none;
  }
}

/* Programmes Section */
.programmes-section {
  padding: 80px 0;
  background-color: var(--white);
}

.programmes-wrapper {
  max-width: 1280px;
  margin: 0 auto;
}

.programmes-header {
  text-align: left;
  margin-bottom: 60px;
  margin-left: 0;
  margin-right: auto;
}

.programmes-description {
  font-size: 1.2rem;
  color: var(--medium-gray);
  margin: 20px 0 30px;
  line-height: 1.6;
}

/* Explore Button */
.btn-explore {
  display: inline-flex;
  align-items: center;
  color: var(--text-gold);
  font-weight: 600;
  text-decoration: none;
  padding: 12px 24px;
  border: 2px solid var(--text-gold);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-explore:hover {
  background-color: var(--text-gold);
  color: var(--white);
  transform: translateY(-2px);
}

.icon-arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn-explore:hover .icon-arrow {
  transform: translateX(4px);
}

/* Programme Cards */
.programmes-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.programme-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  border-top-left-radius: 60px;
}

.programme-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  border-bottom-right-radius: 60px;
  border-bottom-left-radius: 8px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.programme-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 20px 24px;
  flex-grow: 1;
  background-color: var(--white);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  transition: all 0.3s ease;
}

.card-title {
  color: var(--black);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 15px;
  line-height: 1.3;
}

.card-description {
  color: var(--medium-gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  color: var(--black);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 6px 12px;
  background-color: var(--c-secondary-green-40);
  border-radius: 4px;
  min-width: 60px;
  justify-content: center;
}

.card-link:hover {
  color: var(--hover-gold);
}

.card-link .icon-arrow {
  margin-left: 5px;
  font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .programmes-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .card-content {
    padding: 16px;
  }
}

@media (max-width: 768px) {
  .programmes-section {
    padding: 60px 0;
  }

  .programmes-header {
    margin-bottom: 40px;
  }

  .programmes-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card-content {
    padding: 16px;
  }

  .card-title {
    font-size: 1.2rem;
  }

  .programmes-description {
    font-size: 1.1rem;
  }

  .card-link {
    bottom: 12px;
    right: 12px;
    padding: 4px 8px;
  }
}

@media (max-width: 576px) {
  .programmes-section {
    padding: 50px 0;
  }

  .btn-explore {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .card-image {
    height: 200px;
  }

  .card-content {
    padding: 12px;
  }

  .card-link {
    bottom: 8px;
    right: 8px;
    padding: 2px 6px;
  }
}

/* Admission Section */
.admission-section {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.admission-wrapper {
  max-width: 1280px;
  margin: 0 auto;
}

/* Section Titles */
.admission-section .section-title {
  color: var(--black);
  font-weight: 700;
  margin-bottom: 0px;
  font-size: 2.2rem;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--white);
  padding-bottom: 10px;
}

/* Accordion Item */
.accordion-item {
  margin-bottom: 0px;
  font-size: 1.2rem;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  cursor: pointer;
  font-weight: 500;
  color: var(--white);
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--white);
}

.accordion-header:hover {
  color: var(--hover-gold);
}

.icon-toggle {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.accordion-header.active .icon-toggle {
  transform: rotate(45deg);
}

.accordion-content {
  display: none;
  padding: 20px 0;
  border-top: 1px solid var(--light-gray);
}

.accordion-content.active {
  display: block;
}

/* Image in Content */
.bild img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .admission-section {
    padding: 60px 0;
  }
  .admission-wrapper {
    padding: 0 20px;
  }
  .accordion-header {
    font-size: 1rem;
  }
  .accordion-content {
    padding: 15px 0;
  }
  .bild img {
    height: 120px;
  }
}

/* Discover Programmes Section */
.discover-section {
  padding: 80px 0;
  background-color: var(--white);
  position: relative;
}

.discover-wrapper {
  display: flex;
  gap: 128px;
  max-width: 1340px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

/* New flex wrapper for image + description */
.discover-info {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 30px;
}

.discover-image-container {
  flex: 1;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  max-height: 40rem;
  height: 40rem;
}

.discover-image-container:hover {
  transform: scale(1.02);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0)
  );
  z-index: 1;
}

.discover-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.discover-image-container:hover img {
  transform: scale(1.05);
}

/* Right Side: Text Content */
.discover-content {
  flex: 1;
  padding: 20px;
}

.discover-text {
  flex: 1;
}

.discover-description {
  color: var(--medium-gray);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.programme-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.2rem;
}

.programme-list li {
  margin-bottom: 15px;
}

.programme-link {
  color: var(--black);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
}

.programme-link::after {
  content: "→";
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.programme-link:hover {
  color: var(--hover-gold);
}

.programme-link:hover::after {
  transform: translateX(4px);
}

.help-links,
.event-links {
  margin-top: 30px;
  font-size: 1.2rem;
}

.help-text,
.event-text {
  color: var(--medium-gray);
  font-size: 1rem;
  margin-bottom: 8px;
}

.help-link,
.event-link .news-link {
  color: var(--black);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.help-link::after,
.event-link::after,
.news-link::after {
  content: "→";
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.help-link:hover,
.event-link:hover {
  color: var(--hover-gold);
}

.help-link:hover::after,
.event-link:hover::after {
  transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .discover-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .discover-info {
    flex-direction: column;
    gap: 20px;
  }

  .discover-image-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .discover-content {
    padding: 20px;
    text-align: center;
  }

  .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .discover-section {
    padding: 60px 0;
  }

  .discover-image-container {
    max-width: 400px;
  }

  .discover-description {
    font-size: 1rem;
    text-align: left;
  }

  .programme-link,
  .help-link,
  .event-link {
    font-size: 0.95rem;
  }

  .discover-text {
    text-align: left;
  }
}

@media (max-width: 576px) {
  .discover-section {
    padding: 50px 0;
  }

  .discover-image-container {
    max-width: 350px;
  }

  .section-title {
    font-size: 2.2rem;
    text-align: left;
  }
}

/* By default: show desktop layout, hide mobile */
.desktop-layout {
  display: block;
  padding: 0;
}
.mobile-layout {
  display: none;
  padding: 0;
}

/* On mobile: hide desktop, show mobile */
@media (max-width: 992px) {
  .desktop-layout {
    display: none;
  }
  .mobile-layout {
    display: block;
  }
}

/* Stats/Achievements Section */
.stats-section {
  padding: 80px 0;
  background-color: var(--white);
}

.stats-content {
  text-align: center;
  margin: 0;
  margin-bottom: 60px;
}

.stats-content .section-title {
  margin-bottom: 0;
}

.stats-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.stats-card {
  background: var(--white);
  border-radius: 8px;
  padding: 25px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 160px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stats-card-image {
  width: 110px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 15px;
  background-color: transparent;
}

.stats-card-data {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 10px 0;
  color: var(--primary-blue);
}

.stats-card:nth-child(3) .stats-card-data {
  color: #0f4089;
}

.stats-card:nth-child(4) .stats-card-data {
  color: #fe9f0f;
}

.stats-card-desc {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.stats-card-subtext {
  font-size: 0.9rem;
  color: var(--medium-gray);
  margin: 0;
  font-style: italic;
}

/* Responsive Design */
@media (min-width: 768px) {
  .stats-cards {
    gap: 25px;
  }

  .stats-card {
    padding: 30px 25px;
    min-height: 180px;
  }

  .stats-card-data {
    font-size: 3.2rem;
  }

  .stats-card-desc {
    font-size: 1.1rem;
  }
}

@media (min-width: 992px) {
  .stats-cards {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1000px;
  }

  .stats-card-data {
    font-size: 3.5rem;
  }
}

@media (min-width: 1200px) {
  .stats-card {
    padding: 35px 30px;
    min-height: 200px;
  }

  .stats-card-data {
    font-size: 4rem;
  }

  .stats-card-desc {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .stats-section {
    padding: 60px 0;
  }

  .stats-content {
    margin-bottom: 40px;
  }

  .stats-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .stats-card {
    min-height: 200px;
    padding: 20px 15px;
  }

  .stats-card-data {
    font-size: 2.5rem;
  }

  .stats-card-desc {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .stats-cards {
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 400px;
  }
}

/* Career Support Section */
.career-support-section {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.career-support-header {
  margin-bottom: 60px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.header-content .section-title {
  flex: 1;
  margin: 0;
  max-width: 600px;
}

.hiring-partner-card {
  background: var(--white);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  flex-shrink: 0;
  width: 280px;
  text-align: center;
}

.partner-count {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 0;
  line-height: 1;
}

.partner-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--black);
  margin: 10px 0 5px;
}

.partner-disclaimer {
  font-size: 0.9rem;
  color: var(--medium-gray);
  margin: 0;
  font-style: italic;
}

.career-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.career-feature {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.career-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-image {
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.career-feature:hover .feature-image img {
  transform: scale(1.05);
}

.feature-desc {
  padding: 20px 15px;
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  text-align: center;
  line-height: 1.4;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.career-support-section {
  .section-title::after {
    background-color: #ffffff45;
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .career-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .header-content {
    flex-direction: column;
    gap: 30px;
  }

  .hiring-partner-card {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .partner-count {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .career-support-section {
    padding: 60px 0;
  }

  .career-support-header {
    margin-bottom: 40px;
  }

  .career-features {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
    gap: 20px;
  }

  .hiring-partner-card {
    padding: 20px;
  }

  .partner-count {
    font-size: 2.8rem;
  }

  .feature-desc {
    min-height: auto;
    padding: 15px 12px;
  }
}

@media (max-width: 576px) {
  .career-support-section {
    padding: 50px 0;
  }

  .partner-count {
    font-size: 2.5rem;
  }

  .partner-title {
    font-size: 1.1rem;
  }

  .feature-image {
    height: 140px;
  }
}

@media (min-width: 1200px) {
  .career-features {
    gap: 30px;
  }

  .feature-desc {
    font-size: 1.1rem;
    padding: 25px 20px;
  }

  .feature-image {
    height: 180px;
  }
}

/* Events Section */

.events-header {
  margin-bottom: 60px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.event-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.event-image-container {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.event-card:hover .event-image {
  transform: scale(1.05);
}

.event-date-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--dark-green);
  color: var(--white);
  padding: 10px 12px;
  border-radius: 8px;
  text-align: center;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.date-month {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
}

.date-day {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.event-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
  min-height: 72px; /* Force 2 rows for all cards */
  align-content: flex-start; /* Align tags to top of container */
}

.event-tag {
  background: var(--dark-green-gradient);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  height: 28px; /* Fixed height for consistent tag size */
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.event-title {
  color: var(--black);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.4;
  margin-bottom: 15px;
  min-height: 72px;
  display: flex;
  align-items: center;
}

.event-description-container {
  flex-grow: 1;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.event-description {
  color: var(--medium-gray);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.event-link {
  display: block;
  align-items: center;
  color: var(--black);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.event-link .icon-arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.event-link:hover .icon-arrow {
  transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .event-tags {
    min-height: 64px; /* Adjusted for tablet */
  }

  .event-title {
    min-height: 66px;
  }
}

@media (max-width: 768px) {
  .events-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
    gap: 20px;
  }

  .event-content {
    padding: 20px;
  }

  .event-tags {
    min-height: 60px; /* Adjusted for mobile */
  }

  .event-title {
    font-size: 1.2rem;
    min-height: 60px;
  }

  .event-image-container {
    height: 180px;
  }
}

@media (max-width: 576px) {
  .event-date-tag {
    top: 10px;
    left: 10px;
    padding: 8px 10px;
  }

  .date-month {
    font-size: 0.8rem;
  }

  .date-day {
    font-size: 1.2rem;
  }

  .event-tags {
    min-height: 56px; /* Adjusted for small mobile */
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .event-tag {
    font-size: 0.75rem;
    height: 26px;
  }

  .event-title {
    min-height: 54px;
  }
}

/* News Section */
.news-card {
  margin: 1rem;
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  background: var(--dark-green-gradient);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  color: var(--light-green);
  font-size: 0.9rem;
  font-weight: 500;
}

.news-title {
  color: var(--white);
  font-weight: 700;
  margin: 10px 0;
  font-size: 1.25rem;
}

.news-excerpt {
  color: var(--white);
  margin-bottom: 15px;
  flex-grow: 1;
}

.news-link {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
  margin-top: auto;
}

.news-link:hover {
  color: var(--hover-gold);
}

/* Companies Section */
.companies-section {
  padding: 80px 0;
  padding-bottom: 6.5rem;
  background-color: var(--white);
}

.companies-header {
  margin-bottom: 60px;
}

.companies-scroll-container {
  overflow: hidden;
  width: 100%; /* full width of screen */
  position: relative;
}

.companies-scroll-track {
  display: flex;
  animation: scroll-left 30s linear infinite;
  width: calc(200%);
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.company-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 160px;
  min-width: 250px;
  margin-right: 30px;
  flex-shrink: 0;
}

.company-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.companies-scroll-track:hover {
  animation-play-state: paused;
}

.company-logo img {
  max-width: 100%;
  height: inherit;
  object-fit: contain;
}

.company-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .companies-section {
    padding: 60px 0;
  }

  .companies-header {
    margin-bottom: 40px;
  }

  .company-logo {
    height: 140px;
    padding: 15px;
    min-width: 200px;
    margin-right: 20px;
  }

  .companies-scroll-track {
    animation-duration: 25s;
  }
}

@media (max-width: 576px) {
  .companies-section {
    padding: 50px 0;
  }

  .company-logo {
    height: 120px;
    min-width: 180px;
    margin-right: 15px;
  }

  .companies-scroll-track {
    animation-duration: 20s;
  }
}

/* Executive Banner Section */

.executive-banner {
  padding: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.executive-banner-content {
  background: var(--dark-green-gradient);
  padding: 50px 0;
  position: relative;
  text-align: center;
}

.executive-banner-text {
  position: relative;
  z-index: 2;
}

.executive-banner-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 25px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.5px;
}

.executive-cta-btn {
  display: inline-block;
  background: #d9b263;
  color: #01342a;
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.executive-cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: all 0.6s ease;
}

.executive-cta-btn:hover {
  background: #e6c67c;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.executive-cta-btn:hover::before {
  left: 100%;
}

/* Responsive Design */
@media (max-width: 992px) {
  .executive-banner-text h2 {
    font-size: 2rem;
  }

  .executive-cta-btn {
    padding: 12px 30px;
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .executive-banner-content {
    padding: 40px 0;
  }

  .executive-banner-text h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .executive-cta-btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .executive-banner-content {
    padding: 30px 0;
  }

  .executive-banner-text h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .executive-cta-btn {
    padding: 8px 20px;
    font-size: 0.85rem;
  }
}

/* Footer Section */
.site-footer {
  margin-top: auto;
}

.footer-main {
  background-color: var(--dark-green-80);
  color: var(--white);
  padding: 70px 0 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  margin-bottom: 20px;
  flex-basis: content;
}

.footer-description {
  color: rgba(255, 255, 255);
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-main h4 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 22px;
  font-size: 1.25rem;
  position: relative;
  padding-bottom: 12px;
}

.footer-main h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--text-gold);
}

.footer-main ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-main ul li {
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
}

.footer-main ul li:last-child {
  margin-bottom: 0;
}

.footer-main ul li a {
  color: rgba(255, 255, 255);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.footer-main ul li a:hover {
  color: var(--hover-gold);
  transform: translateX(5px);
}

.footer-main i {
  margin-right: 12px;
  width: 18px;
  text-align: center;
  font-size: 0.9rem;
}

.footer-contact ul li {
  align-items: center;
}

.footer-contact span {
  color: rgba(255, 255, 255, 0.8);
}

.social-icons {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
}

.social-icons i {
  margin: 0;
}

.social-icons a {
  display: inline-flex;
  width: 42px;
  height: 42px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover {
  background-color: var(--hover-gold);
  transform: translateY(-3px);
}

.newsletter-signup {
  margin-top: 20px;
}

.newsletter-signup h5 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input {
  padding: 12px 15px;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
}

.newsletter-form button {
  background-color: var(--text-gold);
  color: var(--black);
  border: none;
  padding: 12px 15px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #e6c67c;
}

.footer-bottom {
  width: 100%;
  background: var(--white);
  padding: 20px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  color: var(--black);
  margin-inline: 3rem;
}

.partners-section {
  display: inline;
  align-items: center;
  gap: 15px;
}

.partners-label {
  color: inherit;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0; /* prevents shrinking */
}

.partners-logos {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 0;
  width: 100%;
  min-width: 0;
  min-height: 60px;
  /* overflow: hidden; */
}

@supports (-webkit-touch-callout: none) {
  .partners-logos {
    min-width: -webkit-fill-available;
  }
}

/* Each group is stacked */
.logo-group {
  position: absolute;
  display: flex;
  gap: 20px; /* spacing between logos */
  opacity: 0;
  animation: fadeCycle 12s infinite;
  justify-content: center; /* align logos left */
  width: 100%;
}
.logo-group:nth-child(1) {
  animation-delay: 0s;
}
.logo-group:nth-child(2) {
  animation-delay: 4s;
}
.logo-group:nth-child(3) {
  animation-delay: 8s;
}

@keyframes fadeCycle {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  35% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.partner-logo {
  max-width: 120px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-logo:hover {
  opacity: 1;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-bottom a:hover {
  color: var(--hover-gold);
}

.separator {
  color: rgba(255, 255, 255, 0.4);
}

.growth-partner {
  display: flex;
  flex-direction: column;
  margin-left: 0; /* reset */
  float: none; /* stop breaking flex */
}

.growth-partner h4 {
  text-align: right;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  background: -webkit-linear-gradient(
    144deg,
    rgb(153 0 244) 0%,
    rgb(243 141 43) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  color: #2a3e48;
}

.growth-partner img {
  width: 165px;
  height: auto;
}

/* Responsive Footer */

@media (max-width: 1024px) {
  .footer-grid {
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .footer-main {
    padding: 60px 0 40px;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-main {
    padding: 50px 0 30px;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .partners-section {
    order: 2;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    order: 3;
  }

  .copyright {
    order: 1;
  }

  .growth-partner {
    order: 4; /* comes last */
    align-items: center; /* center horizontally on mobile */
    margin-left: auto;
  }
}

@media (max-width: 576px) {
  .footer-main {
    padding: 40px 0 25px;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-main h4 {
    text-align: center;
  }

  .footer-main h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .newsletter-form {
    flex-direction: column;
  }

  .partners-section {
    flex-direction: column;
    gap: 10px;
  }

  .partner-logo {
    max-width: 80px;
    max-height: 30px;
  }

  .partners-logos {
    min-height: 40px; /* keeps logos visible */
  }
}

/* Custom CSS */

.bg-color-green-gradient {
  background: linear-gradient(45deg, #161d1c, #00654c);
}

.bg-color-green-gradient {
  .section-title {
    color: #fff;
  }
}

.bg-color-light-white {
  background-color: #f5f5f5; /* fallback */
  background-image: var(--light-white);
}

/* =========================================
   COMMON PAGE HERO (Reusable Component)
   ========================================= */

/* Main Section Wrapper */
.page-hero {
  padding: 120px 0 60px;
  position: relative;
}

/* Inner Wrapper for Alignment */
.page-hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between; /* Keeps CTA button (if present) to the right */
  gap: 30px;
}

/* Text Container */
.page-hero-text {
  max-width: 800px; /* Ensures text doesn't stretch too wide */
}

/* Main H1 Title */
.page-hero-title {
  font-size: clamp(2.2rem, 2rem + 2vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--white);
  letter-spacing: 0.2px;
  font-weight: 700;
}

/* Subtitle/Description */
.page-hero-subtitle {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 720px;
}

/* Breadcrumb Navigation */
.page-hero-breadcrumb {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.page-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.page-hero-breadcrumb a:hover {
  color: var(--hover-gold);
}

.page-hero-breadcrumb .sep {
  opacity: 0.7;
}

/* Optional CTA Button Area (for Faculty page) */
.page-hero-cta {
  flex-shrink: 0;
}

/* RESPONSIVE STYLES FOR HERO */
@media (max-width: 991px) {
  .page-hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
  .page-hero {
    padding: 100px 0 50px;
    text-align: center;
  }

  .page-hero-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .page-hero-subtitle {
    margin: 0 auto 20px;
  }

  .page-hero-breadcrumb {
    justify-content: center;
  }

  .page-hero-cta {
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

/* --- Faculty Hero (Slant Layout) --- */
.faculty-hero {
  background-color: var(--primary-green); /* Solid Green Background */
  height: 350px; /* Fixed height matching your request */
  position: relative;
  overflow: hidden;
  color: white;
}

/* The Slanted Image Overlay */
.faculty-slant-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%; /* Covers ~55% of the right side */
  height: 100%;
  background-image: url("https://images.unsplash.com/photo-1544531586-fde5298cdd40?q=80&w=2070&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  z-index: 1;
  /* The diagonal cut (Slant) */
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

/* Ensure text sits on top of the image layer */
.faculty-hero .container {
  z-index: 2;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
  .faculty-slant-bg {
    width: 100%;
    clip-path: none; /* Remove slant on mobile */
    opacity: 0.15; /* Fade image so text is readable over it */
  }
}

/* --- Section Headings --- */
.section-header {
  margin-bottom: 2rem;
}
.section-header h2 {
  font-weight: 700;
  color: #333;
}

/* ===== Faculty & Research News (match reference) ===== */
.faculty-research-news {
  position: relative;
  background: #f6f7f8; /* light grey like reference */
  overflow: hidden;
}

/* subtle decorative wash like the reference section background */
.faculty-research-news::before {
  content: "";
  position: absolute;
  left: -240px;
  top: -220px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(
    0,
    128,
    96,
    0.08
  ); /* uses your green feel without hardcoding brand token */
  pointer-events: none;
}

.faculty-news-header h2 {
  font-weight: 700;
}

/* square green nav buttons */
.news-nav-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  line-height: 1;
}

/* horizontal carousel row (3-up on desktop) */
.faculty-news-carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.faculty-news-carousel::-webkit-scrollbar {
  height: 8px;
}
.faculty-news-carousel::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 20px;
}
.faculty-news-carousel::-webkit-scrollbar-track {
  background: transparent;
}

.faculty-news-card {
  scroll-snap-align: start;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(16, 24, 40, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  flex: 0 0 calc((100% - 36px) / 3); /* 3 cards visible */
}

.faculty-news-media {
  height: 170px; /* reference-like banner height */
  overflow: hidden;
}

.faculty-news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.faculty-news-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.faculty-news-title {
  font-weight: 800;
  margin: 0;
  line-height: 1.25;
}

.faculty-news-excerpt {
  margin: 0;
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.45;
}

.faculty-news-link {
  margin-top: auto;
  font-weight: 700;
  color: inherit; /* lets your global link styles control final color */
  text-decoration: none;
}

.faculty-news-link:hover {
  text-decoration: underline;
}

/* bottom CTA matches reference placement/feel but keeps your btn-success styling */
.faculty-news-cta {
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 700;
}

/* responsive: 2-up tablet, 1-up mobile */
@media (max-width: 991.98px) {
  .faculty-news-card {
    flex-basis: calc((100% - 18px) / 2);
  }
}
@media (max-width: 575.98px) {
  .faculty-news-card {
    flex-basis: 88%;
  }
  .news-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
}

/* ===== Message from the hods (match reference) ===== */
.hods-message-section {
  background: #fff;
}

.hods-section-title {
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 2.5rem;
}

.hod-message-card {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  background: #f8f9fa; /* subtle card background matching reference */
  padding: 2rem;
  border-radius: 8px;
}

/* circular portrait on left */
.hod-portrait-wrapper {
  flex-shrink: 0;
}

.hod-portrait {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* quote content area */
.hod-quote-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* large orange/gold quote mark (matches reference) */
.hod-quote-icon {
  color: #e9a33c; /* orange/gold like reference; adjust to var(--insead-gold) if you have it */
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

/* body text styling */
.hod-quote-text {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* hod name & title */
.hod-info {
  margin-top: 1.25rem;
}

.hod-name {
  font-weight: 700;
  font-size: 1rem;
  color: #212529;
  margin-bottom: 0.25rem;
}

.hod-title {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6c757d;
  font-weight: 500;
}

/* responsive: stack portrait on mobile */
@media (max-width: 575.98px) {
  .hod-message-card {
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
  }

  .hod-portrait {
    width: 120px;
    height: 120px;
  }

  .hod-quote-icon {
    font-size: 2rem;
  }
}

/* --- Search / Filter Strip --- */
.search-strip {
  position: relative;
  /* Fallback color */
  background-color: #1a242c;
  padding: 4rem 0;
  color: white;
}

.search-strip-overlay {
  background: linear-gradient(rgba(26, 36, 44, 0.9), rgba(26, 36, 44, 0.9));
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.search-strip-content {
  position: relative;
  z-index: 2; /* Ensures content is above overlay */
}

/* "I am looking for..." label */
.filter-label {
  font-size: 1.5rem; /* Large readable text */
  font-weight: 400;
  color: #ffffff;
  margin-right: 0.5rem;
  line-height: 1.5;
}

/* The custom "Select type" dropdown trigger */
.filter-dropdown-toggle {
  font-size: 1.5rem;
  color: #6c757d; /* Placeholder gray color */
  border: none;
  border-bottom: 3px solid var(--insead-green, #006e53); /* Thick green underline */
  padding: 0 1.5rem 5px 0; /* Space for the arrow */
  background: transparent;
  border-radius: 0;
  position: relative;
  text-align: left;
  min-width: 150px;
  cursor: pointer;
  line-height: 1.5;
}

.filter-dropdown-toggle:hover,
.filter-dropdown-toggle:focus {
  color: #adb5bd;
  text-decoration: none;
  outline: none;
}

/* Custom Chevron using CSS borders to match the clean thin style */
.filter-dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  border-right: 2px solid var(--insead-green, #006e53);
  border-bottom: 2px solid var(--insead-green, #006e53);
  transform: rotate(45deg);
  position: absolute;
  right: 0;
  top: 35%;
  margin-left: 0;
  vertical-align: middle;
  border-top: 0;
  border-left: 0;
  transition: transform 0.2s ease;
}

.filter-dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(225deg);
  top: 45%;
}

/* Dropdown Menu Styling */
.search-strip .dropdown-menu {
  border-radius: 0;
  margin-top: 10px;
  padding: 0;
  min-width: 100%;
  border: none;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.search-strip .dropdown-item {
  padding: 12px 20px;
  font-size: 1rem;
  color: #333;
  transition: background-color 0.2s ease;
}

.search-strip .dropdown-item:hover,
.search-strip .dropdown-item:focus {
  background-color: #f8f9fa;
  color: var(--insead-green, #006e53);
}

/* Clear Link Styling */
.filter-clear-link {
  transition: color 0.2s ease, text-decoration 0.2s ease;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.filter-clear-link:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .search-strip {
    padding: 3rem 0;
  }

  .filter-label,
  .filter-dropdown-toggle {
    font-size: 1.25rem;
  }

  .filter-sentence-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-dropdown-toggle {
    width: 100%;
    margin-top: 0.25rem;
  }
}

/* --- CITBS Research Grid Section (Scoped) --- */
.research-grid-section {
  background-color: #fff; /* Matches clean white background from reference */
}

.section-header-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #212529;
}

/* Card Container - mimics programme-card style */
.citbs-research-card {
  background: #fff;
  border: 1px solid #e9ecef; /* Subtle border */
  border-radius: 0 0 8px 8px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  overflow: hidden; /* Ensures child elements respect border-radius */
}

.citbs-research-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
  border-color: transparent;
}

/* Image Wrapper with distinct "Swoosh" Curve */
.citbs-card-img-wrapper {
  position: relative;
  height: 220px;
  width: 100%;
  overflow: hidden;
  /* The "swoosh" mask effect */
  -webkit-mask-image: radial-gradient(
    circle at 100% 100%,
    transparent 40px,
    black 41px
  );
  mask-image: radial-gradient(
    circle at 100% 100%,
    transparent 40px,
    black 41px
  );
}

.citbs-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.citbs-research-card:hover .citbs-card-img {
  transform: scale(1.08);
}

/* Card Content Body */
.citbs-card-body {
  padding: 1.5rem 1.5rem 4rem; /* Extra bottom padding for the button */
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.citbs-card-title {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #212529;
  line-height: 1.3;
}

.citbs-card-text {
  font-size: 0.95rem;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Square Green Arrow Button - Bottom Right */
.citbs-card-btn {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background-color: #6da08c; /* Muted green (default state) */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.citbs-card-btn i {
  font-size: 0.9rem;
}

/* Hover State for Button */
.citbs-research-card:hover .citbs-card-btn,
.citbs-card-btn:hover {
  background-color: var(--insead-green, #006e53); /* Active brand green */
  color: #fff;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .citbs-card-img-wrapper {
    height: 200px;
  }
}

/* --- INSEAD Publishing Section --- */
.publishing-section {
  background-color: #f9f9f9; /* Very light grey background */
}

.publishing-section {
  background-color: var(--light-gray);
  padding: 80px 0;
}

.pub-card-redesign {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid #e9ecef;
}

.pub-card-redesign:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.pub-card-header {
  padding: 1.25rem 1.5rem;
  background-color: #f8f9fa;
  border-bottom: 2px solid var(--dark-green);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pub-topic-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: var(--dark-green);
  color: #fff;
}

.pub-topic-badge.badge-strategy {
  background-color: #0f4089;
}

.pub-topic-badge.badge-responsibility {
  background-color: #fe9f11;
}

.pub-topic-badge.badge-industry {
  background-color: var(--medium-gray);
}

.pub-card-body-redesign {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.pub-title-redesign {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark-gray);
  margin-bottom: 1rem;
  line-height: 1.4;
  font-family: var(--primary-font);
}

.pub-excerpt-redesign {
  color: var(--medium-gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
  flex-grow: 1;
}

.pub-card-footer-redesign {
  padding: 1.25rem 1.5rem;
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.pub-meta-row {
  margin-bottom: 0.75rem;
}

.pub-date-redesign {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-green);
  display: inline-flex;
  align-items: center;
}

.pub-author-redesign {
  font-size: 0.85rem;
  color: var(--medium-gray);
  font-weight: 500;
  font-style: italic;
}

@media (max-width: 768px) {
  .publishing-section {
    padding: 60px 0;
  }

  .pub-card-header {
    padding: 1rem;
  }

  .pub-card-body-redesign {
    padding: 1.25rem;
  }

  .pub-title-redesign {
    font-size: 1.1rem;
  }
}

/* PARTNERSHIP BANNER - SCROLLING MARQUEE */
.partnership-banner-section {
  background-color: #f8f9fa;
  padding: 4rem 0;
  width: 100%;
  overflow: hidden;
}

.partnership-banner-content {
  text-align: center;
  width: 100%;
}

.partnership-text {
  color: #212529;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
  /* Underline removed */
}

/* Marquee Container */
.logos-marquee {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 20px 0;

  /* Gradient Masks for smooth fade in/out effect */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

/* The Moving Track */
.logos-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: scrollLogos 40s linear infinite;
}

/* Individual Logo Item */
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-item img {
  height: 50px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  /* Grayscale removed - Logos are full color by default */
  filter: none;
  opacity: 1;
  transition: transform 0.3s ease;
  cursor: pointer;
}

/* Hover Effects */
.logos-track:hover {
  animation-play-state: paused;
}

.logo-item img:hover {
  transform: scale(1.1);
}

/* The Animation */
@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */

@media (max-width: 991px) {
  .partnership-text {
    font-size: 1.5rem;
  }

  .logos-track {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .partnership-banner-section {
    padding: 3rem 0;
  }

  .logos-track {
    gap: 2rem;
    animation-duration: 25s;
  }

  .logo-item img {
    height: 35px;
    max-width: 100px;
  }

  /* Reduce mask intensity on mobile */
  .logos-marquee {
    -webkit-mask-image: linear-gradient(
      to right,
      transparent,
      black 5%,
      black 95%,
      transparent
    );
    mask-image: linear-gradient(
      to right,
      transparent,
      black 5%,
      black 95%,
      transparent
    );
  }
}

/* --- Teams Contact Section --- */
.teams-contact-section {
  position: relative;
  background-color: var(
    --insead-green,
    #006e53
  ); /* Fallback to standard green if variable missing */
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.03) 0px,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 10px
  );
  padding: 5rem 0;
  color: white;
  overflow: hidden;
}

.teams-contact-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  pointer-events: none;
}

.teams-contact-title {
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.5px;
}

.teams-contact-text {
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 400;
}

/* Buttons */
.teams-btn {
  background-color: #fff;
  color: var(--insead-green, #006e53);
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 6px;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 200px; /* Ensures consistent button width */
}

.teams-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--insead-green, #006e53); /* Keep text green on hover */
  background-color: #fff;
}

/* Icon inside button */
.teams-btn i {
  color: var(--insead-green, #006e53) !important; /* Force icon green */
  opacity: 0.7;
}

/* =========================================
   VISION, MISSION & VALUES PAGE STYLES
   ========================================= */
/* --- Mission & Values Hero Section --- */
.mission-hero {
  position: relative;
  height: 500px; /* Tall height like the reference image */
  background-color: #333; /* Fallback color */
  background-image: 
    /* Gradient overlay: Darkens left side for text readability */ linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      rgba(0, 0, 0, 0) 100%
    ),
    /* The Background Image */ url("assets/images/faculty/about-hero.jpg"); /* Replace with actual image path */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Reusing 'hero-content' class structure from your reference but adapting for this context */
.mission-hero .hero-content {
  position: relative;
  z-index: 2;
  padding-left: 15px; /* Slight offset */
}

/* Typography matching the clean look */
.mission-hero h1 {
  font-weight: 400; /* Regular weight, not bold */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow for contrast against image */
}

.mission-hero-subtext {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.5;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  opacity: 0.95;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .mission-hero {
    height: 400px;
  }
  .mission-hero h1 {
    font-size: 2.5rem;
  }
}
@media (max-width: 576px) {
  .mission-hero {
    height: 350px;
  }
}

/* =========================================
   FLOATING MISSION CARD SECTION
   ========================================= */
.mission-card-container {
  position: relative;
  z-index: 10; /* Ensures it sits on top of the hero image */
}

.mission-card {
  background-color: var(--insead-green, #006e53); /* Brand Green */
  color: #fff;
  padding: 3.5rem 4rem; /* Generous padding matches reference */
  border-bottom-right-radius: 100px; /* The "Signature Curve" */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); /* Soft shadow for depth */
  position: relative;
}

/* "Our Mission" Label */
.mission-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  opacity: 0.8;
  margin-bottom: 1rem;
  color: #a8e6cf; /* Light mint/green accent text */
}

/* Main Statement Text */
.mission-statement {
  font-size: 2rem;
  font-weight: 600; /* Semi-bold to match reference */
  line-height: 1.3;
  margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .mission-card-container {
    margin-top: -3rem; /* Less overlap on tablets */
  }
  .mission-card {
    padding: 2.5rem;
    border-bottom-right-radius: 60px;
  }
  .mission-statement {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .mission-card-container {
    margin-top: 0; /* Remove overlap on mobile for cleaner stacking */
    transform: translateY(-20px); /* Slight shift up instead */
  }
  .mission-card {
    padding: 2rem;
    border-radius: 0 0 40px 0; /* Smaller curve */
  }
}

/* --- Text Block Section --- */
.section-header-title {
  font-size: 1.75rem;
  font-weight: 400; /* Regular weight matching reference */
  color: #212529;
}

.text-block-card {
  background-color: #fff;
  padding: 2.5rem; /* Generous internal padding */
  border-radius: 4px; /* Slight rounding */
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04); /* Very subtle shadow */
  border: 1px solid #f0f0f0; /* Extremely light border */
}

.description-text {
  font-size: 1rem;
  line-height: 1.7; /* Comfortable reading height */
  color: #6c757d;
  font-weight: 300;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .text-block-card {
    padding: 1.5rem;
  }
}

/* =========================================
   KEY MISSION OBJECTIVES SECTION (LIGHT THEME)
   ========================================= */

/* Section Background */
.objectives-section {
  background-color: var(--light-gray, #f8f9fa); /* Light neutral background */
  padding: 80px 0;
}

/* Card Container (Renamed to avoid conflict) */
.objective-card {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05); /* Very subtle border */
  border-top: 4px solid var(--text-gold, #d9b263); /* Gold Accent Top */
  border-radius: 8px;
  padding: 2rem;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02); /* Soft initial shadow */
}

/* Hover Effect */
.objective-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08); /* Deeper shadow on hover */
}

/* Icon Styling */
.objective-icon {
  font-size: 2.5rem;
  color: var(--text-gold, #d9b263);
  margin-bottom: 1.5rem;
  display: inline-block;
}

/* Typography */
.objective-title {
  color: var(--text-dark, #1e3a2f);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.objective-text {
  color: var(--medium-gray, #666666);
  line-height: 1.6;
  margin-bottom: 0;
}

/* =========================================
   CORE VALUES SECTION (Responsive Redesign)
   ========================================= */

.values-section-wrapper {
  background-color: var(--light-gray, #f8f9fa);
}

/* --- DESKTOP LAYOUT (Grid System) --- */
@media (min-width: 992px) {
  .values-component {
    display: grid;
    /* Two columns: Left (Menu 350px) | Right (Content Auto) */
    grid-template-columns: 350px 1fr;
    grid-template-rows: auto;
    gap: 0;
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    min-height: 500px; /* Ensure height for content */
  }

  /* The Item Container */
  .value-item {
    display: contents; /* This effectively "unwraps" the div so children sit directly in the grid */
  }

  /* The Header (Left Side Buttons) */
  .value-item .value-header {
    grid-column: 1; /* Always in the left column */
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    background-color: #f8f9fa; /* Inactive Grey */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  /* The Content (Right Side - Only visible if active) */
  .value-item .value-content {
    grid-column: 2; /* Always in the right column */
    grid-row: 1 / 10; /* Span all rows so it fills the right side */
    display: none; /* Hidden by default */
    padding: 3rem;
    align-items: center;
    background: #fff;
    height: 100%;
  }

  /* Show content only for the active item */
  .value-item.active .value-content {
    display: flex;
    animation: fadeIn 0.4s ease;
  }

  /* Active Header Styling (Desktop) */
  .value-item.active .value-header {
    background-color: #fff;
    box-shadow: -5px 0 0 var(--insead-green, #006e53) inset; /* Green accent on left */
    z-index: 2;
    position: relative;
    width: 101%; /* Overlap border */
  }
}

/* --- COMMON STYLES (Icons & Text) --- */
.icon-box {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #666;
  background: transparent;
  transition: all 0.3s ease;
}

.tab-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #555;
  padding-left: 10px;
}

/* Active State Colors */
.value-item.active .icon-box {
  background-color: var(--insead-green, #006e53);
  color: #a4e6b4;
  border-bottom-right-radius: 30px; /* The Signature Curve */
}

.value-item.active .tab-title {
  color: var(--insead-green, #006e53);
  font-weight: 700;
}

/* --- MOBILE LAYOUT (Stacked Card - Like Image) --- */
@media (max-width: 991px) {
  .values-component {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Space between cards */
  }

  .value-item {
    background: #fff;
    border-radius: 12px; /* Rounded Cards */
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: block; /* Restore block behavior */
    transition: all 0.3s ease;
  }

  /* Header stays clickable on mobile */
  .value-item .value-header {
    display: flex;
    align-items: center;
    padding: 0;
    background: #fff; /* White bg for cards */
    height: 70px; /* Slightly smaller on mobile */
  }

  /* Inactive items on mobile should have grey icon bg */
  .value-item:not(.active) .icon-box {
    background-color: #f1f3f5;
    border-radius: 12px 0 30px 0; /* Always show curve on mobile icons */
    color: #666;
  }

  .value-item:not(.active) .value-header {
    background-color: #f8f9fa; /* Slight contrast for inactive cards */
  }

  /* Active Header on Mobile */
  .value-item.active .value-header {
    background-color: #fff;
  }

  .value-item.active .icon-box {
    width: 70px; /* Adjust size for mobile */
    height: 70px;
  }

  /* Content area on Mobile */
  .value-item .value-content {
    display: none; /* Hidden by default */
    padding: 1.5rem;
    border-top: 1px solid #eee;
  }

  /* Show content when active */
  .value-item.active .value-content {
    display: block;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Diversity Card Section --- */
.diversity-card {
  background: #ffffff;
  border-radius: 8px; /* Consistent smooth rounded corners */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Soft, elegant shadow from style guide */
  overflow: hidden; /* Ensures image doesn't bleed out */
  border: 1px solid rgba(0, 0, 0, 0.02); /* Very faint border for definition */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.diversity-card:hover {
  transform: translateY(-4px); /* Subtle lift effect on hover */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Image Styling */
.diversity-img-container {
  min-height: 350px; /* Ensure height on mobile */
  height: 100%;
}

.diversity-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* vital for filling the space */
  display: block; /* removes bottom spacing */
}

/* Typography */
.section-header-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #212529; /* Standard dark text */
  margin-bottom: 1.5rem;
}

.description-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #6c757d; /* Standard muted text color */
  font-weight: 300; /* Light weight for elegance */
}

/* Custom Green Button (Matching 'btn-insead-green' from your guide) */
.btn-insead-green {
  background-color: var(
    --insead-green,
    #006e53
  ); /* Use variable with fallback */
  color: #ffffff;
  padding: 0.75rem 2rem;
  border-radius: 4px; /* Slight roundness */
  font-weight: 600;
  border: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-insead-green:hover {
  background-color: #005a43; /* Darker shade on hover */
  color: #ffffff;
  transform: translateY(-2px); /* Tiny lift on hover */
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .diversity-content {
    padding: 2.5rem !important; /* Less padding on smaller screens */
  }

  .diversity-img-container {
    height: 300px; /* Fixed height for image on mobile stack */
  }
}

/* --- History Section (Dark Theme) --- */
.history-section {
  background-color: #344046; /* Matching the dark teal/grey from image */
  color: white;
  position: relative;
  overflow: hidden;
}

/* Feature Video Card (Top) */
.history-feature-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-img-wrapper {
  position: relative;
  height: 450px; /* Taller to match image */
}

.feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
}

/* Green Play Button Box */
.play-btn-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 80px;
  background-color: #006e53; /* INSEAD Green */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.2s;
}

.play-btn-overlay:hover {
  background-color: #005a43;
}

/* Feature Text Overlay (Right Side) */
.feature-text-overlay {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  max-width: 400px; /* Limit width */
  padding: 2rem;
  z-index: 2;
  /* No background box in the reference image, text sits on the main bg */
}
/* Decade Content Area */
.decade-content-area {
  margin-top: 4rem;
}

.decade-img-container img {
  border-radius: 2px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Link Style */
.read-more-link {
  color: #00cb95; /* Bright green */
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
}

.read-more-link:hover {
  color: #00e6a8;
  text-decoration: underline;
}

/* --- Horizontal Timeline (The Main Change) --- */
.timeline-navigation {
  position: relative;
  margin-top: 4rem;
  padding-left: 2rem; /* align with content */
}

.timeline-nodes {
  position: relative;
  display: flex;
  flex-direction: column; /* Stack vertically */
  gap: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.2); /* Thin vertical grey line */
  padding-left: 20px;
}

/* Override for Horizontal Layout (As per your image, it looks like a vertical list of years on the left?) 
   Wait, the image shows a vertical line with years on the LEFT. 
   Let's adjust to match that Vertical Timeline on the Left. */

.timeline-section-container {
  display: flex;
  gap: 3rem;
}

/* Vertical Timeline Track */
.timeline-sidebar {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: 10px;
}

/* The Line connecting dots */
.timeline-sidebar::before {
  content: "";
  position: absolute;
  top: 15px;
  bottom: 0;
  left: 66px;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: 0;
}

.timeline-node {
  display: flex;
  align-items: center;
  margin-bottom: 2.5rem;
  cursor: pointer;
  position: relative;
  z-index: 1;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.timeline-node:hover,
.timeline-node.active {
  opacity: 1;
}

.node-label {
  width: 45px;
  text-align: right;
  margin-right: 15px; /* Space between text and dot */
  font-weight: 600;
  font-size: 1.1rem;
  color: #8fa1b3; /* Greyish text */
}

.timeline-node.active .node-label {
  color: white;
  border-bottom: 2px solid #00cb95; /* The green underline under "1950s" */
  padding-bottom: 2px;
}

.node-dot {
  width: 12px;
  height: 12px;
  background-color: #8fa1b3;
  border-radius: 50%;
  position: relative;
}

/* Active State Styles matching the Image */
.timeline-node.active .node-dot {
  background-color: #00cb95; /* Green Dot */
  box-shadow: 0 0 0 4px rgba(0, 203, 149, 0.2); /* Subtle glow */
}

/* The image shows the content is to the RIGHT of this timeline */

/* --- Bottom Enquiry CTA --- */
.enquiry-section {
  background-color: #004d33;
  padding: 4rem 0;
  text-align: center;
  /* Texture effect */
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.05) 0px,
    rgba(255, 255, 255, 0.05) 2px,
    transparent 2px,
    transparent 10px
  );
}

/* =========================
   AWARDS PAGE REDESIGN
   ========================= */
/* --- Awards Page Specific Styles --- */

/* Hero Section */
.awards-hero {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: center;
}
.awards-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), transparent);
}

/* --- Intro Card Section --- */
.intro-card-section {
  position: relative;
}

.intro-card {
  background: white;
  padding: 3rem 4rem; /* Generous padding */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); /* Soft but substantial shadow */
  border-radius: 2px; /* Very subtle rounding */
  position: relative;
  overflow: hidden; /* Contains the background pattern */
}

/* Subtle diagonal pattern in top-right corner */
.intro-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 4px,
    #f8f9fa 4px,
    #f8f9fa 8px
  );
  z-index: 0;
  pointer-events: none;
}

.intro-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555; /* Dark grey for readability */
  font-weight: 300;
  position: relative;
  z-index: 1; /* Ensure text sits above pattern */
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .intro-card-section {
    margin-top: 0; /* Remove overlap on mobile */
    padding-top: 2rem;
  }

  .intro-card {
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
}

/* --- Faculty & Research Section --- */

/* secondary navbar start */

/* Scrollbar hiding */
.secondary-nav-scroll::-webkit-scrollbar {
  display: none;
}
.secondary-nav-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Links Styling */
.sec-nav-link {
  font-family: var(--primary-font, "Segoe UI", sans-serif);
  font-size: 0.95rem;
  color: #595959;
  font-weight: 500;
  padding: 0.5rem 0; /* Reduced padding, handled by container height */
  margin-right: 2rem;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  border-top: 3px solid transparent;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  height: 100%; /* Full height for hover effect */
}

.sec-nav-link:hover {
  color: var(--primary-green, #006b4f);
}

.sec-nav-link.active {
  color: var(--text-dark, #1e3a2f);
  font-weight: 700;
  border-bottom-color: var(--primary-green, #006b4f);
}

/* Dropdown Alignment Fix */
.sec-nav-dropdown {
  height: 100%;
  display: flex;
  align-items: center;
}

/* Dropdown Menu Tweaks */
.sec-nav-dropdown .dropdown-toggle::after {
  vertical-align: middle;
  margin-left: 0.5em;
}

.sec-nav-dropdown .dropdown-menu {
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  margin-top: 0;
}

.sec-nav-dropdown .dropdown-item {
  font-size: 0.9rem;
  padding: 0.6rem 1.5rem;
}

.sec-nav-dropdown .dropdown-item:active {
  background-color: var(--primary-green, #006b4f);
}

/* Separator Tweaks */
.sec-nav-separator {
  height: 40px;
  width: 2px;
  background-color: #ececec;
  margin: 0 1rem;
  opacity: 1;
  margin-right: 32px;
}
/* secondary navbar end */

.faculty-card {
  border-radius: 4px; /* Minimal rounding */
}

/* Tabs Navigation (Underlined Style) */
.awards-tabs {
  border-bottom: 1px solid #dee2e6;
}

.awards-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent; /* Hidden underline by default */
  color: #666;
  font-weight: 600;
  padding: 1rem 1.5rem;
  margin-right: 1rem;
  background: transparent;
  transition: all 0.3s ease;
}

.awards-tabs .nav-link:hover {
  color: var(--insead-green, #006e53);
}

.awards-tabs .nav-link.active {
  color: var(--insead-green, #006e53);
  border-bottom-color: var(--insead-green, #006e53);
  background: transparent;
}

/* --- Featured Green Award Card --- */
.highlight-award-card {
  background: linear-gradient(
    135deg,
    #004d3a 0%,
    #008f6b 100%
  ); /* Deep green gradient */
  border-radius: 8px;
  min-height: 400px;
}

/* Decorative Gold Curve */
.highlight-award-card::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid rgba(255, 193, 7, 0.3); /* Faint gold ring */
  z-index: 0;
}

.award-portrait-img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-color: #ffc107 !important; /* Bootstrap warning yellow/gold */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Arrow Button Box */
.btn-arrow-box {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
}

.btn-arrow-box:hover {
  background: rgba(255, 255, 255, 0.4);
  color: white;
}

/* Responsive */
@media (max-width: 991px) {
  .highlight-award-card {
    text-align: center;
  }
  .award-portrait-img {
    width: 200px;
    height: 200px;
    margin-bottom: 1rem;
  }
  .d-flex.justify-content-end {
    justify-content: center !important;
  }
}

/* --- Rankings Section --- */

/* Card Styling */
.ranking-card {
  background: white;
  padding: 2rem;
  border: 1px solid #f0f0f0; /* Very light border */
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02); /* Minimal shadow initially */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ranking-card:hover {
  transform: translateY(-5px); /* Lift effect */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08); /* Stronger shadow on hover */
}

/* FT Logo Recreation */
.ft-logo {
  display: flex;
  align-items: center;
}

.ft-square {
  background-color: #fce2c4; /* The specific peach color */
  color: #333;
  font-family: "Times New Roman", Times, serif; /* Serif font is key */
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  padding: 4px 6px;
  border: none;
  display: inline-block;
}

.ft-text-serif {
  font-family: "Times New Roman", Times, serif;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: #333;
  text-transform: uppercase;
}

/* Typography */
.rank-title {
  font-weight: 700;
  color: var(--insead-green, #006e53); /* Use variable or fallback green */
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

/* --- Alumni Section --- */
.alumni-card {
  border-radius: 4px; /* Minimal rounding */
  border: 1px solid #f0f0f0 !important; /* Force light border override */
}

.pitchbook-logo {
  max-width: 280px; /* Limit logo width */
  width: 100%;
  height: auto;
}

/* Vertical Divider for Large Screens */
.border-end-lg {
  border-right: 1px solid #eee;
}

/* Typography */
.rank-number {
  color: var(--insead-green, #006e53) !important; /* Ensure specific green */
  font-size: 1rem;
}

.ranking-link {
  transition: opacity 0.3s;
}
.ranking-link:hover {
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 991px) {
  .border-end-lg {
    border-right: none;
    border-bottom: 1px solid #eee; /* Horizontal divider on mobile */
    padding-bottom: 2rem;
    margin-bottom: 2rem !important;
  }

  .pitchbook-logo {
    max-width: 220px;
  }
}

/* Green Textured Footer (Enquiry) */
.enquiry-footer {
  background-color: #004d33; /* Darker Green */
  color: white;
  padding: 5rem 0;
  text-align: center;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.03) 0px,
    rgba(255, 255, 255, 0.03) 2px,
    transparent 2px,
    transparent 8px
  );
}

/* =========================================
   FACULTY & RESEARCH PAGE - OPTIMIZED CSS
   ========================================= */

/* =========================================
   1. SECONDARY NAVBAR STYLES
   ========================================= */

/* Navbar Container */
.sec-navbar-container {
  height: 60px;
  background-color: var(--white);
  border-bottom: 1px solid #e5e7eb;
  z-index: 1020;
  position: sticky;
  width: 100%;
}

/* Horizontal Scroll Container (Hides Scrollbar) */
.secondary-nav-scroll {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  display: flex;
  align-items: center;
  height: 100%;
  overflow-x: auto;
}

.secondary-nav-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Dropdown Alignment */
.sec-nav-dropdown {
  height: 100%;
  display: flex;
  align-items: center;
}

.sec-nav-dropdown .dropdown-toggle::after {
  vertical-align: middle;
  margin-left: 0.5em;
}

.sec-nav-dropdown .dropdown-menu {
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  margin-top: 0;
}

.sec-nav-dropdown .dropdown-item {
  font-size: 0.9rem;
  padding: 0.6rem 1.5rem;
}

.sec-nav-dropdown .dropdown-item:active {
  background-color: var(--primary-green);
  color: var(--white);
}

/* Vertical Separator */
.sec-nav-separator {
  height: 40px;
  width: 2px;
  background-color: #ececec;
  margin: 0 1rem 0 1rem;
  opacity: 1;
  margin-right: 32px;
}

/* =========================================
   2. FACULTY PAGE STYLES
   ========================================= */

/* Section Container */
.faculty-section {
  padding: 80px 0;
  background-color: var(--white);
}

/* Header */
.faculty-header {
  text-align: left;
  margin-bottom: 3rem;
}

.faculty-title {
  font-size: var(--fs-5);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.faculty-subtitle {
  font-size: var(--fs-2);
  color: var(--medium-gray);
  font-weight: 400;
}

/* Search and Filter Container */
.faculty-filters-container {
  background-color: #fafafa;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 3rem;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 0 1rem;
  transition: border-color 0.3s ease;
}

.search-box:focus-within {
  border-color: var(--secondary-green);
}

.search-box i {
  color: var(--medium-gray);
  margin-right: 0.75rem;
  font-size: 0.95rem;
}

.faculty-search-input {
  flex: 1;
  border: none;
  padding: 0.75rem 0;
  font-size: var(--fs-1);
  font-family: var(--primary-font);
  outline: none;
  background: transparent;
  color: var(--text-dark);
}

.faculty-search-input::placeholder {
  color: var(--medium-gray);
}

.btn-search-primary {
  background-color: var(--secondary-green);
  color: var(--white);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: var(--fs-1);
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
  font-family: var(--primary-font);
}

.btn-search-primary:hover {
  background-color: #013d2f;
}

/* Sidebar Filters (Sticky & Scrollable) */
.faculty-sidebar {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e0e0e0;

  /* Sticky Logic */
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;

  /* Firefox Scrollbar */
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

/* Webkit Scrollbar Styling */
.faculty-sidebar::-webkit-scrollbar {
  width: 6px;
}

.faculty-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.faculty-sidebar::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 20px;
  border: 2px solid transparent;
}

.faculty-sidebar::-webkit-scrollbar-thumb:hover {
  background-color: #999;
}

/* Filter Headers */
.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.filter-title {
  font-size: var(--fs-2);
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.clear-filters-btn {
  background: none;
  border: none;
  color: var(--hover-gold);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0;
  text-decoration: underline;
  font-family: var(--primary-font);
  transition: color 0.2s;
}

.clear-filters-btn:hover {
  color: #c69c4a;
}

/* Filter Groups */
.filter-group {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.filter-group:last-child {
  border-bottom: none;
}

.filter-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.filter-subtitle {
  font-size: var(--fs-1);
  font-weight: 600;
  color: var(--text-dark);
  margin: 16px 0;
}

.add-expertise-btn,
.add-area-btn {
  background-color: var(--primary-green);
  color: var(--white);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: background-color 0.2s;
  font-weight: bold;
}

.add-expertise-btn:hover,
.add-area-btn:hover {
  background-color: #45a049;
}

/* Filter Options */
.filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.filter-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: var(--fs-1);
  color: var(--text-dark);
  user-select: none;
  transition: color 0.2s;
}

.filter-option input[type="radio"],
.filter-option input[type="checkbox"] {
  margin-right: 0.75rem;
  cursor: pointer;
  accent-color: var(--secondary-green);
  width: 16px;
  height: 16px;
}

.filter-option:hover {
  color: var(--secondary-green);
}

/* Results Info */
.results-info {
  font-size: var(--fs-1);
  color: var(--medium-gray);
  font-weight: 500;
  margin-bottom: 2rem;
}

.results-count {
  font-weight: 600;
  color: var(--text-dark);
}

/* Faculty Grid */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Faculty Card */
.faculty-card {
  background-color: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faculty-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--secondary-green);
}

.faculty-card-image {
  width: 100%;
  height: 260px;
  background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.faculty-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.faculty-card:hover .faculty-card-image img {
  transform: scale(1.08);
}

.faculty-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.faculty-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.faculty-title {
  font-size: 0.95rem;
  color: var(--secondary-green);
  font-weight: 500;
  margin: 0 0 0.75rem 0;
}

.faculty-description {
  font-size: 0.85rem;
  color: var(--medium-gray);
  line-height: 1.5;
  margin: 0 0 1rem 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.faculty-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

.view-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary-green);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-profile-link:hover {
  color: var(--hover-gold);
}

.view-profile-link i {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.faculty-card:hover .view-profile-link i {
  transform: translateX(3px);
}

/* Load More Button */
.load-more-container {
  text-align: center;
  padding: 2rem 0;
}

.btn-load-more {
  background-color: var(--white);
  color: var(--secondary-green);
  border: 2px solid var(--secondary-green);
  padding: 0.875rem 2.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: var(--fs-1);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--primary-font);
}

.btn-load-more:hover {
  background-color: var(--secondary-green);
  color: var(--white);
}

/* =========================================
   3. TABS NAVIGATION (RESEARCH SECTION)
   ========================================= */

.awards-tabs {
  border-bottom: 1px solid #dee2e6;
}

.awards-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  color: #666;
  font-weight: 600;
  padding: 1rem 1.5rem;
  margin-right: 1rem;
  background: transparent;
  transition: all 0.3s ease;
}

.awards-tabs .nav-link:hover,
.awards-tabs .nav-link.active {
  color: var(--primary-green);
}

.awards-tabs .nav-link.active {
  border-bottom-color: var(--primary-green);
  background: transparent;
}

/* =========================================
   4. FEATURED AWARD CARD STYLES
   ========================================= */

.highlight-award-card {
  background: linear-gradient(135deg, #004d3a 0%, #008f6b 100%);
  border-radius: 8px;
  min-height: 400px;
  position: relative;
}

.highlight-award-card::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid rgba(255, 193, 7, 0.3);
  z-index: 0;
}

.award-portrait-img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-color: #ffc107 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-arrow-box {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
}

.btn-arrow-box:hover {
  background: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

/* =========================================
   5. RANKINGS SECTION STYLES
   ========================================= */

.ranking-card {
  background: var(--white);
  padding: 2rem;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ranking-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.ft-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ft-square {
  background-color: #fce2c4;
  color: #333;
  font-family: "Times New Roman", Times, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  padding: 4px 6px;
  border: none;
  display: inline-block;
}

.ft-text-serif {
  font-family: "Times New Roman", Times, serif;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: #333;
  text-transform: uppercase;
}

.rank-title {
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.rank-number {
  color: var(--primary-green) !important;
  font-size: 1rem;
}

.ranking-link {
  transition: opacity 0.3s;
}

.ranking-link:hover {
  opacity: 0.7;
}

.border-end-lg {
  border-right: 1px solid #eee;
}

.pitchbook-logo {
  max-width: 280px;
  width: 100%;
  height: auto;
}

/* =========================================
   6. ALUMNI & FOOTER
   ========================================= */

.alumni-card {
  border-radius: 4px;
  border: 1px solid #f0f0f0 !important;
}

.enquiry-footer {
  background-color: #004d33;
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.03) 0px,
    rgba(255, 255, 255, 0.03) 2px,
    transparent 2px,
    transparent 8px
  );
}

/* =========================================
   7. RESPONSIVE DESIGN
   ========================================= */

@media (max-width: 1199px) {
  .faculty-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}

@media (max-width: 991px) {
  .faculty-sidebar {
    position: static;
    margin-bottom: 2rem;
  }

  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .highlight-award-card {
    text-align: center;
  }

  .award-portrait-img {
    width: 200px;
    height: 200px;
    margin-bottom: 1rem;
  }

  .d-flex.justify-content-end {
    justify-content: center !important;
  }

  .border-end-lg {
    border-right: none;
    border-bottom: 1px solid #eee;
    padding-bottom: 2rem;
    margin-bottom: 2rem !important;
  }

  .pitchbook-logo {
    max-width: 220px;
  }

  .ps-lg-5 {
    padding-left: 0 !important;
  }
}

@media (max-width: 768px) {
  .faculty-section {
    padding: 60px 0;
  }

  .faculty-title {
    font-size: var(--fs-4);
  }

  .faculty-filters-container {
    padding: 1.5rem;
  }

  .btn-search-primary {
    width: 100%;
    margin-top: 0.5rem;
  }

  .faculty-card-image {
    height: 200px;
  }

  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .award-portrait-img {
    width: 180px;
    height: 180px;
  }

  .awards-tabs .nav-link {
    padding: 0.75rem 1rem;
    margin-right: 0.5rem;
  }
}

@media (max-width: 576px) {
  .faculty-header {
    margin-bottom: 2rem;
  }

  .faculty-filters-container {
    padding: 1rem;
  }

  .search-box {
    padding: 0 0.75rem;
  }

  .faculty-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .faculty-card-body {
    padding: 1rem;
  }

  .faculty-card-image {
    height: 220px;
  }

  .awards-tabs {
    overflow-x: auto;
  }

  .awards-tabs .nav-link {
    padding: 0.75rem;
    margin-right: 0;
    font-size: 0.85rem;
  }

  .highlight-award-card {
    min-height: 350px;
  }

  .award-portrait-img {
    width: 150px;
    height: 150px;
  }

  .btn-arrow-box {
    width: 40px;
    height: 40px;
  }
}

/* =========================================
   8. UTILITY CLASSES
   ========================================= */

.ps-lg-5 {
  padding-left: 3rem;
}

/* faculty profile page */

/* =========================================
   1. LEADERSHIP PAGE LAYOUT & SIDEBAR
   ========================================= */

.leadership-sidebar {
  position: sticky;
  top: 100px;
  z-index: 10;
  border-radius: 8px;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
  overflow: hidden;
}

.leadership-sidebar:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.sidebar-nav .nav-link {
  color: #555;
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Gold Underline Effect */
.sidebar-nav .nav-link::before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--hover-gold, #c99c34);
  transition: width 0.3s ease;
}

.sidebar-nav .nav-link:hover {
  color: var(--hover-gold, #c99c34) !important;
  background-color: transparent;
}

.sidebar-nav .nav-link:hover::before {
  width: 100%;
}

/* Arrow Icon */
.sidebar-nav .nav-link::after {
  content: "\f054"; /* FontAwesome Chevron Right */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.8em;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: var(--hover-gold, #c99c34);
}

.sidebar-nav .nav-link:hover::after,
.sidebar-nav .nav-link.active::after {
  opacity: 1;
  transform: translateX(0);
}

/* Active State */
.sidebar-nav .nav-link.active {
  color: var(--insead-green, #006e53);
  background-color: #eef5f2;
  font-weight: 700;
  padding-left: 1.8rem;
}

/* =========================================
   2. LEADERSHIP PROFILE CARDS 
   ========================================= */

.leadership-card {
  background: white;
  padding: 32px;
  margin-bottom: 4rem;
}

/* Profile Image Wrapper */
.leader-img-wrapper {
  width: 100%;
  max-width: 250px;
  margin-bottom: 1.5rem;
}

/* Profile Image Style */
.leader-img-profile {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Orange Quote Icon */
.quote-icon {
  font-size: 2.5rem;
  color: #e67e22; /* INSEAD Gold/Orange */
  line-height: 1;
  margin-right: 1rem;
  margin-top: -0.5rem;
  vertical-align: top;
  flex-shrink: 0;
}

/* Text Styles */
.leader-intro {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 600;
  color: #555;
}

.leader-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555;
  font-weight: 300;
}

/* Footer Name Block */
.leader-name-footer {
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 1rem;
  color: #222;
}

.leader-title-footer {
  font-size: 0.85rem;
  color: #777;
}

/* Read More / Link Toggles */
.read-more-toggle {
  color: var(--insead-green, #006e53);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
  cursor: pointer;
  display: inline-block;
  margin-top: 0.5rem;
}

.read-more-toggle:hover {
  color: #005a43;
  text-decoration: underline !important;
}

/* Custom Green Links (e.g. "Meet the hod") */
.text-success,
a.text-success {
  color: var(--insead-green, #006e53) !important;
  transition: opacity 0.2s ease;
}

a.text-success:hover {
  opacity: 0.8;
  text-decoration: underline !important;
}

/* =========================================
   CUSTOM ACCORDION STYLES 
   ========================================= */

.custom-accordion-cards {
  background: transparent;
}

.custom-accordion-cards .accordion-item {
  background-color: #ffffff;
  border: none;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.custom-accordion-cards .accordion-header {
  margin: 0;
}

.custom-accordion-cards .accordion-button {
  background-color: #ffffff;
  color: #000000;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 1.5rem 1.75rem;
  border: none;
  box-shadow: none;
  position: relative;
}

.custom-accordion-cards .accordion-button:focus {
  box-shadow: none;
  border: none;
}

.custom-accordion-cards .accordion-button:not(.collapsed) {
  background-color: #ffffff;
  color: #000000;
  box-shadow: none;
}

/* Plus/Minus Icon Styling */
.custom-accordion-cards .accordion-button::after {
  content: "+";
  background-image: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 300;
  color: #000000;
  flex-shrink: 0;
}

.custom-accordion-cards .accordion-button:not(.collapsed)::after {
  content: "−";
  transform: none;
  color: var(--insead-green, #006e53);
}

/* Accordion Body */
.custom-accordion-cards .accordion-body {
  background-color: #ffffff;
  padding: 1.5rem 1.75rem 2rem;
}

/* Member Card Styling */
.member-card {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 1px solid #e9ecef;
}

.member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Circular Image Wrapper */
.member-img-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.member-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Typography */
.member-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 0.75rem;
}

.member-role {
  font-size: 0.9rem;
  color: #6c757d;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .custom-accordion-cards .accordion-button {
    font-size: 1.1rem;
    padding: 1.25rem 1.5rem;
  }

  .custom-accordion-cards .accordion-body {
    padding: 1.25rem 1.5rem 1.75rem;
  }

  .member-card {
    padding: 1.5rem;
  }

  .member-img-wrapper {
    width: 100px;
    height: 100px;
  }

  .member-name {
    font-size: 1rem;
  }

  .member-role {
    font-size: 0.85rem;
  }
}

/* =========================================
   4. GENERAL UTILITIES & RESPONSIVE
   ========================================= */

/* Section Spacing & Anchors */
.content-section {
  scroll-margin-top: 120px; /* Offset for sticky header/sidebar alignment */
  margin-bottom: 4rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .leadership-card {
    padding: 16px;
  }

  .leader-img-wrapper {
    max-width: 150px;
    margin-bottom: 1.5rem;
  }

  .quote-icon {
    font-size: 2rem;
    margin-right: 0.5rem;
  }

  /* Adjust Sidebar for Mobile (Horizontal Scroll) */
  .leadership-sidebar {
    position: static;
    margin-bottom: 2rem;
    z-index: 1;
    overflow-x: auto; /* Enable horizontal scroll */
    white-space: nowrap;
    border-radius: 4px;
  }

  .sidebar-nav {
    display: flex;
    flex-direction: row; /* Horizontal layout */
    border-bottom: 1px solid #eee;
  }

  .sidebar-nav .nav-link {
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 0.8rem 1rem;
  }

  .sidebar-nav .nav-link:hover {
    padding-left: 1rem; /* Reset hover shift on mobile */
    background-color: transparent;
  }

  .sidebar-nav .nav-link.active {
    border-bottom-color: var(--insead-green, #006e53);
    border-left: none;
    background: transparent;
    padding-left: 1rem;
  }

  /* Hide the hover arrow on mobile */
  .sidebar-nav .nav-link::after {
    display: none;
  }
}

/* =========================================
   DIRECTOR PROFILE PAGE STYLES (FINAL)
   ========================================= */

/* --- 0. Global / Hero Override --- */
.page-hero.bg-color-green-gradient {
  background: linear-gradient(135deg, #0b1d18 0%, #02352a 100%);
  padding: 120px 0 100px;
  color: #fff;
  position: relative;
}

.page-hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.8;
  max-width: 600px;
}

/* --- 1. Executive Dossier (Header Card) --- */
.profile-header-section {
  position: relative;
  z-index: 10;
  margin-bottom: 80px;
}

.dossier-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.profile-img-frame {
  height: 100%;
  min-height: 550px;
  position: relative;
  background-color: #f0f0f0;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-badges {
  position: absolute;
  bottom: 25px;
  left: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
}

.badge-item {
  background: rgba(2, 53, 42, 0.95);
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.profile-info-body {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.profile-eyebrow {
  color: var(--text-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-eyebrow::before {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: var(--text-gold);
}

.profile-name {
  font-size: 2.8rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 15px;
  line-height: 1.1;
  font-family: "Playfair Display", serif;
}

.profile-designations {
  color: #6c757d;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 30px;
  font-family: sans-serif;
}

.profile-designations .sep {
  margin: 0 10px;
  color: #ddd;
}

.profile-bio-summary {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 35px;
}

.current-roles-box {
  background: #fdfdfd;
  padding: 25px;
  border-left: 4px solid var(--text-gold);
  border-radius: 0 8px 8px 0;
  margin-bottom: 35px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.box-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--secondary-green);
  letter-spacing: 1px;
}

.roles-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.roles-list li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #333;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.roles-list li i {
  margin-top: 4px;
}

.profile-social-links {
  display: flex;
  gap: 15px;
}

.social-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.social-btn:hover {
  background: var(--text-gold);
  color: #fff;
  border-color: var(--text-gold);
  transform: translateY(-3px);
}

/* --- 2. Expertise Grid & Program Overview --- */
.expertise-section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #777;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* Expert Card Core Styles */
.expert-card {
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative; /* For absolute positioning of numbers/icons */
}

.expert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-icon {
  font-size: 2.2rem;
  color: var(--text-gold);
  margin-bottom: 25px;
  position: relative; /* Context for layered icons */
}

/* Typography inside cards */
.expert-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.expert-card h5 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.expert-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  color: #666;
}

/* Dark Green Variant */
.expert-card.bg-dark-green {
  background-color: var(--secondary-green);
  color: #fff;
}

.expert-card.bg-dark-green h4,
.expert-card.bg-dark-green h5 {
  color: #fff !important;
}

.expert-card.bg-dark-green p {
  color: rgba(255, 255, 255, 0.7);
}

.expert-card.bg-dark-green .card-icon {
  color: #fff;
}

/* Badges inside Expert Cards */
.expert-card .badge {
  font-weight: 500;
  padding: 0.5em 0.8em;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.expert-card .badge.bg-dark-green {
  background-color: rgba(2, 53, 42, 0.1) !important; /* Light green tint */
  color: var(--primary-green) !important;
  border: 1px solid var(--primary-green);
}

.expert-card .badge.bg-secondary {
  background-color: #f8f9fa !important;
  color: #6c757d !important;
  border: 1px solid #dee2e6;
}

.expert-card.bg-dark-green .badge.bg-warning {
  background-color: var(--text-gold) !important;
  color: #000 !important;
  border: none;
}

/* Specializations Grid Items (Bottom Row) */
.expertise-section .bg-white.rounded-3.shadow-sm {
  transition: all 0.3s ease;
}

.expertise-section .bg-white.rounded-3.shadow-sm:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
  border-color: var(--primary-green) !important;
}

/* --- 3. Career Timeline --- */
.details-section {
  padding: 80px 0 100px;
}

.details-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.details-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--text-gold);
}

.career-timeline {
  position: relative;
  padding-left: 40px;
  border-left: 2px solid #e9ecef;
}

.timeline-node {
  position: relative;
  margin-bottom: 45px;
}

.timeline-node:last-child {
  margin-bottom: 0;
}

.node-marker {
  width: 18px;
  height: 18px;
  background: #fff;
  border: 4px solid var(--secondary-green);
  border-radius: 50%;
  position: absolute;
  left: -50px;
  top: 6px;
  z-index: 2;
  transition: transform 0.3s ease;
}

.timeline-node:hover .node-marker {
  transform: scale(1.3);
  border-color: var(--text-gold);
}

.node-marker.gold-marker {
  border-color: var(--text-gold);
}

.node-content {
  background: #fff;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid #f0f0f0;
  transition: transform 0.3s ease;
}

.timeline-node:hover .node-content {
  transform: translateX(5px);
  border-color: var(--text-gold);
}

.role-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 5px;
}

.role-place {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  display: block;
}

/* --- 4. Custom Accordion (Improved for Dark Prestige) --- */
.custom-accordion .accordion-item {
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.custom-accordion .accordion-button {
  background: #fff;
  font-weight: 600;
  color: #1a1a1a;
  box-shadow: none !important;
  padding: 1.25rem;
  transition: background-color 0.3s ease;
  position: relative;
}

/* Icon Wrapper */
.custom-accordion .icon-wrapper {
  width: 32px;
  height: 32px;
  background: rgba(217, 178, 99, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

/* Active State */
.custom-accordion .accordion-button:not(.collapsed) {
  background-color: #fcfcfc;
  color: var(--secondary-green);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05) !important;
}

.custom-accordion .accordion-button:not(.collapsed) .icon-wrapper {
  background-color: var(--secondary-green);
}
.custom-accordion .accordion-button:not(.collapsed) .icon-wrapper i {
  color: #fff !important;
}

/* Body Styling */
.custom-accordion .accordion-body {
  background: #fff;
  padding: 25px 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.03);
}

/* List Styling */
.cred-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.cred-list li {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #eee;
  color: #555;
  font-size: 0.95rem;
}

.cred-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.badge.bg-gold {
  background-color: var(--text-gold) !important;
  color: #fff !important;
  font-weight: 600;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
  .page-hero {
    padding-bottom: 60px;
  }

  .profile-header-section {
    margin-top: -40px;
    margin-bottom: 50px;
  }

  .dossier-card .row {
    flex-direction: column;
  }

  .profile-img-frame {
    min-height: 350px;
    height: 350px;
  }

  .profile-badges {
    bottom: 15px;
    left: 15px;
  }

  .profile-info-body {
    padding: 30px 20px;
  }

  .profile-name {
    font-size: 2rem;
  }

  .career-timeline {
    padding-left: 20px;
    margin-bottom: 50px;
  }

  .node-marker {
    left: -30px;
  }
}

@media (max-width: 576px) {
  .profile-designations {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }
  .profile-designations .sep {
    display: none;
  }
  .profile-designations span {
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
  }
}

/* --- Publications Page Specific Styles --- */

/* Hero Section */
.pubs-hero {
  position: relative;
  height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}
.pubs-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
}

/* Journal Card Styles */
.journal-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: none;
  background: transparent;
}
.journal-card:hover {
  transform: translateY(-5px);
}
.journal-cover-img {
  width: 100%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); /* Shadow to make covers pop */
  border-radius: 2px;
}

/* Map Section */
.map-container {
  position: relative;
  padding: 4rem 0;
  text-align: center;
}
.world-map-img {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  opacity: 0.9;
}

/* Events Section (Horizontal Cards) */
.event-row-card {
  display: flex;
  background: white;
  border: 1px solid #eee;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.event-date-badge {
  background-color: #d9534f; /* Reddish color from reference */
  color: white;
  padding: 0.5rem 1rem;
  font-weight: bold;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 1rem;
}
.event-content-box {
  background-color: #000;
  color: white;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Distinguished Leaders (Dark Footer Section) */
.leaders-section {
  background-color: #000;
  color: white;
  padding: 5rem 0;
}
.leader-portrait-rect {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: top;
}
.leader-name-block {
  margin-top: 1.5rem;
}
.leader-name-block h4 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.leader-name-block p {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 0.5rem;
}
.read-more-red {
  color: #d9534f;
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 600;
}

/* Scroller Text Bar */
.scroller-bar {
  background-color: #000;
  color: white;
  padding: 0.8rem 0;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
}

/* --- Journal Details Page Specific Styles --- */

/* Top Black Bar */
.announcement-bar {
  background-color: #000;
  color: white;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  text-align: center;
}
.announcement-bar a {
  color: white;
  text-decoration: underline;
}

/* Journal Header Area */
.journal-cover-large {
  width: 100%;
  max-width: 300px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #ddd;
}
.issn-info {
  font-size: 0.85rem;
  color: #666;
  margin-top: 1rem;
}

/* Journal Title & Meta */
.journal-title-main {
  font-size: 1.75rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  border-bottom: 2px solid #eee; /* Underline effect */
  padding-bottom: 1rem;
}
.journal-tags .badge {
  font-weight: 500;
  padding: 0.5rem 0.8rem;
  border-radius: 2px; /* Rectangular badges */
}

/* Sidebar Box (Submit/Volumes) */
.sidebar-action-box {
  background: white;
  border: 1px solid #eee;
  padding: 1rem;
  margin-bottom: 2rem;
}
.btn-submit-paper {
  background-color: #8e24aa; /* Purple color from reference */
  color: white;
  width: 100%;
  border-radius: 0;
  font-weight: 600;
  padding: 0.75rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.btn-submit-paper:hover {
  background-color: #7b1fa2;
  color: white;
}
.btn-volumes {
  background-color: white;
  color: #333;
  border: 1px solid #ccc;
  width: 100%;
  border-radius: 0;
  font-weight: 500;
  padding: 0.75rem;
}

/* Periodicity Table */
.periodicity-table {
  font-size: 0.85rem;
}
.periodicity-table th {
  background-color: #f8f9fa;
  color: #555;
  text-transform: uppercase;
  font-size: 0.75rem;
}

/* Stats Box (Blue) */
.stats-box-blue {
  background-color: #008ba3; /* Teal/Blue from reference */
  color: white;
  padding: 1.5rem;
  text-align: center;
  font-weight: 600;
  margin-top: 1rem;
}

/* Articles Tabs & List */
.articles-nav-tabs .nav-link {
  color: #555;
  border: none;
  border-bottom: 3px solid transparent;
  font-weight: 600;
  padding-bottom: 1rem;
}
.articles-nav-tabs .nav-link.active {
  color: #333;
  border-bottom-color: #333; /* Black underline for active */
}
.article-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid #eee;
}
.article-item:last-child {
  border-bottom: none;
}
.article-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0056b3; /* Link blue */
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}
.article-title:hover {
  text-decoration: underline;
}
.article-meta {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.5rem;
}
.article-actions a {
  font-size: 0.8rem;
  color: #333;
  margin-right: 1rem;
  text-decoration: none;
  font-weight: 600;
}
.article-actions a i {
  margin-right: 4px;
}

/* Footer Visibility Logos */
.visibility-logos img {
  max-height: 50px;
  margin: 0 1rem;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s;
}
.visibility-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* =========================================
   Programmes Page TOOLS SECTION STYLES (Scoped)
   ========================================= */

/* Scoped variables for this section only to avoid pollution */
.tools-section {
  --tools-bg: #02352a;
  --tools-accent: #22c55e;
  --tools-text-light: rgba(255, 255, 255, 0.6);
  --tools-badge-bg: rgba(255, 255, 255, 0.05);
}

/* Custom Tabs Styling - Specific to #tools-tab to avoid breaking other navs */
#tools-tab.nav-pills .nav-link {
  color: var(--white);
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  text-align: left;
  border-radius: 0;
}

#tools-tab.nav-pills .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
}

#tools-tab.nav-pills .nav-link.active {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #bbf7d0 !important; /* Light green text */
  border-left-color: var(--tools-accent) !important;
}

/* Targeting the spans inside to ensure they change color too */
#tools-tab.nav-pills .nav-link.active span {
  opacity: 1 !important;
}

#tools-tab.nav-pills .nav-link.active span.text-uppercase {
  color: var(--tools-accent) !important;
}

/* Tool Badge Styling */
.tool-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--tools-badge-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  transition: transform 0.2s, background 0.2s;
  cursor: default;
  white-space: nowrap; /* Prevent breaking */
}

.tool-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Technique Item Styling */
.tech-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%; /* Ensure uniform height */
}

/* Background Utility */
.bg-dark-green-gradient {
  background: linear-gradient(180deg, #02352a 0%, #012a21 100%);
}

/* Eligibility Card Hover Effect */
.eligibility-card {
  border: 1px solid transparent;
  transition: all 0.3s ease;
  cursor: default;
}

.eligibility-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .admissions-banner {
    padding: 2rem !important;
  }
  .banner-content {
    text-align: center;
    max-width: 100% !important;
  }
  .eligibility-wrapper {
    width: 100%;
  }
  .eligibility-card {
    max-width: 100% !important;
  }
}

/* Timeline Responsive Adjustments */
@media (max-width: 991px) {
  .timeline-line {
    display: none; /* Hide horizontal line on mobile */
  }

  .step-item {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid #dbe898; /* Vertical line for mobile */
    margin-left: 10px;
    padding-bottom: 30px;
  }

  .step-marker {
    position: absolute;
    left: -23px;
    top: 0;
  }
}
/* CSS for Hover Effect */
.highlight-card:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Custom Dates Table Styling */
.custom-dates-table {
  background-color: transparent;
  width: 100%;
  min-width: 800px; /* Forces scroll on mobile if content is squeezed */
}

.custom-dates-table th {
  background-color: #0f2b23; /* Darker header background */
  color: #fff;
  font-weight: 500;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-top: none;
  font-size: 1.1rem;
}

.custom-dates-table td {
  background-color: transparent;
  color: rgba(255, 255, 255, 0.8);
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
  border-top: none;
}

.custom-dates-table tr:last-child td {
  border-bottom: none;
}

/* Hover effect for rows */
.custom-dates-table tbody tr:hover td {
  background-color: rgba(255, 255, 255, 0.03);
  color: #fff;
}

/* Responsive Table Scroll */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
  .cta-panel {
    padding: 2rem !important;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .custom-dates-table th,
  .custom-dates-table td {
    padding: 1rem;
    font-size: 0.9rem;
  }
}

/* Custom Lime Color */
.text-success-light {
  color: #dbe898 !important; /* Matches the button/theme color */
}

/* Glass Background for Badge */
.bg-dark-glass {
  background-color: rgba(5, 20, 16, 0.85);
}

/* Feature Pill Hover Effect */
.feature-pill {
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.feature-pill:hover {
  transform: translateY(-5px);
  background-color: rgba(35, 71, 61, 0.95) !important;
}
/* Responsive adjustments for the banner */
@media (max-width: 991px) {
  .feature-banner {
    height: auto !important; /* Allow height to grow */
    min-height: auto !important;
  }

  .col-lg-5 {
    height: 400px; /* Fixed height for image area on mobile */
    align-items: flex-end;
    overflow: hidden; /* Crop image if needed */
  }

  .col-lg-5 img {
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    display: block;
  }

  .feature-pill {
    min-height: 120px; /* Ensure pills are touch-friendly size */
  }
}

/* Glass effect for the name badge */
.bg-dark-glass {
  background-color: rgba(10, 10, 10, 0.85);
}

/* =========================================
   MARQUEE SECTION: BUTTONS (Restored)
   ========================================= */
/* "Explore More" & Right Arrow Button */
.btn-gold {
  background-color: var(--text-gold, #d9b263);
  color: #000;
  border: 1px solid var(--text-gold, #d9b263);
  transition: all 0.2s ease-in-out;
  font-weight: 600;
}

.btn-gold:hover {
  background-color: var(--hover-gold, #c5ad6d);
  border-color: var(--hover-gold, #c5ad6d);
  transform: scale(1.05);
}

/* Left Arrow Button (Outline Style) */
.btn-outline-gold {
  background-color: transparent;
  color: var(--text-gold, #d9b263);
  border: 1px solid var(--text-gold, #d9b263);
  transition: all 0.2s ease-in-out;
}

.btn-outline-gold:hover {
  background-color: var(--text-gold, #d9b263);
  color: #000;
  transform: scale(1.05);
}

/* =========================================
   MARQUEE SECTION: SCROLLBAR
   ========================================= */
.marquee-grid-container::-webkit-scrollbar {
  height: 8px;
}

.marquee-grid-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.marquee-grid-container::-webkit-scrollbar-thumb {
  background: var(--text-gold, #d9b263);
  border-radius: 4px;
  cursor: pointer;
}

.marquee-grid-container::-webkit-scrollbar-thumb:hover {
  background: var(--hover-gold, #c5ad6d);
}

/* Firefox Support */
.marquee-grid-container {
  scrollbar-width: thin;
  scrollbar-color: var(--text-gold, #d9b263) rgba(255, 255, 255, 0.05);
}

/* =========================================
   MARQUEE SECTION: GRID LAYOUT
   ========================================= */
.marquee-grid-container {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.grid-column {
  width: 350px; /* Fixed width for columns */
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  scroll-snap-align: start;
}

/* =========================================
   MARQUEE SECTION: CARD STYLES
   ========================================= */
.professor-card {
  height: 240px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.professor-card.bg-darker {
  background-color: rgba(0, 0, 0, 0.2);
}

.professor-card:hover {
  transform: translateY(-5px);
  border-color: var(--text-gold, #d9b263);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* =========================================
   MARQUEE SECTION: IMAGES & UTILITIES
   ========================================= */
.img-wrapper {
  height: 100px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.text-gold {
  color: var(--text-gold, #d9b263) !important;
}

.bg-gold {
  background-color: var(--text-gold, #d9b263) !important;
}
