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

/* =========================================================
   SAFE SCOPE BASE (NO GLOBAL RESET)
========================================================= */

.page-container {
  width: 100%;
  max-width: 1400px;
  margin: auto;
  padding: 0 30px;
}

/* Prevent box-sizing issues only inside this page */
.page-container *,
.staticpage-wrapper * {
  box-sizing: border-box;
}

/* =========================================================
   BASE TYPOGRAPHY (SCOPED)
========================================================= */

.page-container,
.staticpage-wrapper {
  font-family: 'Open Sans', sans-serif;
  color: #334155;
  line-height: 1.7;
  font-size: 16px;
}

/* =========================================================
   MOODLE / REMUI FIXES
========================================================= */

#page.drawers .main-inner,
#region-main,
.header-maxwidth {
  max-width: 100% !important;
  width: 100% !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#page-header {
  display: none;
}

#page-content {
  padding-top: 0 !important;
}

/* =========================================================
   TYPOGRAPHY (SCOPED ONLY)
========================================================= */

.page-container h1,
.page-container h2,
.page-container h3,
.page-container h4 {
  font-family: 'Poppins', sans-serif;
  color: #0b3a53;
  margin-bottom: 20px;
}

.page-container h1 {
  font-size: 2.6rem;
  font-weight: 700;
}

.page-container h2 {
  font-size: 2rem;
  font-weight: 600;
}

.page-container p {
  margin-bottom: 18px;
  font-size: 1rem;
}

/* =========================================================
   IMAGES
========================================================= */

.page-container img {
  width: 100%;
  display: block;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* =========================================================
   HERO / BANNER
========================================================= */

.banner {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(rgba(11, 58, 83, 0.65), rgba(11, 58, 83, 0.7)),
    url('../img/vecteezy_healthcare-professionals-stand-together-showcasing-teamwork_69688473_optimized_250.jpeg')
    center/cover no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

/* ✅ FIX: ensure banner text is readable */
.banner h1,
.banner p {
  color: #ffffff !important;
}

/* =========================================================
   BUTTON
========================================================= */

.cta {
  display: inline-block;
  padding: 14px 32px;
  background: #00b4d8;
  color: #ffffff;
  text-decoration: none;
  border-radius: 40px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta:hover {
  background: #0077b6;
  transform: translateY(-3px);
}

/* =========================================================
   FLEX LAYOUT
========================================================= */

.flex-row {
  display: flex;
  align-items: center;
  gap: 60px;
}

.flex-row > div {
  flex: 1;
}

.reverse {
  flex-direction: row-reverse;
}

/* =========================================================
   SECTIONS
========================================================= */

.first {
  background: #f4f8fb;
  padding: 80px 20px;
}

.second {
  background: #ffffff;
}

.third {
  background: #eef8fc;
}

/* =========================================================
   VIDEO SECTION
========================================================= */

.five {
  background: #0b3a53;
  padding: 100px 0;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
  border-radius: 24px;
}

.video-wrapper img,
.video-wrapper video {
  width: 100%;
  height: 80vh;
  display: block;
  object-fit: cover;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.85);
  color: #ffffff;
  font-size: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   COMMUNITY SECTION
========================================================= */

.six {
  padding: 80px 20px;
  text-align: center;
  background: #f4f8fb;
}

/* =========================================================
   FOOTER (PAGE FOOTER ONLY)
========================================================= */

.footer {
  background: #0b3a53;
  color: #ffffff;
  text-align: center;
  padding: 40px 0;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

  .flex-row,
  .reverse {
    flex-direction: column;
  }

  .page-container h1 {
    font-size: 2.2rem;
  }

  .page-container h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 600px) {

  .page-container {
    padding: 0 20px;
  }

  .page-container p {
    font-size: 0.95rem;
  }
}