@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');

:root {
  --background: #ffffff;
  --foreground: #171717;
  --accent: #7c3aed;
  --accent-dark: #4c1d95;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, .section-title, .section-subtitle, .hero-title, .hero-subtitle {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

body {
  margin: 0;
  padding-top: 70px; /* Add padding to account for fixed header */
  font-family: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--background);
  color: var(--foreground);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

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

.text-muted {
  color: #3f3f46;
}

.text-subtle {
  color: rgba(63, 63, 70, 0.8);
}

/* Announcement Bar */
.announcement-bar {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  background-color: #f3f4f6;
  color: #1f2937;
  z-index: 10;
  border-bottom: 1px solid #e5e7eb;
}

.marquee {
  display: inline-block;
  animation: scroll 20s linear infinite;
  padding-left: 100%;
  will-change: transform;
}

.marquee:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.marquee span {
  display: inline-block;
  padding: 0 2rem;
  letter-spacing: 0.5px;
}

.section-body {
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.75;
  color: #3f3f46;
}

.section-body + .section-body {
  margin-top: 1rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.site-header:hover {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px) saturate(200%);
  -webkit-backdrop-filter: blur(12px) saturate(200%);
  box-shadow: 0 6px 40px rgba(0, 0, 0, 0.15);
}

.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand span {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #111827;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.96rem;
  font-weight: 500;
  color: #3f3f46;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: #111827;
}

.nav-link.is-active {
  color: #111827;
  position: relative;
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -0.35rem;
  height: 2px;
  background: #7c3aed;
  border-radius: 999px;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-item--has-children {
  position: relative;
}

.nav-link--parent {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link-indicator {
  display: inline-flex;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-link--parent[aria-expanded="true"] .nav-link-indicator {
  transform: rotate(-135deg);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 18px 40px -24px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(15, 23, 42, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  padding: 0.35rem 0;
  z-index: 1000;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-submenu.is-open,
.nav-item--has-children:hover .nav-submenu,
.nav-item--has-children:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-submenu-header {
  display: none;
}

.nav-sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  color: #1f2937;
  font-size: 0.95rem;
  transition: background-color 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}

.nav-sublink:hover,
.nav-sublink:focus-visible {
  background-color: #f8fafc;
  color: #111827;
  padding-left: 1.25rem;
  outline: none;
  text-decoration: underline;
  text-decoration-color: rgba(59, 130, 246, 0.7);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.nav-sublink.is-active {
  background-color: rgba(224, 231, 255, 0.7);
  color: #312e81;
  font-weight: 600;
}

.nav-sublink-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-submenu-badge {
  min-width: 1.75rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.16);
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-sublink[data-badge="0"] .nav-submenu-badge {
  display: none;
}


.nav-submenu-close {
  appearance: none;
  border: none;
  background: transparent;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0.2rem;
  color: #6b7280;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-submenu-close:hover,
.nav-submenu-close:focus-visible {
  color: #111827;
  background-color: rgba(229, 231, 235, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .nav-submenu {
    transition: none;
  }
}

.notifications-header {
  position: relative;
  min-height: clamp(18rem, 30vw, 24rem);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #f8fafc;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.notifications-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(15, 23, 42, 0.6),
    rgba(15, 23, 42, 0.5)
  );
}

.notifications-header .header-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  max-width: min(860px, 92vw);
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.notifications-header h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 3.25rem);
  color: #ffffff;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.notifications-header h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.7rem);
  font-weight: 400;
  color: rgba(241, 245, 249, 0.9);
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

.notifications-body {
  padding: clamp(3rem, 6vw, 4.75rem) 0;
}

.notifications-body .section-heading {
  display: grid;
  gap: 0.75rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
  text-align: center;
}

.notifications-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.25rem);
}

.notifications-grid.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.notifications-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 32px 70px -38px rgba(15, 23, 42, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.notifications-card:hover,
.notifications-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 34px 80px -40px rgba(15, 23, 42, 0.55);
}

.notifications-card img {
  width: 100%;
  height: clamp(220px, 28vw, 260px);
  object-fit: cover;
}

.notifications-card-content {
  display: grid;
  gap: 0.75rem;
  padding: clamp(1.5rem, 4vw, 2rem);
}

.notifications-card-meta {
  font-size: 0.9rem;
  color: #64748b;
}

.notifications-card-content h3 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
}

.notifications-card-content p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

.notifications-card-link {
  justify-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.notifications-card-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.notifications-card-link:hover::after,
.notifications-card-link:focus-visible::after {
  transform: scaleX(1);
}

.notifications-archive {
  margin-top: clamp(2.5rem, 6vw, 3rem);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  padding-top: clamp(1.5rem, 4vw, 2rem);
  display: grid;
  gap: 1rem;
}

.notifications-archive h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #0f172a;
}

.notifications-archive ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.notifications-archive a {
  color: #2563eb;
  text-decoration: none;
}

.notifications-archive a:hover,
.notifications-archive a:focus-visible {
  text-decoration: underline;
}

.notifications-empty-state {
  text-align: center;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  border-radius: 16px;
  padding: clamp(2.5rem, 6vw, 3.25rem);
  background: rgba(248, 250, 252, 0.9);
  color: #475569;
  display: grid;
  gap: 0.75rem;
}

.notifications-empty-state strong {
  color: #1f2937;
}

.notifications-subscribe {
  display: grid;
  gap: 1rem;
  max-width: clamp(320px, 50vw, 420px);
  margin: clamp(2rem, 5vw, 3rem) auto 0;
}

.notifications-subscribe label {
  font-weight: 600;
  color: #1f2937;
}

.notifications-subscribe .input-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.notifications-subscribe input[type="email"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  border-radius: 999px;
  font-size: 0.95rem;
}

.notifications-subscribe button {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: #2563eb;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.notifications-subscribe button:hover,
.notifications-subscribe button:focus-visible {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.notice-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.notice-filter-bar label {
  font-weight: 600;
  color: #1f2937;
}

.notice-filter-bar select,
.notice-filter-bar input[type="search"] {
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  border-radius: 10px;
  font-size: 0.95rem;
}

.notice-filter-bar input[type="search"] {
  flex: 1 1 240px;
}

.notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.notice-item {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: #ffffff;
  display: grid;
  gap: 0.75rem;
}

.notice-item time {
  font-size: 0.85rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.notice-item h3 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.notice-item p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

.notice-item a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.notice-item a:hover,
.notice-item a:focus-visible {
  text-decoration: underline;
}

.notifications-contact {
  display: grid;
  gap: 0.75rem;
  color: #1f2937;
  font-size: 1rem;
}

.notifications-contact a {
  color: #2563eb;
  font-weight: 600;
}

.notifications-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.notifications-cta:hover,
.notifications-cta:focus-visible {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .notifications-subscribe .input-group {
    flex-direction: column;
    align-items: stretch;
  }

  .notifications-subscribe button {
    width: 100%;
  }

  .notice-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .notice-filter-bar input[type="search"],
  .notice-filter-bar select {
    width: 100%;
  }
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.98);
  cursor: pointer;
  padding: 0.45rem 0.9rem;
  margin-left: auto;
  border-radius: 999px;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -22px rgba(15, 23, 42, 0.4);
}

.nav-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle:focus-visible {
  outline: 2px solid rgba(124, 58, 237, 0.4);
  outline-offset: 3px;
}

.nav-toggle:hover {
  background: #ffffff;
  box-shadow: 0 16px 40px -26px rgba(15, 23, 42, 0.55);
  transform: translateY(-1px);
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease, width 0.25s ease;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  width: 20px;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  width: 20px;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 998;
}

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

body.nav-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.35);
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 82vw);
    padding: 5.5rem 2rem 2rem;
    background: transparent;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
  }

  .nav-list li:nth-child(1) { order: 1; } /* Home */
  .nav-list li:nth-child(2) { order: 6; } /* About (moved to bottom) */
  .nav-list li:nth-child(3) { order: 2; } /* Our Facilities */
  .nav-list li:nth-child(4) { order: 3; } /* Incubation */
  .nav-list li:nth-child(5) { order: 4; } /* Startups */
  .nav-list li:nth-child(6) { order: 5; } /* Notifications */
  .nav-list li:nth-child(7) { order: 7; } /* Apply Now */

  .nav-link {
    font-size: 1rem;
    display: block;
    width: 100%;
    padding: 1rem 1.25rem;
    border: none;
    background: white;
    color: #1f2937;
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
    transition: all 0.2s ease;
    font-weight: 500;
    text-align: left;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-link:hover,
  .nav-link:focus-visible {
    background: #f9fafb;
    color: #111827;
    padding-left: 1.5rem;
  }
  
  .nav-link[aria-current="page"] {
    background: #f3f4f6;
    color: #111827;
    border-left: 3px solid #3b82f6;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.table-wrapper {
  overflow-x: auto;
  border-radius: 0.75rem;
  border: 1px solid rgba(24, 24, 27, 0.1);
}

.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
}

.table-wrapper th,
.table-wrapper td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(24, 24, 27, 0.08);
}

.table-wrapper thead {
  background: rgba(244, 244, 245, 0.9);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.badge-blue {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.badge-green {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.faq-item {
  border-radius: 0.75rem;
  border: 1px solid rgba(24, 24, 27, 0.08);
  background: #fff;
  transition: background 0.2s ease, color 0.2s ease;
}

.faq-item:hover {
  background: rgba(244, 244, 245, 0.6);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 1.5rem 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
}

.faq-item.is-open .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
  opacity: 1;
  visibility: visible;
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #18181b;
  background: transparent;
  border: none;
  cursor: pointer;
}

.faq-arrow {
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-arrow {
  transform: rotate(180deg);
}

footer a {
  transition: color 0.2s ease;
}

footer a:hover {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #020617;
  color: #f8fafc;
}

.hero img.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 72rem;
  padding: 6rem 1.5rem;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.2;
}

.hero-subtitle {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  opacity: 0.9;
}

.hero-text {
  margin: 1.5rem auto 0;
  max-width: 54ch;
  font-size: 1rem;
  line-height: 1.75;
  opacity: 0.9;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  background: #fff;
  color: #18181b;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -18px rgba(15, 23, 42, 0.6);
  color: #18181b !important;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  max-width: 96rem;
  margin: 0 auto;
  padding: 6rem 1.5rem;
  text-align: center;
  color: #fff;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: #1f2937;
  margin: 0 0 2rem;
  text-align: center;
  padding: 0;
}

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

.section {
  padding: 4rem 1.5rem;
}

.section-light {
  background: #fff;
}

.section-muted {
  background: #f4f4f5;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
}

.section-title--left {
  text-align: left;
}

.section-lead {
  margin: 1.5rem auto 0;
  max-width: 60ch;
  font-size: 1rem;
  color: #3f3f46;
  text-align: center;
  line-height: 1.7;
}

.section-subtitle {
  font-size: 2.25rem;
  font-weight: 800;
  margin: 0 0 2rem;
  line-height: 1.2;
  color: #1f2937;
}

@media (max-width: 768px) {
  .section-subtitle {
    font-size: 1.75rem;
  }
}

.governing-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
}

.governing-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.75rem;
  border: 1px solid rgba(124, 58, 237, 0.18);
  box-shadow: 0 18px 45px -32px rgba(124, 58, 237, 0.45);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.governing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 65px -34px rgba(124, 58, 237, 0.5);
}

.governing-card figure {
  margin: 0 auto;
  height: 10rem;
  max-width: 14rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 2px solid rgba(124, 58, 237, 0.25);
}

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

.governing-card h6 {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

.governing-card p {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: #52525b;
}

.features-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

.feature-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(24, 24, 27, 0.08);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 65px -34px rgba(15, 23, 42, 0.35);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.5rem;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.feature-icon--violet {
  background: rgba(124, 58, 237, 0.12);
  color: #7c3aed;
}

.feature-icon--amber {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.feature-icon--emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.feature-icon--sky {
  background: rgba(14, 165, 233, 0.12);
  color: #0ea5e9;
}

.facilities-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}

.facility-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(24, 24, 27, 0.08);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 65px -34px rgba(15, 23, 42, 0.35);
}

.facility-image {
  position: relative;
  overflow: hidden;
  border-radius: 0.85rem;
}

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

/* Facility slider: vertically auto-scrolls tool images; swap sources in services.html as needed. */
.facility-slider {
  position: relative;
  width: min(18rem, 100%);
  height: clamp(26rem, 60vh, 34rem);
  margin-left: auto;
  border-radius: 1.75rem;
  padding: 1.5rem 1.25rem;
  background: linear-gradient(165deg, rgba(37, 99, 235, 0.12), rgba(14, 116, 144, 0.08));
  border: 1px solid rgba(37, 99, 235, 0.15);
  box-shadow: 0 28px 70px -45px rgba(15, 23, 42, 0.55);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.facility-slider__track {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  animation: facility-slider-vertical 52s linear infinite;
  will-change: transform;
}

.facility-slider__group {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.facility-slider__item {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 7.5rem;
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 20px 55px -40px rgba(15, 23, 42, 0.65);
  overflow: hidden;
  padding: 1.25rem;
}

.facility-slider__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes facility-slider-vertical {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

@media (max-width: 1024px) {
  .facility-slider {
    width: min(20rem, 100%);
  }
}

@media (max-width: 768px) {
  .facility-slider {
    width: 100%;
    height: auto;
    padding: 1rem 0.75rem;
    margin: 2rem auto 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .facility-slider__track {
    flex-direction: row;
    gap: 1rem;
    animation: none;
  }

  .facility-slider__group {
    flex-direction: row;
    gap: 1rem;
  }

  .facility-slider__group:last-child {
    display: none;
  }

  .facility-slider__item {
    min-width: 11rem;
    min-height: 7rem;
    padding: 1rem;
  }
}

.facility-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  color: #3f3f46;
}

.facility-card h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
  text-align: center;
}

.faq-list {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}

.faq-item {
  border-radius: 0.75rem;
  border: 1px solid rgba(24, 24, 27, 0.08);
  background: #fff;
  transition: background 0.2s ease, color 0.2s ease;
}

.faq-answer {
  color: #3f3f46;
  line-height: 1.6;
}

.faq-item button {
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  background: transparent;
  border: none;
  text-align: left;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #111827;
}

.faq-arrow {
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-arrow {
  transform: rotate(180deg);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.badge-blue {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.badge-green {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.list-check li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: #3f3f46;
}

.list-check svg {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: #2563eb;
}

.resource-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(24, 24, 27, 0.08);
  box-shadow: 0 24px 60px -40px rgba(37, 99, 235, 0.4);
}

.resource-card h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.resource-card p {
  margin: 0 0 1.5rem;
  color: #3f3f46;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: #2563eb;
}

.btn-link svg {
  width: 1.1rem;
  height: 1.1rem;
}

.table-wrapper caption {
  padding: 1rem;
  font-weight: 600;
  text-align: left;
}

.table-wrapper tbody tr:hover {
  background: rgba(244, 244, 245, 0.5);
}

.table-wrapper tbody td a {
  color: #7c3aed;
  font-weight: 500;
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Facilities marquee slider ---------------------------------------------- */
/*
  Update guidance:
  - Add/remove <figure> elements in index.html within .facility-marquee__track.
  - Tweak --facility-marquee-speed to control auto-scroll duration.
  - Adjust --facility-marquee-item-width and --facility-marquee-gap for sizing and spacing.
*/
.facility-marquee {
  --facility-marquee-speed: 42s;
  --facility-marquee-gap: clamp(2rem, 5vw, 4rem);
  --facility-marquee-item-width: clamp(18rem, 25vw, 24rem);
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-block: clamp(1.25rem, 2.5vw, 2rem);
  background: transparent;
  overflow: hidden;
}

.facility-marquee__viewport {
  overflow: hidden;
}

.facility-marquee__track {
  display: flex;
  align-items: center;
  gap: var(--facility-marquee-gap);
  width: max-content;
  animation: facility-marquee-scroll var(--facility-marquee-speed) linear infinite;
}

.facility-marquee__item {
  flex: 0 0 auto;
  min-width: var(--facility-marquee-item-width);
  padding: clamp(0.6rem, 1.2vw, 1rem);
  border-radius: 1.5rem;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.facility-marquee__item img {
  display: block;
  height: clamp(10rem, 20vw, 16rem);
  width: auto;
  object-fit: contain;
  border-radius: 1rem;
  object-fit: contain;
  box-shadow: 0 16px 35px -28px rgba(15, 23, 42, 0.4);
}

.facility-marquee:hover .facility-marquee__track {
  animation-play-state: paused;
}

.facility-marquee__item:hover {
  transform: translateY(-6px);
}

@keyframes facility-marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 1024px) {
  .facility-marquee {
    --facility-marquee-speed: 48s;
  }
}

@media (max-width: 768px) {
  .facility-marquee {
    --facility-marquee-speed: 48s;
    padding-block: clamp(1.5rem, 5vw, 2.5rem);
  }

  .facility-marquee__item {
    min-width: clamp(14rem, 45vw, 18rem);
  }

  .facility-marquee__item img {
    height: clamp(8rem, 22vw, 12rem);
  }
}

@media (max-width: 640px) {
  .facility-marquee {
    --facility-marquee-speed: 52s;
    --facility-marquee-gap: 1.5rem;
  }

  .facility-marquee__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .facility-marquee__viewport::-webkit-scrollbar {
    display: none;
  }

  .facility-marquee__track {
    padding-bottom: 0.75rem;
  }

  .facility-marquee__item {
    scroll-snap-align: start;
  }
}

.flow-space-lg > * + * {
  margin-top: 1.5rem;
}

.callout {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #047857;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 500;
}

.site-footer {
  background: #0b0b0f;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 4rem;
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

.footer-heading {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

.footer-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.85);
}

.footer-meta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(63, 63, 70, 0.45);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: rgba(161, 161, 170, 0.85);
}

.footer-social {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: rgba(39, 39, 42, 0.6);
  color: rgba(250, 250, 250, 0.9);
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.footer-social a:hover,
.footer-social a:focus-visible {
  background: rgba(59, 130, 246, 0.45);
  color: #fff;
}

.footer-social svg {
  width: 1.75rem;
  height: 1.75rem;
  transition: transform 0.2s ease;
}

.footer-social svg path {
  fill: currentColor;
  transition: fill 0.2s ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-social a:hover svg {
  transform: scale(1.1);
}

/* X (Twitter) icon specific adjustments */
.footer-social a[aria-label*="X"] svg {
  width: 1.6rem;
  height: 1.6rem;
}

.footer-social a[aria-label*="X"]:hover {
  background: rgba(0, 0, 0, 0.7);
}

.footer-links {
  display: inline-flex;
  gap: 1.5rem;
  align-items: center;
}

.map-card {
  max-width: 320px;
}

.map-frame {
  position: relative;
  aspect-ratio: 12 / 7;
  overflow: hidden;
  border-radius: 1rem;
  background: radial-gradient(circle at top, #0f172a, #020617 60%);
  box-shadow: 0 22px 45px -28px rgba(15, 23, 42, 0.9);
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 1rem;
}

.map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(15, 23, 42, 0.75);
  color: #f8fafc;
  text-align: center;
  font-size: 0.8rem;
  padding: 1.5rem;
  transition: opacity 0.3s ease;
}

.map-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.map-overlay-circle {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.4), rgba(59, 130, 246, 0.4));
}

.map-overlay a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 600;
}

.map-overlay a:hover {
  background: rgba(255, 255, 255, 0.25);
}

.list-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.list-links a {
  color: rgba(226, 232, 240, 0.85);
}

.list-links a:hover {
  color: #fff;
}

/* Startups Section */
.section-Startups {
  background-color: #1e40af;
  color: white;
}

/* About Hero Section */
.about-hero {
  position: relative;
  width: 100%;
  height: 40vh;
  min-height: 300px;
  max-height: 500px;
  background-image: url('../img/icons/iit patna.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.about-hero .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  padding: 0 2rem;
  margin: 0 auto;
}

.about-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.about-hero p {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .about-hero {
    height: 35vh;
    min-height: 250px;
  }
  
  .about-hero h1 {
    margin-bottom: 0.75rem;
  }
}

/* Notifications Section */
.section-light .list-links a {
  color: #000000;
}

.section-light .list-links a:hover {
  color: #1e40af;
  text-decoration: underline;
}

.section-Startups .section-title,
.section-Startups .section-lead {
  color: white;
}

/* Startups highlight list */
.startups-highlight {
  padding-block: 4rem 0;
}

.startup-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2.5rem;
}

.startup-item {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.startup-item:first-of-type {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.startup-logo {
  flex: 0 0 120px;
  height: 120px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(59, 130, 246, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.startup-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.startup-logo--placeholder {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e3a8a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.startup-item:hover .startup-logo {
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.35), 0 8px 20px -12px rgba(15, 23, 42, 0.45);
  transform: translateY(-2px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.startup-content h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
}

.startup-content p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #374151;
}

@media (max-width: 768px) {
  .startup-item {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
  }

  .startup-logo {
    width: 120px;
  }

  .startup-content h3 {
    font-size: 1.2rem;
  }

  .startup-content p {
    font-size: 0.98rem;
  }
}

.container-sm {
  max-width: 64rem;
  margin: 0 auto;
}

.container-md {
  max-width: 72rem;
  margin: 0 auto;
}

.container-lg {
  max-width: 80rem;
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.shadow-soft {
  box-shadow: 0 20px 45px -30px rgba(15, 23, 42, 0.45);
}

.card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(24, 24, 27, 0.08);
  padding: 1.75rem;
  box-shadow: 0 16px 45px -30px rgba(15, 23, 42, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 65px -32px rgba(15, 23, 42, 0.4);
}

/* LinkedIn Updates Section */
/* Governing Board Section */
.governing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.governing-card {
  text-align: center;
  transition: all 0.3s ease;
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
}

.governing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.governing-card figure {
  margin: 0 auto 1.5rem;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #f8f9fa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.governing-card:hover figure {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.governing-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.governing-card h6 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.governing-card p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.linkedin-updates {
  padding: 4rem 0;
  background-color: #f9fafb;
}

.linkedin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.linkedin-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.linkedin-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.linkedin-card iframe {
  width: 100%;
  min-height: 400px;
  border: none;
  background: transparent;
}

.linkedin-card-placeholder {
  padding: 2rem;
  text-align: center;
  background: #f8f9fa;
  border-radius: 0 0 12px 12px;
  margin-top: auto;
}

.linkedin-card-placeholder a {
  color: #0a66c2;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-top: 0.5rem;
}

.linkedin-card-placeholder a:hover {
  text-decoration: underline;
}

/* Ensure LinkedIn embed container is properly sized */
.linkedin-embed-container {
  position: relative;
  padding-bottom: 100%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.linkedin-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  gap: 1rem;
}

/* News Grid Styles */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.news-full-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #f8f9fa;
  padding: 0.5rem;
}

.news-full-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.news-poster {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
  border-radius: 4px;
}

.news-full-image:hover .news-poster {
  transform: scale(1.03);
}

.linkedin-updates {
  padding-top: 0;
}

.linkedin-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.linkedin-card {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 16px 40px -18px rgba(15, 23, 42, 0.3);
  overflow: hidden;
  padding: 1.5rem;
}

.linkedin-card iframe {
  border: none;
  width: 100%;
  min-height: 600px;
  border-radius: 0.75rem;
}

.linkedin-card-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  text-align: center;
  background: rgba(226, 232, 240, 0.4);
  border-radius: 0.75rem;
  font-size: 0.95rem;
  color: #1f2937;
}

.linkedin-card-placeholder a {
  color: #2563eb;
  font-weight: 600;
}

.linkedin-card.is-loaded .linkedin-card-placeholder {
  display: none;
}

/* Tablet and up */
@media (min-width: 640px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 2rem;
  }
  
  .linkedin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .news-full-image {
    min-height: 300px;
    border-radius: 12px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0;
  }
  
  .news-full-image {
    min-height: 350px;
    max-width: 100%;
  }
}

@media (min-width: 640px) {
  .section {
    padding: 5rem 2.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .governing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facilities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nav-list {
    gap: 1.75rem;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: flex-start;
  }

  .footer-meta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
