:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-white: #ffffff;
  --bg-light: #f9fafb;
  --font-inter: "Inter", sans-serif;
  --font-playfair: "Playfair Display", serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-inter);
  color: var(--text-dark);
  line-height: 1.5;
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}
.container2 {
  margin: 0 auto;
  padding: 0 2.8rem;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}
.container1 {
  height: 100%;
  padding-top: 90px !important;
  margin: 0 auto;
  padding: 0 4rem;
}

/* Sub-Nav Top Bar */
.sub-nav {
  height: 34px;
  display: flex;

  align-items: center;
}

.sub-nav-container {
    padding-top: 2rem;
    padding-right: 12.8rem  ;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
}

.sub-nav-links,
.sub-nav-right {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
}

.sub-nav-link {

  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  padding: 0 0.85rem;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    color 0.2s ease,
    background 0.2s ease;
  letter-spacing: 0.01em;
}

.sub-nav-links .sub-nav-link:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-nav-right .sub-nav-link {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: none;
}

.sub-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

/* Header */
.navbar {
  background-color: #34495e;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1rem;
}

.logo-img {
  height: 110px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 0 !important;
}

.logo {
    margin-top: -17px; /* adjust this value to push up more or less */
}

.close-menu {
  display: none;
}
.mobile-toggle {
  display: none;
}
.d-mobile-only {
  display: none !important;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
  margin-left: auto;
  margin-right: 1.5rem;
  height: 100%;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}

.nav-links > a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  padding: 0.4rem 0.5rem;
  transition: color 0.2s ease;
}

.nav-links > a:hover {
  color: #ffffff;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  color:rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  padding: 0.4rem 0.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
  height: 100%;
}

.nav-link-item:hover {
  color: #ffffff;
}

.nav-link-item .chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.nav-action {
  flex-shrink: 0;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

/* Desktop megamenu */
.megamenu {
  position: fixed;
  top: 114px;
  left: 0;
  right: 0;
  width: 100%;
  background: rgb(255, 255, 255);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  padding: 3rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  pointer-events: none;
  transform: translateY(-8px);
}

.nav-item.open .megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-item.open > .nav-link-item .chevron {
  transform: rotate(180deg);
}

.megamenu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  max-width: 1200px;
}

.megamenu-heading {
  font-size: 0.75rem;
  font-weight: 500;
  color: #006eff;
  letter-spacing: 0;
  margin-bottom: 1.25rem;
}

.megamenu-col a {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1d1d1f;
  margin-bottom: 0.7rem;
  line-height: 1.4;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.megamenu-col a:hover {
  color: #006eff;
  transform: translateX(2px);
}

.student-services-modern .megamenu-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
}

.student-services-modern .megamenu-heading {
  margin-bottom: 1.5rem;
  color: #006eff;
  font-weight: 500;
}

.student-services-modern a {
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  color: #1d1d1f !important;
}

.student-services-modern a:hover {
  color: #006eff !important;
}

/* Desktop overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s;
  z-index: 998;
  pointer-events: none;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.navbar:has(.nav-item.open) ~ .nav-overlay {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 1440px) {
  .header-container {
    height: 80px;
  }
  .logo-img {
    height: 70px;
  }
  .megamenu {
    top: 114px;
  }
}

/* ── Mobile nav ── */
@media (max-width: 1024px) {
  .sub-nav {
    display: none;
  }

  .d-mobile-only {
    display: block !important;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #ffffff; /* Adjusted to white for dark header */
    cursor: pointer;
    padding: 5px;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    margin-left: auto; /* Ensure it stays pushed right */
  }

  .nav-action {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    gap: 0;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1002;
    margin: 0;
    flex: none;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .nav-links.active {
    right: 0;
  }

  /* Sticky close button header */
  .close-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 1.25rem;
    height: 56px;
    min-height: 56px;
    background: #f5f5f7;
    border-bottom: 1px solid #e5e5e5;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 10;
    flex-shrink: 0;
  }

  /* Plain top-level links */
  .nav-links > a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 1.25rem;
    height: 48px;
    min-height: 48px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1d1d1f;
    border-bottom: 1px solid #f0f0f0;
    white-space: normal;
    background: white;
    flex-shrink: 0;
    transition: background 0.15s ease;
  }

  .nav-links > a:hover {
    background: #f5f5f7;
  }

  /* Nav items with dropdowns — key fix: no height change, content appended below */
  .nav-item {
    width: 100%;
    height: auto;
    display: block;
    flex-shrink: 0;
  }

  .nav-link-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 1.25rem;
    height: 48px;
    min-height: 48px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1d1d1f;
    border-bottom: 1px solid #f0f0f0;
    white-space: normal;
    background: white;
    cursor: pointer;
    transition:
      background 0.15s ease,
      color 0.15s ease;
  }

  .nav-link-item:hover {
    background: #f5f5f7;
  }

  .nav-link-item .chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
  }

  .nav-item.active > .nav-link-item {
    color: var(--primary-color);
    background: #f0f5ff;
    border-bottom-color: #dbeafe;
  }

  .nav-item.active > .nav-link-item .chevron {
    transform: rotate(180deg);
  }

  /* Accordion — clips to zero height when closed */
  .megamenu {
    position: static !important;
    display: block;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none;
    padding: 0;
    width: 100%;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    background: #fafafa;
    border-radius: 0;
    pointer-events: auto;
    top: auto;
    left: auto;
    right: auto;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-item.active > .megamenu {
    max-height: 2000px;
    border-bottom: 2px solid #e5e7eb;
  }

  /* Megamenu inner layout — stacked columns */
  .megamenu .container {
    padding: 0;
    max-width: 100%;
  }

  .megamenu-grid {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 0.5rem;
  }

  .megamenu-col {
    width: 100%;
    padding: 0;
  }

  /* Section heading */
  .megamenu-heading {
    font-size: 0.65rem;
    font-weight: 700;
    color: #8e8e93;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.85rem 1.25rem 0.3rem;
    margin-bottom: 0;
    background: #fafafa;
    display: block;
  }

  /* Sub-links */
  .megamenu-col a {
    display: block;
    padding: 0.55rem 1.25rem 0.55rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: #1d1d1f;
    margin-bottom: 0;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
    transition:
      background 0.15s ease,
      color 0.15s ease;
    transform: none !important;
    line-height: 1.4;
  }

  .megamenu-col a:last-child {
    border-bottom: none;
  }

  .megamenu-col a:hover {
    background: #eff6ff;
    color: var(--primary-color);
  }

  /* Student services override */
  .student-services-modern .megamenu-grid {
    grid-template-columns: unset;
    gap: 0;
  }

  .student-services-modern a {
    padding: 0.55rem 1.25rem 0.55rem 1.75rem !important;
    font-size: 0.875rem !important;
  }

  /* Overlay — no blur on mobile */
  .nav-overlay {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
/* Hero Section */
.hero {
  position: relative;
  padding-top: 114px; /* Offset for fixed header (34px sub-nav + 80px main nav) */
  padding-bottom: 4rem;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("Landing Image.jpg");
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.2) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: -1;
}

.hero-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-content {
  max-width: 800px;
  margin-bottom: 6rem;
  padding-top: 4rem;
}

.hero-title {
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.inter-text {
  font-weight: 100;
  font-family: var(--font-inter);

  font-size: 5.5rem;
  letter-spacing: -1px;
}

.playfair-text {
  font-family: var(--font-playfair);
  font-weight: 500;
  font-style: italic;
  font-size: 6.5rem;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  font-weight: 400;
  margin-top: 1.5rem;
}

/* Action Cards */
.action-cards {
  margin-bottom: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1150px;
}

.card {
  background-color: var(--bg-white);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
  width: 48px;
  height: 48px;
  background-color: #eff6ff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem; /* Reduced from 2.5rem */
}

.card-icon svg {
  stroke: var(--primary-color);
  width: 24px;
  height: 24px;
}

.card-title {
  font-size: 1.25rem; /* Reduced from 1.4rem */
  font-weight: 600;
  margin-bottom: 1rem; /* Reduced from 1.25rem */
  color: var(--text-dark);
}

.card-desc {
  font-size: 0.95rem; /* Reduced from 1rem */
  color: var(--text-light);
  margin-bottom: 1.5rem; /* Reduced from 2.5rem */
  line-height: 1.5; /* Reduced from 1.6 */
  flex-grow: 1;
}

.card-link {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.card-link .arrow {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
}

.card-link:hover .arrow {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1440px) {
  .inter-text { font-size: 5rem; }
  .playfair-text { font-size: 6rem; }
}

/* MacBook Air / Pro 13"-14" range */
@media (max-width: 1280px) {
  .inter-text { font-size: 4rem; }
  .playfair-text { font-size: 5rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .hero-content { padding-top: 2rem; margin-bottom: 4rem; }
}

@media (max-width: 1200px) {
  .container {
    padding: 0 2rem;
  }
  .inter-text {
    font-size: 3.8rem;
  }
  .playfair-text {
    font-size: 4.5rem;
  }
}

@media (max-width: 1024px) {
  .inter-text {
    font-size: 4rem;
  }
  .playfair-text {
    font-size: 5rem;
  }

  .action-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .card:nth-child(3) {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .inter-text {
    font-size: 3rem;
  }
  .playfair-text {
    font-size: 4rem;
  }

  .action-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .card:nth-child(3) {
    grid-column: span 1;
    max-width: 100%;
  }

  .card {
    padding: 2rem;
  }

  .hero {
    height: auto;
    padding-bottom: 4rem;
  }

  .hero-content {
    margin-bottom: 3rem;
  }
}

@media (max-width: 480px) {
  .inter-text {
    font-size: 2.5rem;
  }
  .playfair-text {
    font-size: 3rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
}

/* Global University Section */
.global-section {
  padding: 6rem 0;
  background-color: var(--bg-white);
}

.container-narrow {
  max-width: 1400px;
}

.global-content {
  display: flex;
  gap: 4rem;
  margin-bottom: 5rem;
}

.global-text {
  flex: 0 0 40%;
}

.global-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.global-title {
  font-size: 3rem;
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 2rem;
}

.global-title strong {
  font-weight: 700;
}

.global-desc {
  font-weight: lighter;
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.global-link {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.global-grid {
  flex: 0 0 60%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 1.5rem;
}

.grid-item {
  display: flex;
  flex-direction: column;
}

.grid-icon {
  width: 50px;
  height: 50px;
  background-color: #eff6ff;
  border-radius: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.grid-icon svg {
  stroke: var(--primary-color);
}

.grid-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.grid-desc {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.4;
}

/* Stats Banner */
.stats-banner {
  display: flex;
  justify-content: space-between;
  background-color: var(--bg-light);
  border-radius: 20px;
  padding: 3.5rem 4rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 1px;
}

/* Responsive updates for Global Section */
@media (max-width: 1024px) {
  .global-content {
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .global-text,
  .global-grid {
    flex: 0 0 100%;
  }

  .global-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.5rem;
  }

  .stats-banner {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .stat-item {
    flex: 1 1 40%;
  }
}

@media (max-width: 768px) {
  .global-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .global-title {
    font-size: 2.5rem;
  }

  .stats-banner {
    flex-direction: column;
    padding: 2.5rem;
    text-align: center;
  }

  .stat-item {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .global-title {
    font-size: 2rem;
  }
  .global-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }
  .grid-title {
    font-size: 0.8rem;
  }
  .grid-desc {
    font-size: 0.7rem;
  }
}

/* Admissions Section */
.admissions-section {
  padding: 6rem 0;
  background-color: var(--bg-light);
}

.section-header {
  margin-bottom: 4rem;
  max-width: 800px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-title strong {
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #62748e;
  font-weight: lighter;
  line-height: 1.6;
}

/* Feature Card */
.feature-card {
  background-color: var(--bg-white);
  border-radius: 24px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  margin-bottom: 4rem;
}

.feature-image {
  flex: 0 0 35%;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-content {
  flex: 0 0 50%;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-card {
  display: flex;
  gap: 30px;
}

/*.feature-image {
    flex: 1;
}*/

.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.feature-details {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.detail-icon {
  margin-top: 2px;
}

.detail-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.detail-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

.btn-success {
  display: inline-block;
  background-color: #65b859;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.btn-success:hover {
  background-color: #559c4b;
}

/* Info Cards */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.info-card {
  background-color: var(--bg-white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-icon {
  width: 48px;
  height: 48px;
  background-color: #eff6ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.info-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.info-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.info-meta {
  background-color: #f3f4f6;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  align-self: flex-start;
}

.meta-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.meta-value {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
}

.info-link {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: auto;
}

.mt-auto {
  margin-top: auto;
}

/* Green Card Variation */
.bg-green {
  background-color: #65b859;
}

.text-white {
  color: #ffffff;
}

.text-white-80 {
  color: rgba(255, 255, 255, 0.8);
}

.icon-light {
  background-color: rgba(255, 255, 255, 0.2);
}

.btn-white {
  background-color: #ffffff;
  color: #65b859;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  margin-top: auto;
  transition: background-color 0.3s ease;
}

.btn-white:hover {
  background-color: #f3f4f6;
}

/* Responsive updates for Admissions Section */
@media (max-width: 1024px) {
  .feature-card {
    flex-direction: column;
  }

  .feature-content {
    padding: 3rem;
  }

  .info-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .feature-details {
    flex-direction: column;
    gap: 1.5rem;
  }

  .info-cards {
    grid-template-columns: 1fr;
  }

  .info-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }
}

/* Programmes Section */
.programmes-section {
  padding: 6rem 0;
  background-color: var(--bg-light);
}

.programmes-section .section-header {
  max-width: 800px;
  margin-bottom: 4rem;
}

/* Standardized weights handled by global .section-title rule */

.programmes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.programme-card {
  background-color: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  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;
}

.programme-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.programme-image {
  height: 320px;
  width: 100%;
  overflow: hidden;
}

.programme-image img {
  width: 100%;
  object-position: top;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.programme-card:hover .programme-image img {
  transform: scale(1.05);
}

.programme-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.programme-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.programme-link {
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
}

/* Responsive updates for Programmes */
@media (max-width: 1024px) {
  .programmes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .programmes-grid {
    grid-template-columns: 1fr;
  }

  .programme-image {
    height: 250px;
  }
}

/* Visitors Section */
.visitors-section {
  padding: 6rem 0;
  background-color: var(
    --bg-white
  ); /* using light background to contrast white cards */
}

.visitors-container {
  max-width: 1400px;
}

.visitors-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.visitors-header .section-title {
  margin-bottom: 0;
}

.visitors-nav {
  display: none; /* Hidden for marquee auto-scroll */
}

.nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background-color: var(--bg-white);
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background-color: #eff6ff;
}

.visitors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.visitor-card {
  background-color: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.visitor-image {
  height: 220px;
}

.visitor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visitor-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.visitor-badge {
  background-color: #eff6ff;
  color: var(--primary-color);
  font-size: 0.55rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
  letter-spacing: 0.2px;
  align-self: flex-start;
  margin-bottom: 1rem;
}

.visitor-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.visitor-designation {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.visitor-loc {
  font-size: 0.7rem;
  color: #cbd5e1;
  margin-top: auto;
}

.visitors-footer {
  text-align: right;
  margin-bottom: 6rem;
}

.view-all-link {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
}

/* Testimonial Block */
.testimonial-block {
  background-color: #ddf4ff;
  border-radius: 30px;
  padding: 5rem 6rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.testimonial-content {
  position: relative;
  z-index: 2;
}

.quote-mark {
  position: absolute;
  top: 40%;
  right: 1.5rem;
  transform: translateY(-50%);
  font-size: 20rem;
  color: #f8fafc;
  font-family: var(--font-playfair);
  line-height: 1;
  z-index: 1;
  user-select: none;
  pointer-events: none;
}

.testimonial-text {
  font-family: var(--font-inter);
  font-size: 1.4rem;
  font-weight: lighter;
  font-style: italic;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 3rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-line {
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.author-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-dark);
}

/* Responsive updates for Visitors */
@media (max-width: 1024px) {
  .visitors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-block {
    padding: 4rem;
  }
}

@media (max-width: 768px) {
  .visitors-grid {
    grid-template-columns: 1fr;
  }
  .visitors-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .testimonial-block {
    padding: 3rem;
  }
  .testimonial-text {
    font-size: 1.4rem;
  }
  .quote-mark {
    font-size: 20rem;
    right: -1rem;
  }
}
@media (max-width: 480px) {
  .testimonial-block {
    padding: 2rem;
  }
  .testimonial-text {
    font-size: 1.2rem;
  }
  .quote-mark {
    font-size: 15rem;
    opacity: 0.5;
  }
}

/* Student Testimonials Section */
.testimonials-main {
  padding: 7rem 0;
  background-color: #f0f5fd; /* Light blue background from design */
  overflow: hidden;
}

.testimonials-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.testimonials-text {
  flex: 0 0 45%;
  padding-right: 4rem;
}

.testimonials-title {
  font-size: 3.8rem;
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 2rem;
}

.testimonials-title strong {
  font-weight: 700;
}

.testimonials-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.6;
}

.testimonials-cards-wrapper {
  flex: 0 0 45%;
  height: 500px; /* Fixed height for scroll area narrowed */
  overflow: hidden;
  position: relative;
  /* Gradient mask, reduced fade area at top and bottom */
  mask-image: linear-gradient(
    to bottom,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
}

.testimonials-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center; /* Center the narrowly-sized cards horizontally */
  animation: scrollUp 25s linear infinite;
}

.testimonials-cards:hover {
  animation-play-state: paused;
}

@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(calc(-50% - 0.75rem));
  }
}

.testimonial-item {
  background-color: var(--bg-white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  width: 100%;
  max-width: 450px; /* Reduces width based on the visual design */
}

.t-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.t-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
}

.t-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.t-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

.t-batch {
  font-size: 0.75rem;
  color: var(--primary-color);
  font-weight: 600;
}

/* Placements Section */
.placements-section {
  padding: 8rem 0;
  background-color: var(--bg-white);
  text-align: left;
}

.placements-container {
  max-width: 1400px;
}

.placements-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.5rem;
}

.placements-title {
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.placements-title strong {
  font-weight: 700;
}

.placements-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 4rem;
}

.company-logos-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
  /* Gradient mask to fade out left and right edges */
  mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}

.company-logos-track {
  display: flex;
  align-items: center;
  gap: 5rem; /* Gap between logos */
  width: max-content;
  animation: scrollLeft 35s linear infinite;
}

.company-logos-wrapper:hover .company-logos-track {
  animation-play-state: paused;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-33.33% - 1.666rem));
  } /* Shift by exactly 1/3 of the total duplicated width (since there are 3 copies) */
}

.company-logo {
  height: 35px;
  object-fit: contain;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

/* Responsive updates for Testimonials & Placements */
@media (max-width: 1024px) {
  .testimonials-container {
    flex-direction: column;
    gap: 4rem;
  }

  .testimonials-text,
  .testimonials-cards-wrapper {
    flex: 0 0 100%;
    width: 100%;
    padding-right: 0;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .placements-title,
  .testimonials-title {
    font-size: 2.2rem;
  }

  .company-logos {
    gap: 2rem;
  }

  .company-logo {
    height: 25px;
    width: 100px;
  }
}

/* Portal Section */
.portal-section {
  padding: 6rem 0 8rem;
  background-color: #f8fafc; /* Very light gray */
}

.portal-container {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  max-width: 1400px;
}

.portal-left {
  flex: 1;
}

.portal-tabs-container-modern {
  background-color: var(--bg-white);
  padding: 1.5rem 2rem;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  margin-bottom: 2.5rem;
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens, primary single row */
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem;
}

.portal-tabs-row {
  display: none; /* Removed row wrappers */
}

.portal-tab-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.6rem;
  background-color: transparent;
  border: none;
  border-radius: 100px;
  color: #475569;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.portal-tab-modern svg {
  color: inherit;
  opacity: 0.7;
}

.portal-tab-modern.active {
  background-color: #2563eb;
  color: white;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25);
}

.portal-tab-modern.active svg {
  opacity: 1;
}

.portal-tab-modern:not(.active):hover {
  background-color: #f8fafc;
  color: #1e293b;
}

/* Modern Card Grid Layout */
.portal-modern-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portal-modern-link-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background-color: var(--bg-white);
  padding: 1.15rem 1.4rem;
  border-radius: 18px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid #f1f5f9;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portal-modern-link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.08); /* Targeted shadow on hover */
  border-color: #e2e8f0;
}

.modern-card-icon {
  width: 44px;
  height: 44px;
  background-color: #f8fafc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569; /* Softer icon color */
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.portal-modern-link-card:hover .modern-card-icon {
  background-color: #eff6ff;
  color: #2563eb;
}

.modern-card-title {
  font-size: 0.925rem;
  font-weight: 600; /* Cleaner weight */
  color: #334155; /* Softer dark text */
  line-height: 1.25;
  letter-spacing: -0.01em; /* Tighter for modern look */
}

@media (max-width: 1200px) {
  .portal-modern-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .portal-tabs-row {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .portal-modern-card-grid {
    grid-template-columns: 1fr;
  }

  .portal-modern-link-card {
    padding: 1rem;
  }
}

/* Utilities */
.hidden {
  display: none !important;
}

.animate-fade {
  animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Old portal card styles removed in favor of list layout */

.portal-right {
  flex: 0 0 420px;
}

.quick-access-panel {
  background-color: var(--bg-white);
  border-radius: 30px;
  padding: 3.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.quick-access-title {
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 2.5rem;
}

.quick-access-title strong {
  font-weight: 700;
}

.quick-access-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quick-access-link {
  display: flex;
  align-items: center;
  background-color: #f8fafc;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.quick-access-link:hover {
  background-color: #eff6ff;
  transform: translateX(5px);
}

.qa-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--bg-white);
  border-radius: 50%;
  margin-right: 1.25rem;
  color: #94a3b8;
  flex-shrink: 0;
  padding: 6px;
}

.quick-access-link:hover .qa-icon {
  color: var(--primary-color);
}

.qa-text {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.qa-arrow {
  margin-left: auto;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.quick-access-link:hover .qa-arrow {
  color: var(--primary-color);
}

/* Footer Section */
.site-footer {
  background-color: #0b1120;
  color: #9ca3af;
  padding: 5rem 0 2rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1400px;
  margin-bottom: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col.brand-col {
  flex: 0 0 350px;
}

.footer-logo {
  height: 60px;
  margin-bottom: 2rem;
  filter: brightness(0) invert(1);
  align-self: flex-start;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.footer-heading {
  color: var(--bg-white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--bg-white);
}

.footer-col.contact-col {
  flex: 0 0 380px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
}

.footer-contact li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.newsletter-form {
  max-width: 100%;
}

.newsletter-input-group {
  position: relative;
  width: 100%;
}

.newsletter-form input {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 1rem 1.5rem;
  color: var(--bg-white);
  font-family: var(--font-inter);
  font-size: 0.95rem;
  padding-right: 130px;
  box-sizing: border-box;
}

.newsletter-form input::placeholder {
  color: #64748b;
}

.newsletter-form input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.2);
}

.newsletter-form button {
  position: absolute;
  top: 5px;
  bottom: 5px;
  right: 5px;
  border: none;
  border-radius: 25px;
  background-color: var(--primary-color);
  color: var(--bg-white);
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #1d4ed8;
}

.newsletter-disclaimer {
  font-size: 0.75rem;
  color: #475569;
  margin-top: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom-links a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--bg-white);
}

/* Responsive updates for Portal and Footer */
@media (max-width: 1200px) {
  .portal-container {
    flex-direction: column;
  }
  .portal-right {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .footer-container {
    gap: 3rem 2rem;
  }
  .footer-col.brand-col,
  .footer-col.contact-col {
    flex: 0 0 100%;
  }
}

@media (max-width: 768px) {
  .portal-grid {
    grid-template-columns: 1fr;
  }

  .quick-access-panel {
    padding: 2.5rem 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* News & Events Section */

.news-events-container {
  max-width: 900px; /* control width */
  margin: 0 auto; /* center horizontally */
  padding: 0 15px; /* small side spacing */
}

.news-events-section {
  padding: 8rem 0;
  background-color: var(--bg-white);
}

/*.news-events-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
}*/

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2.5rem;
}

.view-all {
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Featured News Card */
.featured-news-card {
  margin-bottom: 3.5rem;
  cursor: pointer;
}

.news-image {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background-color: #f8fafc;
}

.news-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.featured-news-card:hover .news-image img {
  transform: scale(1.02);
}

.news-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.featured-news-card:hover .news-title {
  color: var(--primary-color);
}

.news-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.read-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Secondary News Grid */
.secondary-news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.small-news-card .news-image {
  border-radius: 18px;
  margin-bottom: 1.25rem;
}

.small-news-card .news-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.small-news-card .news-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Events Column */
.events-column .section-title {
  margin-bottom: 2.5rem;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.event-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: #f8fafc;
  border-radius: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.event-card:hover {
  background-color: #eff6ff;
  transform: translateX(5px);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 65px;
  height: 65px;
  background-color: var(--bg-white);
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.event-date .day {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.event-date .month {
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
  margin-top: 2px;
}

.event-details {
  flex: 1;
}

.event-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.event-info {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}

.event-dept {
  font-size: 0.75rem;
  color: var(--primary-color);
  font-weight: 500;
}

.view-all-events {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  color: #64748b;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.view-all-events:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background-color: #eff6ff;
}

/* News & Events Responsive */
@media (max-width: 1200px) {
  .news-events-container {
    gap: 3rem;
  }
}

@media (max-width: 1024px) {
  .news-events-container {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .events-column {
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .news-title {
    font-size: 1.5rem;
  }

  .secondary-news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .news-events-section {
    padding: 5rem 0;
  }

  .event-card {
    padding: 1.25rem;
    gap: 1rem;
  }

  .event-date {
    min-width: 55px;
    height: 55px;
  }

  .event-date .day {
    font-size: 1.1rem;
  }
}

/* Happening Today & Upcoming Events */
.today-events-section {
  padding: 6rem 0;
  background-color: var(--bg-white);
}

.today-events-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.nav-arrows {
  display: flex;
  gap: 0.5rem;
}

.nav-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-arrow:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background-color: #eff6ff;
}

/* Today Card Styling */
.today-card {
  background-color: var(--bg-white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08); /* Stronger shadow for depth */
  position: relative;
}

.maroon-bg {
  background-color: #7d112d; /* Kristu Jayanti Maroon */
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card-logo {
  height: 40px;
}

.card-header-text {
  display: flex;
  flex-direction: column;
  color: white;
}

.univ-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.univ-status {
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.8;
}

.card-main-image img {
  width: 100%;
  display: block;
  border-bottom: 1px solid #f1f5f9;
}

.card-footer-grid {
  padding: 1.5rem 2rem;
  background-color: #f8fafc;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.footer-item .label {
  font-size: 0.55rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.footer-item p {
  font-size: 0.7rem;
  font-weight: 600;
  color: #1d1d1f;
  line-height: 1.3;
}

/* Upcoming Events Timeline */
.events-timeline {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-date {
  min-width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  flex-shrink: 0;
}

.timeline-date .day {
  font-size: 1rem;
  font-weight: 800;
  color: #1d1d1f;
}

.event-date-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1d1d1f;
  display: block;
  margin-bottom: 0.5rem;
}

.event-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.more-details {
  font-size: 0.55rem;
  font-weight: 700;
  color: #65b859; /* Green from design */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.more-details:hover {
  color: #559c4b;
}

.timeline-footer {
  padding-top: 2rem;
  text-align: center;
}

.read-more-events {
  color: #65b859;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Today & Events Responsive */
@media (max-width: 1024px) {
  .today-events-container {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .today-column,
  .events-timeline-column {
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .event-hero-title {
    font-size: 1.8rem;
  }

  .card-footer-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .card-header {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1rem;
  }
}

/* Live Session Modal */
.zoom-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.zoom-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.zoom-modal {
  background: #ffffff;
  border-radius: 28px;
  padding: 3rem 2.5rem 2.5rem;
  max-width: 460px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.18);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.zoom-modal-overlay.open .zoom-modal {
  transform: translateY(0) scale(1);
}

.zoom-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.zoom-modal-close:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
}

.zoom-modal-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.3);
}

.zoom-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.zoom-modal-subtitle {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.zoom-modal-timings {
  background: #f0f5fd;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  text-align: left;
}

.zoom-timing-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.85rem;
}

.zoom-timing-days {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.35rem;
}

.zoom-timing-time {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.zoom-tz {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b7280;
}

.zoom-timing-note {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-top: 0.25rem;
}

.zoom-modal-btn {
  margin-top: 20px;
  display: inline-block;
  width: 100%;
  background-color: #1d4ed8;
  color: #ffffff;
  padding: 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.zoom-meeting-details {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 1rem;
}

.zoom-meeting-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.zoom-meeting-row:last-child {
  border-bottom: none;
}

.zoom-meeting-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 85px;
}

.zoom-meeting-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f2937;
  flex: 1;
  font-family: "Courier New", monospace;
  letter-spacing: 0.5px;
}

.zoom-copy-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.zoom-copy-btn:hover {
  background: #eff6ff;
  border-color: #2563eb;
  color: #2563eb;
}

.zoom-copy-btn.copied {
  background: #f0fdf4;
  border-color: #65b859;
  color: #65b859;
}

.today-column {
  overflow: hidden; /* hides extra slides */
}

.today-slider {
  display: flex;
  width: 100%;
}

.today-card {
  flex: 0 0 100%; /* each card full width */
  max-width: 100%;
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* SLIDER */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ✅ OVERLAY */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.5);

  z-index: 2;
}

/* 🚨 MOST IMPORTANT FIX */
.hero-container {
  position: relative; /* REQUIRED for z-index */
  z-index: 3; /* ABOVE overlay + images */
}

/* Landing Slider second picture */

.img-adjust {
  object-position: center 35%; /* 👈 move image down */
}

.visitors-slider {
  overflow: hidden;
  width: 100%;
}

.visitors-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scrollVisitors 45s linear infinite;
}

.visitors-slider:hover .visitors-track {
  animation-play-state: paused;
}

@keyframes scrollVisitors {
  0% { transform: translateX(calc(-50% - 10px)); }
  100% { transform: translateX(0); }
}

.visitor-card {
  width: 320px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .visitor-card {
    width: 300px;
  }
}

@media (max-width: 768px) {
  .visitor-card {
    width: 280px;
  }
}

@media (max-width: 480px) {
  .visitor-card {
    width: 85vw;
  }
}

