#page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


nav {
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  padding: 0;  /* remove excess spacing */
  box-sizing: border-box;
}

.nav-container {
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo img {
  height: 48px;
}

.nav-links {
  display: flex;
  flex-direction: row;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cta-wrapper button,
.language-wrapper select {
  font-size: 14px;
  padding: 8px 12px;
}

.language-wrapper label {
  font-size: 14px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
}

/* MOBILE FIXES */
@media (max-width: 900px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 20px;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  .nav-right {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 8px;
  }

  .cta-wrapper,
  .language-wrapper {
    width: 100%;
  }

  .hamburger {
    display: block;
    margin-left: auto;
  }
}


html, body {
  height: 100%;
  font-family: 'Playfair Display', serif;
  margin: 0;
  padding: 0;
  font-family: 'Playfair Display', serif;
  background: #f9f9f9;
  color: #182947;
  min-height: 100vh;
  width: 100vw;
  box-sizing: border-box;
  overflow-x: hidden;
  position: relative;
  overscroll-behavior-x: none;
}
body {
  display: flex;
  flex-direction: column;
}
header {
  background: White;
  color: #182947;
  width: 100%;
  height: 80px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  position: fixed;
  z-index: 11;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  header {
    height: 60px; /* Reduce header height on mobile */
  }
  
  .logo {
    flex: none;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    margin-right: 0;
    height: 60px;
    display: flex;
  }
  .logo img {
    height: 36px;
    margin: 0;
  }
  .hamburger {
    display: block;
    position: absolute;
    right: 4vw;
    top: 15px;
    z-index: 1001;
    background: none;
  }
}



/* --- NAVIGATION BAR: 3 COLUMN FLEX --- */
nav {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  min-height: 74px;
  width: 100%;
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}
.logo {
  flex: 1 1 0;
  display: flex;
  align-items: center;
}
.logo img {
  height: 48px;
  display: block;
}
.nav-links {
  flex: 2 1 0;
  list-style: none;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  transition: none;
}
.nav-links li { position: relative; }
.nav-links > li > a {
  color: #182947;
  font-size: 1em;
  padding: 8px 0;
}
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: color 0.15s;
  padding: 8px 0;
  display: block;
}
.nav-links a:hover { color: #E1B33B; }
/* DROPDOWN */
.dropdown-content {
  display: none;
  position: absolute;
  background: #08254a;
  min-width: 210px;
  z-index: 99;
  left: 0;
  top: 38px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  overflow: hidden;
  list-style: none;
  padding: 10px 0;
}
.dropdown-content li { list-style: none; margin: 0; padding: 0; }
.dropdown-content li a {
  color: #fff;
  padding: 10px 24px;
  font-weight: 400;
  font-size: 1.12em;
  text-align: left;
  border-radius: 0;
  display: block;
  background: none;
  transition: color 0.18s, background 0.18s;
}
.dropdown-content li a:hover,
.dropdown-content li a:focus {
  background: #18477a;
  color: #E1B33B;
  outline: none;
}
.dropdown:hover .dropdown-content { display: block; }
/* HAMBURGER */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 2em;
  color: #182947;
  cursor: pointer;
  margin-left: 12px;
  z-index: 1001;
}
@media (max-width: 900px) {
  /* ...existing styles... */
  .nav-right {
    /* your other styles */
    margin-bottom: 14px; /* <-- add this for spacing below Get in Touch */
  }
  .cta-btn {
    margin-bottom: 12px; /* adds space just below the button */
  }
}

/* ---- NAV RIGHT ---- */
.nav-right {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}
.cta-wrapper {
  display: flex;
  align-items: center;
}
.cta-btn {
  background: #fff;
  color: #F7BE20;
  border: 2px solid #0a2941;
  border-radius: 18px;
  font-weight: bold;
  font-size: 1rem;
  padding: 2px 15px;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  outline: none;
  margin-right: 0;
  line-height: 1.15;
  display: inline-block;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #0a2941;
  color: #fff;
  border-color: #F7BE20;
}
.language-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 0 0;
}
.language-wrapper label {
  font-family: 'Playfair Display', serif;
  font-size: 0.92rem;
  color: #0a2941;
  font-weight: 600;
  margin-bottom: 0;
  line-height: 1.1;
  letter-spacing: 0.1px;
}
.language-wrapper select {
  border: 1.8px solid #F7BE20;
  border-radius: 6px;
  font-size: 0.98rem;
  padding: 2px 9px 2px 7px;
  font-family: 'Playfair Display', serif;
  color: #182947;
  background: #fff;
  font-weight: 600;
  outline: none;
  margin-top: 1px;
  min-width: 82px;
  transition: border-color 0.18s;
}
.language-wrapper select:focus {
  border-color: #0a2941;
}

/* ----------- MOBILE NAVIGATION ----------- */
@media (max-width: 900px) {
  nav {
    max-width: 100vw;
    width: 100vw;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    min-height: unset;
  }
  .logo {
    flex: none;
    justify-content: flex-start;
    padding: 10px 4vw 0 4vw;
    margin-right: 0;
  }
  .hamburger {
    display: block;
    position: absolute;
    right: 4vw;
    top: 22px;
    z-index: 1001;
    background: none;
  }
  .nav-links {
    flex: none;
    flex-direction: column;
    background: #182947;
    position: fixed;
    top: 74px;
    left: 0;
    width: 100vw;
    max-width: 100vw;
    height: auto;
    max-height: 100vh;
    display: none;
    z-index: 1100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li {
    width: 100vw;
    text-align: center;
    min-width: 0;
  }
  .nav-links > li > a {
    color: #fff;
    font-size: 1.15em;
    padding: 10px 0;
  }
  .dropdown-content {
    position: static;
    box-shadow: none;
    border-radius: 0;
    min-width: unset;
    background: #232b3c;
    list-style: none;
    padding: 6px 0 6px 0;
    width: 100vw;
    max-width: 100vw;
  }
  .dropdown-content li a {
    color: #fff;
    padding: 10px 0;
    font-size: 1.08em;
    text-align: center;
    border-radius: 0;
    background: none;
    transition: color 0.18s, background 0.18s;
    width: 100vw;
    max-width: 100vw;
  }
  .dropdown-content li a:hover,
  .dropdown-content li a:focus {
    background: #18477a;
    color: #E1B33B;
    outline: none;
  }
  .dropdown:hover .dropdown-content,
  .dropdown:focus-within .dropdown-content {
    display: none;
  }
  .dropdown > a:after {
    content: " ▼";
    font-size: 0.8em;
  }
  /* Make nav-right full width, below header bar */
  .nav-right {
    flex: none;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100vw;
    padding: 10px 4vw 10px 4vw;
    background: #fff;
    position: static;
    order: 3;
    box-sizing: border-box;
    z-index: 1000;
  }
  .cta-btn {
    width: 100%;
    margin: 0 0 2px 0;
    font-size: 1.04rem;
    padding: 7px 0;
    border-radius: 15px;
  }
  .language-wrapper {
    width: 100%;
    align-items: flex-start;
    margin: 0;
  }
  .language-wrapper label, .language-wrapper select {
    margin-left: 4px;
  }
}

/* ----------- MAIN + FOOTER (unchanged) ----------- */

main {
  flex: 1;
  max-width: 900px;
  margin: 80px auto 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  padding: 32px 24px;
  box-sizing: border-box;
  min-width: 0;
  overflow-x: hidden;
  overflow: hidden;
}

/* ...rest of your footer styles... */

/* ================= FOOTER STYLES ================= */
footer {
  flex-shrink: 0;
  background: #08254a;
  color: #fff;
  width: 100%;
  box-sizing: border-box;
  padding: 20px 0 0 0;
  font-size: 1em;
  letter-spacing: 0.01em;
  font-family: 'Playfair Display', serif;
  overflow-x: hidden;
}
.footer-columns {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  padding: 0 32px;
  box-sizing: border-box;
}
.footer-col {
  flex: 1 1 0;
  min-width: 180px;
  max-width: 320px;
  box-sizing: border-box;
  margin-bottom: 0;
  padding: 0 10px;
  word-break: break-word;
  display: flex;
  flex-direction: column;
}
.footer-col h3 {
  font-size: 1em;
  font-weight: 700;
  margin-bottom: 7px;
  margin-top: 0;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-align: left;
}
.footer-col p, .footer-col span {
  font-size: 0.95em;
  color: #fff;
  margin: 4px 0;
  line-height: 1.32;
  text-align: center;
}
.footer-social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin: 3px 0 0 0;
}

.footer-social-icons a {
  color: #fff;
  font-size: 1.15em;
  transition: color 0.18s;
  padding: 0;
  margin: 0;
}

/* 👇 This is the critical part */
.footer-social-icons a i {
  color: inherit;
  transition: color 0.18s;
}

.footer-social-icons a:hover {
  color: #E1B33B;
}

.footer-disclaimer {
  font-size: 0.87em;
  margin-top: 4px;
  line-height: 1.28;
  word-break: break-word;
  max-width: 100%;
  text-align: center;
}
.footer-newsletter {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}
.footer-newsletter iframe {
  border-radius: 7px;
  border: none;
  box-shadow: 0 1px 6px rgba(0,0,0,0.09);
  background: #fff;
  width: 100%;
  min-height: 62px;
  height: 80px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}
/* Desktop: Left align only the first (Contact) column, center the rest */
.footer-col:first-child {
  align-items: flex-start;
  text-align: left;
}
.footer-col:not(:first-child) {
  align-items: center;
  text-align: center;
}
.footer-col:not(:first-child) h3,
.footer-col:not(:first-child) p,
.footer-col:not(:first-child) span,
.footer-col:not(:first-child) .footer-disclaimer {
  text-align: center;
}
.footer-bottom {
  width: 100%;
  background: #06213e;
  color: #fff;
  margin-top: 10px;
  padding: 6px 2vw 6px 2vw;
  font-size: 0.95em;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid #204167;
  flex-wrap: wrap;
  gap: 40px;
  box-sizing: border-box;
}
.footer-bottom > * {
  margin: 0 8px;
}
.footer-bottom a {
  color: #E1B33B;
  text-decoration: underline;
  transition: color 0.18s;
}
.footer-bottom a:hover {
  color: #fff;
}
.footer-heart {
  color: #E1B33B;
  font-size: 1.08em;
  font-family: serif;
  padding: 0 2px;
}
.footer-col i {
  color: #fff;
  margin-right: 6px;
  font-size: 1em;
  vertical-align: -0.13em;
}
/* ----------- MOBILE FOOTER ----------- */
@media (max-width: 900px) {
  .footer-col:not(:first-child) {
    margin-top: 20px; /* ← adjust as needed (e.g. 15px–25px) */
  }
}

@media (max-width: 900px) {
  .footer-columns {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    padding: 0 7vw;
    max-width: 100vw;
  }
  .footer-col,
  .footer-col:first-child,
  .footer-col:not(:first-child) {
    align-items: center !important;
    text-align: center !important;
    max-width: 95vw;
    padding: 0;
  }
  .footer-col h3,
  .footer-col p,
  .footer-col span,
  .footer-disclaimer {
    text-align: center !important;
  }
  .footer-social-icons {
    justify-content: center;
    gap: 7px;
    margin-bottom: 8px;
  }
  .footer-social-icons a {
    font-size: 1.08em;
  }
  .footer-newsletter iframe {
    width: 97vw;
    min-width: 0;
    min-height: 55px;
    height: 58px;
    max-width: 97vw;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 0.92em;
    padding: 7px 3vw 7px 3vw;
    margin-top: 5px;
    max-width: 100vw;
    box-sizing: border-box;
    text-align: center;
    gap: 10px;
  }
  .footer-bottom > * {
    margin: 2px 0;
  }
}
@media (max-width: 600px) {
  .footer-columns {
    padding: 0 2vw;
    gap: 7px;
  }
  .footer-col h3 {
    font-size: 0.9em;
    margin-bottom: 2px;
  }
  .footer-col p, .footer-col span {
    font-size: 0.9em;
  }
  .footer-social-icons a {
    font-size: 0.98em;
  }
  .footer-newsletter iframe {
    width: 96vw;
    min-width: 0;
    min-height: 40px;
    height: 45px;
    max-width: 96vw;
  }
  .footer-bottom {
    font-size: 0.89em;
    padding: 4px 2vw;
    margin-top: 2px;
    max-width: 100vw;
    box-sizing: border-box;
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .footer-newsletter iframe {
    width: 97vw;
    min-width: 0;
    min-height: 180px;
    height: 280px;
    max-width: 97vw;
  }
}
@media (max-width: 600px) {
  .footer-newsletter iframe {
    width: 96vw;
    min-width: 0;
    min-height: 220px;
    height: 140px;
    max-width: 96vw;
  }
}

.cta-btn {
  background: #fff;
  color: #F7BE20;
  border: 2px solid #0a2941;
  border-radius: 18px;
  font-weight: bold;
  font-size: 1rem;
  padding: 2px 15px;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  outline: none;
  margin-right: 8px;
  line-height: 1.15;
  display: inline-block;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #0a2941;
  color: #fff;
  border-color: #F7BE20;
}
.cta-wrapper {
  display: flex;
  align-items: center;
}

.language-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 0 0;
}
.language-wrapper label {
  font-family: 'Playfair Display', serif;
  font-size: 0.92rem;
  color: #0a2941;
  font-weight: 600;
  margin-bottom: 0;
  line-height: 1.1;
  letter-spacing: 0.1px;
}
.language-wrapper select {
  border: 1.8px solid #F7BE20;
  border-radius: 6px;
  font-size: 0.98rem;
  padding: 2px 9px 2px 7px;
  font-family: 'Playfair Display', serif;
  color: #182947;
  background: #fff;
  font-weight: 600;
  outline: none;
  margin-top: 1px;
  min-width: 82px;
  transition: border-color 0.18s;
}
.language-wrapper select:focus {
  border-color: #0a2941;
}
.nav-right {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
  flex-direction: row;   /* Make sure it's row by default! */
}

@media (max-width: 900px) {
  .nav-right {
    flex-direction: column-reverse;  /* Language below button */
    align-items: stretch;
    gap: 8px;
    width: 100vw;
    padding: 10px 4vw 10px 4vw;
    background: #fff;
    position: static;
    order: 3;
    box-sizing: border-box;
    z-index: 1000;
  }
}





/* === HOW IT WORKS SECTION === */
/* Process Section Styling */
#process {
  background-color: #ffffff;
  text-align: center;
  padding: 50px 20px;
}

.process-heading {
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 2px;
  color: #002b4f;
  margin-bottom: 50px;
  font-family: 'Playfair Display', serif;
}

.process-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: nowrap;
}

.step-box {
  width: 200px;
  padding: 10px;
  text-align: center;
}

.step-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
}

.step-box h3 {
  font-size: 20px;
  color: #002b4f;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

.step-box p {
  font-size: 15px;
  color: #444;
  font-family: 'Inter', sans-serif;
}

.arrow-icon {
  font-size: 40px;
  color: #F7BE20;
}

.start-btn-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;        /* Ensure it spans full width */
  margin-top: 40px;
}
.start-btn-wrapper .cta-btn {
  margin: 0 auto;     /* Ensure no side-shifting margin */
}

/* === Process Steps Responsive === */
@media (max-width: 768px) {
  .process-steps {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 100vw;         /* <-- Prevent overflow */
    box-sizing: border-box;   /* <-- Ensure padding/gap is included */
    overflow-x: hidden;       /* <-- Prevent horizontal scroll */
    margin: 0 auto;           /* <-- Center container */
    padding: 0 2vw;           /* <-- Add a little side padding */
  }
  .step-box {
    width: 160px;
    max-width: 95vw;          /* <-- Prevent overflow */
    padding: 6px;
    box-sizing: border-box;   /* <-- Ensure no overflow */
  }
  .arrow-icon {
    display: none;
  }
}

@media (max-width: 600px) {
  .process-steps {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    max-width: 100vw;
    padding: 0 2vw;           /* <-- Padding prevents edge touching */
    overflow-x: hidden;
  }
  .step-box {
    width: 96vw;              /* <-- Nearly full width, but not too wide */
    max-width: 320px;         /* <-- Never too big on big phones */
    min-width: 0;
    box-sizing: border-box;
  }
}

/* ────────────────── HERO VIDEO ────────────────── */
.hero-video-container {
  position: relative;
  width: 100%;
  /* 16 : 9 on desktop  →  56.25% = 9 / 16 */
  padding-top: 56.25%;
  overflow: hidden;
  z-index: 0;
  border-radius: 16px; /* this adds the round corners */
}

/* mobile: use a taller frame so the CTA isn’t cramped */
@media (max-width: 768px) {
  .hero-video-container {
    /* 4 : 5 ratio → 125% */
    padding-top: 70%;
  }
}

@media (max-width: 768px) {
  .content-container {
    max-width: 100vw;
    padding: 0 2vw;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .hero-video-container,
  .testimonial-slider,
  .slider-content {
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
  }
}

.background-video {
  position: absolute;
  inset: 0;               /* shorthand for top:0 right:0 bottom:0 left:0 */
  width: 100%;
  height: 100%;
  object-fit: cover;      /* fills the box without grey bars */
  z-index: -1;
}

/* dark veil for readability
.hero-video-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.30);
  z-index: 1;
}*/

/* ─────────── overlay text & button ─────────── */
.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
}

.hero-overlay h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1 rem, 4vw + 1rem, 3rem); /* fluid size */
  margin-bottom: 1rem;
}

.hero-overlay p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 1.6vw + .8rem, 1.4rem);
  margin-bottom: 1.5rem;
}

.hero-overlay .cta-btn {
  font-size: 1.125rem;
  padding: 10px 32px;
  border: 3px solid #fff;
  background: transparent;
  color: #fff;
  border-radius: 2rem;
  cursor: pointer;
  transition: background .25s, color .25s;
}

.hero-overlay .cta-btn:hover {
  background: #fff;
  color: #003366;
}


/* TESTIMONIALS */
.testimonial-slider {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
  font-family: 'Playfair Display', serif;
}

.testimonial-slider h2 {
  font-size: 32px;
  color: #182947;
  margin-bottom: 40px;
}

.slider-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* space between arrows and testimonial */
  flex-wrap: nowrap;
  flex-direction: row; /* ✅ ensures horizontal alignment */
}

.arrow {
  font-size: 48px;
  background: none;
  border: none;
  color: #0f2a47;
  cursor: pointer;
  padding: 10px;
  flex-shrink: 0; /* ✅ don't let arrows shrink */
}

.testimonial {
  max-width: 800px;
  background-color: white;
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimonial-author {
  display: block;
  font-size: 28px;
  font-weight: 600;
  color: #102947;
  text-align: right;
  margin-bottom: 10px;
}

.quote-mark {
  font-size: 80px;
  color: #F7BE20; /* deep red */
  position: absolute;
  top: -30px;
  right: 20px;
  z-index: 1;
  font-family: serif;
}

.testimonial-text {
  font-size: 20px;
  line-height: 1.7;
  font-style: italic;
  color: #0f2a47;
  margin-top: 30px;
  text-align: justify;
  z-index: 2;
}

.arrow:hover {
  color: #003366;
}

.left-arrow {
  margin-right: 20px;
}

.right-arrow {
  margin-left: 20px;
}
@media screen and (max-width: 768px) {
  

  .testimonial {
    padding: 30px 20px;
  }

  .testimonial-author {
    font-size: 22px;
  }

  .quote-mark {
    font-size: 60px;
    top: -20px;
    right: 10px;
  }

  .testimonial-text {
    font-size: 16px;
    text-align: left;
  }

  .arrow {
    font-size: 36px;
    padding: 10px;
  }
}

.hero-video-container,
  .testimonial-slider,
  .slider-content {
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
  }

/* FAQS */
.faq-section {
  max-width: 700px;
  margin: 100px auto 0 auto;
  margin-top: 10px;
  padding: 0 18px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px #0001;
}


.faq-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 32px;
  color: #05253b;
}

.faq-list {
  width: 100%;
}

.faq-item {
  margin-bottom: 16px;
  border-bottom: 1px solid #e3e9f0;
  padding-bottom: 4px;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.2rem;
  font-family: inherit;
  color: #05253b;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 8px;
  cursor: pointer;
  outline: none;
  transition: background 0.2s;
}

.faq-question:hover {
  background: #f4f8fd;
}

.faq-icon {
  font-size: 1.4rem;
  color: #F7BE20;
  margin-left: 16px;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg); /* plus to x (close) */
}

.faq-answer {
  display: none;
  font-size: 1.06rem;
  color: #20364c;
  padding: 0 8px 16px 8px;
  animation: fadeIn 0.25s ease-in;
}

.faq-item.active .faq-answer {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* 🔧 Mobile Responsiveness */
@media (max-width: 768px) {
  .faq-section {
    margin: 64px 12px 0 12px;
    padding: 0 12px;
  }

  .faq-question {
    font-size: 1.1rem;
    padding: 14px 6px;
  }

  .faq-icon {
    font-size: 1.3rem;
    margin-left: 12px;
  }

  .faq-answer {
    font-size: 1rem;
    padding: 0 6px 14px 6px;
  }

  .faq-section h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
  }
}

/* Google FORM */
.form-container {
  display: flex;
  justify-content: center;
  padding: 32px 16px;
  margin-top: 40px;           /* ✅ spacing between previous section and form */
  margin-bottom: 40px;        /* optional: spacing at the bottom */
  background-color: #082741;  /* deep navy like in the example */
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.form-container iframe {
  width: 100%;
  max-width: 700px;
  height: 1200px;
  border: none;
  border-radius: 12px; /* optional inside rounding */
}

@media (max-width: 768px) {
  .form-container {
    padding-top: 32px;  /* ✅ don't push too far down */
    margin-top: 32px;
  }
}

/* TEAM */
.team-hero {
  background: #082741;
  color: #fff;
  padding: 24px 24px 32px 24px; /* add horizontal padding for rounded corners */
  text-align: center;
  border-radius: 16px; /* this adds the round corners */
  margin: 0 16px; /* prevent it from touching page edge */
}


.team-hero h2 {
  letter-spacing: 0.16em;
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  margin-bottom: 0.4em;
}

.red-underline {
  width: 50px;
  height: 4px;
  background: #F7BE20;
  border-radius: 4px;
  margin: 0 auto 18px auto;
}
.red-underline.small {
  width: 32px;
  height: 3px;
}

.team-description {
  font-size: 1.09rem;
  margin: 0 auto;
  max-width: 760px;
  line-height: 1.5;
}

.team-main {
  text-align: center;
  padding: 36px 0 0 0;
}

.team-main h3 {
  color: #082741;
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.team-members {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 48px;
  margin: 48px 0;
  flex-wrap: wrap;
}

.team-member {
  flex: 1 1 220px;
  max-width: 230px;
  min-width: 190px;
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.08rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 14px #0001;
}

.team-name {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  color: #082741;
  margin-bottom: 12px;
  margin-top: 8px;
}

.team-quote {
  font-size: 0.99rem;
  color: #0a2d4d;
  font-style: italic;
  margin-bottom: 12px;
}

.team-linkedin {
  font-size: 2rem;
  color: #082741;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}
.team-linkedin:hover { color: #0077b5; }

.team-more {
  background: white;
  color: #082741;
  text-align: center;
  padding: 24px 0 20px 0;
  font-size: 1.42rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  letter-spacing: 0.05em;
}
.team-more-content {
  color: #1a2231;
  letter-spacing: 0.09em;
}
@media (max-width: 768px) {
  .team-hero {
    padding: 32px 0 24px 0;
  }

  .team-hero h2 {
    font-size: 1.6rem;
    letter-spacing: 0.1em;
  }

  .red-underline {
    width: 32px;
    height: 3px;
  }

  .team-description {
    font-size: 1rem;
    padding: 0 16px;
    max-width: 100%;
  }

  .team-main {
    padding: 24px 0 0 0;
  }

  .team-main h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }

  .team-members {
    gap: 24px;
    margin: 32px 0;
  }

  .team-member {
    flex: 1 1 100%;
    max-width: 90%;
    font-size: 1rem;
    padding: 12px 0;
  }

  .team-name {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .team-quote {
    font-size: 0.95rem;
    padding: 0 16px;
  }

  .team-linkedin {
    font-size: 1.6rem;
  }

  .team-more {
    font-size: 1.2rem;
    padding: 16px 0;
  }

  .team-more-content {
    font-size: 0.95rem;
    padding: 0 12px;
  }
}
@media (max-width: 768px) {
  .team-hero {
    margin-top: 80px; /* prevent header overlap */
  }
}

.description-section {
  background-color: #ffffff;
  color: #0a2f56;
  padding: 10px 24px;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  margin: 40px auto;
  max-width: 1000px;
  box-sizing: border-box;
}

.description-content {
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  line-height: 1.8;
  letter-spacing: 0.01em;
  padding: 0 16px;
}

@media (max-width: 600px) {
  .description-content {
    font-size: 1rem;
    padding: 0 12px;
  }
}




/* ACADEMIC COUNSELING */
.counseling-columns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.counseling-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.counseling-row:first-child {
  justify-content: center; /* Center the first card */
}



.academic-counseling {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 0 20px;
  text-align: center;
}

.academic-counseling h2 {
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.18em;
  color: #082741;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

.red-underline {
  width: 60px;
  height: 5px;
  background: #F7BE20;
  border-radius: 4px;
  margin: 0 auto 24px auto;
}

.subtitle {
  color: #082741;
  font-size: 1.18rem;
  margin-bottom: 56px;
  text-align: center;
}

.counseling-columns {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: nowrap;   /* Or use 'nowrap' for strict one-row behavior */
}

.counseling-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px #0001;
  padding: 36px 34px 32px 34px;
  flex: 1 1 290px;
  max-width: 340px;
  min-width: 230px;
  margin: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon-circle {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #F7BE20;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  color: #F7BE20;
  margin-bottom: 16px;
}

.counseling-card h3 {
  font-family: 'Montserrat', 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: bold;
  color: #082741;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
  text-align: center;
}

.red-bar {
  width: 44px;
  height: 3.5px;
  background: #F7BE20;
  margin: 0 auto 18px auto;
  border-radius: 3px;
}

.counseling-card p {
  color: #082741;
  font-size: 1rem;
  margin-bottom: 22px;
  margin-top: 0;
  min-height: 80px;
  text-align: center;
}

.detail-btn {
  display: inline-block;
  padding: 10px 38px;
  border: 2px solid #082741;
  border-radius: 32px;
  background: #fff;
  color: #082741;
  font-family: 'Montserrat', 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  margin-top: auto;
}

.detail-btn:hover {
  background: #082741;
  color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
  .counseling-columns {
    flex-direction: column;
    gap: 24px;
  }
  .counseling-card {
    max-width: 95vw;
    min-width: 0;
    margin: 0 auto;
  }
}

/* MASTER */
.master-hero {
  background: #082741;
  color: #fff;
  padding: 42px 0 30px 0;
  text-align: center;
}

.master-hero h2 {
  letter-spacing: 0.15em;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 0.6em;
}

.red-underline {
  width: 60px;
  height: 4px;
  background: #F7BE20;
  border-radius: 4px;
  margin: 0 auto 22px auto;
}

.master-headlines .study-label {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.master-claim {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.master-headlines p {
  font-size: 1rem;
  margin: 6px 0;
}

.master-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 38px 18px 0 18px;
}

.master-section-title {
  font-weight: bold;
  color: #F7BE20;
  font-size: 1.05rem;
  margin: 34px 0 18px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
}

.master-content ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 10px 0;
}

.master-content li {
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  line-height: 1.4;
  color: #082741;
}

.master-content li .icon {
  font-size: 1.28em;
  min-width: 32px;
  color: #F7BE20;
}

.master-howitworks,
.master-specializations,
.master-expect {
  margin-bottom: 32px;
}

.master-action {
  text-align: center;
  margin: 32px 0 16px 0;
}

.master-btn {
  display: inline-block;
  padding: 11px 34px;
  border: 2px solid #082741;
  border-radius: 28px;
  background: #fff;
  color: #082741;
  font-family: 'Montserrat', 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  margin-bottom: 16px;
}

.master-btn:hover {
  background: #0a2941;
  color: #F7BE20;
  border-color: white;
}

.master-note {
  font-size: 0.98rem;
  color: #444;
  margin-top: 6px;
}

@media (max-width: 650px) {
  .master-content {
    padding: 22px 4vw 0 4vw;
  }
  .master-hero h2 {
    font-size: 1.18rem;
  }
  .master-headlines .study-label {
    font-size: 1.1rem;
  }
}

/* Bachelor */
.bachelor-hero {
  background: #082741;
  color: #fff;
  padding: 42px 0 30px 0;
  text-align: center;
}

.bachelor-hero h2 {
  letter-spacing: 0.15em;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 0.6em;
}

.red-underline {
  width: 60px;
  height: 4px;
  background: #F7BE20;
  border-radius: 4px;
  margin: 0 auto 22px auto;
}

.bachelor-headlines .study-label {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.bachelor-claim {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.bachelor-headlines p {
  font-size: 1rem;
  margin: 6px 0;
}

.bachelor-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 38px 18px 0 18px;
}

.bachelor-section-title {
  font-weight: bold;
  color: #F7BE20;
  font-size: 1.05rem;
  margin: 34px 0 18px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
}

.bachelor-content ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 10px 0;
}

.bachelor-content li {
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  line-height: 1.4;
  color: #082741;
}

.bachelor-content li .icon {
  font-size: 1.28em;
  min-width: 32px;
  color: #F7BE20;
}

.bachelor-howitworks,
.bachelor-specializations,
.bachelor-expect {
  margin-bottom: 32px;
}

.bachelor-action {
  text-align: center;
  margin: 32px 0 16px 0;
}

.bachelor-btn {
  display: inline-block;
  padding: 11px 34px;
  border: 2px solid #082741;
  border-radius: 28px;
  background: #fff;
  color: #082741;
  font-family: 'Montserrat', 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  margin-bottom: 16px;
}

.bachelor-btn:hover {
  background: #0a2941;
  color: #F7BE20;
  border-color: white;
}

.bachelor-note {
  font-size: 0.98rem;
  color: #444;
  margin-top: 6px;
}

@media (max-width: 650px) {
  .bachelor-content {
    padding: 22px 4vw 0 4vw;
  }
  .bachelor-hero h2 {
    font-size: 1.18rem;
  }
  .bachelor-headlines .study-label {
    font-size: 1.1rem;
  }
}

main {
  padding-top: 10px; /* adjust based on your header height */
  padding-bottom: 60px;
  min-height: calc(100vh - 200px); /* leave room for footer */
  display: flex;
  justify-content: center;
}
/* Desktop screens: adjust padding top to fit larger headers */
@media (min-width: 768px) {
  main {
    padding-top: 12px; /* e.g., for larger desktop header */
  }
}

/* CONTENT CONTAINER */
.content-container {
  width: 100%;
  max-width: 1000px;
  padding: 24px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .content-container {
    padding: 16px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .content-container {
    padding: 12px;
    border-radius: 8px;
  }
}


.stories-slider-section {
  padding: 40px 20px;
  background: #f9f9f9;
  text-align: center;
}

.slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.slider-arrow {
  background: none;
  border: none;
  font-size: 2rem;
  color: #0a2f56;
  cursor: pointer;
}

.slider-content {
  max-width: 700px;
  min-height: 200px;
  background: white;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
}

.story-title {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #082741;
}

.story-paragraph {
  margin-bottom: 10px;
  color: #333;
  font-size: 1rem;
  line-height: 1.7;
}


.story-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.story-name {
  font-weight: 400;
  font-style: italic;
  font-size: 1rem;
  color: #555;
}

.story-author {
  font-style: italic;
  margin-bottom: 8px;
  color: #555;
}

.story-paragraph {
  margin-bottom: 18px;
  line-height: 1.6;
}

/* Newsletter background container */
.newsletter-container {
  background-color: #08294D; /* Deep blue */
  padding: 24px;
  border-radius: 20px;
  max-width: 360px;
}

/* Form layout */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Input field */
.newsletter-form input[type="email"] {
  padding: 14px 18px;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

/* Subscribe button */
.newsletter-form button {
  background-color: #082741;        /* Match footer background */
  color: #ffffff;                   /* White text */
  border: 2px solid #ffffff;       /* White border */
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Hover effect: yellow border and text */
.newsletter-form button:hover {
  color: #ffc107;                  /* Yellow text */
  border-color: #ffc107;          /* Yellow border */
}
.checkbox-label {
  display: block;
  font-size: 12px;
  color: white;
  line-height: 1.4;
  margin: 0;
  padding: 0;
}

/* Checkbox slightly bigger and aligned with first line */
.checkbox-label input[type="checkbox"] {
  vertical-align: middle;
  margin-right: 8px;
  transform: scale(1.2);
  accent-color: white;
}

/* Link is inline, never breaks in middle */
.checkbox-label a {
  color: #ffc107;
  text-decoration: underline;
  white-space: nowrap;  /* keep 'privacy policy' together */
  display: inline;
}

.checkbox-label a:hover {
  color: #fffacd;
}

.newsletter-container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Remove default browser margin on the heading */
.newsletter-container h3 {
  margin-top: 0 !important;
  margin-bottom: 1px; /* adjust as needed */
  padding-top: 0 !important;
}

/* Remove any default margin from form */
.newsletter-form {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* More Footer */
.footer-row,
.footer-content,
.footer-columns,
.footer-col,
.newsletter-container {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}


footer {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Main discussion form background */
.custom-discussion-form {
  background: #082741;
  padding: 32px 20px;
  border-radius: 20px;
  max-width: 540px;
  margin: 32px auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #fff;
  font-family: inherit;
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
}

/* Headings */
.custom-discussion-form h2 {
  margin-top: 0;
  margin-bottom: 0.2em;
  font-size: 2em;
  color: #fff;
  font-weight: 700;
}

.custom-discussion-form p {
  margin-top: 0;
  color: #fff;
  font-size: 1em;
}

/* Each field label block */
.custom-discussion-form label {
  display: block;
  font-size: 1em;
  color: #fff;
  margin-bottom: 6px;
  margin-top: 4px;
  font-weight: 500;
}

/* Input, textarea, select fields */
.custom-discussion-form input[type="text"],
.custom-discussion-form input[type="email"],
.custom-discussion-form input[type="number"],
.custom-discussion-form textarea {
  width: 100%;
  padding: 10px 14px;
  margin-top: 4px;
  border-radius: 999px;
  border: none;
  outline: none;
  background: #fff;
  color: #042433;
  font-size: 15px;
  margin-bottom: 6px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.custom-discussion-form textarea {
  border-radius: 12px;
  min-height: 60px;
}

/* For radio and checkbox fields, make options inline and spaced */
.custom-discussion-form input[type="radio"],
.custom-discussion-form input[type="checkbox"] {
  margin-right: 7px;
  accent-color: #082741;
  transform: scale(1.15);
}

.custom-discussion-form input[type="radio"] + span,
.custom-discussion-form input[type="checkbox"] + span {
  margin-right: 18px;
}

/* Field group spacing */
.custom-discussion-form label:not(:last-child) {
  margin-bottom: 8px;
}

/* Buttons */
.custom-discussion-form button[type="submit"] {
  background-color: #082741;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 999px;
  padding: 13px 0;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.2s;
}

.custom-discussion-form button[type="submit"]:hover {
  color: #ffc107;
  border-color: #ffc107;
  background-color: #082741;
}

/* Make privacy/terms links stand out and not break */
.custom-discussion-form a {
  color: #ffc107;
  text-decoration: underline;
  white-space: nowrap;
}

.custom-discussion-form a:hover {
  color: white;
}

/* Responsive for mobile */
@media (max-width: 600px) {
  .custom-discussion-form {
    padding: 18px 4vw;
    max-width: 99vw;
  }
  .custom-discussion-form h2 {
    font-size: 1.4em;
  }
}

/* ...existing code... */

/* Ensure full width on mobile for main containers */
@media (max-width: 768px) {
  .content-container,
  .hero-video-container,
  .testimonial-slider,
  .slider-content {
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box;
    overflow-x: hidden;
  }
}

/* ...existing code... */

@media (max-width: 768px) {
  .hero-video-container {
    width: 100vw !important;
    max-width: 100vw !important;
    padding-top: 70% !important; /* 16:9 ratio for mobile */
    margin: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
}
@media (max-width: 768px) {
  .content-container,
  .hero-video-container,
  .testimonial-slider,
  .slider-content,
  #process,
  .process-steps {
    width: 100vw !important;
    max-width: 100vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .testimonial {
    max-width: 100vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-radius: 0 !important;
  }
}

@media (max-width: 768px) {
  html, body, #layout-placeholder, main, .content-container {
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    border-radius: 0 !important;
  }
  .hero-video-container,
  .testimonial-slider,
  .slider-content,
  #process,
  .process-steps {
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
}

@media (max-width: 768px) {
  main {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: none !important;
  }
  .content-container {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: none !important;
  }
  .hero-video-container {
    width: 100vw !important;
    max-width: 100vw !important;
    padding-top: 70% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: none !important;
    display: block !important;
  }
}
@media (max-width: 768px) {
  .hero-video-container {
    display: block !important;
    position: relative !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: 4/5 !important; /* Ensures proper height */
    border-radius: 0 !important;
    overflow: hidden !important;
    background: #000 !important; /* fallback for video */
  }
  .background-video {
    position: absolute !important;
    top: 0; left: 0; width: 100% !important; height: 100% !important;
    object-fit: cover !important;
    z-index: 0 !important;
    display: block !important;
  }
  .hero-overlay {
    position: absolute !important;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2 !important;
    width: 90vw !important;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .content-container {
    padding: 0 !important;
    background: none !important;
  }
  .hero-video-container {
    margin-left: -8px !important;
    margin-right: -8px !important;
    width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    border-radius: 0 !important;
    background: #000 !important;
  }
}
@media (max-width: 768px) {
  html, body, main, .content-container, .hero-video-container {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    background: none !important;
  }
  .hero-video-container {
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    border-radius: 0 !important;
    background: #000 !important;
    overflow: hidden !important;
    aspect-ratio: 4/5 !important;
    display: block !important;
  }
  .background-video {
    position: absolute !important;
    top: 0; left: 0; width: 100% !important; height: 100% !important;
    object-fit: cover !important;
    z-index: 0 !important;
    display: block !important;
  }
}

@media (max-width: 768px) {
  .hero-video-container {
    margin-top: 215px !important; /* Adjust this value as needed */
  }
}
@media (max-width: 768px) {
  .hero-overlay h1 {
    font-size: 1.75rem !important;
    line-height: 1.15 !important;
    margin-bottom: 0.7rem !important;
  }
  .hero-overlay .cta-btn {
    font-size: 1rem !important;
    padding: 8px 18px !important;
    border-width: 2px !important;
  }
}

@media (max-width: 768px) {
  .testimonial-slider h2 {
    font-size: 1.75rem !important;
    line-height: 1.1 !important;
    word-break: break-word !important;
  }
}

@media (max-width: 900px) {
  #process {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
  }
  .testimonial-slider {
    margin-top: 0px !important;
    padding-top: 0px !important;
  }
  .content-container {
    padding-bottom: 0 !important;
  }
}
#process {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.testimonial-slider {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
@media (max-width: 768px) {
  #process {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
  }
  .testimonial-slider {
    margin-top: 0px !important;
    padding-top: 0px !important;
  }
}
@media (max-width: 600px) {
  #process {
    margin-bottom: 0px !important;
    padding-bottom: 0 !important;
  }
  .testimonial-slider {
    margin-top: 0px !important;
    padding-top: 0 !important;
  }
}

.testimonial-slider {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.slider-content {
  width: 100% !important;
  max-width: 800px !important;
  margin: 0 auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 2rem !important;
}

.testimonial {
  width: 100% !important;
  max-width: 600px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.team-more {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  text-align: center !important;
}

.team-more-content {
  color: #002B49 !important; /* Matches the Rowen Education blue */
  max-width: 800px !important;
  margin: 0 auto !important;
  padding: 1rem !important;
  text-align: center !important;
  font-size: 1.2rem !important;
}

.sph-logo {
  max-width: 200px !important;
  margin-top: 1rem !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 768px) {
  .content-container {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding-top: 180px !important; /* Add padding for header + language section */
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
  }

  /* Remove the margin-top from hero container since parent has padding */
  .hero-video-container {
    margin-top: 0 !important;
  }
}


/* Target most containers and make them transparent */
.content-container,
.hero-video-container,
#process,
.process-steps,
.step-box,
.testimonial-slider,
.slider-content,
.testimonial,
.team-more,
main,
div[id*="container"],
div[class*="container"],
.process-heading {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Restore blue backgrounds for main content sections like titles and team sections */
section.team-section,
section.about-section, 
section.our-team,
.team-more-content:not(.transparent-content),
.main-content-section {
  background-color: #08294D !important; /* Deep blue color */
  padding: 30px !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.09) !important;
  margin: 20px auto !important;
  max-width: 1200px !important;
  color: white !important;
}

/* Transparent sections - explicitly make these transparent */
.transparent-section,
.transparent-content {
  background-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

