:root {
  --primary: #0e7490;
  --secondary: #0284c7;
  --accent: #facc15;
  --green: #22c55e;
  --ink: #12313b;
  --muted: #5f7180;
  --line: #dbe8ee;
  --soft: #f2f9fb;
  --white: #ffffff;
  --footer: #111827;
  --shadow: 0 18px 45px rgba(14, 116, 144, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(14, 116, 144, 0.08);
  box-shadow: 0 8px 26px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(12px);
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: min(280px, 52vw);
  height: 68px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #274550;
  font-size: 14px;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s ease;
}

.main-nav a:not(.nav-whatsapp)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.main-nav a:hover {
  color: var(--primary);
  transform: translateY(-1px);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.nav-whatsapp {
  padding: 12px 18px;
  color: var(--white);
  background: var(--green);
  border-radius: var(--radius);
  box-shadow: 0 12px 24px rgba(34, 197, 94, 0.24);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--primary);
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #082f3b;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide-media,
.slide-overlay {
  position: absolute;
  inset: 0;
}

.slide-media {
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 4s ease;
}

.slide.active .slide-media {
  transform: scale(1);
}

.media-student {
  background-image: linear-gradient(90deg, rgba(3, 70, 84, 0.92), rgba(3, 70, 84, 0.46), rgba(3, 70, 84, 0.1)), url("assets/hero-pharmacy-student.jpeg");
  background-position: center;
}

.media-lab {
  background:
    linear-gradient(90deg, rgba(3, 70, 84, 0.94), rgba(2, 132, 199, 0.5), rgba(2, 132, 199, 0.08)),
    url("assets/hero-modern-lab.jpeg");
  background-position: center;
}

.media-campus {
  background:
    linear-gradient(90deg, rgba(3, 70, 84, 0.94), rgba(3, 70, 84, 0.48), rgba(3, 70, 84, 0.08)),
    url("assets/hero-pharmacy-care.jpeg");
  background-position: center;
}

.slide-overlay {
  background: linear-gradient(180deg, rgba(3, 41, 50, 0.1), rgba(3, 41, 50, 0.26));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  width: min(720px, calc(100% - 36px));
  min-height: 650px;
  margin-left: clamp(18px, 7vw, 96px);
  color: var(--white);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  width: 38px;
  height: 3px;
  content: "";
  background: currentColor;
  border-radius: 999px;
}

.hero h1,
.hero h2 {
  max-width: 670px;
  margin: 16px 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 2vw, 20px);
}

.hero-actions,
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: #102a35;
  background: var(--accent);
  box-shadow: 0 16px 28px rgba(250, 204, 21, 0.28);
}

.btn.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.btn.small {
  min-height: 44px;
  padding: 11px 18px;
  color: var(--white);
  background: var(--primary);
}

.slider-controls {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 5vw, 72px);
  bottom: 34px;
  display: flex;
  gap: 10px;
}

.dot {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 2px solid var(--white);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
}

.dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 36px));
  margin: -44px auto 0;
  position: relative;
  z-index: 4;
  overflow: hidden;
  background: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.trust-strip div {
  padding: 24px;
  background: var(--white);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--primary);
  font-size: 18px;
}

.trust-strip span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 94px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
}

.split.about {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  padding-top: 40px;
}

.section h2 {
  margin: 10px 0 18px;
  color: #103945;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: 0;
}

.section p {
  color: var(--muted);
}

.section-kicker {
  color: var(--secondary);
}

.image-frame {
  min-height: 430px;
  overflow: hidden;
  background-color: var(--soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.campus-frame {
  background:
    linear-gradient(180deg, rgba(14, 116, 144, 0.08), rgba(14, 116, 144, 0.34)),
    url("assets/campus-students-lab.jpeg");
  background-size: cover;
  background-position: center;
}

.lab-frame {
  background:
    linear-gradient(135deg, rgba(250, 204, 21, 0.12), rgba(14, 116, 144, 0.36)),
    url("assets/pharma-lab-glassware.jpeg");
  background-size: cover;
  background-position: center;
}

.section-heading {
  max-width: 660px;
  margin-bottom: 34px;
}

.course-grid,
.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.course-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.course-card.featured {
  border-color: rgba(14, 116, 144, 0.34);
  background: linear-gradient(180deg, #effbff, #ffffff);
}

.course-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 18px;
  color: #102a35;
  background: var(--accent);
  border-radius: var(--radius);
  font-size: 24px;
  font-weight: 800;
}

.course-card h3 {
  margin: 0 0 10px;
  color: #103945;
  font-size: 24px;
  line-height: 1.2;
}

.course-card small {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.course-card p {
  flex: 1;
  margin-bottom: 18px;
}

dl,
dd {
  margin: 0;
}

.course-card dl {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.course-card dl div {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.course-card dt {
  color: var(--secondary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.course-card dd {
  color: #314854;
  font-weight: 600;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  content: "✓";
  color: #102a35;
  background: var(--accent);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.facilities {
  width: 100%;
  max-width: none;
  padding: 86px max(18px, calc((100vw - 1180px) / 2));
  background: var(--soft);
}

.facility-grid {
  grid-template-columns: repeat(4, 1fr);
}

.facility {
  min-height: 132px;
  padding: 22px;
  color: #173844;
  background: var(--white);
  border: 1px solid rgba(14, 116, 144, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 14px 26px rgba(17, 24, 39, 0.06);
  font-size: 17px;
  font-weight: 700;
}

.facility span {
  display: block;
  margin-bottom: 20px;
  color: var(--secondary);
  font-size: 13px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 28px;
  padding: 34px;
  background: #f7fcfd;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-details {
  margin: 24px 0;
}

.contact-details a,
.contact-details span {
  padding: 11px 14px;
  color: #21414d;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 600;
}

.map-box {
  overflow: hidden;
  height: 240px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.inquiry-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  color: #244651;
  font-size: 13px;
  font-weight: 700;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdfe;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  outline: none;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

.form-submit {
  width: 100%;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: var(--white);
  background: var(--green);
  border-radius: var(--radius);
  box-shadow: 0 18px 30px rgba(34, 197, 94, 0.34);
  font-weight: 800;
  transition: transform 0.22s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  padding: 46px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--footer);
}

.site-footer img {
  width: 250px;
  height: 64px;
  object-fit: contain;
  object-position: left center;
  background: var(--white);
  border-radius: var(--radius);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: flex-end;
  gap: 16px 22px;
  font-weight: 600;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 1040px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
  }

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

  .split,
  .split.about,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .site-header {
    min-height: 78px;
    padding: 10px 16px;
  }

  .brand img {
    width: min(235px, 68vw);
    height: 56px;
  }

  .hero,
  .hero-content {
    min-height: 590px;
  }

  .hero h1,
  .hero h2 {
    font-size: 40px;
  }

  .trust-strip,
  .course-grid,
  .facility-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-top: 0;
    width: 100%;
    border-radius: 0;
  }

  .section {
    padding: 66px 0;
  }

  .image-frame {
    min-height: 330px;
  }

  .course-card {
    min-height: auto;
  }

  .contact-panel {
    padding: 18px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}
