/* ===========================
   GLOBAL RESET & TYPOGRAPHY
   =========================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
    font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  color: #777;
  line-height: 1.6;
  font-weight: 400;
}
a {
  color: #009fe3;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1, h2, h3, h4, h5 {
  color: #444;
  margin-bottom: .5em;
  font-weight: 300;
}

 h2 {
 font-size: 2rem;
 margin-bottom: .5em;
 font-weight: 700;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-block;
  background: #5bc0de;
  color: #fff;
  padding: .75em 1.5em;
  border-radius: 4px;
  font-weight: bold;
  text-align: center;
  transition: background .3s;
}
.btn:hover {
  background: #31b0d5;
}

/* ===========================
   HEADER
   =========================== */
#masthead {
 
  top: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  box-shadow: 0px 6px 4px rgba(0, 0, 0, 0.1)
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1em 1em;      /* extra breathing room */
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: auto;
}
#logo {
  margin-top: 0;
}
#logo a {
  display: inline-block;
  height: 70px;
  vertical-align: middle;
}
/* Main nav */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2em;
}
.main-nav ul li {
  position: relative;
}
.main-nav ul li a {
  font-size: .9rem;
  font-weight: 300;
  text-transform: uppercase;
  color: #666;
  padding: .5em 0;
  display: inline-block;
}
.main-nav ul li a:hover {
  color: #009fe3;
}
/* Sub-menu */
.main-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  list-style: none;
  z-index: 10
}
.main-nav ul li:hover > .sub-menu {
  display: block;
}
.main-nav .sub-menu li a {
  white-space: nowrap;
  padding: .5em 1em;
  display: block;
}
/* Contact block */
.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: .9rem;
}
.header-contact .phone,
.header-contact .email {
  color: #005a8c;
  font-weight: bold;
  text-decoration: none;
  margin-bottom: .25em;
}
.header-contact .phone:hover,
.header-contact .email:hover {
  color: #009fe3;
}
/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
 
  top: 1rem;
  right: 1rem;
  z-index: 2100;
}
.mobile-toggle .bar {
  width: 100%;
  height: 4px;
  background: #005a8c;
  transition: all .3s ease;
}
.mobile-toggle .bar + .bar {
  margin-top: 5px;
}

/* ===========================
   CONTAINER & BREADCRUMB
   =========================== */
#outer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1em;
}
section {
  padding: 2em 0;
}
#breadcrumb {
  font-size: .9rem;
  margin: 1em 0;
  color: #666;
}
#breadcrumb a {
  color: #005a8c;
}

/* ===========================
   HERO BANNER (FULL-WIDTH)
   =========================== */
#heroOuterContainer.dark {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-bottom: 2em;
  background: url("/images/cps-hero.webp") center center/cover no-repeat;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#heroOuterContainer.dark .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
}
#heroOuterContainer.dark .hero-content {
  position: relative;
  max-width: 800px;
  text-align: center;
  color: #fff;
  padding: 0 1em;
}
#heroOuterContainer.dark .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: .5em;
    color: #fff;
    font-weight: 700;
    text-transform: capitalize;
    line-height: 40px;
}
#heroOuterContainer.dark .hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1em;
}

/* ===========================
   WELCOME / INTRO
   =========================== */
#welcome {
  text-align: center;
}
#welcome h2 {
  font-size: 2rem;
  margin-bottom: .5em;
      font-weight: 700;
}
#welcome p {
  max-width: 800px;
  margin: 0 auto 1em;
  font-size: 1rem;
  color: #555;
}

/* ===========================
   SERVICES GRID
   =========================== */
#services {
  text-align: center;
}
#services h2 {
  margin-bottom: 1em;
}
#services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
  margin-top: 2em;
}
.service-item {
  flex: 1 1 240px;
  max-width: 260px;
  background: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: left;
}
.service-item img {
  width: 100%;
  display: block;
}
.service-item .info {
  padding: 1em;
}
.service-item .info h3 {
  margin-bottom: .5em;
  font-size: 1.1rem;
  color: #005a8c;
}
.service-item .info p {
  font-size: .9rem;
  margin-bottom: 1em;
  color: #555;
}

/* ===========================
   TESTIMONIALS
   =========================== */
#testimonials {
  background: #fafafa;
  text-align: center;
  padding: 4em 1em 2em;
}

 .testimonial-slider {
-  margin: 0 1em;
+  margin: 0;
   display: flex;
   gap: 1.5em;
   overflow-x: auto;
   scroll-snap-type: x mandatory;
   scroll-behavior: smooth;
   -ms-overflow-style: none;
   scrollbar-width: none;
 }

.testimonial {
  flex: 0 0 450px;
  background: #fff;
  padding: 2em 1.5em 1.5em;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  scroll-snap-align: start;
  position: relative;
  color: #777;
}
.testimonial .icon {
  width: 60px;
  height: 60px;
  background: #4fb0cf;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1em;
  color: #fff;
}
.testimonial .icon i {
  color: #fff;
  font-size: 1.5rem;
}
.testimonial p {
  font-style: italic;
  margin-bottom: 1em;
  line-height: 1.4;
}
.testimonial .author {
  font-weight: bold;
  text-align: right;
  font-size: .9rem;
  color: #555;
}

/* container around slider + nav buttons */
.testimonial-container {
  position: relative;
  overflow: hidden;
  margin: 2em 1em;
}

/* slider track */
.testimonial-slider {
  display: flex;
  gap: 1.5em;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1em;
  scroll-behavior: smooth;
}

/* nav arrows */
.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 2.5em;
  height: 2.5em;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}
.testimonial-prev { left: 0.5em; }
.testimonial-next { right: 0.5em; }
.testimonial-nav i {
  color: #005a8c;
  font-size: 1rem;
}

/* ensure testimonials still snap */
.testimonial {
  scroll-snap-align: start;
}

.testimonial-slider {
  /* existing styles… */
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}
.testimonial-slider::-webkit-scrollbar {
  display: none;             /* Chrome, Safari, Opera */
}

/* ===========================
   SECTION DECORATOR (CPS ELEMENT)
   =========================== */
.section-decorator {
    text-align: center;
    margin: auto;
    width: fit-content;
}
.section-decorator img {
  width: 48px;
  height: auto;
}

/* ===========================
   FAQ ACCORDION
   =========================== */
#faq {
  background: #fff;
  padding-bottom: 4em;
}
#faq h2 {
  text-align: center;
  margin-bottom: 1em;
  
}
.faq-item {
  max-width: 800px;
  margin: 0 auto 1em;
  border-bottom: 1px solid #e0e0e0;
}
.faq-question {
  cursor: pointer;
  padding: 1em;
  font-weight: 400;
  position: relative;
  color: #666;
}
.faq-question:after {
  content: "\25BE";              /* ? */
  position: absolute;
  right: 1em;
  font-size: 1.2rem;
  color: #009fe3;
  transition: transform .3s ease;
  transform-origin: center center;
}
.faq-item.open .faq-question:after {
  transform: rotate(180deg);     /* flips to ? */
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 1em;
  color: #777;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 1em;
}

/* ===========================
   CONTACT & MAP
   =========================== */
#contact-us {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  background: #fff;
  align-items: flex-start;
}
#contact-us h2 {
  width: 100%;
  text-align: center;
 

}
#contact-us .contact-form,
#contact-us .contact-map {
  flex: 1 1 300px;
}
#contact-us form input,
#contact-us form textarea {
  width: 100%;
  padding: .75em;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: .95rem;
}#contact-us .contact-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
}
#contact-us .contact-form-col,
#contact-us .contact-map-col {
  flex: 1 1 300px;
}
#contact-us .strapline {
  text-align: center;
  color: #777;
  margin-bottom: 1.5em;
}
#contact-us .hours {
  display: block;
  color: #555;
  font-size: .9rem;
}
#contact-us .social-icons {
  margin: 1em 0;
  text-align: center;
  list-style: none;
  padding: 0;
}
#contact-us .social-icons li {
  display: inline-block;
  margin: 0 .5em;
}
#contact-us .social-icons a {
  color: #005a8c;
  font-size: 1.5rem;
}
#contact-us .contact-details {
  text-align: center;
  color: #555;
  font-size: .9rem;
  line-height: 1.4;
}
#contact-us .map-wrapper {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ========== Contact “strapline” & hours styling ========== */
#contact-us .strapline {
  font-size: 1.125rem;       /* slightly larger for emphasis */
  text-align: center;
  color: #444;               /* darker grey for the intro line */
  margin-bottom: 0.5em;
  font-weight: 300;
  line-height: 1.4;
  width: -webkit-fill-available;
}
#contact-us .strapline .hours {
  display: inline-block;
  margin-top: 0.5em;
  font-size: 0.9rem;         /* smaller for the hours */
  line-height: 1.4;
  color: #777;               /* light grey for the times */
}
#contact-us .strapline .hours span {
  display: inline-block;
  margin: 0.2em 0;
}
#contact-us .strapline .hours span.label {
  font-weight: bold;
  color: #555;               /* medium grey for the day names */
  margin-right: 0.25em;
}

/* --- Service Detail Section ------------------------------------- */
#service-detail {
  padding: 4em 1em;
  background: #fff;
}
#service-detail .section-decorator {
  margin-bottom: 2em;
}
.service-content-columns {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
  align-items: flex-start;
}
.service-images {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.service-images img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.service-features {
  flex: 1 1 400px;
}
.service-features .feature-btn {
  display: inline-block;
  background: #5bc0de;
  color: #fff;
  padding: .5em 1em;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 1.5em;
  transition: background .3s;
}
.service-features .feature-btn:hover {
  background: #31b0d5;
}
.service-features ul {
  list-style: disc inside;
  margin: .5em 0 1.5em 0;
  color: #555;
  line-height: 1.5;
}
.service-features p {
  margin-top: 1.5em;
  color: #333;
}
.service-features p strong {
  display: block;
  margin-bottom: .5em;
  color: #005a8c;
}

/* --- Certificate Section ---------------------------------------- */
#certificate {
  padding: 3em 1em;
  text-align: center;
  background: #fff;
}
#certificate img {
  max-width: 320px;
  width: 80%;
  height: auto;
  margin-bottom: 1em;
}
#certificate p {
  color: #555;
  font-size: 1rem;
  line-height: 1.4;
}

/* --- Footer Accreditation Text --------------------------------- */
footer p.center {
  text-align: center;
}
footer p.small {
  font-size: .9rem;
  color: #777;
  margin-bottom: 1em;
}
footer p.tiny {
  font-size: .8rem;
  color: #999;
  margin-top: .5em;
}

/* --- Responsive Adjustments ------------------------------------ */
@media (max-width: 900px) {
  .service-content-columns {
    flex-direction: column;
  }
  .service-images,
  .service-features {
    flex: 1 1 100%;
  }
}

/* About Us Intro */
#about-intro {
  padding: 4em 1em;
  background: #fff;
  text-align: center;
}
#about-intro .about-images {
  display: flex;
  justify-content: center;
  gap: 1em;
  margin-bottom: 2em;
}
#about-intro .about-images img {
  width: calc(33.333% - .666em);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
#about-intro .about-text p {
  max-width: 800px;
  margin: 1em auto;
  color: #555;
  line-height: 1.6;
}

/* Team Section */
#team {
  background: #4fb0cf;
  color: #fff;
  padding: 4em 1em;
  text-align: center;
}
#team h2 {
  margin-bottom: 2em;
  color: #fff;
  font-weight: 300;
}
.team-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
}
.team-member {
  width: 120px;
  text-align: center;
}
.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1em;
  border: 3px solid #fff;
}
.team-member h4 {
  margin-bottom: .25em;
  font-size: 1rem;
  font-weight: 500;
}
.team-member p {
  font-size: .85rem;
  line-height: 1.2;
}

/* Responsive */
@media (max-width: 768px) {
  #about-intro .about-images img {
    width: calc(50% - .5em);
  }
  .team-member {
    width: 100px;
  }
  .team-member img {
    width: 100px;
    height: 100px;
  }
}

/* ===========================
   CALL-OUT BANNER
   =========================== */
#callout {
    background: #009fe3;
    color: #fff;
    text-align: center;
    padding: 2em 1em;
    font-size: 1.1rem;
    margin: 0 0 2em 0;
    font-size: 26px;
}

/* ===========================
   FOOTER ACCREDITATIONS
   =========================== */
footer {
  padding: 2em 1em;
  
  color: #fff;
  text-align: center;
}
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
  margin: 1em 0;
}
.logos img {
  max-width: 110px;
 
}
.logos img:hover {
  opacity: 1;
}
.footerinnder a {color: #666; font-size: 13px}
.copyright {color: #666; font-size: 13px; padding: 5px}

/* ===========================
   MOBILE NAV (slide-in panel)
   =========================== */
@media (max-width: 768px) {
  /* hide desktop nav by default */
  .main-nav,
  .header-contact {
    display: none;
  }
  /* hamburger toggle */
  .mobile-toggle {
    display: flex;
  }
  /* panel closed state */
  .main-nav {
    transform: translateX(100%);
  }
  /* slide-in menu */
  .main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0; right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 12px rgba(0,0,0,0.1);
    padding-top: 5rem;
    transform: translateX(0);
    transition: transform .3s ease;
    z-index: 2000;
  }
  /* vertical links */
  .main-nav.open ul {
    flex-direction: column;
    width: 100%;
    text-align: center;
    padding: 0;
  }
  .main-nav.open ul li {
    margin: 0;
    list-style: none;
  }
  .main-nav.open ul li a {
    font-size: 1.25rem;
    color: #444;
    text-transform: uppercase;
    padding: 0;
    border-bottom: none;
    transition: color .2s, border-bottom .2s;
  }
  .main-nav.open ul li a:hover,
  .main-nav.open ul li a.active {
    color: #009fe3;
    border-bottom: 2px solid #009fe3;
  }
  /* services arrow */
  .main-nav.open ul li.services > a:after {
    content: "?";
    margin-left: .5em;
  }
  /* contact below nav */
  .header-contact.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0;
    width: 80%;
    max-width: 320px;
    padding: 4rem 1rem 1rem;
    background: #f9f9f9;
    z-index: 1999;
    text-align: center;
  }
  .header-contact.open .phone,
  .header-contact.open .email {
    margin: .5em 0;
  }
  /* animate hamburger ? X */
  .mobile-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* Prevent any horizontal overflow on mobile */
html, body {
  overflow-x: hidden;
  width: 100%;
}

/* On small screens, stop the hero “full-width” trick from overshooting */
@media (max-width: 768px) {
  #heroOuterContainer.dark {
    width: 100%;
    left: 0;
    margin-left: 0;
  }
  
  #heroOuterContainer.dark .hero-content h1 {
   
    margin-top: 1em;

}
}
