.logo {
  height: 8vh;
  width: auto;
}

.nav-item a {
  font-weight: 600;
}
.custom-h1 {
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
}
.navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 4px rgba(0, 123, 255, 0.5);
}

.header_top i {
  color: white;
  font-size: 40px;
}

#service .nav-link {
  color: black;
}

#banner-cstm-trn {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgb(0, 0, 0)),
    url("../images/turnaround.jpg");
  background-size: cover;
  background-position: center;
  height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center;
  text-align: center;
  color: #e3e3e3;
}

#banner-cstm-ehs {
  background: linear-gradient(rgba(0, 0, 0, 0.2), black),
    url("../images/ehs-1.jpg");
  background-size: cover;
  background-position: center;
  height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-position: 20% 30%;
  color: #e3e3e3;
}

.footer-img {
  max-width: 370px;
  opacity: 0.08;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 40%);
  pointer-events: none;
}
#banner {
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgb(14, 14, 14)),
    url("../images/banner.webp");
  background-size: cover;
  background-position: 44% center;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #e3e3e3;
}

.carousel-item img {
  width: 75%;
  max-height: 400px;
  object-fit: cover;
  margin: 0 auto;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-control-prev {
  left: 15%;
}

.carousel-control-next {
  right: 15%;
}

.card:hover,
.card a:hover,
.nav-item a:hover,
.cstm-btn a:hover,
.submit-btn button:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
  border-radius: 20px;
}

body {
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.fade-in {
  opacity: 1;
}

* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}
.bullets h2,
.bullets p {
  text-align: left;
}
.banner-btn {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding-top: 10vh;
}

.banner-btn a {
  width: 150px;
  text-decoration: none;
  display: inline-block;
  margin: 0 10px;
  padding: 12px 0;
  color: white;
  border: 1px solid white;
  position: relative;
  z-index: 1;
  transition: color 0.5s;
}

.banner-btn a span {
  width: 0;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: white;
  z-index: -1;
  transition: 0.5s;
}

.banner-btn a:hover span {
  width: 100%;
}

.banner-btn a:hover {
  color: white;
}
/* new */
#banners {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgb(0, 0, 0)),
    url("../images/banner.webp");
  background-size: cover;
  background-position: 44% center;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #e3e3e3;
}

.banners-text h1 {
  margin-top: -8vh;
  font-family: "Kaushan Script", cursive;
  font-size: calc(1.5rem + 4vw);
  color: white;
}

.banners-text p {
  font-size: 1.7rem;
  font-style: italic;
  color: #ffc107;
  padding-top: 0.5vh;
}
.banners-btn a {
  width: 150px;
  text-decoration: none;
  display: inline-block;
  margin: 0 10px;
  padding: 12px 0;
  color: #fff;
  border: 0.5px solid #fff;
  position: relative;
  z-index: 1;
  transition: color 0.5s;
}
.banners-btn a span {
  width: 0;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  z-index: -1;
  transition: 0.5s;
}
.banners-btn a:hover span {
  width: 100%;
}
.banners-btn a:hover {
  color: black;
}

/* new */
.services-banner {
  background: linear-gradient(rgba(15, 9, 9, 0.2), black),
    url("../images/fixed.webp");
  background-size: cover;
  background-position: center;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #e3e3e3;
  background-attachment: fixed;
}

#banner-cstm-abt {
  background: linear-gradient(rgba(0, 0, 0, 0.2), black),
    url("../images/aboutusbnner.png");
  background-size: cover;
  background-position: center;
  height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #e3e3e3;
}

#banner-cstm-training {
  background: linear-gradient(rgba(0, 0, 0, 0.2), black),
    url("../images/class.jpg");
  background-size: cover;
  background-position: center;
  height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #e3e3e3;
}

.navbar .dropdown-menu {
  background-color: rgb(255, 255, 255);
  /* background-color: pink; */
}

.navbar .dropdown-menu .dropdown-item {
  color: rgb(0, 0, 0) !important; /* Force red color */
  text-align: center;
}

.navbar .dropdown-menu .dropdown-item:hover {
  color: #ffc107 !important; /* Change to darker red on hover */
  width: 93%;
  margin-left: auto;
  margin-right: auto;
  background-color: black;
}

.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 0.8;
}

.header_top {
  background-color: black;
}

.header_top a {
  color: silver;
  text-decoration: none;
}

.header_top span {
  margin-left: 2vh;
}

.header_top .contact_nav a:hover {
  color: silver;
  text-decoration: none;
}

#feature {
  padding: 48px 0;
}

.title-text p {
  margin: auto;
  font-size: 20px;
  color: #654520;
  font-weight: bold;
  z-index: 1;
  position: relative;
  display: inline-block;
}
.cstm-border:hover {
  border: 2px solid #452e13;
}

.title-text p::after {
  content: "";
  width: 50px;
  height: 35px;
  background: linear-gradient(#ffc107, #fff);
  position: absolute;
  top: -20px;
  left: 0;
  z-index: -1;
  transform: rotate(10deg);
  border-top-left-radius: 35px;
  border-bottom-right-radius: 35px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.card-body {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bistrainer {
  height: 20vh;
  width: auto;
}
.cstm-container {
  width: 90%;
  max-width: 600px;
  margin: 50px auto;
  padding: 20px;
  background-color: rgb(255, 206, 59, 0.06);
  /* background-color: rgba(235, 101, 71, 0.06); */
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.input-control {
  margin-bottom: 15px;
}

.input-control label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.input-control input,
.input-control textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 4px;
  transition: border-color 0.3s;
}

.input-control input:focus,
.input-control textarea:focus {
  border-color: #009688;
  outline: none;
}

.input-control .error {
  color: #ff3860;
  font-size: 0.875rem;
  height: 15px;
}

.title-text h1 {
  font-size: 40px;
}

.feature-icon .fa {
  width: 60px;
  height: 60px;
  font-size: 30px;
  line-height: 60px;
  border-radius: 15px;
  border-width: thick;
  text-align: center;
  color: #ffc107;
  border: 2px solid #ffc107;
}

.feature-icon i:hover {
  transform: scale(1.1); /* Enlarges the icon */
  color: whitesmoke; /* Hover color */
  background-color: #ffc107; /* Background color */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  border-width: thick;
  margin: 0 auto;
  color: #ffc107;
  border: 2px solid #ffc107;
}
.service-icon .fas {
  font-size: 30px;
  line-height: 60px;
}
.service-icon img {
  padding-top: 7px;
}

#footer {
  padding: 100px 0 20px;
  background: #efefef;
}

.social-links .fa-brands {
  height: 40px;
  width: 40px;
  font-size: 20px;
  line-height: 40px;
  border: 1px solid #01204e;
  margin: 40px 5px 0;
  margin-left: auto;
  margin-right: auto;
  color: #01204e;
  cursor: pointer;
  transition: 0.5s;
}

.social-links .fa-brands:hover {
  background: #3c3d37;
  color: #ffc107;
  transform: translateY(-7px);
}

.nav-item a:hover {
  border-radius: 0;
  box-shadow: none;
}

.social-links p {
  font-size: 12px;
  margin-top: 20px;
}

.bottom i {
  color: #01204e;
}

.feature-img {
  margin-left: 2vh;
  height: 45vh;
  border-radius: 15px;
  width: 85%;
}
.features-img {
  margin-left: 2vh;
  height: 35vh;
  border-radius: 15px;
  width: 85%;
}
.service-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  background-color: rgb(51, 51, 51);
  color: white;
  border: 2px solid #654520;
  border-radius: 20px;
  padding: 10px;
  margin-top: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 60vh;
}
.navbar-toggler {
  border: none;
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.fixed-header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: opacity 0.5s ease;
}

.fixed-header.scrolled {
  position: fixed;
  top: 0;
  opacity: 0.8;
  background-color: rgba(43, 43, 43, 0.847);
}

.cstm-sm-container {
  width: 65%;
  margin: auto;
}
.gas-img {
  height: 70vh;
  width: auto;
}
.text-content h2 {
  font-family: "Kaushan Script", cursive;
  font-size: 3em;
}
.text-content p {
  text-align: center;
  font-size: 1.1rem;
  font-style: italic;
  color: #ffc107;
  padding-top: 4vh;
}

@media (min-width: 992px) {
  /* Large screens and above */
  .logo {
    height: 9vh;
    width: auto;
    top: 50%;
  }
  #aasp-img {
    position: absolute;
    height: 20vh;
    transform: translate(-10%, 0%);
  }
  #ccib-img {
    position: absolute;
    height: 15vh;
    transform: translate(60%, 0%);
  }
  #abt-img {
    height: 39vh;
  }
  .banner-btn a {
    color: black;
    border-color: black;
  }
  #map {
    height: 500px;
    width: 700px;
  }
  .fa-location-dot1 {
    left: 37.5%;
    top: 63%;
  }
  .fa-location-dot2 {
    left: 36%;
    top: 57.5%;
  }
  .cstm-container {
    width: 65%;
  }
  #banner {
    height: 85vh;
    background: linear-gradient(to bottom, black 70%, #ffffff 30%);
    display: flex;
  }
  .banner-image {
    height: 85%;
    padding: 0%;
  }
  .banner-image img {
    width: 100%;
    height: 100%;
  }

  .text-content h2 {
    font-size: calc(1rem + 3vw);
    margin-left: -10vw;
    width: 140%;
    text-align: start;
  }

  .text-content p {
    text-align: start;
    font-size: 1rem;
  }

  .banner-btn a span {
    background: #ffc107;
  }
}

/* Smaller height for tablets */
@media (max-width: 768px) {
  .feature-img {
    margin-left: 30px;
    height: 38vh;
    width: 90%;
  }
  .service-card {
    min-height: 20vh;
  }
  #aasp-img {
    height: 20vh;
    margin-top: 4vh;
  }
  .banner-image img {
    display: none;
  }
  #ccib-img {
    margin-top: 3vh;
    height: 15vh;
  }
  .dropdown-menu {
    background-color: rgba(0, 0, 0, 0.06) !important;
  }
  .navbar .dropdown-menu .dropdown-item {
    color: white !important;
  }
  .navbar .dropdown-menu .dropdown-item:hover {
    color: black !important;
    background-color: #ffc107;
  }
  .gas-img {
    height: 70vh;
    width: auto;
  }
}
@media (max-width: 830px) and (min-width: 767px) {
  .cstm-border {
    border: 2px solid #654520;
    border-radius: 10px;
    padding: 2px;
    margin-top: 20px;
    min-height: 50vh;
    flex: 1; /* Allow the cards to grow equally */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensure content is evenly spaced */
  }
  .xp-img {
    height: 30vh;
  }
}
/* Smaller height for phones */
@media (max-width: 576px) {
  .ft-container {
    width: 80%;
  }
  .banner-btn a ,.banners-btn a{
    width: 33vw;
  }
  .banner-btn a span {
    background: #ffc107;
  }
  .banner-btn a:hover {
    color: black;
    border: 3px solid black;
  }

  /*new*/
  .banners-text h1 {
    font-size: 3em;
  }
  .banners-description{
    margin-top: 4vh;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  .banners-btn {
    margin-top: 12vh;
  }
  .banners-text{
    margin-top: 14vh;
  }
  /*new*/

  .banner-image img {
    display: none;
  }
  .title-text h1 {
    font-size: 33px;
  }
  .feature-img,
  .features-img {
    height: 25vh;
    margin-left: auto;
    margin-right: auto;
    object-fit: fill;
    width: 95%;
  }

  .gas-img {
    height: 40vh;
    width: auto;
  }

  .contact-heading {
    font-size: 28px !important;
  }
  #aasp-img {
    height: 12vh;
    margin-top: 4vh;
  }
  #ccib-img {
    margin-top: 3vh;
    height: 8vh;
    padding-left: 1.5rem;
  }
  #abt-img {
    height: 22vh;
  }
  .service-card {
    min-height: 15vh;
    margin-left: 15px;
    margin-right: 15px;
  }
  .cstm-sm-container {
    width: 90%;
  }
  #facility-info a {
    width: 60%;
    margin: auto;
  }
  #map-img {
    height: 40vh;
    width: 80%;
  }
  .footer-img {
    max-width: 370px;
    opacity: 0.08;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 100%);
  }
}

/* Icon 1 */

.animated-icon1 {
  width: 30px;
  height: 20px;
  position: relative;
  margin: 0px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
}

.animated-icon1 span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

.animated-icon1 span {
  background: white;
}

.animated-icon1 span:nth-child(1) {
  top: 0px;
}

.animated-icon1 span:nth-child(2) {
  top: 10px;
}

.animated-icon1 span:nth-child(3) {
  top: 20px;
}

.animated-icon1.open span:nth-child(1) {
  top: 11px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
  background: #ffc107;
}

.animated-icon1.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
  background: #ffc107;
}

.animated-icon1.open span:nth-child(3) {
  top: 11px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
  background: #ffc107;
}
