/* =========================================================
   Awudome SHS Home Page Styles
   Clean, responsive and production-ready CSS
   ========================================================= */

:root {
  --primary: #006f86;
  --primary-dark: #034b5b;
  --accent: #ff8800;
  --accent-dark: #df7200;
  --ink: #102027;
  --muted: #60717a;
  --light: #f7fafc;
  --white: #ffffff;
  --line: #d9e4e8;
  --shadow: 0 20px 55px rgba(0, 39, 51, 0.13);
  --radius: 24px;
  --container: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--light);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

.container {
  width: min(92%, var(--container));
  margin-inline: auto;
}

.section-padding {
  padding: 72px 0;
}

/* =========================
   Top contact bar
   ========================= */
.topbar {
  color: var(--primary-dark);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.topbar__inner,
.topbar__contacts,
.topbar__links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar__inner {
  justify-content: space-between;
  min-height: 42px;
}

.topbar i {
  color: var(--accent);
}

.topbar__links a {
  font-weight: 700;
  transition: color 0.25s ease;
}

.topbar__links a:hover {
  color: var(--accent);
}

/* =========================
   Navigation
   ========================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 111, 134, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 35px rgba(0, 35, 48, 0.12);
}

.navbar__inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  padding: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--accent);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

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

/* =========================
   Hero carousel
   ========================= */
.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 780px);
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-carousel,
.hero-slide,
.hero-slide img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
  z-index: -3;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.14);
}

.hero-slide.active img {
  animation: zoomOut 6.5s ease-out forwards;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.52) 42%, rgba(0, 0, 0, 0.26) 100%),
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.36), transparent 28%);
}

.hero-content {
  position: relative;
  min-height: clamp(560px, 78vh, 780px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0 96px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.3rem, 4vw, 3.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-actions,
.hero-values {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-actions {
  margin-top: 34px;
}

.hero-values {
  margin-top: 38px;
}

.hero-values span {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: var(--white);
  background: rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.25s ease, transform 0.25s ease;
}

.carousel-btn:hover {
  background: var(--accent);
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn--prev {
  left: 22px;
}

.carousel-btn--next {
  right: 22px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
}

.carousel-dots button.active {
  width: 30px;
  border-radius: 999px;
  background: var(--accent);
}

@keyframes zoomOut {
  from { transform: scale(1.14); }
  to { transform: scale(1); }
}

/* =========================
   Buttons and cards
   ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 14px 26px rgba(255, 136, 0, 0.28);
}

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

.btn-light {
  color: var(--primary-dark);
  background: var(--white);
}

.btn-outline {
  color: var(--primary);
  border: 2px solid var(--primary);
  background: transparent;
}

.quick-links {
  margin-top: -62px;
  position: relative;
  z-index: 10;
  padding-top: 0;
}

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

.quick-card,
.panel,
.highlight-card {
  border: 1px solid rgba(0, 111, 134, 0.09);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.quick-card {
  min-height: 190px;
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quick-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 70px rgba(0, 39, 51, 0.18);
}

.quick-card i {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--primary);
  border-radius: 16px;
  font-size: 1.25rem;
}

.quick-card h2,
.panel h2,
.highlight-card h3,
.footer h2,
.footer h3 {
  margin: 0 0 10px;
  line-height: 1.2;
}

.quick-card p,
.panel p,
.highlight-card p,
.section-heading p,
.footer p {
  margin: 0;
  color: var(--muted);
}

/* =========================
   Main content sections
   ========================= */
.content-section {
  padding-top: 36px;
}

.content-grid,
.awards-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.panel {
  padding: clamp(26px, 4vw, 42px);
}

.panel--main h2,
.section-heading h2 {
  color: var(--primary-dark);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}

.panel--main p + p {
  margin-top: 14px;
}

.panel--main .btn {
  margin-top: 24px;
}

.media-panel audio {
  width: 100%;
  margin: 16px 0 24px;
}

.partnership-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.partnership-card img {
  border-radius: 18px;
}

.partnership-card h3 {
  margin: 0 0 4px;
}

.partnership-card a {
  display: inline-block;
  margin-top: 8px;
  color: var(--primary);
  font-weight: 800;
}

.highlights {
  background:
    radial-gradient(circle at top left, rgba(255, 136, 0, 0.12), transparent 30%),
    linear-gradient(180deg, #eef6f8 0%, #f8fbfc 100%);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading--left {
  margin: 0;
  text-align: left;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.highlight-card {
  overflow: hidden;
}

.highlight-card img,
.highlight-card video {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.highlight-card__body {
  padding: 22px;
}

.awards {
  background: var(--white);
}

.award-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.award-gallery img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.section-heading--left .btn {
  margin-top: 24px;
}

/* =========================
   Footer
   ========================= */
.footer {
  color: var(--white);
  background: url("image/ADMINBLOCK.jpg") center/cover no-repeat;
}

.footer-overlay {
  padding: 70px 0;
  background: rgba(0, 25, 34, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}

.footer p {
  color: rgba(255, 255, 255, 0.78);
}

.footer i,
.footer h3 {
  color: var(--accent);
}

/* =========================
   Responsive styles
   ========================= */
@media (max-width: 980px) {
  .topbar__inner {
    justify-content: center;
    flex-wrap: wrap;
    padding: 8px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 86px;
    left: 4%;
    right: 4%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-menu a {
    color: var(--primary-dark);
    justify-content: center;
  }

  .nav-menu a:hover,
  .nav-menu a.active {
    color: var(--white);
  }

  .quick-links__grid,
  .highlight-grid,
  .content-grid,
  .awards-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-heading--left {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .section-padding {
    padding: 54px 0;
  }

  .topbar__contacts,
  .topbar__links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .topbar__links {
    display: none;
  }

  .navbar__inner {
    min-height: 76px;
  }

  .brand img {
    width: 56px;
    height: 56px;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .nav-menu {
    top: 76px;
  }

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

  .hero-content {
    text-align: center;
    align-items: center;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(0, 47, 62, 0.88), rgba(0, 47, 62, 0.62));
  }

  .hero-actions,
  .hero-values {
    justify-content: center;
  }

  .carousel-btn {
    display: none;
  }

  .quick-links {
    margin-top: 0;
    padding-top: 42px;
  }

  .panel,
  .quick-card {
    border-radius: 20px;
  }

  .partnership-card,
  .award-gallery {
    grid-template-columns: 1fr;
  }

  .partnership-card img {
    width: 130px;
  }

  .highlight-card img,
  .highlight-card video,
  .award-gallery img {
    height: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
