@import url("bootstrap.min.css");
@import url("../fonts/stylesheet.css"); /* Import Roboto font family*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark-blue: #001F3F;
    --gold: #F8C145;
    --white: #FFFFFF;
    --light-green: #8CCB3D;
}
  
body {
    font-family: 'Roboto', sans-serif;
}

.section-spacing {
  margin-bottom: 60px;
}
.section-heading {
  position: relative;
  font-size: 2.5rem;
  color: var(--dark-blue);
  font-weight: 700;
  margin-bottom: 2rem;
}
.section-heading::before{
  position: absolute;
  content: "";
  height: 4px;
  background-color: var(--gold);
  bottom: 0;
  width: 60%;
  border-radius: 16px;
}

header {
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.05); /* Added box shadow */
  position: fixed;
  width: 100%;
  background-color: var(--white);
  top: 0;
  z-index: 9;
}
  
/* Custom styles for the logo */
header .logo-img {
  max-height: 60px;
}
.navigation-wrapper ul {
  gap: 2rem;
}
.navigation-wrapper .navbar-nav  a.nav-link{
  color: var(--dark-blue);
  font-weight: bold;
  position: relative;
  text-transform: uppercase;
  padding-inline: 0px;
}
.navigation-wrapper .nav-link::before {
  content: '';
  width: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--gold);
  position: absolute;
}
.navigation-wrapper .nav-link:hover {
  color: var(--gold);
  transition:all .25s ease-out;
}

.navigation-wrapper .nav-link:hover::before {
  width: 100%;
  transition:all .25s ease-out;
}

.button-wrapper {
    background: var(--dark-blue);
    color: #FFFFFF;
    font-size: 1rem;
    border: 1px solid var(--dark-blue);
    transition: all 0.2s ease-in;
    font-weight: 700;
}
.button-wrapper:hover{
  color: var(--dark-blue);
  background: none;
}
@media (max-width: 991px) {
  .navigation-wrapper ul {
    gap: 0.25rem;
  }
  .navbar-nav .btn {
    margin-top: 0
  }
  /* Custom styles for the logo */
  header .logo-img {
    max-height: 40px;
  }
  .navbar-nav .nav-link {
    text-align: center;
  }
  .navbar-nav .btn {
    width: 100%;
    margin-top: 10px;
    text-align: center;
  }
}
main {
  margin-top: 86px;
}

/* BANNER SECTION */
.banner {
  position: relative;
  padding: 100px 0;
  background-image: url('../images/banner.jpg'), url('../images/banner.jpg'); 
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat; 
  color: var(--white); 
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
}
.banner-title {
  font-size: 3rem;
}

/* For Overlay */
.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1; 
}

.banner .container {
  position: relative;
  z-index: 2;
}

.bg-gold {
  background-color: var(--gold);
}

.btn-primary {
  background-color: var(--gold);
  border: none;
  color: var(--white);
  padding: 10px 20px;
  font-size: 1.2rem;
}

.btn-primary:hover {
  background-color: var(--gold);
}


/* ABOUT US SECTION */

.about-section {
  background-color: var(--white); 
}

.about-description p {
  font-size: 1.1rem; 
  color: var(--dark-gray); 
}

.about-image img {
  max-width: 100%; 
  border-radius: 10px; 
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
  height: 100%;
  max-height: 450px;
  width: 100%;
  object-fit: cover; 
}

.experience-wrapper {
  background-color: var(--gold);
  display: inline-block;
  text-align: center;
  padding: 10px 20px;
  margin-right: 20px;
}
.experience-wrapper p:first-of-type {
  font-size: 3.5rem;
  line-height: 1;
  font-weight: bold;
}

/* Services Section */
.services-section {
  background-color: var(--light-blue);
}

.services-section .section-heading::before, 
.company-logos-section .section-heading::before, 
.clients-counter-section .section-heading::before{
  width: 100%;
}

.section-title {
  font-size: 2.5rem;
  color: var(--dark-blue);
  margin-bottom: 50px;
}

/* Service Item Wrapper */
.service-item {
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

/* Image Styling */
.service-image-wrapper {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.service-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
  margin-bottom: 16px;
}

/* Image hover zoom effect */
.service-image-wrapper:hover .service-image {
  transform: scale(1.1);
}

/* Overlay styling */
.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease-in-out;
}

.service-image-wrapper:hover .service-overlay {
  opacity: 1;
}

/* Text in the overlay */
.overlay-text {
  color: var(--white);
  text-align: center;
}

.overlay-text h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.overlay-text p {
  font-size: 1rem;
  margin: 0;
  padding: 0 10px;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
}


/* Clients Counter Section */
.clients-counter-section {
  background-color: var(--light-blue);
}

.section-title {
  font-size: 2.5rem;
  color: var(--dark-blue);
  margin-bottom: 40px;
}

/* Counter Box Styling */
.counter-box {
  background-color: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.counter {
  color: var(--dark-blue);
  font-weight: bold;
  margin-bottom: 10px;
}

.counter-box p:first-of-type {
  font-size: 3rem;
}

.counter-box p {
  font-size: 1.5rem;
  color: var(--dark-gray);
}

/* Number Animation */
@keyframes countUp {
  from {
      counter-reset: count 0;
  }
  to {
      counter-reset: count var(--final-count);
  }
}

/* Companies Slider */
.carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel-item {
  flex: 0 0 auto;
  width: 100%;
}
.logo-container {
  display: flex;
  justify-content: center;
  overflow: hidden;
  white-space: nowrap;
}
.company-box {
  display: inline-block;
  text-align: center;
  margin: 0 15px;
  padding: 20px;
  background-color: var(--white); 
  border: 1px solid #e0e0e0;
  border-radius: 10px; 
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); 
  transition: transform 0.3s, box-shadow 0.3s; 
  min-width: 250px;
  max-width: 250px;
}

.company-logos-section .logo-img {
  width: 100px; 
  height: 70px; 
  object-fit: contain;
  margin-bottom: 10px;
}
.company-title {
  font-size: 14px;
  color: #333;
  margin-top: 5px;
}

/* Reach Out Section */
.reach-out-section {
  padding: 50px 0;
  background-color: #f8f9fa;
}

.reach-out-section h3 {
  margin-bottom: 20px;
  font-size: 24px;
}
.map-container {
  height: 100%;
}
.form-control {
  border-radius: 5px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.map-container {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

/* Footer */

.footer {
  background-color: #001F3F;
}

.footer-logo img {
  max-width: 100%;
  margin-bottom: 20px;
}

.footer ul {
  padding-left: 0;
  list-style-type: none;
}

.footer .list-inline-item {
  margin-right: 15px;
}

.footer .list-inline-item a {
  color: #ddd;
}

.footer .list-inline-item a:hover {
  color: var(--white);
}
.icon-wrapper {
  width: 30px;
  height: 20px;
}
.icon-wrapper svg {
  width: 100%;
  height: 100%;
  fill: var(--white);
}
.footer-navigation > div {
  flex-direction: column;
  gap: 16px;
}
.footer-nav-link {
  transition: color 0.25s ease-out;
  color: var(--white);
}
.footer-nav-link:hover{
  color: var(--gold);
  text-decoration: none;
}

/* For Mobile Devices */
@media (max-width: 991px) {

  .section-heading{
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  .section-heading::before{
    display: none;
  }
  .navigation-wrapper .nav-link::before {
    left: 0;
  }

  /* Header */
  .navigation-wrapper ul {
    gap: 0.25rem;
  }
  .navbar-nav .btn {
    margin-top: 0
  }
  /* Custom styles for the logo */
  header .logo-img {
    max-height: 40px;
  }
  .navbar-nav .nav-link {
    text-align: center;
  }
  .navbar-nav .btn {
    width: 100%;
    margin-top: 10px;
    text-align: center;
  }

  main {
    margin-top: 66px;
  }

  /* Banner */
  .banner {
    min-height: fit-content;
  }
  .banner-title {
    font-size: 1.5rem;
  }
  .banner .btn-primary {
    font-size: 1rem;
  }
  .section-spacing {
    margin-bottom: 30px;
  }
  .about-section .section-heading{
    text-align: center;
  }
  .about-section .about-wrapper{
    flex-direction: column-reverse;
  }
  .about-image img {
    max-height: 300px;
  }
  .experience-wrapper{
    margin-right: 0;
    margin-bottom: 1rem;
  }
  .experience-wrapper p:first-of-type {
    font-size: 2rem;
  }
  .about-description p, .service-title{
    font-size: 1rem;
  }

  /* Service Section */
  .service-image{
    margin-bottom: 8px;
  }
  .service-item {
    margin-bottom: 16px;
  }

  /* Counter Section */
  .counter-box {
    padding: 16px;
  }
  .counter-box p{
    line-height: 1;
    font-size: 1rem;
  }
  .counter-box p:first-of-type{
    font-size: 1.5rem;
  }

  /* Reach Out section */
  .reach-out-section {
    padding: 20px 0;
  }
  
}
@media (max-width: 767px) {
    /* Footer */
  .footer-logo img {
    margin-bottom: 16px;
  }
  .footer-navigation .footer-nav-link {
    padding-inline: 16px;
  }
  .footer-navigation .footer-nav-link:first-of-type{
    padding-left: 0;
  }
  .footer-navigation .footer-nav-link:last-of-type{
    padding-right: 0;
  }
  .footer-navigation .footer-nav-link:nth-last-of-type(1)::after {
    width: 0;
  }
  .footer-navigation > div {
    flex-direction: row;
    gap: 0;
  }
  .footer-navigation .footer-nav-link::after {
    position: absolute;
    content: '';
    right: 0;
    height: 100%;
    width: 2px;
    background-color: var(--white);
  }
}