@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope:wght@200..800&family=Saira:ital,wght@0,100..900;1,100..900&display=swap");

html {
  scroll-behavior: smooth;
}

.manrope {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.saira {
  font-family: "Saira", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.inter {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.navbar {
  background-color: transparent !important;
  border: none;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #fff;
}

.navbar-collapse.show {
  background-color: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.navbar-collapse.show .nav-link {
  color: #20242c !important;
  padding: 10px 0;
}

.navbar-collapse.show .nav-link:hover {
  color: #3f88c8 !important;
}

.navbar-toggler {
  border: none;
  background-color: transparent !important;
}

.navbar-toggler-icon {
  filter: brightness(100%);
}

.navbar-brand img {
  max-width: 50px;
}

@media (min-width: 992px) {
  .navbar-collapse {
    background-color: transparent !important;
    box-shadow: none !important;
  }

  .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
  }

  .navbar-nav .nav-link:hover {
    color: #fff !important;
  }

  .navbar {
    background-color: transparent !important;
  }
}

.hero-section {
  background: url("../imgs/homebg.png") no-repeat center center;
  background-size: cover;
  height: 100vh;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-section .col-md-6 {
  text-align: left;
}

.about-section {
  background-color: #f8f9fa;
}

.about-section .testimonial-card {
  background-color: #fff;
  border-radius: 8px;
  max-width: 300px;
  position: absolute;
  bottom: -30px;
  left: 20px;
}

.about-section .rating span {
  color: #f4b400;
}

.about-section h6 {
  font-weight: 600;
  letter-spacing: 1px;
}

.about-section h2 {
  color: #333;
}

.about-section p {
  color: #555;
}

.about-section .fw-bold {
  font-weight: 700;
}

.about-section .btn-primary {
  background-color: #3f88c8;
  border: none;
}

.about-section img {
  border-radius: 8px;
}

@media (max-width: 768px) {
  .about-section .testimonial-card {
    position: static;
    margin-top: 20px;
  }
}

.company-section {
  background-color: #20242c;
  color: #ffffff;
}

.text-primary {
  color: #3f88c8 !important;
}

.experience-image {
  max-width: 100%;
}

.experience-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  border-radius: 8px;
}

.service-card {
  background-color: #ffffff;
  color: #000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.service-card img {
  width: 40px;
}

.service-card h5 {
  color: #1a2c43;
}

.btn-primary {
  background-color: #3f88c8;
  border-color: #3f88c8;
}

.structures-intro-section {
  background-color: #f8f9fa;
  padding: 60px 20px;
  text-align: center;
}
.structures-intro-section h2 {
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #343a40;
}
.structure-card {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}
.structure-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.structure-card-body {
  padding: 20px;
  text-align: center;
}
.structure-card-body h4 {
  font-size: 1rem;
  font-weight: bold;
  color: #343a40;
  margin-bottom: 10px;
}
.visit-btn {
  border-radius: 5px;
  font-size: 0.9rem;
}

.trusted-section {
  background-color: #20242c;
  color: #ffffff;
  padding: 60px 20px;
  position: relative;
}

.trusted-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../imgs/trustbg.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.07;
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
  z-index: 1;
}

.trusted-section .content-wrapper {
  position: relative;
  z-index: 2;
}

.trusted-text h2 {
  font-size: 2rem;
  font-weight: bold;
}

.trusted-text p {
  font-size: 1rem;
  margin-top: 15px;
  color: #d1d5db;
}

.trusted-image img {
  width: 100%;
  border-radius: 8px;
}

.latest-project-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
}
.latest-project-section h2 {
  font-weight: bold;
}
.latest-project-section p {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.6;
}
.view-project-btn {
  margin-top: 15px;
}

.project-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}
.project-image img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease, filter 0.4s ease;
}
.project-image:hover img {
  transform: scale(1.1);
  filter: grayscale(100%);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.project-image:hover .overlay {
  opacity: 1;
}
.overlay h4 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.overlay .btn {
  font-size: 0.9rem;
}

.testimonials-section {
  background-color: #f8f9fa;
}

.testimonials-section h6 {
  font-size: 0.875rem;
  letter-spacing: 1px;
}

.testimonials-section h2 {
  font-size: 2rem;
}

.testimonial-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-card img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
}

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  color: #555;
}

.carousel-indicators button {
  background-color: #3f88c8;
}

.parallax-section {
  background: url("../imgs/parallax.jpg") no-repeat center center fixed;
  background-size: cover;
  height: 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.parallax-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.parallax-section h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.parallax-section p {
  font-size: 1.2rem;
  max-width: 800px;
}

.parallax-section h1,
.parallax-section p {
  position: relative;
  z-index: 2;
}

.info-box {
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 20px;
  position: relative;
  z-index: 2;
  bottom: 50px;
  width: 80%;
  margin: -50px auto 0;
}
.info-box .info-item {
  text-align: center;
  margin-bottom: 15px;
}
.info-box .info-item i {
  font-size: 1.5rem;
  color: #3f88c8;
  margin-bottom: 10px;
}
.info-box .info-item p {
  margin: 0;
  font-size: 0.9rem;
}

.footer {
  background: #222;
  color: white;
  padding: 60px 0 20px;
  text-align: center;
}
.footer .quick-links,
.footer .newsletter {
  margin-bottom: 30px;
}
.footer h5 {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 15px;
}
.footer-link {
  color: #3f88c8;
  text-decoration: none;
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer .newsletter input[type="email"] {
  border-radius: 5px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  width: calc(100% - 90px);
  margin-right: 10px;
}
.footer .newsletter button {
  padding: 8px 20px;
  border: none;
  background: #3f88c8;
  color: #fff;
  border-radius: 5px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social-icon {
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid white;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  transition: background 0.3s, color 0.3s;
}

.social-icon:hover {
  background: white;
  color: #3f88c8;
}

@media (max-width: 576px) {
  .social-icons {
    flex-wrap: wrap;
    margin-bottom: 1rem;
  }

  .text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .info-box {
    flex-direction: column;
    padding: 10px 15px;
  }
  .info-item {
    margin-bottom: 15px;
  }
}

.authors {
  text-decoration: none !important;
  color: #3f88c8;
}
