@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;500;600;700&display=swap");

:root {
  --primary-color: #EA213E;
  --text-dark: #0a0a0a;
  --text-light: #fff;
  --white: #ffffff;
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.btn {
  padding: 0.75rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 5px;
  transition: 0.3s;
  cursor: pointer;
}

.btn:hover {
  background-color: #970d1f;
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

.header {
  position: relative;
  isolation: isolate;
}

nav {
  position: absolute;
  width: 100%;
  max-width: var(--max-width);
  top: 0;
  left: 50%;
  transform: translate(-50%);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 9;
}

.nav__logo a img {
  max-width: 80px;
}

.nav__logo .logo-color {
  display: none;
}

.nav__links {
  list-style: none;
  position: absolute;
  right: 1rem;
  top: 75px;
  width: 100%;
  max-width: 350px;
  padding: 2rem;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-direction: column;
  background-color: #eb1111;
  border-radius: 1rem;
  display: none;
}

.nav__links.open {
  display: flex;
}

.nav__links a {
  white-space: nowrap;
  font-weight: 500;
  color: var(--text-dark);
}

.nav__links a:hover {
  color: var(--white);
}

.nav__menu__btn {
  padding: 5px 11px;
  font-size: 1.5rem;
  color: var(--white);
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--white);
  border-radius: 5px;
}

.header__container {
  display: grid;
}

.header__image {
  position: relative;
  isolation: isolate;
  min-height: max(75vh, 500px);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom-left-radius: 8rem;
}

.header__image::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: var(--primary-color);
  z-index: 1;
  animation: scroll-right 0.5s 0.3s linear forwards;
}

.header__image.reveal {
  background-image: url("assets/rew.png");
}

.header__image.reveal::after {
  left: unset;
  right: 0;
  animation: scroll-left 0.5s linear forwards;
}

@keyframes scroll-right {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

@keyframes scroll-left {
  0% {
    width: 100%;
  }
  100% {
    width: 0;
  }
}

.header__content {
  text-align: center;
  padding: 4rem 1rem;
}

.header__content h2 {
  margin-bottom: 2.2rem;
  font-size: 3rem;
  font-weight: 300;
  line-height: 3.2rem;
  color: var(--text-dark);
}

.header__content p {
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.banner {
  margin-top: 5rem;
  display: grid;
  
}

.banner__card {
  padding: 2rem;
}

.banner__card:nth-child(1) {
  position: relative;
  isolation: isolate;
  padding-block: 5rem;
  background-color: #0e28b8;
}

.banner__card:nth-child(2) {
  background-color: #0b41b6;
}

.banner__card:nth-child(3) {
  background-color: #2711eb;
}

.banner__card:nth-child(4) {
  background-color: #0609a8;
}

.banner__card h4 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-light);
}

.banner__card p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.banner__card a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
}

.banner__content {
  position: absolute;
  bottom: 0;
  left: 0;
  height: calc(100% + 4rem);
  width: 100%;
  padding-top: 4rem;
  padding-right: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 1;
  background-color: #190eb8;
  border-top-right-radius: 100%;
}

.banner__content h2 {
  font-size: 4rem;
  font-weight: 600;
  line-height: 5rem;
  color: var(--text-light);
}

.banner__content p {
  font-weight: 500;
  color: var(--text-light);
}

.banner__content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
}

@media (width > 540px) {
  .header__image {
    min-height: max(75vh, 550px);
  }

  .banner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width > 768px) {
  nav {
    padding: 2rem 1rem;
  }

  .nav__logo .logo-color {
    display: flex;
  }

  .nav__logo .logo-white {
    display: none;
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    padding: 0.75rem 3rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 3rem;
    flex-direction: row;
    max-width: fit-content;
    border-radius: 5rem;
    background-color: var(--primary-color);
  }

  .header__container {
    display: grid;
    grid-template-columns:
      minmax(1rem, 1fr)
      minmax(0, calc(var(--max-width) * 0.4))
      minmax(0, calc(var(--max-width) * 0.6))
      minmax(1rem, 1fr);
    align-items: center;
  }

  .header__image {
    min-height: max(75vh, 650px);
    grid-area: 1/3/2/5;
  }

  .header__content {
    text-align: left;
    padding-top: 10rem;
    grid-column: 2/3;
  }

  .header__content h1 {
    font-size: 5rem;
    line-height: 4rem;
  }

  .header__content h2 {
    font-size: 5rem;
    line-height: 4rem;
  }

  .banner {
    display: grid;
    grid-template-columns:
      minmax(1rem, 1fr)
      minmax(0, calc(var(--max-width) / 4))
      minmax(0, calc(var(--max-width) / 4))
      minmax(0, calc(var(--max-width) / 4))
      minmax(0, calc(var(--max-width) / 4))
      minmax(1rem, 1fr);
      background-color: #190eb8;
  }

  .banner__card:nth-child(1) {
    grid-column: 1/3;
  }
}

@media (width > 1024px) {
  .nav__links {
    padding: 0.75rem 4rem;
    gap: 4rem;
  }
}

.hidden {
  display: none !important;  /* Completely removes the element from layout */
}
.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__header {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--header-font);
  color: var(--text-dark);
}

.menu {
  position: relative;
  isolation: isolate;
}

.menu::before {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  height: 100%;
  width: calc(50% - 450px);
  background-color: #03072c;
  z-index: -1;
}

.menu__container .section__header {
  margin-bottom: 1rem;
}

.menu__container a {
  display: inline-block;
  margin-bottom: 4rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-color);
}

.menu__container a:hover {
  color: var(--primary-color-dark);
}

.menu__grid {
  display: grid;
  gap: 2rem 1rem;
}

.menu__card {
  max-width: 300px;
  margin-inline: auto;
  box-shadow: 20px 5px 30px rgba(0, 0, 0, 0.4);
  transition: 0.3s;
}

.menu__card:hover {
  transform: translateY(-1rem);
}

.menu__card__content {
  padding: 1rem;
  background-color: var(--white);
}

.menu__card__content h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 800;
  font-family: var(--header-font);
  color: var(--text-dark);
}

.menu__card__content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
}
@media (width > 540px) {
  .menu__grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (width > 1024px) {
  .menu__grid {
    gap: 1.5rem;
  }

  .menu__card__content {
    padding: 1.5rem;
  }
}

@media (width > 768px) {
.menu__grid {
  grid-template-columns: repeat(4, 1fr);
}
}

.about__container {
  display: grid;
  gap: 2rem;
  overflow: hidden;
}

.about__image img {
  max-width: 450px;
  margin-inline: auto;
}

.about__content .section__header {
  margin-bottom: 2rem;
}

.about__content > div {
  padding-left: 2rem;
  border-left: 2px solid var(--secondary-color);
}

.about__content p {
  margin-bottom: 1rem;
  color: var(--text-dark);
  line-height: 1.75rem;
}

.about__btn {
  margin-top: 2rem;
}

@media (width > 768px) {
.about__container {
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

.about__content {
  grid-area: 1/1/2/2;
}
}

/* services */
.service__container{
background: linear-gradient(to bottom, #DCEEFF, #FFFFFF);
  margin: auto;
  padding: 5rem 1rem;
}
.service__grid {
  margin-top: 4rem;
  display: grid;
  gap: 4rem 1rem;
}

.service__card {
  padding-block: 0 1.5rem;
  padding-inline: 1.5rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-top-right-radius: 3rem;
  transition: 0.3s;
}

.service__card:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.service__card span {
  display: inline-block;
  padding: 6px 14px;
  font-size: 2rem;
  color: var(--white);
  background-color: var(--primary-color);
  transform: translateY(-50%);
  border-radius: 5px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.service__card:hover span {
  color: var(--primary-color);
  background-color: var(--white);
}

.service__card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--secondary-color);
  transition: 0.3s;
}
.service__card h5{
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--secondary-color);
  transition: 0.3s;
}

.service__card p {
  color: var(--text-dark);
  line-height: 1.75rem;
  transition: 0.3s;
}

.service__card:hover :is(h3, h5, p) {
  color: var(--white);
}

@media (width > 540px) {
.service__grid {
  grid-template-columns: repeat(2, 1fr);
}
}

@media (width > 768px) {
.service__grid {
  grid-template-columns: repeat(3, 1fr);
}
}

@media (width > 1024px) {
  .service__grid {
    gap: 4rem 1.5rem;
  }
}

.choose {
  background-color: var(--extra-light);
}

.choose__grid {
  max-width: 900px;
  margin-inline: auto;
  margin-top: 4rem;
  display: grid;
  gap: 1rem 2rem;
}

.choose__card div {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.choose__card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
}
.choose__card h5{
  font-weight: 400;
  font-style: italic;
}

.choose__progress {
  position: relative;
  isolation: isolate;
  height: 10px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 1rem;
  overflow: hidden;
}

.choose__progress::before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  height: 100%;
  background-color: var(--primary-color);
  animation: progress-fill 2s forwards;
}

@keyframes progress-fill {
  0% {
    width: 0;
  }
  100% {
    width: var(--progress);
  }
}
@media (width > 540px) {
  .choose__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width > 768px) {
.choose__grid {
  gap: 1rem 4rem;
}
}

/* Gallery Section */
.gallery__container {
  background: linear-gradient(to bottom, #E6F0FF, #F0F8FF);
  padding: 60px 20px;
  text-align: center;
}

.section__header {
  font-size: 2rem;
  font-weight: bold;
  color: #003366;
  margin-bottom: 30px;
}

/* Swiper Styling */
.gallery__swiper {
  width: 85%;
  height: 250px;  /* Adjust height based on your needs */
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}

.gallery__item img:hover {
  transform: scale(1.05);
}

.gallery__item.video video {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Swiper Navigation and Pagination */
.swiper-button-next, .swiper-button-prev {
  color: #0056b3;
}

.swiper-pagination {
  bottom: 10px;
  text-align: center;
}

@media (max-width: 768px) {
  .gallery__swiper {
    height: 300px; /* Adjust height for smaller screens */
  }
}

/* Testimonial Section */
.testimonials__container {
  background: linear-gradient(to bottom, #E6F0FF, #F0F8FF);
  padding: 60px 20px;
  text-align: center;
}

.section__header {
  font-size: 2rem;
  font-weight: bold;
  color: #003366;
  margin-bottom: 30px;
}

/* Swiper Styling */
.testimonials__swiper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 40px;
}

/* Client Card */
.client__card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease-in-out;
}

.client__card:hover {
  transform: scale(1.05);
}

/* Client Details */
.client__details {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.client__details img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.client__details h4 {
  font-size: 1.1rem;
  margin: 0;
  color: #003366;
}

.client__details h5 {
  font-size: 0.9rem;
  color: #777;
  margin: 5px 0 0;
}

/* Swiper Navigation & Pagination */
.swiper-button-next, .swiper-button-prev {
  color: #0056b3;
}

.swiper-pagination {
  bottom: 10px;
}

/* Responsive View */
@media (max-width: 768px) {
  .testimonials__swiper {
    padding: 0 15px;
  }
}


/* Footer Styling */
.footer {
  background: #003366;
  color: #fff;
  padding: 50px 20px;
  text-align: center;
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer__brand h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #ffcc00;
}

.footer__links h4,
.footer__contact h4,
.footer__socials h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.footer__links ul {
  list-style: none;
  padding: 0;
}

.footer__links ul li {
  margin: 5px 0;
}

.footer__links ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer__links ul li a:hover {
  color: #ffcc00;
}

/* Contact Info */
.footer__contact p {
  margin: 5px 0;
}

.footer__contact i {
  color: #ffcc00;
  margin-right: 5px;
}

/* Social Media Icons */
.social__icons a {
  color: #fff;
  font-size: 1.5rem;
  margin: 0 10px;
  transition: color 0.3s;
}

.social__icons a:hover {
  color: #ffcc00;
}

/* Bottom Footer */
.footer__bottom {
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
