:root {
  --primary: #ad4634;
  --secondary: #5f656f;
  --light: #f5f5f5;
  --dark: #264d55;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
  font-weight: 700 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
  font-weight: 600 !important;
}

h5,
h6,
.h5,
.h6,
.fw-semi-bold {
  font-weight: 500 !important;
}

.br-title {
  font-size: 1rem;
  font-weight: 600;
  color: rgb(173, 70, 53,0.5);
  margin-bottom: 2rem;
  text-transform: uppercase;
}
.main-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.red{
  color: var(--primary);
}


@media screen and (max-width:768px) {
  .br-title {
    font-size: 1rem;
    font-weight: 600;
    color: rgb(173, 70, 53,0.5);
    margin-bottom: 2rem;
    text-transform: uppercase;
  }
  .main-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
  }
  
  .red{
    color: var(--primary);
  }
  
  
}


/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/* BreadCrumb Start */
.breadcrumbContainer {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  z-index: 10;
}

.breadcrumbContainer.about,
.breadcrumbContainer.contact,
.breadcrumbContainer.product,
.breadcrumbContainer.infra {
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center; /* Ensure the focal point is centered */
}

.breadcrumbContainer.about {
  background-image: url('../img/breadcrumbs/about_bc.png');
}

.breadcrumbContainer.infra {
  background-image: url('../img/breadcrumbs/infrastructure_bc.jpg');
}


.breadcrumbContainer.contact {
  background-image: url('../img/breadcrumbs/contact.png');
}

.breadcrumbContainer.product {
  background-image: url('../img/breadcrumbs/products.png');
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 10px 20px;
  margin-bottom: 1rem;
  list-style: none;
  position: absolute;
  left: 0;
  bottom: 0;
  color: white;
  border-radius: 5px;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.5);
}

.breadcrumb-item + .breadcrumb-item {
  padding-left: 0.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: var(--bs-breadcrumb-divider, "/");
  padding-right: 0.5rem;
}

/* Media Queries */
@media (max-width: 768px) {
  .breadcrumbContainer {
    height: 30vh; /* Adjusted height for better proportions */
  }

  .breadcrumbContainer.about,
  .breadcrumbContainer.contact,
  .breadcrumbContainer.product,
  .breadcrumbContainer.infra {
    background-attachment: scroll; /* Prevent fixed behavior on smaller screens */
    background-size: contain; /* Ensure the entire image fits within the container */
    background-position: center; /* Keep the focal point centered */
  }

  .breadcrumb {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .breadcrumbContainer {
    height: 20vh; /* Further reduce height for very small screens */
  }

  .breadcrumbContainer.about,
  .breadcrumbContainer.contact,
  .breadcrumbContainer.product,
  .breadcrumbContainer.infra {
    background-size: cover; /* Fit the image completely */
    background-position: center; /* Center the image */
  }

  .breadcrumb {
    padding: 5px 10px;
    font-size: 0.8rem;
  }

  .breadcrumb-item + .breadcrumb-item {
    padding-left: 0.3rem;
  }

  .breadcrumb-item + .breadcrumb-item::before {
    padding-right: 0.3rem;
  }
}

/* BreadCrumb End */

/*** Button ***/
.btn {
  transition: 0.5s;
  font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
  color: #ffffff;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

.topbar-right {
  position: relative;
  background: var(--primary);
}

.topbar-right::before {
  position: absolute;
  content: "";
  width: 30px;
  height: 100%;
  top: 0;
  left: -15px;
  transform: skewX(-30deg);
  background-color: var(--primary);
}

/*** Team ***/
.team-item .team-social {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  display: flex;
  align-items: center;
  background: var(--primary);
  transition: 0.5s;
}

.team-item:hover .team-social {
  left: 0;
}

/*** Navbar ***/
.navbar{
  z-index: 100;
}

.br-steel-nav-logo{
  /* width="220px" height="60px" */

  max-width: 250px;
}

@media screen and (max-width:768px) {
  .br-steel-nav-logo{
    max-width: 180px;
  }
}

.navbar.sticky-top {
  top: -100px;
  transition: 0.5s;
}
.navbar .navbar-brand {
  position: relative;
  padding-right: 50px;
  /* height: 75px; */
  display: flex;
  align-items: center;
  /* background: var(--primary); */
}


/* .navbar .navbar-brand::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 100%;
  top: 0;
  right: -25px;
  transform: skewX(-30deg);
  background-color: var(--primary);
} */

.navbar .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 20px 0;
  color: var(--dark);
  font-size: 16px;
  font-weight: bold;
  outline: none;
  text-transform: uppercase;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar .navbar-nav {
    border-top: 1px solid #eeeeee;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Header ***/
.landingSection {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.landingVideo,
.landing_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.landingVideo .video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.landing_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none; /* Default: hide the background image */
  animation: zoomIn 20s infinite alternate; /* Smooth zooming effect */
}


/* Zoom effect */
@keyframes zoomIn {
  0% {
      transform: scale(1); /* Normal size */
  }
  50% {
      transform: scale(1.1); /* Zoom in */
  }
  100% {
      transform: scale(1); /* Normal size */
  }
}

/* Show video for devices wider than 768px */
@media (min-width: 768px) {
  .landingVideo .video {
      display: block;
  }

  .landing_bg img {
      display: none;
  }
}

/* Show background image for devices smaller than 768px */
@media (max-width: 767px) {
  .landingVideo .video {
      display: none;
  }

  .landing_bg img {
      display: block;
  }
}

.owl-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  top: 0;
  left: 0;
}

.carousel-inner::after {
  display: block;
  clear: both;
  content: "";
}

.carousel-item {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* @keyframes slideRight {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
} */

.carousel-caption-container {
  position: absolute;
  display: flex;
  justify-content: start;
  align-items: end;
  bottom: 0;
  padding: 1.25rem;
  padding-left: 5rem;
  padding-bottom: 10rem;
  color: #fff;
  background-color: rgb(0, 0, 0, 0.6);
  border-radius: 0px 10px 0px 0px;
  text-align: start;
  width: 100%;
  height: 100%;
}

.captions {
  width: 70%;
  text-align: start;
}

.captions h1 {
  /* font-family: "Manrope", Sans-serif; */
  line-height: 1.2;
  /* color: var(--primary); */
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.captions h2 {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: #f5f5f5;
}

.greener {
  font-weight: bolder;
  background-size: 25%;
  text-transform: uppercase;
  font-family: "Manrope", Sans-serif;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: bold;
  text-shadow: #264d55;
}

.stainlessSteel {
  color: white;
}

.greener {
  background-image: url("../img/greener.png");
}

#customCTA {
  margin-top: 2rem;
}

#customCTA a {
  color: white;
  padding: 15px 30px;
  background-color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .carousel-caption-container {
    padding-left: 3rem;
  }

  .captions h1 {
    font-size: 36px;
  }

  .captions h2 {
    font-size: 18px;
  }

  #customCTA a {
    padding: 12px 25px;
  }
}

@media (max-width: 768px) {
  .carousel-caption-container {
    flex-direction: column;
    justify-content: start;
    align-items: start;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .captions {
    width: 100%;
    margin-top: 60%;
  }

  .captions h1 {
    font-size: 28px;
  }

  .captions h2 {
    font-size: 14px;
    margin-bottom: 1rem;
  }

  #customCTA {
    margin-top: 1rem;
  }

  #customCTA a {
    padding: 10px 20px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {

  #customCTA a {
    padding: 8px 15px;
    font-size: 12px;
  }
}

/*** Footer ***/
.footer {
  color: #b0b9ae;
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #b0b9ae;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--light);
  letter-spacing: 1px;
  box-shadow: none;
}

.copyright {
  color: #b0b9ae;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}


.quote-patch-container {
  /* height: 50vh; */
  width: 100%;
  background: var(--dark);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  margin: 4rem 0rem;
}

.quote-box {
  background: var(--light);
  color: var(--dark);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  text-align: center;
  position: relative;
}

.quote-box::before {
  content: "“";
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.2;
}

.quote-box::after {
  content: "”";
  position: absolute;
  bottom: -20px;
  right: 20px;
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.2;
}

.quote-text {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.quote-author {
  font-size: 1rem;
  font-weight: bold;
  color: var(--primary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .quote-box {
    padding: 1rem;
    width: 100%;
  }

  .quote-text {
    font-size: 1rem;
  }

  .quote-author {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .quote-box {
    padding: 1rem;
  }

  .quote-text {
    font-size: 0.9rem;
  }

  .quote-author {
    font-size: 0.8rem;
  }
}
