:root {
  --cream: #F5F5F5;
  --teal-dark: #025043;
  --teal: #048c7f;
  --glass-alpha: 0.92;
  --glass-border: rgba(2, 80, 67, 0.08);
  --nav-h: 74px;
  --max-w: 1200px;
  --radius: 14px;
  --accent-glow: rgba(4, 140, 127, 0.10);
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html,
body {
  height: 100%;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--cream);
  color: var(--teal-dark);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none
}

/* BACKGROUND CANVASES (full-screen, behind everything) */
canvas.bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  pointer-events: none
}

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(245, 245, 245, 0.04), rgba(245, 245, 245, 0.04));
}

/* HEADER / NAVBAR (centered glass) */
header.site-header {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: 12px;
  width: min(1100px, calc(100% - 32px));
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 20px;
  z-index: 1400;
  backdrop-filter: blur(12px) saturate(1.05);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.78));
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(2, 12, 10, 0.06);
  transition: background 260ms ease, transform 220ms ease;
}

header.site-header.scrolled {
  background: linear-gradient(180deg, rgba(4, 140, 127, 0.04), rgba(2, 80, 67, 0.03));
  box-shadow: 0 14px 40px rgba(2, 12, 10, 0.08);
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 84px;
  max-width: 220px;
  position: relative
}

.logo-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 6px;
  border-radius: 10px
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 320ms
}

.main-logo {
  width: 260px;
  height: 65px;
}

.icmr-logo {
  width: 60px;
  height: 60px;
}

.logo-label {
  font-weight: 700;
  color: var(--teal-dark);
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  transform: translateX(-8px);
  transition: max-width 360ms cubic-bezier(.2, .9, .2, 1), opacity 260ms, transform 260ms
}

.nav-right .logo-label {
  transform: translateX(8px)
}

/* NAV CENTER (text-only, underline hover) */
.nav-center {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  flex: 1;
  transition: transform 360ms cubic-bezier(.2, .9, .2, 1)
}

.nav-item {
  position: relative
}

.nav-link {
  background: transparent;
  border: 0;
  padding: 8px 6px;
  font-weight: 700;
  color: var(--teal-dark);
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer
}

.nav-link:focus {
  outline: 3px solid rgba(4, 140, 127, 0.12);
  outline-offset: 4px;
  border-radius: 6px
}

.underline {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 6px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease, opacity 220ms;
  opacity: 0
}

.nav-link:hover {
  color: var(--teal);
  text-shadow: 0 0 6px rgba(4, 140, 127, 0.06)
}

.nav-link:hover .underline {
  transform: scaleX(1);
  opacity: 1
}

/* dropdowns */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  border: 1px solid rgba(2, 80, 67, 0.06);
  box-shadow: 0 10px 30px rgba(2, 6, 8, 0.06);
  display: none;
  z-index: 1500;
  color: var(--teal-dark)
}

.dropdown.show {
  display: block
}

.dropdown a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--teal-dark);
  font-size: 14px
}

.dropdown a:hover {
  background: rgba(4, 140, 127, 0.06)
}

.dropdown.multi-lang {
  min-width: 260px;
  padding: 10px;
  background: linear-gradient(180deg, #fff, #fbfbfb)
}

/* push classes applied when logos hover */
.push-right {
  transform: translateX(46px) !important
}

.push-left {
  transform: translateX(-46px) !important
}

/* MAIN PAGE CONTAINER */
main {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-h) + 18px)
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 20px 80px
}

/* SECTION (glassy card style) */
.section {
  margin: 26px 0;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.96));
  backdrop-filter: blur(8px) saturate(1.05);
  border: 1px solid var(--glass-border);
  box-shadow: 0 18px 48px var(--accent-glow);
  padding: 22px;
  color: var(--teal-dark)
}

.section h2 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--teal-dark)
}

.muted {
  color: rgba(2, 80, 67, 0.85)
}

/* FIRST CONTAINER: parallel layout like screenshot */
.hero-wrap {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 26px;
  align-items: start
}

.hero-left {
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.97));
  padding: 26px;
  border: 1px solid rgba(2, 80, 67, 0.04);
  box-shadow: 0 20px 60px rgba(2, 80, 67, 0.04)
}

.kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--teal);
  font-weight: 800
}

.hero-left h1 {
  font-size: 34px;
  margin: 12px 0 12px;
  color: var(--teal-dark);
  line-height: 1.04
}

.lead {
  font-size: 15px;
  color: rgba(2, 80, 67, 0.9);
  margin-bottom: 18px
}

.cta-row {
  display: flex;
  gap: 12px;
  margin-bottom: 18px
}

.btn-primary {
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(4, 140, 127, 0.06)
}

.btn-ghost {
  background: #fff;
  border: 1px solid rgba(2, 80, 67, 0.06);
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer
}

/* inline carousel placeholder box (large rounded) */
.carousel-box {
  margin-top: 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(2, 80, 67, 0.04);
  box-shadow: 0 6px 20px rgba(2, 80, 67, 0.02);
  padding: 0;
  /* Remove old padding */
  overflow: hidden;
  /* Important */
  position: relative;
}

.carousel-track-container {
  overflow: hidden;
  border-radius: 12px;
  /* Ensure images inside are clipped */
}

.carousel-track {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  transition: transform 600ms ease-in-out;
}

.carousel-slide {
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.carousel-image {
  display: block;
  width: 100%;
  height: auto;
  /* 1600x400 is a 4:1 aspect ratio. This is responsive. */
  aspect-ratio: 4 / 1;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  /* Glassmorphism for the caption */
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-caption-title {
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
}

.carousel-caption-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 12px 0;
  /* We put dots outside the image container, on the .carousel-box bg */
}

.carousel-indicator {
  border: 0;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  background: rgba(2, 80, 67, 0.15);
  /* Inactive dot */
  cursor: pointer;
  transition: background-color 150ms ease;
}

.carousel-indicator.current-slide {
  background: var(--teal);
  /* Active dot */
}

/* RIGHT column: stats and portal */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px
}

.stat-card {
  background: linear-gradient(180deg, rgba(4, 140, 127, 0.03), rgba(2, 80, 67, 0.01));
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(2, 80, 67, 0.03);
  color: var(--teal-dark)
}

.portal-card {
  padding: 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(2, 80, 67, 0.04);
  box-shadow: 0 8px 20px rgba(2, 80, 67, 0.03)
}

/* small footer area */
.small-foot {
  margin-top: 14px;
  text-align: center;
  color: rgba(2, 80, 67, 0.7);
  font-size: 13px
}

/* Footer Design starts here */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 26px;
  align-items: start;
}

.contact-info h2 {
  font-size: 24px;
  margin-top: 4px;
  margin-bottom: 16px;
  color: var(--teal-dark);
  line-height: 1.2;
}

.contact-info p {
  font-size: 1rem;
  color: rgba(2, 80, 67, 0.9);
  line-height: 1.6;
  margin-bottom: 16px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  font-size: 0.95rem;
}

.contact-list li {
  margin-bottom: 10px;
  color: var(--teal-dark);
}

.contact-list strong {
  color: var(--teal-dark);
  min-width: 60px;
  display: inline-block;
}

.contact-list a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-list a:hover {
  color: var(--teal-dark);
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--glass-border);
  color: var(--teal-dark);
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-links a:hover,
.social-links a:focus {
  background: var(--teal);
  color: var(--cream);
  transform: translateY(-3px);
  box-shadow: 0 5px 12px var(--accent-glow);
  outline: none;
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  height: 100%;
  min-height: 320px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


/* * 2. PARTNER LOGO BAR (Full-width)
*/
.partner-logos-container {
  background: #f0f0f0;
  padding: 30px 20px;
  border-top: 1px solid #ddd;
  /* Ensure it's below the main z-index stack */
  position: relative;
  z-index: 5;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px 40px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.partner-logos a {
  display: block;
}

.partner-logos img {
  height: 40px;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: all 0.25s ease;
}

.partner-logos a:hover img,
.partner-logos a:focus img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}


/* * 3. SUB-FOOTER (Full-width)
*/
.small-foot-container {
  background: #222;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  /* Ensure it's below the main z-index stack */
  position: relative;
  z-index: 5;
}

/* Modify existing .small-foot rule */
.small-foot {
  max-width: var(--max-w);
  margin: 0 auto;
  /* This replaces the old margin-top */
  padding: 30px 20px;
  text-align: center;
  line-height: 1.7;

  /* Overwrite old rules */
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  color: inherit;
  /* Inherit from .small-foot-container */
  font-size: inherit;
  /* Inherit from .small-foot-container */
}

.small-foot p {
  margin: 4px 0;
}

.small-foot strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.footer-meta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 15px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.footer-meta span {
  white-space: nowrap;
}


/* * 4. RESPONSIVE FIXES
*/
@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* responsive */
@media (max-width:980px) {
  .hero-wrap {
    grid-template-columns: 1fr
  }

  .nav-center {
    gap: 12px
  }
}

@media (max-width:640px) {
  header.site-header {
    width: calc(100% - 28px);
    left: 14px;
    transform: none
  }

  .logo-label {
    display: none
  }
}