@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,700;1,400;1,500&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
  position: relative;
  line-height: 1.6;
}

@keyframes animate {
  0%,
  100% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(360deg);
  }
}

body {
  text-align: left;
  overflow-x: hidden;
}

.banner {
  position: sticky;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10000;
  background: #3475ca;
}

.logo {
  color: #ffffff;
  text-decoration: none;
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  position: relative;
}

.nav-links li {
  list-style: none;
}

.nav-links li a {
  color: #fff;
  font-weight: 400;
  display: inline-block;
  padding: 5px 10px;
  text-decoration: none;
  cursor: pointer;
}

.nav-links li a:hover {
  background: #162c3b;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: rgb(226, 226, 226);
  margin: 5px;
  transition: all 0.3s ease-in-out;
}

.nav-active {
  transform: translateX(0%) !important;
}

.contactlink {
  color: #858080;
  text-decoration: none;  
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* 
.banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  object-fit: cover;
  opacity: 0.75; 
} */

.title .content {
  background-color: #114161;
  padding: 10px;
  /* padding-top: 95px;
  
  padding-left: 15px;
  padding-right: 15px; */
  position: relative;
  /* max-width: 850px; */
  text-align: center;
  /* margin-bottom: 15px; */
}

/*https://css-tricks.com/snippets/css/typewriter-effect/*/

.title .content h2 {
  color: #ffffff;
  font-size: 60px;
  overflow: hidden;
  white-space: nowrap; /*Keep on one line*/
  border-right: 0.15em solid#114161;
  margin: 0 auto;
}

.title .content p {
  color: #ffffff;
  font-size: 18px;
  text-align: center;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes left-in {
  0% {
    transform: translateX(-200px);
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.contentBx {
  padding: 0px 0px 25px 100px;
  /* width: 60%; */
  /* height: auto; */
}

.heading {
  font-weight: 600;
  color: #ffffff;
  font-size: 30px;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.text {
  color: #ffffff;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 1px;
  text-align: left;
  margin-right: 50px; 
  margin:0 auto
}

.tagline {
  color: #ffffff;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 1px;
}

.about {
  position: relative;
  background: #162c3b;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about .imgBx {
  /* width: 40%; */
  box-sizing: content-box;
  padding: 0px 50px 0px 50px;
  align-items: center;
}

.about .imgBx img {
  max-width: 100%;
  max-height: 100%;
}

.services {
  position: relative;
  padding: 10px;
  background: #12222d;
  text-align: left;
}

.services .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 40px;
  padding: 10px;
}

.services .content h2 {
  color: #ffffff;
  font-size: 60px;
  overflow: hidden;
  white-space: nowrap; 
  border-right: 0.15em solid#114161;
  margin: 0 auto;
}
/*
.services .container .contentBx {
  background: #ffffff;
  padding: 20px 30px;
  margin: 20px;
  width: 500px;
  display: flex;
  justify-content: center;
  text-align: justify;
  align-items: center;
  border-radius: 20px;
  height: 700px;
}

.services .servicesBx {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  padding: 20px;
}

.services .imgBx {
  width: 40%;
  box-sizing: content-box;
  padding: 70px 20px 20px 150px;
  align-items: center;
}

.services .imgBx img {
  max-width: 60%;
  max-height: 60%;
}

.services .container .contentBx p {
  font-style: normal;
}

.services .container .contentBx h3 {
  width: 100%;
  text-align: end;
  font-weight: 600;
}
*/


.testimonials {
  position: relative;
  background: #162c3b;
  padding: 10px;
  text-align: left;
  /*height: 100vh;*/
}

.testimonials p {
  text-align: left;
}

.testimonials .container .contentBx {
  background: #ffffff;
  padding: 20px 30px;
  margin: 20px;
  width: 500px;
  display: flex;
  justify-content: space-between;
  text-align: justify;
  align-items: center;
  border-radius: 20px;
  height: 700px;
}

.testimonials .imgBx {
  
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
  margin-left: 10px;
  margin-right: 10px;
}

.testimonials .imgBx img {
  margin: 20px;
  cursor: pointer;
  padding-right: 10px;
}

.contact {
  position: relative;
  padding: 10px;
  background: #12222d;
  text-align: left;
  /*height: 100vh;*/
}

.contact .container .contentBx {
  background: #ffffff;
  padding: 20px 30px;
  margin: 20px;
  width: 500px;
  display: flex;
  justify-content: space-between;
  text-align: justify;
  align-items: center;
  border-radius: 20px;
  height: 700px;
}

.contact p {
  text-align: left;
}

.imgBx2 {
  background: url(assets/bg2.jpg);
  background-color: #12222d;
  background-repeat: no-repeat; /*prevent repeats and have a background color*/
  background-size: contain;
  background-position: center;
  width: 50%;
}

.redbg {
  background: url(assets/red.jpg) !important;
  background-size: cover;
  background-position: center;
}

.footer {
  background: #3475ca;
  padding: 20px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-style: oblique;
}

.footer ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer ul li {
  list-style: none;
}

.footer ul li a {
  text-decoration: solid;
  display: inline-block;
  margin: 0 10px;
}

.footer ul li a img {
  filter: invert(1);
  max-width: 30px;
}

/*For the phone*/
@media (max-width: 1100px) {
  #sitewrapper {
    overflow-x: hidden;
    max-width: 100% !important;
  }
  /*prevent overflow of x so create a new id which is separate from body*/
  .text {
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
  }
  h2 {
    font-size: 25;
  }
  .heading {
    font-size: 25px;
  }
  .banner {
    padding: 50px;
  }
  header {
    padding: 20px 20px;
    /* overflow: hidden; */
    position: absolute;
  }
  .nav-links {
    overflow: hidden;
    position: absolute;
    right: 0px;
    top: 8vh;
    background: #3475ca;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
  }
  .nav-links li {
    opacity: 0;
    animation: ease-in;
    padding: 10px;
  }
  .burger {
    display: block;
  }

  /*
    .toggle:before{
        content: "";
        position: absolute;
        top: 4px;
        width: 100px;
        height: 2px;
        background: #fff;
        z-index: 1;
        box-shadow: 0 10px 0 #fff;
        transition: 0.5s;
    }
    .toggle:after{
        content: "";
        position: absolute;
        bottom: 4px;
        width: 100px;
        height: 2px;
        background: #fff;
        z-index: 1;
        transition: 0.5s;
    }*/
  /*.banner .content h2{
        font-size: 36px;
    }
    .banner .content p{
        font-size: 16px;
    }*/
  .about {
    flex-direction: column;
    height: auto;
  }
  .about .contentBx {
    width: 100%;
    padding: 80px;
    text-align: left;
  }
  .about .imgBx {
    display: none !important;
  }
  .testimonials {
    padding: 50px;
  }
  .testimonials .imgBx {
    max-width: 100%;
  }
  .testimonials .imgBx img {
    max-width: 100%;

    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
  }
  .services {
    padding: 10px;
    height: fit-content;
  }
  .services .heading {
    text-align: left;
  }
  .services .container {
    padding: 0px;
  }
  .services .container .contentBx {
    text-align: left;
    height: auto;
    color: #fff;
    background: #12222d;
    padding: 80px;
  }

  .services .contentBx:last-child {
    margin-bottom: 0px;
    height: fit-content;
  }
  .contact {
    padding: 50px;
  }
  .footer {
    padding: 20px 50px;
    flex-direction: column-reverse;
    justify-content: center;
  }
  .footer .text {
    font-size: 12px;
  }
  .footer ul {
    margin-bottom: 20px;
  }
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

/* .toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
  opacity: 0;
}
.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
} */

/*For the tablet*/
@media (max-width: 1301px) {
  .testimonials .imgBx {
    justify-content: space-evenly;
  }
  .services {
    padding: 30px;
  }
  .services .heading {
    padding-left: 70px;
  }
  .services .container {
    justify-content: center;
  }
  .services .contentBx {
    flex-direction: column;
    margin: 20px;
    justify-content: center;
  }
}

/*https://www.youtube.com/watch?v=X8NFkUQNeek
https://www.youtube.com/watch?v=qYFkQa0Bbq0
https://www.youtube.com/watch?v=4q0gYjAVonI
https://www.youtube.com/watch?v=gXkqy0b4M5g
https://www.youtube.com/watch?v=fgOO9YUFlGI*/

.services {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.service {
  width: 250px;
  padding: 20px;
  text-align: center;
}

.icon {
  width: 120px;
  height: 120px;
  border: 2px solid #00a0b0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.icon img {
  width: 70px;
  height: 70px;
}

.service h2 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #ffffff;
}

.service p {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.5;
}
.hero-text { 
  max-width: 500px; /* block width */ 
  margin: 80px auto; /* centers block and adds spacing from top */ 
  text-align: left; /* left-aligns text */ 
  font-family: Arial, sans-serif; 
  line-height: 1.6; 
}

.hero-text .highlight { 
  font-weight: bold; f
  ont-size: 1.4em; /* makes tagline stand out */ 
  color: #2c3e50; /* deep blue for emphasis */ 
} 

.hero-text p:last-child { 
  font-style: italic; 
  color: #3498db; /* friendly accent color */ 
}

/* =========================
   CLEAN RESTART FIXES
========================= */

/* 1️⃣ Sticky header offset for anchor links (non-home sections only) */
#about,
#services,
#testimonials,
#contact {
  scroll-margin-top: 90px;
}

@media (max-width: 1100px) {
  #about,
  #services,
  #testimonials,
  #contact {
    scroll-margin-top: 110px;
  }
}

/* 2️⃣ Home should scroll to TRUE top */
#home {
  scroll-margin-top: 0;
}

/* 3️⃣ Restore original hero formatting */
.title .content {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* 4️⃣ Fix services horizontal alignment */
.services > .services {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

/* Ensure service cards stay consistent */
.service {
  width: 260px;
}

/* 5️⃣ Mobile stacking (intentional) */
@media (max-width: 768px) {
  .services > .services {
    flex-direction: column;
    align-items: center;
  }
}
