@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  font-family: "poppins", sans-serif;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "DM Sans", sans-serif;
}

a {
  text-decoration: none;
}

li {
  list-style-type: none;
}

input,
select,
textarea {
  outline: none;
}

button {
  border: none;
  outline: none;
}

/*  */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/*  */

.service-card {
  opacity: 0;
  transition: all 0.8s ease;
}

/* Card 1 - From Left */
.service-reveal-1 {
  transform: translateX(-80px);
}

/* Card 2 - From Top */
.service-reveal-2 {
  transform: translateY(-80px);
}

/* Card 3 - From Right */
.service-reveal-3 {
  transform: translateX(80px);
}

/* Card 4 - From Bottom */
.service-reveal-4 {
  transform: translateY(80px);
}

/* Card 5 - From Left */
.service-reveal-5 {
  transform: translateX(-80px);
}

/* Card 6 - From Right */
.service-reveal-6 {
  transform: translateX(80px);
}

/* Card 7 - Zoom */
.service-reveal-7 {
  transform: scale(0.8);
}

/* Visible State */
.service-card.service-visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/*  */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 60px;
  padding: 20px 100px;
  position: fixed;
  top: 0;
  z-index: 999;
  background-color: #fff;
}

.navbar.scrolled {
  background-color: #001542;
  color: #fff;
  transition: all 0.3s ease;
}

.site-logo a {
  color: #001542;
  font-weight: 600;
  font-size: 24px;
}

.navbar.scrolled .site-logo a {
  color: #fff;
}

nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

nav ul li a {
  color: #333;
  transition: all 0.3s ease;
}

.navbar.scrolled nav ul li a {
  color: #fff;
}

nav ul li a:hover {
  color: #ffb30d;
}

.uil-bars {
  display: none;
}

@media (max-width: 600px) {
  .navbar {
    width: 100vw;
    padding: 20px;
    position: fixed;
    top: 0;
  }

  .site-logo a {
    font-size: 20px;
  }

  .uil-bars {
    display: block;
    font-size: 18px;
  }

  nav ul {
    position: fixed;
    top: 60px;
    left: 0;
    display: none;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 10px;
    padding-top: 30px;
    padding-left: 20px;
    width: 80vw;
    height: 100vh;
    background-color: #fff;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.4s ease,
      opacity 0.3s ease,
      visibility 0.4s ease;
  }

  .navbar.scrolled nav ul li a {
    color: #333;
  }

  nav ul.show {
    display: flex;
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
}

/*  */

.hero-section {
  padding: 20px 100px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #001542;
  color: #fff;
}

.hero-section h1 {
  font-size: 52px;
  text-align: center;
}

.hero-section p {
  text-align: center;
}

.hero-btns {
  margin-top: 30px;
}

.hero-btns a {
  color: #333;
  background-color: #ffb30d;
  padding: 10px 20px;
  margin-right: 10px;
  border-radius: 4px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.hero-btns a:hover {
  background-color: #001542;
  color: #fff;
  border: 2px solid #ffb30d;
}

@media (max-width: 600px) {
  .hero-section {
    padding: 10px;
  }

  .hero-section h1 {
    font-size: 42px;
  }

  .hero-section p {
    font-size: 14px;
    margin-top: 10px;
  }

  .hero-section .hero-btns {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .hero-section .hero-btns a {
    font-size: 14px;
    padding: 8px 80px;
  }
}

/*  */
.marquee {
  margin-top: 50px;
  padding: 20px 0;
  width: 100%;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeSlide 20s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
  white-space: nowrap;
}

.marquee-content span {
  display: inline-block;
  font-weight: 600;
}

@keyframes marqueeSlide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 600px) {
  .marquee-content {
    margin-top: 50px;
  }
}

/*  */

.about-section {
  padding: 20px 100px;
  margin-top: 100px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
}

.about-content,
.about-image {
  width: 50%;
}

.about-content h2 {
  font-size: 28px;
  color: #001542;
}

.about-content p {
  color: #444;
  font-size: 14px;
  margin-bottom: 10px;
}

.about-content .benifits {
  margin-bottom: 10px;
  color: #333;
}

.about-content .benifits li {
  list-style-type: disc;
  font-size: 14px;
}

.about-image img {
  width: 400px;
  height: 500px;
  object-fit: cover;
  border-radius: 4px;
}

@media (max-width: 600px) {
  .about-section {
    padding: 20px;
    margin-top: 50px;
    flex-direction: column;
  }

  .about-content,
  .about-image {
    width: 100%;
  }

  .about-content .benifits {
    margin-left: 20px;
  }

  .about-image img {
    width: 320px;
    height: 400px;
  }
}

/*  */
.service-section {
  padding: 50px 100px;
  margin-top: 100px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background-color: aliceblue;
}

.service-card {
  height: 230px;
  /* width: 200px; */
  background-color: #fff;
  padding: 20px;
  border-radius: 4px;
}

.service-card i {
  background-color: #001542;
  color: #fff;
  height: 30px;
  width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 18px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 20px;
  color: #001542;
}

.service-card p {
  font-size: 14px;
  color: #444;
}

@media (max-width: 600px) {
  .service-section {
    padding: 20px;
    grid-template-columns: repeat(1, 1fr);
  }
}

/*  */

.portfolio-section {
  width: 100%;
  padding: 100px 8%;
}

.portfolio-heading {
  max-width: 700px;
  margin: 0 auto 50px;
  text-align: center;
}

.portfolio-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.portfolio-heading h2 {
  margin-bottom: 15px;
  font-size: 42px;
}

.portfolio-heading p {
  line-height: 1.7;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.portfolio-card {
  overflow: hidden;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fff;
}

/* .portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 20px;
  background: rgba(0, 21, 66, 0.25);
  opacity: 0;
  transition: opacity 0.3s ease;
} */

.portfolio-content {
  padding: 25px;
}

.portfolio-category {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.portfolio-content h3 {
  margin: 8px 0 10px;
  font-size: 24px;
  color: #001542;
}

.portfolio-content p {
  margin: 0;
  line-height: 1.7;
  font-size: 14px;
}

@media (max-width: 600px) {
  .portfolio-section {
    padding: 20px;
  }

  .portfolio-heading h2 {
    font-size: 24px;
  }

  .portfolio-heading p {
    font-size: 14px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .portfolio-content h3 {
    font-size: 20px;
  }
}

/*  */
.contact-section {
  padding: 20px 100px;
  margin-top: 100px;
}

.contact-section form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.contact-section form input,
form select,
form textarea {
  width: 60%;
  height: 40px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* .contact-section form input::placeholder {
  background-color: none;
} */

.contact-section form textarea {
  resize: none;
  height: 200px;
}

.contact-section form button {
  background-color: #001542;
  color: #fff;
  width: 100px;
  height: 30px;
  border-radius: 4px;
  cursor: pointer;
}

@media (max-width: 600px) {
  .contact-section {
    padding: 20px;
  }

  .contact-section form input,
  form select,
  form textarea {
    width: 100%;
  }

  .contact-section form button {
    width: 100%;
    height: 40px;
  }
}

/*  */
.footer-section {
  background-color: #001542;
  color: #fff;
  padding: 50px 100px;
  margin-top: 100px;
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.footer {
  width: 25%;
}

.footer-about a,
.footer-services h4,
.footer-contact h4 {
  color: #fff;
  font-weight: 600;
  font-size: 24px;
}

.footer-about p {
  font-size: 14px;
  font-weight: 300;
}

.footer-services ul li {
  font-weight: 300;
  font-size: 16px;
  margin-bottom: 10px;
}

.footer-contact a {
  color: #fff;
  transition: all 0.3s ease;
}

.footer-contact a:hover {
  color: #ffb30d;
}

.footer-contact p {
  font-size: 14px;
  margin: 10px 0;
}

.footer-social {
  margin-top: 20px;
  display: flex;
  justify-content: start;
  align-items: start;
  gap: 20px;
}

.footer-social a {
  background-color: #fff;
  color: #001542;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 18px;
}

.footer-social a:hover {
  transform: translateY(-10px);
}

.footer-bottom {
  background-color: #001542;
  color: #fff;
  text-align: center;
  font-size: 14px;
}

@media (max-width: 600px) {
  .footer-section {
    padding: 20px;
    flex-direction: column;
    gap: 20px;
  }

  .footer {
    width: 100%;
  }

  .footer-services ul li {
    font-size: 14px;
  }

  .footer-bottom {
    padding: 20px 0;
  }
}
