@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
body {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Roboto", sans-serif;
  color: #333;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
}
hr {
  margin: 0 !important;
}
#backToTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  background-color: #233671;
  color: white;
  cursor: pointer;
  font-size: 10px;
  width: 40px;
  height: 40px;
  border: 2px solid #233671;
  text-align: center;
  border-radius: 50%;
  padding: 4px 3px;
}
#backToTop i {
  font-size: 1.3rem;
}
#backToTop:hover {
  background-color: transparent;
  color: #233671;
}
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
} /* Header */
#homePage header {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.73), rgba(0, 0, 0, 0.66)),
    url("https://mohithiragaspipelines.in/assets/images/banner-bg.webp") no-repeat center center;
  background-size: cover;
  height: 100vh;
}
#homePage header .navbar {
  background: transparent;
}
header .navbar {
  background-color: #233671;
}
.navbar .navbar-brand img {
  max-width: 120px;
}
header h1 {
  font-size: 2rem;
  max-width: 550px;
  margin: 10% auto 0;
  color: #fff;
  text-align: center;
}
header .head-btn {
  width: 100%;
  margin: 1.5rem auto;
  text-align: center;
}

header .head-btn .btn {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.8rem 1.5rem;
  color: #233671; /* Dark text for contrast */
  background: linear-gradient(135deg, #ffffff, #f0f0f0); /* Light gradient */
  border: 2px solid #ffffff;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);

  /* 👇 animation retained */
  animation: bounceGlow 2s infinite;
  transition: transform 0.3s ease, background 0.3s ease;
}

header .head-btn .btn:hover {
  background: linear-gradient(135deg, #f0f0f0, #ffffff);
  transform: scale(1.1);
}

/* 🔹 Keyframes for bounce + glow */
@keyframes bounceGlow {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
  }
  50% {
    transform: scale(1.07);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
  }
}

#homePage .container h4 {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 1.2rem auto 0;
  color: #dbdbdb;
  text-align: center;
}
header .nav-link {
  padding-left: 2rem;
}
.container h2 {
  font-size: 1.5rem;
  margin: 1rem 0;
  color: #333;
  font-weight: 600;
}
.container h4 {
  font-size: 1.2rem;
  margin: 1rem 0;
  font-weight: 600;
}
.container p {
  font-size: 1.15rem;
  color: #333;
  padding: 0rem 1rem 1rem;
}
.container q {
  display: block;
  text-align: center;
  font-weight: 300;
  font-style: italic;
  width: 100%;
  font-size: 1.25rem;
  padding-bottom: 1rem;
}
.services-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem auto;
}
.services-btn .btn {
  font-size: 1.2rem;
  font-weight: 600;
  background-color: #233671;
  color: #fff;
  border: 1px solid #233671;
  transition: all 0.3s linear;
}
.services-btn .btn:hover {
  color: #233671;
  background-color: #fff;
  border: 1px solid #233671;
}
.card .card-title {
  font-weight: 550;
}
.why-us {
  background-color: rgba(212, 212, 212, 0.541);
  padding: 1rem 0;
  margin: 1rem 0;
}
.why-us-keypt-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.why-us-keypt {
  padding: 0 !important;
}
.gallery-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1rem auto;
}
.gallery-container img {
  max-width: 300px;
}
/* services */
.services-sect h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1rem 0;
}
.services-sect ul {
  margin-left: 2rem;
}
.services-sect ul li {
  margin-bottom: 0.5rem;
}
.services-sect-img {
  margin: 1rem auto;
  display: flex;
  justify-content: center;
}
.services-sect img {
  width: 500px;
}
.service-list {
  margin-left: 2rem;
  list-style: "->   ";
}
.service-list li a {
  color: #233671;
}
.container .nav-tabs .nav-link {
  color: #333;
}
.container .nav-tabs .active {
  color: #233671 !important;
}
.contact-us-column {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #efefef;
  border-radius: 10px;
  flex-wrap: wrap;
  margin: 0.5rem auto 1.5rem;
}
.contact-address {
  width: 45%;
  padding: 1.5rem;
}
#homePage .container .contact-address h4 {
  margin-bottom: 0.5rem;
  color: #333 !important;
  text-align: left !important;
}
.contact-address p {
  padding-bottom: 0.5rem;
}
.contact-address a {
  text-decoration: none;
}
.get-in-touch {
  width: 55%;
  background: linear-gradient(50deg, #233671, #2991e1);
  padding: 1rem;
  border-radius: 10px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
#homePage .container .get-in-touch h4 {
  margin-bottom: 1rem !important;
}
.get-in-touch form {
  max-width: 300px;
  margin: 0 auto;
}
.get-in-touch .input-field input,
select,
textarea {
  width: 100%;
  margin-bottom: 16px;
  padding: 0.5rem;
  border: none;
  outline: none;
  border-radius: 5px;
  font-size: 1rem;
}
.get-in-touch form .input-field-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 1rem;
}
.get-in-touch form button {
  border: 1px solid #fff;
  outline: none;
  color: #fff;
  font-size: 1rem;
  padding: 0.5rem;
  background: transparent;
  border-radius: 4px;
  transition: all 0.2s linear;
}
.get-in-touch form button:hover {
  color: #233671;
  background-color: #fff;
}

/* Footer */
footer {
  background-color: rgba(212, 212, 212, 0.541);
}
.footer {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  padding: 1.5rem 0;
}
.footer h3 {
  font-size: 1.3rem;
  font-weight: 600;
}
.footer-address {
  width: 40%;
}
.footer-contact {
  width: 40%;
}
address {
  margin-bottom: 0;
  margin-top: 1rem;
}
.footer-contact-sect {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  margin: 0.5rem 0;
}
.footer-contact-sect .footer-contact-text a {
  text-decoration: none;
  color: #333;
}
footer .credit {
  font-size: 0.6rem;
  text-align: right;
  padding: 1rem 1rem 2rem;
}
.thank-you-sect {
  margin: 3rem auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
/* Media Queries */
@media screen and (max-width: 990px) {
  #homePage header .navbar .mb-nav {
    position: absolute;
    top: 7rem;
    background-color: #233671;
    width: 100%;
  }
  header .navbar .btn-call {
    margin-left: 2rem;
  }
  .contact-us-column {
    flex-direction: column;
  }
}
@media screen and (max-width: 768px) {
  #homePage header {
    height: 65vh;
  }
  .container h2 {
    font-size: 1.2rem;
  }
  .container p {
    font-size: 1rem;
  }
  .services-btn .btn {
    font-size: 1rem;
  }
  .card .card-title {
    font-size: 1.1rem !important;
  }
  .footer {
    padding: 1rem;
  }
  .footer-address,
  .footer-contact {
    width: 100%;
  }
  .footer h3 {
    font-size: 1.15rem;
  }
  .contact-address,
  .get-in-touch {
    width: 100%;
  }
} /* Small Devices */
@media screen and (max-width: 480px) {
  header h1 {
    font-size: 1.7rem;
  }
  header h4 {
    font-size: 1.1rem;
  }
  .why-us-keypt {
    width: 100%;
    margin-left: 2rem;
  }
  .services-sect img {
    width: 280px;
  }
}
