h2 {
  position: relative;
  width: 100%;
}
h2::after {
  content: "";
  background-color: var(--secondary);
  height: 3px;
  width: 20%;
  position: absolute;
  top: 120%;
}

/* -------------------------------------- HERO SECTION -------------------------------------------- */
.hero {
  position: relative;
  background: url("../images/home/hero-image.webp");
  background-size: cover;
  width: 100%;
  padding: 5%;
  height: calc(100vh - var(--info-strip-height) - var(--nav-height));
}
.hero .overlay {
  display: none;
  pointer-events: none;
}
.hero .info {
  width: 50%;
}
.hero .info h4 {
  color: var(--secondary);
  margin-bottom: 0.5rem;
}
.hero .info p {
  margin: 1rem 0 3rem;
}
.hero .info .cta a:nth-child(1) {
  margin-right: 1rem;
}
.hero .get-started {
  position: absolute;
  width: fit-content;
  padding: 1rem 1.5rem;
  background-color: var(--secondary);
  color: var(--white);
  border-radius: 35px;
  top: 85%;
  left: 50%;
  transform: translateX(-50%);
}
.hero .get-started p {
  margin-right: 1rem;
}
.hero .get-started .fa-solid {
  animation: bounce 700ms ease infinite;
}
.hero .get-started a {
  color: var(--white);
}

@keyframes bounce {
  0% {
    padding-bottom: 0.5rem;
  }
  100% {
    padding-top: 0.5rem;
  }
}

/* ------------------------------------------------ OUR APPROACH --------------------------------------------------------------- */
.approach {
  position: relative;
  width: 100%;
  padding: 5%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: 20px;
  z-index: 10;
}
.approach h2 {
  text-align: left;
  width: 100%;
  position: relative;
}
.approach h2::after,
.about .info h2::after {
  left: 0;
}
.approach .card {
  background-color: var(--white);
  padding: 5%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  color: var(--text);
  transition: background-color 300ms ease, color 300ms ease;
}
.approach .card:hover {
  background-color: var(--primary);
  color: var(--white);
}
.approach .card .heading {
  width: fit-content;
  margin-bottom: 1rem;
}
.approach .card .heading .fa-solid {
  font-size: calc(var(--p) + 0.7rem);
  margin-right: 1rem;
}
.approach .card .heading h3 {
  color: var(--secondary);
}

/* ----------------------------------------------- MEDIA QUERIES --------------------------------------------------------- */
section.about {
  width: 100%;
  position: relative;
  padding-top: 15rem;
  margin-top: -10rem;
  background-color: var(--primary);
  color: var(--white);
  margin-bottom: 5rem;
}
.about .image-container {
  width: 45%;
}
.about .info {
  width: 55%;
  padding: 5%;
}
.about .info h2 {
  position: relative;
  color: var(--white);
  text-align: left;
  width: 100%;
}
.about .info p {
  margin-bottom: 1rem;
}
.about .info p:nth-child(3) {
  margin-bottom: 3rem;
}

/* ----------------------------------------------- OUR SERVICES --------------------------------------------------------- */
.services {
  width: 100%;
  position: relative;
}
.services h2 {
  position: relative;
}
.services h2::after {
  left: 50%;
  transform: translateX(-50%);
  width: 10%;
}
.services .services-wrapper {
  background-color: var(--grey);
  padding: 5% 0;
}
.services .services-wrapper h2 {
  text-align: left;
}
.services .services-wrapper h2::after {
  display: none;
  pointer-events: none;
}
.services .services-wrapper .rescue {
  margin-bottom: 2rem;
}
.services .services-wrapper .rescue .left,
.services .services-wrapper .consult .right {
  padding: 5%;
  width: 60%;
}
.services .services-wrapper .rescue .right .image-container,
.services .services-wrapper .consult .left .image-container {
  width: 100%;
}
.services .services-wrapper .service {
  padding: 5% 0;
  border-bottom: 1px solid var(--text);
}
.services .services-wrapper .service:nth-child(2) {
  border-top: 1px solid var(--text);
}
.services .services-wrapper .service:hover {
  background-color: rgba(0, 0, 0, 0.07);
}
.services .services-wrapper .service h4 {
  color: var(--secondary);
  margin-bottom: 0.5rem;
}
.services .services-wrapper .cta-block {
  width: 100%;
  padding: 5%;
  background: var(--primary);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.services .services-wrapper .cta-block h3 {
  margin-bottom: 2rem;
  color: var(--white);
}
.services .services-wrapper .cta-block a {
  display: block;
  width: fit-content;
}

/* ----------------------------------------------- SUBSCRIBER'S FORM --------------------------------------------------------- */
.subscribe {
  position: relative;
  margin-bottom: 5rem;
  background-color: var(--primary);
  padding: 0;
}
.subscribe .info {
  width: 80%;
  padding: 0 5%;
  color: var(--white);
}
.subscribe .info h2 {
  font-size: 1.75rem;
  color: white;
  text-align: left;
  margin-bottom: 0;
}
.subscribe .info h2::after {
  display: none;
  pointer-events: none;
}
.subscribe .info p {
  margin-bottom: 2rem;
}
.subscribe .info .input {
  position: relative;
  width: 80%;
  padding: 0.5rem 0.75rem 0.5rem 1rem;
  border-radius: 7px;
  border: 2px solid var(--grey);
  background-color: var(--white);
  display: flex;
  justify-content: space-between;
}
.subscribe .info .input input {
  border: none;
  outline: none;
  width: 60%;
  background-color: transparent;
}
.subscribe .info .error {
  color: red;
  margin-top: 0.25rem;
}
::placeholder {
  font-style: italic;
  font-family: "Poppins", sans-serif;
}
.subscribe .image-container {
  width: 40%;
  height: 300px;
}
.subscribe .image-container img {
  height: 100%;
}

/* ------------------------------------------------- FAQ SECTION ------------------------------------------------- */

.faq {
  position: relative;
  width: 80%;
  padding: 0 5rem;
  margin: 4rem auto;
}
.faq .intro {
  text-align: center;
  width: 100%;
  margin: auto;
}
.faq .intro h2 {
  margin: 1rem auto 3rem;
}
.faq .intro h2::after {
  left: 50%;
  transform: translateX(-50%);
  width: 10%;
}
.faq .intro p {
  color: var(--text);
  margin: 2rem 0;
}
.faq .my-accordion {
  width: 100%;
  margin: auto;
}
.faq .my-accordion .menu {
  background-color: var(--grey);
  color: var(--text);
  cursor: pointer;
  padding: 12px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  margin: 1rem auto 0rem auto;
  border-radius: 8px;
  font-size: inherit;
  font-family: "Poppins", sans-serif;
  transition: border-radius 1.5s ease;
}
.faq .my-accordion .panel {
  border-radius: 0 0 8px 8px;
  background-color: var(--grey);
  color: var(--text);
  overflow: hidden;
  transition: height 300ms ease;
}
.faq .my-accordion .open {
  /* display: block; */
  /* height: auto; */
  height: 80px;
  transition: height 300ms ease;
}
.faq .my-accordion .close {
  /* display: none; */
  height: 0px;
}
.faq .my-accordion .active {
  border-radius: 8px 8px 0 0;
  background-color: var(--secondary);
  color: var(--white);
  transition: border-radius 300ms ease;
}
.faq .my-accordion .arrow {
  float: right;
  display: block;
}
.faq .my-accordion .darrow {
  display: none;
}
.faq .my-accordion .active .darrow {
  display: block;
}
.faq .my-accordion .active .rarrow {
  display: none;
}
.faq a {
  display: block;
  width: fit-content;
  margin: 2rem 0;
}

/* ----------------------------------------------- CONTACT US --------------------------------------------------------- */
.contact-section {
  width: 100%;
  position: relative;
  margin: 5rem 0;
}
.contact-section .form-section {
  width: 100%;
  background: url("../images/home/contact-image.webp") no-repeat center center /
    cover;
  padding: 5% 0;
}
.contact-section .form-section .title h2 {
  color: var(--white);
}
.contact-section .form-section .title h2::after {
  left: 50%;
  transform: translateX(-50%);
  width: 10%;
}
.contact-section .form-section .title p {
  text-align: center;
  width: 40%;
  margin: 1rem auto;
  color: var(--white);
}
.contact-section .form-section .form {
  width: 70%;
  margin: 0 auto;
}
.contact-section .form-section .form .input {
  width: 100%;
  margin-bottom: 1rem;
  position: relative;
  background-color: var(--white);
  padding: 1rem 0.75rem;
  border-radius: 10px;
}
.contact-section .form-section .form .input input,
.contact-section .form-section .form .input textarea {
  border: none;
  outline: none;
  width: 80%;
}
.contact-section .form-section .form .input .error {
  color: red;
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
}
.contact-section .form-section .form .contact-email {
  column-gap: 1rem;
}
.contact-section .form-section .form .submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
}
.contact-section .contact-details .details {
  width: 30%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;

}
.contact-section .contact-details .details .contacts {
  width: 100%;
  padding: 15% 5% 5% 15%;
  color: var(--white);
  background-color: var(--primary);
  align-self: center;
 
}
.contact-section .contact-details .details .contacts div {
  margin-bottom: 2rem;
  align-items: flex-start;
  justify-content: flex-start;
}
.contact-section .contact-details .details .contacts .fa-solid {
  color: var(--secondary);
  margin-right: 1rem;
  font-size: calc(var(--p) + 0.5rem);
}
.contact-section .contact-details .details .operating-hours{
  padding: 2rem 0;
  background-color: var(--secondary);
  color: var(--white);
  width: 100%;
  text-align: center;
}
.contact-section .contact-details .map{
  width: 70%;
  display: flex;
  overflow: hidden;
}
.contact-section .contact-details .map iframe{
  width: 100%;
  height: 470px !important;
}

/* ----------------------------------------------- MEDIA QUERIES --------------------------------------------------------- */

@media screen and (max-width: 1024px) {
  .hero .info {
    width: 70%;
  }
  .hero .info p {
    width: 75%;
  }
  .approach {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  .about .image-container {
    width: 50%;
  }
  .faq .my-accordion .open {
    height: 105px;
  }
  .contact-section .contact-details .map iframe{
    width: 100%;
    height: 445px !important;
  }
}

@media screen and (max-width: 768px) {
  .hero {
    padding: 3% 5%;
  }
  .hero .get-started {
    top: 93%;
    padding: 0.5rem 1rem;
  }
  section.about {
    flex-direction: column-reverse;
    padding-top: 10rem;
    padding-bottom: 0;
  }
  .about .image-container {
    width: 100%;
  }
  .about .info {
    width: 100%;
  }
  .services .services-wrapper .rescue {
    flex-direction: column;
  }
  .services .services-wrapper .consult {
    flex-direction: column-reverse;
  }
  .services .services-wrapper .rescue .left,
  .services .services-wrapper .consult .right {
    padding: 5%;
    width: 100%;
  }
  .services .services-wrapper .rescue .right,
  .services .services-wrapper .consult .left {
    width: 90%;
  }
  .subscribe .info .input {
    width: 100%;
  }
  .faq {
    padding: 3rem;
    width: 100%;
  }
  .faq .my-accordion .open {
    height: 75px;
  }
  .contact-section .contact-details .map iframe{
    width: 100%;
    height: 390px !important;
  }
}

@media screen and (max-width: 550px) {
  .approach h2::after,
  .about .info h2::after {
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
  }
  .hero {
    padding: 3% 5%;
  }
  .hero .info,
  .hero .info h1 {
    text-align: center;
  }
  .hero .info,
  .hero .info p {
    width: 100%;
  }
  .hero .get-started {
    top: 87%;
    padding: 0.5rem 1rem;
  }
  .approach h2 {
    text-align: center;
  }
  .approach .card .heading {
    width: 100%;
  }
  .approach .card .heading .fa-solid {
    margin-bottom: 1rem;
    font-size: calc(var(--p) + 1rem);
  }
  .about .info h2 {
    text-align: center;
  }
  .about .info p:nth-child(3) {
    margin-bottom: 1rem;
  }
  .about .info a {
    display: block;
    width: 100%;
    text-align: center;
  }
  .services h2::after {
    width: 30%;
  }
  .services .services-wrapper h2 {
    text-align: center;
  }
  .subscribe .info {
    width: 100%;
    padding: 5%;
  }
  .subscribe .info h2 {
    font-size: var(--h2);
    text-align: center;
  }
  .subscribe .info .input {
    width: 100%;
  }
  .subscribe .image-container {
    width: 100%;
  }
  .subscribe .image-container img {
    object-position: top center;
  }
  .faq .intro h2::after {
    width: 20%;
  }
  .faq .my-accordion .menu {
    font-size: var(--p);
  }
  .faq .my-accordion .open {
    font-size: var(--p);
    height: 110px;
  }
  .faq .see-more {
    width: 65%;
  }
  .contact-section .form-section .form {
    width: 90%;
  }
  .contact-section .form-section .title p {
    width: 90%;
  }
  .contact-section .form-section .form .contact-email{
    padding: 0;
  }
  .contact-section .form-section .form .submit-btn {
    justify-content: center;
    width: 100%;
}
  .contact-section .contact-details{
    padding: 0;
  }
  .contact-section .contact-details .contacts p{
    width: fit-content;
    text-align: left;
  }
  .contact-section .contact-details .details {
    width: 100%;
  }
  .contact-section .contact-details .map{
    width: 100%;
  }
}

@media screen and (max-width: 425px) {
  .hero {
    height: 100svh;
    background-position: center;
  }
  .hero .overlay {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(225, 255, 255, 0.452);
  }
  .hero .info,
  .hero .info .cta {
    position: relative;
    z-index: 2;
  }
  .hero .info .cta {
    display: flex;
    flex-direction: column;
  }
  .hero .info p {
    margin-bottom: 2rem;
  }
  .hero .info .cta a {
    width: 100%;
  }
  .hero .info .cta a:nth-child(1) {
    margin-left: 0;
    margin-bottom: 1rem;
  }
  .hero .get-started {
    display: none;
    pointer-events: none;
  }
  .faq {
    padding: 5%;
  }
  .faq .intro h2::after {
    width: 40%;
  }
  .faq .my-accordion .open {
    height: auto;
  }
}
