/* Color theme */
:root {
  --primary-color: #045c72;
  --accent-color: #45c2c8;
}

/* Custom styles */
body {
  font-family: Arial, sans-serif;
  text-align: justify;
}
p {
  font-size: 19px;
  margin: 0;
}

/* Navbar */
.navbar {
  background: transparent;
  transition: 0.3s ease-in-out;
}

.navbar-brand,
.navbar-nav .nav-link {
  color: var(--primary-color) !important;
  transition: color 0.5s ease, transform 0.5s ease; /* Transition for color and scale */
}

#navbar a {
  color: #045c72; /* Set your default link color */
  transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for color, background, and shadow */
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color) !important;
  transform: scale(1.1); /* Slightly reduce scale for a smoother effect */
}

/* Hero Section */
.hero {
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero .bg-bubble div {
  position: relative;
  z-index: 1000;
}
.hero .bg-bubble::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 20%;
  width: 60%;
  height: 60%;
  -webkit-animation: bubble 5s linear infinite;
  animation: bubble 5s linear infinite;
  z-index: 100;
  /* opacity: 0.6; */
}
.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero p {
  font-size: 1rem;
}

/* Section Headings */
h1,
h2,
h3 {
  color: var(--primary-color);
  font-weight: bold;
}

/* About Section */
#about {
  padding: 60px 0;
}

/* Mission & Vision Section */
#mission-vision {
  background-color: #f7f7f7;
  padding: 60px 0;
}

/* Manpower Section */
#manpower {
  padding: 60px 0;
}

.counter-box {
  display: block;
  background: #f6f6f6;
  padding: 40px 20px 37px;
  text-align: center;
  border-radius: 20px;
  background: linear-gradient(45deg, rgb(44, 153, 152), rgb(11, 109, 143)),
    #45c2c8;
  transition: 0.9s all;
}

.counter-box p {
  margin: 5px 0 0;
  padding: 0;
  color: #909090;
  font-size: 18px;
  font-weight: 500;
  color: white;
}

.counter-box i {
  font-size: 60px;
  margin: 0 0 15px;
  color: #d2d2d2;
}

.counter {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: white;
  line-height: 28px;
}

.counter-box.colored p,
.counter-box.colored i,
.counter-box.colored .counter {
  color: #fff;
}

/* Services Section */
#services {
  background-color: #f7f7f7;
  padding: 60px 0;
}
.our-services div {
  padding: 0 15px;
}

.service-img {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Projects Section */
#projects {
  padding: 60px 0;
}

.project-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.project-img:hover {
  transform: scale(1.05);
  border-radius: 10px;
}

.your-class div {
  padding: 0 15px;
}
.slick-dots li button:before {
  font-size: 12px;
  color: #999;
  transition: color 0.3s ease;
}

.slick-dots li.slick-active button:before {
  color: #333;
}

#products {
  background-color: #c0ccce;
}
.product-img {
  width: 100%;
  height: 250px;
  object-fit: 100% 100%;
  object-position: center;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.product-img:hover {
  transform: scale(1.05);
  border-radius: 10px;
}

/* Footer */
.footer {
  /* background-color: var(--primary-color); */
  background: linear-gradient(45deg, rgb(44, 153, 152), rgb(11, 109, 143)),
    #45c2c8;
  color: white;
  padding: 20px 0;
}

.footer a {
  color: var(--accent-color);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}
.social-icons a {
  font-size: 20px;
}
.social-icons a:hover {
  transform: scale(1.4);
}
.footer p {
  padding: 10px;
  font-size: 20px;
}
/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border: none;
}

.btn-primary:hover {
  background-color: var(--accent-color);
}

@-webkit-keyframes bubble {
  0%,
  100% {
    border-radius: 50% 30% 20% 40% / 30% 35% 20% 30%; /* Smaller bubble */
    background: #045c72; /* Start with the first color */
  }

  50% {
    border-radius: 50% 40% 30% 20% / 35% 40% 25% 30%; /* Smaller bubble */
    background: #45c2c8; /* Change to the second color */
  }
}

/* CSS FOR ANIMATION ON SCROLL */

/* Animation Code */
.animation {
  will-change: transform;
}

@media screen and (min-width: 768px) {
  .fade-left-desktop,
  .fade-right-desktop {
    opacity: 0;
    transition: 1500ms all ease-in-out;
  }
  .fade-left-desktop {
    transform: translateX(50px);
  }
  .fade-right-desktop {
    transform: translateX(-50px);
  }
  .fade-left-desktop.animate,
  .fade-right-desktop.animate {
    opacity: 1;
    transform: translateX(0);
  }
  .fade-down-desktop,
  .fade-up-desktop {
    opacity: 0;
    transition: 1500ms all ease-in-out;
    transform: translateY(50px);
  }
  .fade-up-desktop {
    transform: translateY(50px);
  }
  .fade-down-desktop {
    transform: translateY(-50px);
  }
  .fade-down-desktop.animate,
  .fade-up-desktop.animate {
    opacity: 1;
    transform: translateY(0);
  }
  .grow-left-desktop,
  .grow-right-desktop {
    transform: scaleX(0);
    transform-origin: left;
    transition: 1200ms all ease-in-out;
  }
  .grow-left-desktop {
    transform-origin: right;
  }
  .grow-right-desktop {
    transform-origin: left;
  }
  .grow-left-desktop.animate,
  .grow-right-desktop.animate {
    transform: scaleX(1);
  }
  .grow-down-desktop,
  .grow-up-desktop {
    transform: scaleY(0);
    transition: 1200ms all ease-in-out;
  }
  .grow-up-desktop {
    transform-origin: bottom;
  }
  .grow-down-desktop {
    transform-origin: top;
  }
  .grow-down-desktop.animate,
  .grow-up-desktop.animate {
    transform: scaleY(1);
  }
  .stagger-desktop-1 {
    transition-delay: 300ms;
  }
  .stagger-desktop-2 {
    transition-delay: 600ms;
  }
  .stagger-desktop-3 {
    transition-delay: 900ms;
  }
  .stagger-desktop-4 {
    transition-delay: 1200ms;
  }
}
@media screen and (max-width: 767px) {
  .fade-down-mobile,
  .fade-up-mobile {
    opacity: 0;
    transition: 1500ms all ease-in-out;
  }
  .fade-up-mobile {
    transform: translateY(50px);
  }
  .fade-down-mobile {
    transform: translateY(-50px);
  }
  .fade-down-mobile.animate,
  .fade-up-mobile.animate {
    opacity: 1;
    transform: translateY(0);
  }
  .grow-left-mobile,
  .grow-right-mobile {
    transform: scaleX(0);
    transition: 1200ms all ease-in-out;
  }
  .grow-left-mobile {
    transform-origin: right;
  }
  .grow-right-mobile {
    transform-origin: left;
  }
  .grow-left-mobile.animate,
  .grow-right-mobile.animate {
    transform: scaleX(1);
  }
  .grow-down-mobile,
  .grow-up-mobile {
    transform: scaleY(0);
    transform-origin: top;
    transition: 1200ms all ease-in-out;
  }
  .grow-up-mobile {
    transform-origin: bottom;
  }
  .grow-down-mobile {
    transform-origin: top;
  }
  .grow-down-mobile.animate,
  .grow-up-mobile.animate {
    transform: scaleY(1);
  }
  .fade-mobile {
    opacity: 0;
    transition: 1000ms all ease-in-out;
  }
  .fade-mobile.animate {
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .your-class div {
    padding: 0 10px;
  }
  h1 {
    font-size: 1.8rem;
  }
}
@media (max-width: 600px) {
  .carousel-inner h1 {
    font-size: 1.5rem;
  }
  .carousel-inner p {
    font-size: 20px;
  }
  .carousel-control-prev-icon {
    display: none;
  }
  .carousel-control-next-icon {
    display: none;
  }
  #about {
    padding: 40px 10px;
  }
  .rounded-circle {
    max-width: 100%;
    height: 300px;
  }
  .navbar-nav li {
    margin: 0 auto;
  }
  .mission .mission-heading {
    margin-top: 30px !important;
  }
  .counter-box {
    margin-bottom: 15px;
  }
  .counter-box p {
    font-size: 22px;
  }
  #services {
    overflow-x: hidden;
  }
  #projects {
    overflow-x: hidden;
  }
  .footer h1 {
    margin-top: 20px;
  }
  .navbar.new-class {
    background: linear-gradient(45deg, rgb(44, 153, 152), rgb(11, 109, 143)),
      rgb(69, 194, 200);
  }
}
