:root {
  --primary-color: #192890;
  --accent-color: #c4ad1a;
  --text-color: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --light-gray: #f4f8fa;
  --border-color: #e5e7eb;

  --font-heading: "Reckless", "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  line-height: 1.5;
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-body);
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Certificate Section New Design */
.certificate-container-new {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.cert-text-col {
  flex: 1;
  background-color: var(--primary-color);
  padding: 30px 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 320px;
  text-align: left;
}

.cert-text-col h2 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
}

.cert-text-col p {
  color: #e0e6ed;
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0;
}

.cert-img-col {
  flex: 1.4;
  position: relative;
  min-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-color: #fff;
}

.cert-img-wrapper-new {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: none;
  max-width: 100%;
  width: 70%;
  position: relative;
}

.cert-img-wrapper-new img {
  display: block;
  width: 100%;
  height: auto;
  transition: none;
}

.cert-eligibility-text {
  margin-top: 30px;
  font-size: 0.9rem;
  color: #666;
  text-align: left;
}

@media (max-width: 768px) {
  .certificate-container-new {
    flex-direction: column;
  }

  .cert-text-col {
    padding: 40px 30px;
    min-width: 100%;
  }

  .cert-text-col h2 {
    font-size: 2.2rem;
  }

  .cert-img-col {
    padding: 30px 20px;
    min-width: 100%;
  }

  .cert-img-wrapper-new {
    width: 100%;
  }
}

/* Navbar & Hero Section: Styles moved to index.html critical CSS for performance */

/* Form Layout */
.brochure-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  /* Prevents long select options from expanding the flex item */
  position: relative;
  /* Anchor for suggestions */
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
  /* Reduced from 0.5rem */
  color: var(--text-color);
}

.form-group input,
.form-group select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 6px 0;
  /* Reduced from 10px 0 */
  border: none;
  border-bottom: 1px solid #ccc;
  font-family: var(--font-body);
  font-size: 0.9rem;
  /* Reduced from 1rem */
  background: transparent;

  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Only apply text truncation to select elements where it's needed */
.form-group select {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

/* Autofill Override */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
  -webkit-text-fill-color: var(--text-color) !important;
  transition: background-color 5000s ease-in-out 0s;
}

.form-group select {
  cursor: pointer;
  width: 100%;
}

.form-group select option {
  padding: 10px;
  background: #fff;
  color: #333;
}

/* Custom Select Arrow */
.select-wrapper,
.phone-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.select-wrapper select {
  padding-right: 25px !important;
  /* Space for the arrow */
}

.select-wrapper::after,
.phone-wrapper::after {
  content: "";
  /* Removed text content */
  width: 12px;
  height: 12px;
  background-image: url("https://prodcms.isb.edu/media/3udlypz0/chevron-open.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  right: 0;
  top: 10px;
  /* Aligned vertically */
  pointer-events: none;
}

.error-message {
  color: #d93025;
  font-size: 0.75rem;
  margin-top: 4px;
  display: block;
  font-weight: 500;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus {
  border-bottom-color: var(--primary-color);
}

.autocomplete-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-top: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  max-height: 200px;
  overflow-y: auto;
  border-radius: 0 0 4px 4px;
  margin-top: -1px;
  /* Align with input underline */
}

.autocomplete-suggestion {
  padding: 10px 15px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-color);
  transition: background 0.2s;
  border-bottom: 1px solid #f0f0f0;
}

.autocomplete-suggestion:last-child {
  border-bottom: none;
}

@media (hover: hover) {
  .autocomplete-suggestion:hover,
  .autocomplete-suggestion.selected {
    background-color: #f8f9fa;
    color: var(--primary-color);
    font-weight: 500;
  }
}

/* Hide datalist arrow if any input[list] remains */
input[list]::-webkit-calendar-picker-indicator {
  display: none !important;
}

/* Phone Input Styling */
.phone-input-group {
  display: flex !important;
  width: 100%;
  align-items: center;
  border-bottom: 1px solid #ccc;
  /* Continuous underline on container */
  position: relative;
  gap: 10px;
}

.country-code-select {
  width: 20% !important;
  min-width: 0;
  position: relative;
  border: none !important;
  /* No individual border */
  border-right: 1px solid #ccc !important;
  /* Separator */
  background: transparent;
  font-size: 1rem;
  color: transparent !important;
  padding: 6px 0 6px 45px !important;
  /* Added left padding for flag */
  min-width: 65px;
  cursor: pointer;
  z-index: 5;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-repeat: no-repeat, no-repeat !important;
  background-position:
    5px center,
    35px center !important;
  background-size:
    24px 16px,
    10px 6px !important;
}

.country-code-select option {
  color: #333;
}

.phone-input-group input[type="tel"] {
  width: 80% !important;
  flex: 0 0 80% !important;
  padding: 6px 0 6px 0 !important;
  border: none !important;
  /* No individual border */
  border-left: none !important;
  outline: none;
  background: transparent;
  /* Ensure transparent to see through if needed */
  border-radius: 0;
}

/* Focus styles: Highlight the group container */
.phone-input-group:focus-within {
  border-bottom-color: var(--primary-color) !important;
}

/* Remove individual focus borders */
.country-code-select:focus,
.phone-input-group input[type="tel"]:focus {
  border-bottom-color: transparent !important;
  outline: none;
}

/* Error States */
.form-group.has-error input,
    .form-group.has-error select,
    /* Target the group border on error */
    .form-group.has-error .phone-input-group {
  border-bottom-color: #d93025 !important;
}

/* Checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.4;
  margin-top: 0.5rem;
  cursor: pointer;
  flex-wrap: wrap;
}

.form-check input {
  margin-top: 3px;
  width: auto;
}

.form-check label {
  flex: 1;
}

/* Actions */
.form-actions {
  display: flex;
  gap: 20px;
  margin-top: 1rem;
}

.btn {
  flex: 1;
  padding: 12px;
  font-size: 1rem;
  cursor: pointer;
  background: var(--primary-color);
  border: none;
  color: var(--white);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: var(--primary-color);
  box-shadow: none;
  transform: none;
}

.highlight-btn {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(25, 40, 144, 0.2);
  transform: translateY(-1px);
}

/* Programme Info Bar */
.programme-info-bar {
  background: var(--white);
  padding: 25px 0;
  /* Unified padding */
  border-top: 1px solid #efefef;
  border-bottom: 1px solid #efefef;
  position: -webkit-sticky;
  /* iOS support */
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  /* Fix for iOS flickering/shaking */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.info-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  flex: 1;
  min-width: 200px;
  border-right: 1px solid #ddd;
  padding: 0 30px;
}

.info-item:first-child {
  padding-left: 0;
}

.info-item:last-child {
  border-right: none;
  padding-right: 0;
}

.eligibility-item {
  border-right: none;
  padding-right: 0;
}

.brochure-item-sticky {
  display: none;
}

.programme-info-bar.is-sticky .eligibility-item {
  display: none !important;
}

.programme-info-bar.is-sticky .brochure-item-sticky {
  display: flex !important;
  justify-content: flex-end;
  align-items: center;
  align-self: center;
  /* Center vertically within the bar */
}

.sticky-brochure-btn {
  padding: 12px 25px !important;
  font-size: 0.85rem !important;
  border-radius: 0 !important;
  background-color: var(--primary-color) !important;
  color: #fff !important;
  text-transform: uppercase;
  font-weight: 700;
  width: auto !important;
  flex: none !important;
  transition: all 0.3s ease;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .programme-info-bar {
    position: static;
  }

  .info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 15px;
    align-items: start;
  }

  .info-item {
    min-width: 0;
    flex: none;
    align-items: flex-start;
    border-right: none;
    padding: 0;
  }

  /* Force defaults on mobile regardless of sticky state */
  .programme-info-bar.is-sticky .eligibility-item {
    display: flex !important;
  }

  .programme-info-bar.is-sticky .brochure-item-sticky {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .info-icon {
    font-size: 1.8rem;
  }

  .info-icon::after {
    width: 15px;
    height: 15px;
  }

  .info-label {
    font-size: 0.95rem;
  }

  .info-value {
    font-size: 0.85rem;
  }
}

.info-icon {
  font-size: 2.2rem;
  color: var(--primary-color);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Adding a gold accent to icons to match the image style */
.info-icon::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--accent-color);
  border-radius: 50%;
  z-index: -1;
  bottom: -5px;
  left: -5px;
  opacity: 0.8;
}

.info-text {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-heading);
}

.info-value {
  font-size: 0.95rem;
  color: var(--text-color);
  margin-top: 2px;
}

.extra-info {
  font-size: 0.8rem;
  color: var(--text-light);
  max-height: 200px;
  /* Always visible */
  opacity: 1;
  visibility: visible;
  overflow: visible;
  margin-top: 8px;
  line-height: 1.4;
  /* Slightly more breathable */
  padding-top: 2px;
}

.extra-info span {
  display: block;
  margin-bottom: 4px;
}

.payment-cta {
  color: var(--primary-color);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 500;
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal-content,
.brochure-modal-content,
.modal-wrapper {
  position: relative;
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-content,
.brochure-modal-content {
  background: var(--white);
  padding: 40px;
  border-radius: 0;
  max-width: 650px;
  width: 90%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.modal-overlay.show .modal-content,
.modal-overlay.show .brochure-modal-content,
.faculty-modal.show .modal-wrapper {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-content h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
}

/* Brochure Modal Specific */
.brochure-modal-content {
  max-width: 600px !important;
  width: 95% !important;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px !important;
  border-radius: 0 !important;
}

.brochure-modal-content::-webkit-scrollbar {
  width: 6px;
}

.brochure-modal-content::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.brochure-modal-content .hero-form-container {
  min-width: unset !important;
}

@media (max-width: 576px) {
  .brochure-modal-content {
    padding: 30px 20px !important;
  }
}

/* Floating Buttons */
.floating-actions {
  pointer-events: none;
  z-index: 999;
}

.float-btn,
.float-right-group {
  position: fixed;
  bottom: 25px;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  visibility: hidden;
  z-index: 1000;
}

.float-btn.show,
.float-right-group.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.float-btn {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  width: auto !important;
  min-width: 0 !important;
}

.float-left {
  display: none;
  /* Hidden on desktop, redundant with sticky bar */
  left: 25px;
  background: var(--primary-color) !important;
  color: var(--white) !important;
  border-radius: 0 !important;
  /* Matches overall theme */
  padding: 14px 28px !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none !important;
}

.float-right-group {
  right: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.float-right {
  position: static !important;
  background: var(--accent-color) !important;
  color: var(--white) !important;
  width: 55px !important;
  height: 55px !important;
  padding: 8px !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem !important;
  border-radius: 0 !important;
  border: none !important;
  gap: 2px;
}

.float-btn-text-im {
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .float-btn,
  .float-right-group {
    bottom: 20px;
  }

  .float-left {
    display: flex !important;
    /* Keep on mobile as sticky bar button is hidden here */
    left: 15px;
    padding: 12px 20px !important;
    font-size: 0.8rem !important;
  }

  .float-right-group {
    right: 15px;
  }

  .float-right {
    width: 48px !important;
    height: 48px !important;
  }
}

@media (max-width: 480px) {
  .float-left {
    left: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    padding: 18px !important;
    border-radius: 0 !important;
    text-align: center;
    justify-content: center;
  }

  .float-right-group {
    right: 15px;
    bottom: 80px !important;
  }
}

/* Programme Overview Section */
.overview-section {
  padding: 50px 0;
  background: var(--light-gray);
  position: relative;
  z-index: 1;
}

.section-title-large {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  /* Standardized margin */
  font-family: var(--font-heading);
  line-height: 1.2;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}

.overview-visual {
  position: relative;
  height: 100%; /* Ensures it takes full height of grid cell */
  min-height: 100%;
}

.overview-visual img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.overview-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.overview-item {
  border-left: 4px solid var(--accent-color);
  padding-left: 25px;
}

.overview-item h3 {
  color: #333;
  font-size: 1.25rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.overview-item p {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

.overview-slider-wrapper {
  position: relative;
  width: 100%;
}

@media (max-width: 992px) {
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    width: 100%;
    overflow: hidden;
    /* Prevent horizontal spill */
  }

  .overview-slider-wrapper {
    width: 100%;
    min-width: 0;
    overflow: visible;
  }

  .overview-slider-track {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: stretch;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px 0 30px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    cursor: grab;
  }

  .overview-slider-track::-webkit-scrollbar {
    display: none;
  }

  .overview-item {
    flex: 0 0 100%;
    /* Full width cards */
    min-height: 280px;
    scroll-snap-align: center;
    background: #fff;
    padding: 30px 25px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--accent-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .overview-item h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }

  .overview-item p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .overview-visual {
    display: none;
  }

  .overview-visual img {
    width: 100%;
    height: auto;
    /* Natural responsiveness restored */
    object-fit: contain;
  }
}

/* Visibility Utilities */
.mobile-only {
  display: none !important;
}

@media (max-width: 992px) {
  .mobile-only {
    display: flex !important;
  }

  .desktop-only {
    display: none !important;
  }
}

/* Hide modals and floating elements initially to prevent FOUC */
.modal-overlay,
.faculty-modal,
.cert-modal,
.float-btn,
.float-right-group {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-overlay.show,
.faculty-modal.show,
.cert-modal.show,
.float-btn.show,
.float-right-group.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 480px) {
  .overview-section {
    padding: 30px 0;
  }
}

/* Key Takeaways Section */
.takeaways-section {
  padding: 50px 0;
  background: var(--white);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.takeaways-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.takeaways-visual {
  position: relative;
  padding: 20px;
}

.visual-deco-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 95%;
  background: var(--light-gray);
  z-index: 1;
  border-radius: 0;
  transform: rotate(-2deg);
}

.takeaways-visual img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.takeaways-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.takeaways-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.takeaways-list i {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-top: 5px;
}

.takeaways-list span {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .takeaways-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .takeaways-content {
    order: 1;
  }

  .takeaways-visual {
    order: 2;
  }

  .takeaways-visual img {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .takeaways-visual {
    display: none;
  }
}

/* Rankings Section */
.rankings-section {
  padding: 50px 0;
  background-color: var(--light-gray);
  text-align: left;
  /* Changed from center */
}

.rankings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.ranking-card {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  /* Adjusted padding */
}

.ranking-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 15px;
  display: flex;
  /* Added for alignment */
  align-items: baseline;
}

.ranking-number .count {
  min-width: 1ch;
  /* Prevents layout jump during counting */
}

.ranking-label {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.4;
  font-weight: 500;
}

.ranking-source {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 1024px) {
  .rankings-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 30px;
  }
}

@media (max-width: 600px) {
  .rankings-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ranking-number {
    font-size: 3.5rem;
  }
}

/* Programme Highlights Section */
.highlights-section {
  padding: 50px 0;
  background-color: var(--white);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  margin-top: 3em;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.highlight-icon {
  position: relative;
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.icon-accent-box {
  position: absolute;
  width: 25px;
  height: 25px;
  background-color: var(--accent-color);
  bottom: -5px;
  left: -5px;
  z-index: -1;
  opacity: 0.9;
}

.highlight-item p {
  font-size: 0.95rem;
  color: #333;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 1100px) {
  .highlights-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 20px;
  }
}

@media (max-width: 768px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    /* Stay 2-column */
    gap: 25px 15px;
  }

  .highlight-icon {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
}

/* Alt Design for Highlights */
.highlights-section.alt-design {
  background-color: var(--white);
  padding: 50px 0;
}

/* Slider Container Defaults */
.highlights-slider-container {
  position: relative;
  width: 100%;
}

.mobile-only {
  display: none !important;
}

@media (max-width: 992px) {
  .mobile-only {
    display: flex !important;
  }
}

.highlights-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 60px;
  column-gap: 0;
  touch-action: pan-y;
  /* For mobile slider */
}

/* Initially hide slider controls, show only when needed via media query */
.highlights-controls {
  display: none;
}

.highlight-card-new {
  text-align: left;
  padding: 0 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.highlight-card-new.bordered {
  border-left: 1px solid #dae1e7;
}

.highlight-main-val {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 15px;
}

.highlight-icon-new {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 64px;
  /* Approximate height of text numbers to align row */
}

.highlight-title-new {
  font-size: 1.05rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
  line-height: 1.3;
}

.highlight-desc-new {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
  max-width: 320px;
}

@media (max-width: 992px) {
  .highlights-grid-new {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
    gap: 40px;
    /* Consistent gap */
  }

  .highlight-card-new.bordered {
    border-left: none;
  }

  .highlight-card-new:nth-child(even) {
    border-left: 1px solid #dae1e7;
  }
}

@media (max-width: 600px) {
  .highlights-slider-container {
    overflow: hidden;
    padding: 0 10px;
  }

  .highlights-grid-new.highlights-slider-track {
    display: flex;
    grid-template-columns: none;
    gap: 0;
    transition: transform 0.5s ease;
    width: 100%;
    touch-action: pan-y;
  }

  .highlight-card-new {
    flex: 0 0 100%;
    border-left: none !important;
    padding: 0 20px;
    align-items: center;
    text-align: center;
    border-bottom: none;
    /* remove legacy */
  }

  .highlight-main-val,
  .highlight-icon-new {
    justify-content: center;
  }

  .highlight-desc-new {
    max-width: 100%;
  }

  /* Slider Controls */
  .highlights-controls {
    display: flex;
    /* Show only on mobile when slider is active */
    margin-top: 20px;
    justify-content: center;
  }
}

/* What Sets GMP Apart Section */
.apart-section {
  padding: 50px 0;
  background-color: var(--light-gray);
  /* Very subtle off-white background */
}

.apart-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.apart-card {
  background: var(--white);
  padding: 35px 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.apart-icon {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  position: relative;
  display: inline-flex;
}

.icon-accent {
  position: absolute;
  width: 25px;
  height: 25px;
  background-color: var(--accent-color);
  bottom: -5px;
  left: -5px;
  z-index: -1;
  opacity: 0.9;
}

.apart-card h3 {
  font-size: 1.15rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.apart-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

.apart-slider-container {
  position: relative;
  width: 100%;
}

.apart-controls {
  margin-top: 15px;
  display: none;
  /* Hidden by default */
}

@media (max-width: 1200px) {
  .apart-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .apart-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px 0 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .apart-card {
    flex: 0 0 100%;
    min-width: 280px;
    scroll-snap-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }

  /* Controls moved to < 600px */
}

/* Learner Profiles Section */
.learner-profiles-section {
  padding: 50px 0;
  background-color: var(--white);
}

.profiles-tabs {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0px;
  /* Seamless on desktop */
  gap: 5px;
}

.profile-tab {
  padding: 20px 15px;
  font-size: 1rem;
  color: var(--primary-color);
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
  border-radius: 0;
  flex: 1;
  text-align: center;
  border: 1px solid transparent;
}

.profile-tab.active {
  background-color: var(--light-gray);
  font-weight: 700;
}

.profile-content-box {
  background-color: var(--light-gray);
  padding: 50px 60px;
  min-height: 180px;
  position: relative;
}

/* Tooltip arrow for the active tab */
.profile-content-box::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 12.5%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #f0f7ff;
  transition: left 0.3s ease;
}

.profiles-tabs:has([data-tab="1"].active) + .profile-content-box::before {
  left: 37.5%;
}

.profiles-tabs:has([data-tab="2"].active) + .profile-content-box::before {
  left: 62.5%;
}

.profiles-tabs:has([data-tab="3"].active) + .profile-content-box::before {
  left: 87.5%;
}

.profile-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}

.profile-pane.active {
  display: block;
}

.pane-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.profile-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 15px;
  color: #333;
  line-height: 1.6;
  font-size: 1.05rem;
}

.profile-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .profiles-tabs {
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
    /* Spacing for mobile/tablet where tabs stack */
  }

  .profile-tab {
    flex: none;
    width: 48%;
    border-radius: 0;
    margin-bottom: 10px;
  }

  .profile-content-box::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .profiles-tabs {
    flex-wrap: wrap;
    overflow-x: visible;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 0;
  }

  .profiles-tabs::-webkit-scrollbar {
    display: none;
  }

  .profile-tab {
    width: 48%;
    flex: 0 0 48%;
    margin-bottom: 0;
    white-space: normal;
    text-align: left;
    padding: 15px 15px;
    /* Slightly increased padding */
    border-radius: 0;
    border: 1px solid #eee;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 60px;
  }

  .profile-tab.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    font-weight: 700;
  }

  .pane-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .profile-content-box {
    padding: 30px;
  }
}

/* Class Profile Section */
.class-profile-section {
  padding: 50px 0;
  background-color: var(--light-gray);
}

.class-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  position: relative;
  margin-top: 40px;
}

/* Vertical Separator */
.class-profile-grid::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background-color: rgba(0, 0, 0, 0.1);
  transform: translateX(-50%);
}

.profile-column {
  display: flex;
  flex-direction: column;
}

.profile-column h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 30px;
  font-weight: 700;
  text-align: center;
}

.chart-placeholder img {
  width: 100%;
  height: auto;
  border-radius: 0;
  display: block;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

@media (max-width: 992px) {
  .class-profile-grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .class-profile-grid::after {
    display: none;
  }
}

/* What You Gain Section */
.gain-section {
  padding: 50px 0;
  background-color: var(--white);
}

.gain-slider-container {
  position: relative;
  width: 100%;
}

.gain-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.gain-slider-nav {
  display: none;
  /* Hidden on desktop */
}

.gain-dots {
  display: none;
  /* Hidden on desktop */
}

.gain-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.gain-img-wrapper {
  cursor: pointer;
  margin-bottom: 25px;
  width: 100%;
  height: 260px;
  /* Fixed height for alignment */
  display: flex;
  justify-content: flex-start;
  align-items: center;
  /* Center image vertically */
}

.gain-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  /* Ensure it fits height */
  width: auto;
  /* Maintain aspect ratio */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 0;
}

.gain-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.gain-desc {
  font-size: 0.9rem;
  color: var(--text-color);
  line-height: 1.6;
}

.gain-footer-text {
  margin-top: 60px;
  font-style: italic;
  font-size: 0.9rem;
  color: #666;
  text-align: left;
}

@media (max-width: 900px) {
  .gain-slider-container {
    overflow: hidden;
    padding: 0 10px;
  }

  .gain-grid-new.gain-slider-track {
    display: flex;
    /* Change to flex for sliding */
    grid-template-columns: none;
    gap: 0;
    transition: transform 0.5s ease;
    width: 100%;
    touch-action: pan-y;
  }

  .gain-item {
    flex: 0 0 100% !important;
    /* Each item takes full width */
    padding: 0 15px;
    align-items: center;
    /* Centered for mobile */
    text-align: center;
    /* Centered for mobile */
  }

  .gain-img-wrapper {
    justify-content: center;
    /* Center the certificate image */
    height: 220px;
    min-height: auto;
  }

  .gain-slider-nav {
    display: flex;
    position: absolute;
    top: 160px;
    /* Centered: 50px margin + 220px/2 */
    transform: translateY(-50%);
    z-index: 100;
    /* Increased to ensure clicks are captured */
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    width: 32px;
    height: 32px;
    border-radius: 0;
    font-size: 0.9rem;
    color: var(--primary-color);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .gain-prev {
    left: 10px;
  }

  .gain-next {
    right: 10px;
  }

  .gain-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
  }

  .dot {
    width: 10px;
    height: 10px;
    border-radius: 0;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s;
  }

  .dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
  }

  .gain-footer-text {
    text-align: center;
  }
}

/* Certificate Modal */
.cert-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 60px 20px;
}

.cert-modal.show {
  opacity: 1;
  visibility: visible;
}

.cert-modal-content {
  display: block;
  margin: auto auto 0;
  max-width: 800px;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

#certCaption {
  display: block;
  margin: 15px auto auto;
  /* Margin top to separate from image, auto bottom for centering */
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
}

.cert-modal-content,
#certCaption {
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cert-modal.show .cert-modal-content,
.cert-modal.show #certCaption {
  transform: scale(1);
  opacity: 1;
}

/* zoom keyframes removed in favor of transitions */

.close-cert {
  color: #fff !important;
  font-size: 32px;
  top: 20px;
  right: 25px;
  z-index: 2001;
}

@media only screen and (max-width: 700px) {
  .cert-modal-content {
    width: 95%;
  }
}

/* Testimonials Section */
.testimonials-section {
  padding: 50px 0;
  background-color: var(--white);
}

.testimonials-slider {
  position: relative;
  margin-top: 40px;
}

.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background-color: var(--light-gray);
  padding: 40px 30px;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: auto;
  min-height: 350px;
}

.testimonial-text {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 30px;
  font-style: normal;
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 20px;
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.profile-info {
  display: flex;
  flex-direction: column;
}

.profile-name {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.profile-designation,
.profile-company {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.3;
}

/* Slider Controls - Hidden on Desktop */
.slider-controls {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 0;
  background-color: var(--white);
  border: 1px solid #e0e0e0;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

@media (max-width: 992px) {
  .arrow-btn:hover,
  .arrow-btn:focus,
  .arrow-btn:active {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: #e0e0e0;
    transform: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  }
}

.arrow-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.slide-counter {
  display: none;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

@media (max-width: 1100px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 15px);
    /* 2 cards on tablet */
  }
}

@media (max-width: 768px) {
  .testimonials-slider {
    overflow: hidden;
  }

  .testimonials-track {
    display: flex;
    grid-template-columns: none;
    transition: transform 0.5s ease-in-out;
    touch-action: pan-y;
  }

  .testimonial-card {
    flex: 0 0 100%;
    /* 1 card on mobile */
    padding: 30px 20px;
  }

  .slider-controls {
    display: flex;
  }

  .slide-counter {
    display: block;
  }
}

/* Curriculum Section */
.curriculum-section {
  padding: 50px 0;
  background-color: var(--light-gray);
}

.curriculum-intro {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 900px;
}

.accordion {
  border-top: 1px solid #e0e0e0;
}

.accordion-item {
  border-bottom: 1px solid #e0e0e0;
}

.accordion-header {
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.accordion-header h3 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: #333;
  font-weight: 600;
  margin: 0;
  transition: color 0.3s;
}

.accordion-header i {
  color: var(--primary-color);
  font-size: 1.1rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  /* Added rotation transition */
}

.accordion-item.active .accordion-header h3 {
  color: var(--primary-color);
}

.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
  /* Icon rotation animation */
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  /* Transition padding too */
  padding: 0;
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
  /* Large enough value */
  padding: 0 0 30px 0;
}

.curriculum-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.curriculum-list li {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}

.curriculum-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.curriculum-list li strong {
  color: #333;
}

/* What You Will Gain Section */
.gain-section {
  padding: 50px 0;
  background-color: var(--white);
}

.gain-box {
  display: flex;
  background-color: #f8fafd;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.gain-text-col {
  flex: 0 0 42%;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gain-text-col h3 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  font-weight: 700;
  font-family: var(--font-heading);
}

.gain-text-col p {
  font-size: 1.15rem;
  line-height: 1.7;
  opacity: 0.95;
}

.gain-visual-col {
  flex: 0 0 58%;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image:
    linear-gradient(rgba(0, 43, 92, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 43, 92, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
}

.certificate-mockup-wrapper {
  width: 100%;
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.certificate-img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border: 4px solid #fff;
  display: block;
}

@media (max-width: 1100px) {
  .gain-text-col {
    padding: 60px 40px;
  }

  .gain-text-col h3 {
    font-size: 2.2rem;
  }
}

@media (max-width: 992px) {
  .gain-box {
    flex-direction: column;
  }

  .gain-text-col,
  .gain-visual-col {
    flex: 0 0 100%;
  }

  .gain-text-col {
    padding: 60px 40px;
  }

  .gain-visual-col {
    padding: 40px 20px;
  }
}

/* ISB Executive Alumni Benefits Section */
.alumni-benefits-section {
  padding: 50px 0;
  background-color: var(--light-gray);
}

.alumni-benefits-section .section-intro {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 900px;
}

.alumni-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.alumni-card {
  background-color: #f8fafd;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.alumni-controls {
  display: none;
  /* Hidden by default */
}

.card-content {
  padding: 40px 30px;
  flex-grow: 1;
}

.alumni-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--primary-color);
  line-height: 1.4;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 10px;
  display: inline-block;
  align-self: flex-start;
}

.alumni-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.alumni-list li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  padding-left: 20px;
  position: relative;
  color: #444;
}

.alumni-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

@media (max-width: 1100px) {
  .alumni-cards-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px 0 20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .alumni-cards-grid::-webkit-scrollbar {
    display: none;
  }

  .alumni-card {
    flex: 0 0 45%;
    min-width: 300px;
    scroll-snap-align: center;
    height: auto;
  }
}

@media (max-width: 768px) {
  .alumni-card {
    flex: 0 0 100%;
    /* Show full card on mobile */
  }
}

/* Programme Faculty Section */
.faculty-section {
  padding: 50px 0;
  background-color: var(--white);
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.faculty-card {
  background-color: var(--white);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.faculty-img-container {
  width: 100%;
  position: relative;
  padding-top: 100%;
  /* 1:1 Aspect Ratio (Square) */
  background-color: var(--light-gray);
}

.faculty-img-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Zoom out specific faculty images */
.faculty-img-container.zoom-out img {
  object-fit: contain;
  object-position: center;
  transform: scale(0.85);
}

.faculty-info {
  padding: 25px 20px;
  text-align: left;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.faculty-info h3 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-weight: 700;
}

.faculty-info p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
  margin-bottom: 20px;
}

.view-profile-btn {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 0;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  align-self: flex-start;
  margin-top: auto;
}

.see-more-faculty {
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .see-more-faculty {
    margin-top: 30px;
    justify-content: flex-end;
  }
}

#seeMoreFacultyBtn {
  width: fit-content !important;
  flex: none !important;
}

.all-faculty-grid {
  grid-template-columns: repeat(4, 1fr) !important;
  max-height: 70vh;
  overflow-y: auto;
  padding: 10px;
}

@media (max-width: 1100px) {
  .all-faculty-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .all-faculty-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .all-faculty-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 992px) {
  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .faculty-grid {
    grid-template-columns: 1fr;
  }
}

/* Faculty Modal */
.faculty-modal {
  display: flex;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faculty-modal.show {
  opacity: 1;
  visibility: visible;
}

.faculty-modal-content {
  background-color: var(--white);
  width: 100%;
  border-radius: 0;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.modal-wrapper {
  position: relative;
  max-width: 900px;
  width: 85%;
  margin: auto;
  /* Centers vertically and horizontally */
}

.close-modal {
  position: absolute;
  right: 25px;
  top: 15px;
  color: #999;
  font-size: 25px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  transition: color 0.3s;
}

/* Corrected target classes */
.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--white);
  color: var(--primary-color);
  width: 38px;
  height: 38px;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

/* Base Desktop Position */
.modal-prev-btn {
  left: -80px;
}

/* Ensure no conflict with previous-btn typo */

.modal-next-btn {
  right: -80px;
}

@media (max-width: 1200px) {
  .modal-prev-btn {
    left: -40px;
  }

  .modal-next-btn {
    right: -40px;
  }
}

@media (max-width: 1050px) {
  .modal-prev-btn {
    left: 15px;
  }

  .modal-next-btn {
    right: 15px;
  }
}

@media (max-width: 992px) {
  .modal-nav-btn {
    top: 295px;
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .fa-regular {
    color: var(--primary-color);
  }
}

.modal-layout {
  display: flex;
  min-height: 450px;
}

.modal-img-col {
  flex: 0 0 40%;
  background-color: var(--light-gray);
}

.modal-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.modal-info-col {
  flex: 1;
  padding: 50px 40px;
}

.modal-info-col h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.modal-title-text {
  font-size: 1.05rem;
  color: var(--accent-color);
  margin-bottom: 25px;
}

.bio-separator {
  width: 50px;
  height: 4px;
  background-color: var(--primary-color);
  margin-bottom: 25px;
}

.modal-bio-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
}

@media (max-width: 992px) {
  .modal-layout {
    flex-direction: column;
  }

  .modal-img-col {
    flex: 0 0 300px;
    /* Reduced height on mobile/tablet */
    height: 300px;
  }

  .modal-img-col img {
    object-fit: cover;
    object-position: top;
  }

  .modal-info-col {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  .faculty-card {
    flex: 0 0 85% !important;
    min-width: 85% !important;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-split-layout {
    flex-direction: column;
  }

  .hero-visual,
  .hero-form-container {
    width: 100%;
    min-width: auto;
    padding: 40px;
  }

  .hero-visual {
    min-height: 400px;
  }
}

@media (max-width: 576px) {
  .form-row,
  .form-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-visual-content h1 {
    font-size: 2rem;
  }
}

/* Site Footer (Unified Partners & Accreditations) */
.site-footer {
  padding: 35px 0 25px;
  background-color: var(--white);
  border-top: 1px solid #eee;
}

.footer-brand-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
}

.footer-brand {
  text-align: left;
}

.footer-brand-logo {
  height: auto;
  max-height: 85px;
  max-width: 220px;
  display: block;
  margin-bottom: 20px;
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-weight: 700;
}

.footer-contact-row {
  display: flex;
  gap: 15px;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
}

.footer-contact-row a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

@media (hover: hover) {
  .footer-contact-row a:hover {
    color: var(--primary-color);
  }
}

.footer-contact-row .dot-separator {
  color: #ccc;
}

.footer-social-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.social-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 3px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  text-decoration: none !important;
  color: #333;
  font-size: 1rem;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  /* Square with slight roundness like image */
  background: #f0f0f0;
}

.footer-divider-horizontal {
  width: 100%;
  height: 1px;
  background-color: #eee;
  margin-bottom: 30px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  /* Changed from center to align headings to the top */
  gap: 20px;
  width: 100%;
  flex-wrap: nowrap;
  /* Forced one row for desktop and tablet */
}

.footer-group {
  flex: 0 0 auto;
  text-align: left;
}

.footer-group h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
  text-transform: capitalize;
}

.footer-logos {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.footer-logos img {
  max-height: 35px;
  /* Reduced from 45px */
  width: auto;
  transition: all 0.3s ease;
}

.footer-logos img[alt="Kellogg"] {
  max-height: 40px;
  /* Reduced from 55px */
}

.footer-logos img[alt="Wharton"] {
  max-height: 50px;
  /* Reduced from 70px */
}

.footer-logos img[alt="AMBA"],
.footer-logos img[alt="EQUIS"] {
  max-height: 60px;
  /* Reduced from 85px */
}

/* Removed specific margin override to maintain consistency with other headings */
.footer-group:nth-child(5) .footer-logos {
  gap: 30px;
}

.footer-separator {
  width: 1px;
  background-color: #ddd;
  align-self: stretch;
  margin: 10px 0;
  display: block;
  /* Ensure it's shown on desktop */
}

.footer-bottom {
  margin-top: 35px;
  padding-top: 15px;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 0.85rem;
  color: #888;
}

@media (max-width: 1200px) {
  .footer-grid {
    gap: 10px;
  }
}

@media (max-width: 767px) {
  .footer-brand-section {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
  }

  .footer-brand {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-brand-title {
    font-size: 1.2rem;
  }

  .footer-contact-row {
    justify-content: flex-start;
    flex-wrap: nowrap !important;
    gap: 8px;
    font-size: 0.8rem;
  }

  .footer-social-column {
    align-items: flex-start;
    margin-top: 20px;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .footer-grid {
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
  }

  .footer-group {
    text-align: left;
    width: 100%;
  }

  .footer-logos {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 30px;
  }

  /* Using nth-child(5) for the Accreditations group because of separators */
  .footer-group:nth-child(5) .footer-logos {
    gap: 12px !important;
    flex-wrap: nowrap !important;
    display: flex !important;
  }

  .footer-group:nth-child(5) .footer-logos img {
    max-height: 35px !important;
    /* AACSB size */
    width: auto !important;
    flex: 0 0 auto !important;
  }

  .footer-group:nth-child(5) .footer-logos img[alt="AMBA"],
  .footer-group:nth-child(5) .footer-logos img[alt="EQUIS"] {
    max-height: 60px !important;
    /* Larger size for AMBA and EQUIS */
  }

  .footer-separator {
    display: none;
  }

  .footer-logo-col {
    flex: none;
  }

  .footer-bottom {
    text-align: left;
  }
}

/* CTA Banner Section */
.cta-banner-section {
  padding: 60px 0 80px;
  background-color: #f8fafd;
}

.cta-schools-section {
  margin-top: 50px;
  padding-top: 50px;
  border-top: 1px solid #e0e6ed;
}

.cta-schools-section .footer-grid {
  justify-content: space-between;
}

.cta-banner-card {
  background: linear-gradient(135deg, #0a1445 0%, #1c2b5a 100%);
  border-radius: 0;
  padding: 50px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.cta-banner-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    circle at 20% 50%,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.cta-banner-card.early-reg-version {
  text-align: left;
  padding: 50px 60px;
}

.cta-banner-card.early-reg-version .cta-banner-content {
  flex: 1;
}

.cta-banner-title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.2;
}

.cta-banner-subtext {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-bottom: 25px;
}

.enrollment-deadline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 0;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

.enrollment-deadline i {
  font-size: 1rem;
  color: var(--white);
}

.start-app-btn {
  display: inline-block;
  padding: 12px 35px;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 0;
  background-color: transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 767px) {
  .cta-banner-card.early-reg-version {
    flex-direction: column;
    text-align: center;
    padding: 40px 30px;
    align-items: center;
  }

  .cta-banner-title {
    font-size: 1.6rem;
  }

  .enrollment-deadline {
    justify-content: center;
    margin-bottom: 30px;
  }

  .enrollment-deadline i {
    display: none;
  }
}

@media (max-width: 768px) {
  section {
    padding: 40px 0 !important;
  }

  .overview-section,
  .takeaways-section,
  .highlights-section,
  .apart-section,
  .learner-profiles-section,
  .class-profile-section,
  .testimonials-section,
  .gain-section,
  .alumni-benefits-section,
  .faculty-section,
  .curriculum-section {
    padding: 40px 0 !important;
  }

  .section-title-large {
    font-size: 2rem !important;
    margin-bottom: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  section {
    padding: 30px 0 !important;
  }

  .cta-banner-section {
    padding: 30px 0 50px !important;
  }

  .cta-banner-card.early-reg-version {
    padding: 35px 20px;
    border-radius: 0;
    text-align: left;
    align-items: flex-start;
  }

  .cta-banner-title {
    font-size: 1.4rem;
  }

  .cta-banner-subtext {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .enrollment-deadline {
    font-size: 0.75rem;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
  }

  .start-app-btn {
    padding: 10px 25px;
    font-size: 0.9rem;
    width: 100%;
  }
}

/* Certificate & Chart Modal Preview */

.cert-modal-content {
  max-height: 80%;
  object-fit: contain;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.cert-modal-content.white-bg {
  background: var(--white);
  padding: 20px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

#certCaption {
  color: var(--white);
  margin-top: 20px;
  font-size: 1.2rem;
  font-family: var(--font-heading);
  text-align: center;
}

.close-cert {
  position: absolute;
  top: 30px;
  right: 30px;
  color: var(--white);
  font-size: 40px;
  cursor: pointer;
  background: none;
  border: none;
}

@media (max-width: 768px) {
  .cert-modal-content {
    width: 95%;
    padding: 0;
  }

  .cert-modal-content.white-bg {
    padding: 10px;
  }
}

/* Explicitly hide these controls on larger screens (overriding .slider-controls) */
.highlights-controls,
.apart-controls,
.alumni-controls {
  display: none;
}

@media (max-width: 1100px) {
  .alumni-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
}

@media (max-width: 600px) {
  .highlights-controls,
  .apart-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
}

.svg-icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  fill: currentColor;
  overflow: hidden;
}
