/* =========================================
   RESET & BASE STYLES
   ========================================= */
   * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  body {
    font-family: 'Open Sans', sans-serif;
    color: #012169;
    background: #fff;
    line-height: 1.6;
  }
  .container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
  }
  a {
    text-decoration: none;
  }
  ul {
    list-style: none;
  }
  
  /* =========================================
     HEADER & NAVIGATION
     ========================================= */
  .site-header {
    background: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #ececec;
    position: relative;  /* establish a new stacking context */
    z-index: 1000;   
  }
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: #012169;
  }
  .nav-links {
    display: flex;
    gap: 1.5rem;
  }
  .nav-links a {
    color: #012169;
    font-weight: 600;
    padding-bottom: 0.25rem;
  }
  .nav-links a.active,
  .nav-links a:hover {
    border-bottom: 2px solid #b99d48;
  }
  
  /* always position the navbar relatively so the dropdown can absolutely position */
.navbar {
  position: relative;
}

/* the hamburger toggle button */
.nav-toggle {
  display: none;            /* hidden by default */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  top: 1rem;
  right: 1rem;
  z-index: 1001;
}

/* three bars */
.nav-toggle .hamburger,
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: #012169;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle .hamburger::before {
  transform: translateY(-6px);
}
.nav-toggle .hamburger::after {
  transform: translateY(4px);
}

/* show on mobile widths */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  /* hide the regular nav until toggle */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 1rem;
  }
  .nav-links.open {
    display: flex;
  }
}
/* force white text in all heroes */
.hero-content.container h1,
.hero-content.container p {
  color: #fff;
}


/* ==============================================
   GLOBAL FOOTER (all pages)
   ============================================== */
   .site-footer {
    background: #002855;
    color: #fff;
    padding: 2rem 0;
  }
  .site-footer .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  /* Logos (flag + map) */
  .site-footer .footer-logos {
    display: flex;
    gap: 1rem;
  }
  .site-footer .footer-logos img {
    width: 40px;
    height: auto;
  }
  
  .map-wrapper {
    width: 100%;
    max-width: 800px;    /* or whatever cap you prefer */
    margin: 0 auto;      /* center it */
    border-radius: 8px;  /* optional rounded corners */
    overflow: hidden;    /* clip the iframe to the rounded corners */
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  
  .map-wrapper iframe {
    display: block;      /* remove default inline spacing */
    width: 100%;
    height: 300px;       /* adjust as you like */
    border: 0;
  }
  
  /* Contact info */
  .site-footer .footer-contact {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .site-footer .footer-contact a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
  }
  .site-footer .footer-contact img {
    width: 24px;
    height: auto;
    vertical-align: middle;
  }
  
  /* Navigation links */
  .site-footer .footer-nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .site-footer .footer-nav a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
  }
  .site-footer .footer-nav a:hover {
    text-decoration: underline;
  }
  
  /* Footer note */
  .site-footer .footer-note {
    font-size: 0.9rem;
    color: #ccc;
    text-align: center;
  }
  
  /* Responsive adjustments */
  @media (max-width: 600px) {
    .site-footer .footer-inner {
      gap: 1rem;
    }
    .site-footer .footer-contact,
    .site-footer .footer-nav {
      flex-direction: column;
      gap: 0.75rem;
    }
  }
  

  /* =========================================
     GENERIC COMPONENTS
     ========================================= */
  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
  }
  .btn-primary {
    background: #b99d48;
    color: #F9F9F9;
    padding: 0.75rem 1.5rem;
  }
  .btn-primary:hover {
    opacity: 0.9;
  }
  .btn-outline {
    background: #b99d48;
    color: #F9F9F9;
    padding: 0.75rem 1.5rem;
  }
  .btn-outline:hover {
    opacity: 0.9;
  }
  
  /* Headings */
  h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: #012169;
  }
  
  /* Hero base */
  .hero-base {
    position: relative;
    background-size: cover;
    background-position: center;
  }
  .hero-base .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(89, 117, 181, 0.6);
  }
  .hero-base .hero-content {
    position: relative;
    text-align: center;
    padding: 0 1rem;
    color: #fff;
  }
  
  /* Grid util */
  .grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
  }
  
  /* =========================================
     HOME PAGE (body.home-page)
     ========================================= */
  .home-page .hero {
    background-image: url('../images/valletta-skyline.jpg');
    height: 75vh;
    display: flex;
    align-items: center;
  }
  .home-page .hero-content h1 {
    font-size: 2.5rem;
  }
  .home-page .hero-content p {
    font-size: 1.5rem;
  }

  .hero-content .flashing-text {
    color: #002855 !important;
    font-weight: bold;
    animation: flash 1.5s infinite;
  }
  
  .hero-content .flashing-text .larger-text {
    font-size: 1.5em; /* adjust size as needed */
  }
  
  @keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
  }
  

  
  /* On small screens, make it extra tall/tappable */
  @media (max-width: 600px) {
    .hero-cta-full {
      padding: 1.5rem 0;
    }
    .hero-cta-full .btn-hero-strip {
      font-size: 1rem;
      padding: 1rem 1.5rem;
    }
  }
  


/* shrink the font size a bit on narrow screens */
@media (max-width: 600px) {
  .mid-cta .container {
    padding: 1rem 0;
  }
  .mid-cta__link {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }
}

  /* Why Choose Us */
  .home-page .why-choose {
    padding: 4rem 0;
  }

  .home-page .card-icon {
    width: 50px;
    margin-bottom: 1rem;
  }

  /* Card styling (same as your Home “Why Choose Us” cards) */
.why-choose .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.why-choose .card {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 2rem 1rem;
  text-align: center;
  transition: transform 0.2s;
}
.why-choose .card:hover {
  transform: translateY(-5px);
}
.why-choose .card-icon {
  display: block;
  margin: 0 auto 0.75rem; /* center & restore your usual bottom gap */
  width: 70px;            /* or whatever bigger size you like */
  height: auto;
}
.why-choose .card h3 {
  margin-top: 0;         /* kill any default spacing */
  margin-bottom: 1rem;   /* keep your usual bottom spacing */
  text-align: center;    /* ensure it stays centered under the icon */
}
  /* Home Pathway */
 /* make this section break out full-width */
.container-full {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.home-pathway .flow {
  display: flex;
  align-items: center;       /* vertical centering */
  justify-content: space-between;
  gap: 0;                    /* no gap – arrows provide spacing */
  padding: 2rem 1rem;
}

/* inject a gold arrow between each step, vertically centered */
.home-pathway .flow .step:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: -0.75rem;           /* tuck it into the gap between cards */
  transform: translateY(-50%);
  color: #b99d48;
  font-size: 1.5rem;
}

.home-pathway .flow .step {
  flex: 1;
  text-align: center;
  position: relative;        /* establish a positioning context */
}

.home-page .home-pathway .flow .step:not(:last-child)::after {
  content: '→';
  position: absolute;
  /* align at roughly the vertical centre of a 60px icon: */
  top: calc( (60px / 2) + 0px ); /* adjust the “+ 0px” if your icon has extra margin */
  right: -1rem;                  /* tuck it into the gutter */
  transform: translateY(-50%);
  color: #b99d48;
  font-size: 1.5rem;
}


.home-pathway .flow .step img {
  width: 60px;
  margin-bottom: 1rem;
}

.home-pathway .flow .step h3 {
  font-family: 'Montserrat', sans-serif;
  color: #012169;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.home-pathway .flow .step p {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #333;
  margin: 0 auto;
  max-width: 180px;
}

/* mobile: stack cards full-width, arrows removed */
@media (max-width: 600px) {
  .home-pathway .flow {
    display: block;
    padding: 1rem;
  }
  .home-pathway .flow .step {
    width: 100%;
    max-width: none;
    margin-bottom: 2rem;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    border-radius: 8px;
  }
  .home-pathway .flow .step:not(:last-child)::after {
    content: none;
  }
}

@media (max-width: 600px) {
  /* Hide the between-icons arrows on small screens */
  .home-page .home-pathway .flow .step:not(:last-child)::after {
    display: none;
  }
}

  
  /* Home page Testimonials */
  .testimonials-slider {
    position: relative;
    display: flex;
    align-items: center;
    margin: 4rem auto;
    max-width: 1100px;
  }
  
  .slider-viewport {
    overflow: hidden;
    flex: 1;
  }
  
  .slider-track {
    display: flex;
    transition: transform 0.3s ease;
  }
  
  /* Show exactly 3 at a time */

  .testimonials-feature.container {
    margin-top: 4rem;
  }
  .testimonial {
    flex: 0 0 calc((100% - 2rem) / 3);
    margin-right: 1rem;
    background: #fff;
    padding: 2rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    text-align: center;
  }
  
  /* remove margin on the last visible item to avoid extra spacing */
  .testimonial:nth-child(3n) {
    margin-right: 0;
  }
  
  .testimonial .star-rating {
    font-size: 1.5rem;          /* adjust star size */
    line-height: 1;
    color: #b99d48;             /* your gold color */
    margin-bottom: 1rem;
    letter-spacing: 0.1rem;     /* spread them out a bit */
  }

/* optionally reduce card padding so the whole slide feels tighter */
.testimonials-slider .testimonial {
  padding: 1rem 0.75rem;
}

  /* arrows */
  .slider-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: #012169;
    cursor: pointer;
    padding: 0 1rem;
  }
  .slider-btn:disabled {
    opacity: 0.3;
    cursor: default;
  }
  
  

  /* Work Highlight */
  .work-highlight {
    background: #f9f9f9;
    padding: 4rem 0;
  }
  .work-highlight-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem;
    border-radius: 8px;
  }
  .work-highlight-inner .work-image {
    flex: 0 0 400px;
  }
  .work-highlight-inner .work-image img {
    width: 100%;
    border-radius: 8px;
  }
  .work-highlight-inner .work-text {
    flex: 1;
  }
  .work-highlight-inner .work-text h2 {
    margin-bottom: 1rem;
  }
  .work-highlight-inner .work-text p {
    line-height: 2;
    margin-bottom: 2rem;
  }
  
  @media (max-width: 768px) {
    .work-highlight-inner {
      flex-direction: column;
      padding: 1.5rem 1rem;    /* tighten the padding */
      text-align: center;      /* center the copy */
    }
    .work-highlight-inner .work-image,
    .work-highlight-inner .work-text {
      flex: none;
      width: 100%;             /* full width each */
      max-width: none;         /* remove the 400px cap */
    }
    .work-highlight-inner .work-image {
      margin-bottom: 1.5rem;   /* breathing room below the image */
    }
    .work-highlight-inner .work-text p {
      margin-bottom: 1.5rem;   /* tighten the bottom margin */
    }
  }
  
  /* Bottom CTA */
.bottom-cta {
    background: #b99d48;
    color: #F9F9F9;
    text-align: center;
    padding: 3rem 0;
  }
.bottom-cta h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }
   .bottom-cta .btn-large {
    background: #012169;
    color: #fff;
  }
  
  /* =========================================
     COURSES PAGE (body.courses-page)
     ========================================= */
  .courses-page .hero {
    background-image: url('../images/courses-hero.jpg');
    height: 75vh;
    display: flex;
    align-items: center;
  }


  .courses-page .hero h1{
    font-size: 2.5rem;
  }

  .courses-page .hero p{
    font-size: 1.5rem;
  }
/* Courses Intro – base two‑column */
.courses-page .courses-intro {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  margin: 4rem auto;          
  max-width: 1100px;          
  padding: 0 2rem;            
}

/* Left: image column */
.courses-page .course-image {
  flex: 0 0 300px;            /* fixed up to 300px wide */
}
.courses-page .course-image img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

/* Right: details column */
.courses-page .course-details {
  flex: 1;                    /* fill remaining space */
  padding: 1rem;
}
.courses-page .course-details h2 {
  margin-bottom: 1rem;
}
.courses-page .course-details ul {
  list-style: disc inside;
  margin-bottom: 1.5rem;
}
.courses-page .course-details a.btn-primary {
  display: inline-block;
  margin-top: 1rem;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
  .courses-page .courses-intro {
    flex-direction: column;
    padding: 0 1rem;          /* reduce side padding on small screens */
  }
  .courses-page .course-image,
  .courses-page .course-details {
    flex: none;
    width: 100%;
    max-width: none;
  }
  .courses-page .course-image {
    margin-bottom: 2rem;      /* space between image and details */
  }
}

  .courses-page .highlight {
    background: #f1f5f9;
    padding: 2rem;
    border-left: 4px solid #b99d48;
    margin-bottom: 4rem;
  }

  .courses-page .diploma-content {
    max-width: 800px;         /* cap the width */
    margin: 0 auto;           /* center it */
    text-align: center;         /* keep list items aligned */
    padding: 0 1rem;          /* small side padding on mobile */
  }

  .courses-page .diploma-content h2 {
    text-align: center;       /* center the heading */
    margin-bottom: 1.5rem;
  }

  .courses-page .diploma-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  
  .courses-page .diploma ul {
    display: inline-block;
    text-align: left;
    max-width: 800px;
    margin: 0 auto 1.5rem;
  }
  .courses-page .diploma li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
  }
  .courses-page .diploma li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #b99d48;
  }
  .courses-page .modules-list {
    list-style: circle inside;
    margin-bottom: 1rem;
  }

  .diploma-summary {
    background: #fff8e8;
    border-left: 4px solid #b99d48;
    padding: 1.5rem;
    margin: 2rem auto;        /* vertical spacing + auto side margins */
    max-width: 1100px;        /* match your .container max-width */
    box-sizing: border-box;
  }
  .diploma-summary {
    background: #fff8e8;
    border-left: 4px solid #b99d48;
    padding: 1.5rem;
    margin: 2rem auto;        /* vertical spacing + auto side margins */
    max-width: 1100px;        /* match your .container max-width */
    box-sizing: border-box;
  }
  
  /* ----------------------------------------
   Courses Page — Pathway Steps
   ---------------------------------------- */
  /* ======================================
   Courses Page — Module Breakdown Grid
   ====================================== */
.courses-page .modules {
 
  text-align: center;
}
.courses-page .modules h2 {
  font-family: 'Montserrat', sans-serif;
  color: #012169;
  margin-bottom: 2rem;
  font-size: 2rem;
}
.courses-page .modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-content: center;  /* center the whole grid within its container */
  justify-items: start;     /* align each card’s contents at the top/left of its own cell */
  max-width: 1100px;
  margin: 0 auto;           /* center the grid block itself */
}

.courses-page .module {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  text-align: left;
}
.courses-page .module h3 {
  font-family: 'Montserrat', sans-serif;
  color: #012169;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.courses-page .module p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.courses-page .module ul {
  list-style: disc inside;
  color: #012169;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

/* Mobile: single column stacking */
@media (max-width: 768px) {
  .courses-page .modules-grid {
    grid-template-columns: 1fr;
  }
}

  
  /* =========================================
     HOW IT WORKS PAGE (body.how-page)
     ========================================= */

     /* Onboarding Webinar Promo */
.onboarding-webinar {
  background: #f1f5f9;
  border-left: 4px solid #b99d48;
  padding: 3rem 1rem;
  margin: 2rem auto 4rem;
  text-align: center;
}

.onboarding-webinar h2 {
  font-family: 'Montserrat', sans-serif;
  color: #012169;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.onboarding-webinar .intro {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  color: #012169;
  line-height: 1.5;
}

.onboarding-webinar .features {
  list-style: none;
  padding: 0;
  margin: 0 auto 2rem;
  max-width: 500px;
  text-align: left;
}

.onboarding-webinar .features li {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: #012169;
}

.onboarding-webinar .webinar-btn {
  display: inline-block;
  font-size: 1.1rem;
  padding: 0.75rem 1.5rem;
  background: #b99d48;
  color: #f9f9f9;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .onboarding-webinar {
    padding: 2rem 1rem;
  }
  .onboarding-webinar h2 {
    font-size: 1.5rem;
  }
  .onboarding-webinar .intro,
  .onboarding-webinar .features {
    max-width: 100%;
  }
}

     /* How‑It‑Works Hero Adjustments */
.how-page .hero-content {
  /* add top padding to push everything down */
  padding-top: 3rem;  /* adjust this value up or down */
}

.how-page .hero-content h1 {
  /* reduce headline size so it wraps less and sits lower */
  font-size: 2.5rem;    /* desktop size; tweak to taste */
  line-height: 1.2;   /* tighten up line height */
  margin-bottom: 1rem;
}

.how-page .hero-content p {
  /* reduce subhead size slightly */
  font-size: 1.5rem;
}

  .how-page .hero {
    background-image: url('../images/how-it-works-hero.jpg');
    height: 75vh;
    display: flex;
    align-items: center;
  }
  .how-page .pathway {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 4rem auto;
    max-width: calc(5 * 180px + 4 * 1rem);
  }
  .how-page .pathway .step {
    flex: 0 0 180px;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }
  .how-page .highlight {
    background: #fff8e8;
    padding: 2rem;
    border-left: 4px solid #b99d48;
    margin-bottom: 4rem;
    text-align: center;
  }

  .how-page .tuition {
    display: flex;
    justify-content: center;  /* center the inner content horizontally */
    padding: 2rem 0;
  }

  .how-page .tuition .two-column {
    display: flex;
    gap: 2rem;
    margin: 4rem 0;
    margin-top: 1rem;
  margin-bottom: 1rem;
  }
  .how-page .tuition li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
  }
  .how-page .tuition li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: #b99d48;
  }
  .how-page .tuition .icon img {
    width: 80px;
  }
  .how-page .work-support {
    background: #f1f5f9;
    padding: 4rem 0;
  }
  .how-page__work-support-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;        /* side padding so content can breathe */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }

  .how-page .work-support-inner .work-image {
    flex: 0 0 350px;
  }
  .how-page__work-support-inner .work-image img {
    width: 100%;
    max-width: 350px;              /* same as before */
    border-radius: 8px;
  }
  .how-page .work-support-inner .work-details {
    flex: 1;
    line-height: 1.7;
  }

  .how-page__work-support-inner .work-text {
    flex: 1;                       /* text takes remaining space */
    font-style: italic;
    line-height: 1.7;
  }
  .how-page .testimonials {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;    /* horizontally centre children */
    text-align: center;     /* centre text inside */
    padding: 4rem 1rem;     
  }
  .how-page .testimonials h2 {
    margin-bottom: 2rem;
    max-width: 800px;   /* prevents super‐wide headings on large screens */
    margin-bottom: 2rem;
  }
  .how-page .testimonials blockquote {
    position: relative;       /* establish positioning context */
    padding: 1rem 1.5rem;     /* give room for the quote mark */
    background: #fff;         
    border-left: 4px solid #b99d48;
    max-width: 700px;
    width: 100%;
    margin: 1rem 0;
  }
  .how-page .testimonials blockquote::before {
    position: absolute;
    top: -0.5rem;             
    left: 0.5rem;             
    color: #b99d48;
    font-size: 3rem;
    line-height: 1;
  }

  /* Base: a horizontal, scrollable flex row */
.how-page .pathway.container {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  margin: 4rem auto;
  padding: 0 1rem;            /* give a little breathing room on the sides */
  scrollbar-width: thin;      /* Firefox */
}
.how-page .pathway.container::-webkit-scrollbar {
  height: 6px;
}
.how-page .pathway.container::-webkit-scrollbar-thumb {
  background: rgba(1,33,105,0.5);
  border-radius: 3px;
}

@media (max-width: 768px) {
  .how-page__work-support-inner {
    display: flex;
    flex-direction: column;
    align-items: center;     /* center children */
    gap: 1.5rem;             /* space between image & text */
    padding: 2rem 1rem;      /* horizontal padding */
  }

  .how-page__work-support-inner .work-image,
  .how-page__work-support-inner .work-text {
    width: 100%;             /* full width */
    max-width: 500px;        /* optional cap */
  }

  .how-page__work-support-inner .work-image img {
    display: block;
    width: 100%;     
    margin: 0 auto;              /* responsive image */
    height: auto;
    border-radius: 8px;
  }

  .how-page__work-support-inner .work-text p {
    font-size: 1rem;         /* adjust text size if needed */
    line-height: 1.6;
    text-align: center;      /* center the quote */
    margin: 0;               /* reset any default margins */
  }
}

/* Each step card */
/* 6-Box Slider */
/* 6-Box Slider */
.how-page .slider-section {
  margin: 4rem 0;
}
.how-page .slider-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1rem;              /* add equal padding on both sides */
  /* you can tweak this value if you want more or less inset */
}
.how-page .slider {
  display: flex;
  gap: 1rem;
}
.how-page .slide {
  flex: 0 0 270px;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.how-page .slide h3 {
  font-family: 'Montserrat', sans-serif;
  color: #012169;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.3;
}
.how-page .slide ul {
  list-style: disc inside;
  color: #012169;
  font-size: 0.95rem;
  line-height: 1.5;
}
.how-page .slider-wrapper::-webkit-scrollbar {
  height: 6px;
}
.how-page .slider-wrapper::-webkit-scrollbar-thumb {
  background: rgba(1,33,105,0.5);
  border-radius: 3px;
}

/* Responsive: on desktop show cards centered */
@media (min-width: 900px) {
  .how-page .slider {
    justify-content: center;
  }
}

/* Responsive: on small screens make cards nearly full-width */
@media (max-width: 600px) {
  .how-page .slide {
    flex: 0 0 90%;
  }
}

  /* only inside the homepage “What Our Students Say” cards */
.home-page .testimonials-feature .testimonial::before {
  position: absolute;
  top: -10px;
  left: 10px;
  color: #b99d48;
  font-size: 3rem;
}

.testimonials-feature  h2{
  text-align: center;
}
/* only inside the courses‐page testimonials */
.courses-page .testimonials blockquote::before {
  position: absolute;
  top: -10px;
  left: 10px;
  color: #b99d48;
  font-size: 3rem;
}

/* only inside the how‐it‐works testimonials */

  .how-page .cta-banner {
    background: #012169;
    color: #fff;
    padding: 3rem 0;
    text-align: center;
  }
  .how-page .cta-banner .btn-primary {
    background: #b99d48;
    color: #F9F9F9;
  }
  
  /* =========================================
     CONTACT PAGE (body.contact-page)
     ========================================= */
  .contact-page .hero {
    height: auto;           
    padding: 4rem 0; 
    background-color: #688ab1;
    height: 75vh;
  }


  .contact-page section.hero.hero-base .hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .contact-page section.hero.hero-base .hero-content p {
    font-size: 1.5rem;
  }

  /* Shrink it on small screens */
@media (max-width: 768px) {
  .contact-page .hero {
    padding: 2rem 0;      /* cut vertical padding in half */
  }
  .contact-page .hero-content h1 {
    font-size: 1.75rem;   /* scale down the heading */
  }
  .contact-page .hero-content p {
    font-size: 0.95rem;   /* scale down the subhead */
  }
}
  /* Contact page hero */
.contact-page .hero-base {
  position: relative;
  background-color: #475c7687;
  color: #fff;
}
.contact-page .hero-base .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(1,33,105,0.6);
}
.contact-page .hero-base .hero-content {
  position: relative;
  text-align: center;
  padding: 4rem 1rem;
}
.contact-page .hero-content h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.contact-page .hero-content p {
  font-size: 1rem;
}


/* right‐align filter on narrow screens too */
/* Wrap the filter in its own flex container */
.agent-filter {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 2rem;
  gap: 0.5rem;
}

/* Label styling */
.agent-filter label {
  font-weight: 600;
  color: #012169;
  font-size: 1rem;
}

/* Select dropdown styling */
#country-filter {
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  color: #012169;
  background:  #b99d48;
  border-radius: 2rem;
  cursor: pointer;
  transition: border-color 0.2s;
}

#country-filter:hover,
#country-filter:focus {
  border-color: #a5883f;
  outline: none;
}



 /* ──────────────────────────────────────────────
   CONTACT PAGE — AGENT CARDS
────────────────────────────────────────────── */
.agent-cards .cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 4rem auto;
  max-width: 1100px;
  padding: 0 1rem;
}

.contact-card {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: start;
  text-align: left;
}

.contact-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  color: #012169;
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;   /* icons align at the top of multi-line text */
  gap: 0.5rem;
}

.contact-item .icon {
  flex: 0 0 1.5rem;          /* reserve 1.5rem of horizontal space */
  font-size: 1.2rem;         /* match your preferred icon size */
  line-height: 1;            /* tight line height */
  text-align: center;        /* center the emoji/symbol */
}
.contact-item .text {
  flex: 1 1 auto;
  min-width: 0;              /* allow text to shrink properly */
  word-break: break-word;    /* prevent overflow */
  line-height: 1.4;
  font-size: 0.95rem;
  color: #012169;
}
.contact-item span {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.contact-item a,
.contact-item span:last-child {
  color: #012169;
  font-size: 0.95rem;
  word-break: break-word;
}

.contact-card .btn-primary {
  margin-top: auto; /* push button to card bottom */
  align-self: center;
  padding: 0.75rem 1.5rem;
}




/* Responsive tweak: shrink gap on small screens */
@media (max-width: 600px) {
  .agent-cards .cards-grid {
    gap: 1rem;
  }
  .contact-card {
    padding: 1.5rem;
  }
}



/* Office info */
.contact-page .office-info {
  text-align: center;
  padding: 4rem 0;
}
.contact-page .office-info h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
.contact-page .office-info ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 400px;
}
.contact-page .office-info li {
  margin-bottom: 0.5rem;
}
/* Map */
.contact-page .map-embed {
  display: flex;               /* make it a flex container */
  justify-content: center;     /* horizontally center its child */
  margin: 4rem 0;              /* vertical spacing */
  padding: 0 1rem;             /* optional side padding on narrow screens */
}

.contact-page .map-embed img {
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
}

.contact-page .map-embed iframe,
.contact-page .map-embed img {
  display: inline-block;      /* allow text-align to work */
  max-width: 100%;            /* never overflow its wrapper */
  width: 600px;               /* your chosen desktop width */
  height: 400px;              /* adjust as needed */
  border: 0;
  border-radius: 8px;
}

@media (max-width: 768px) {
  /* Center and pad the map section */
  .contact-page .map-embed {
    padding: 0 1rem;        /* side padding so it never touches the edges */
    margin: 2rem 0;         /* vertical spacing */
  }

  /* Ensure the image (or iframe) centers and scales */
  .contact-page .map-embed img {
    display: block;         /* enables auto margins */
    margin: 0 auto;         /* center horizontally */
    width: 100%;            /* fill the padded container */
    max-width: 100%;        /* don’t exceed its parent */
    height: auto;
  }
}

/* Center and size the map‐embed section itself */
.contact-page .map-embed.container {
  max-width: 600px;     /* cap it to the same max you want */
  margin: 4rem auto;    /* vertical spacing + auto left/right */
  padding: 0;           /* kill any extra container padding */
}

/* Make the map fill that centered box */
.contact-page .map-embed iframe {
  width: 100%;
  height: 400px;        /* or whatever height you prefer */
  border: 0;
  border-radius: 8px;
}

/* And on narrow screens, let it go full‑width */
@media (max-width: 768px) {
  .contact-page .map-embed.container {
    max-width: 100%;
    padding: 0 1rem;    /* a little breathing room */
  }
  .contact-page .map-embed iframe {
    height: auto;       /* preserve aspect ratio */
  }
}

/* Trust strip */
.contact-page .trust-strip {
  background: #f9f9f9;
  padding: 2rem 0;
}
.contact-page .trust-strip .trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.contact-page .trust-strip .trust-logos div {
  text-align: center;
}
.contact-page .trust-strip .trust-logos img {
  width: 40px;
  display: block;
  margin: 0 auto 0.5rem;
}
.contact-page .trust-strip .trust-note {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* 1) Ensure the modal is the positioning context */
.modal {
  position: relative;
  background: #fff;
  border-radius: 8px;
  width: 100%;
  max-width: 700px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  animation: popIn 0.2s ease-out;
}




/* Modal overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Backdrop stays the same */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Modal container */
.modal––attention--with-image {
  background: #fff;
  border: 6px solid #b99d48;
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  animation: popIn 0.3s ease-out;
}

/* Two-column layout */
.modal-inner {
  display: flex;
  flex-wrap: wrap;
}

/* Left image column */
.modal-illustration {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-illustration img {
  max-width: 100%;
  border-radius: 8px;
}

/* Right content column */
.modal-content {
  flex: 2 1 300px;
  padding: 1.5rem;
  text-align: center;
}

/* Headline */
.modal-content h2 {
  font-size: 2rem;
  line-height: 1.2;
  color: #012169;
  margin-bottom: 1rem;
}

/* Paragraph */
.modal-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #333;
}

/* CTA Button */
.modal-content .btn-primary {
  background: #b99d48;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  transition: background 0.2s;
}
.modal-content .btn-primary:hover {
  background: #a5883f;
}

/* 3) Style the close button */
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;           /* make sure it floats above everything else */
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #666;
  cursor: pointer;
}

/* Pop-in animation */
@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* Responsive: stack on mobile */
@media (max-width: 600px) {
  .modal-inner {
    flex-direction: column;
  }
  .modal-illustration,
  .modal-content {
    padding: 1rem;
  }
  .modal-illustration img {
    max-width: 80%;
  }
}
