/* @import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}

:root {
  /* --heading-font: "Montserrat", sans-serif; */
  --heading-font: "Rubik", sans-serif;
  --body-font: "Rubik", sans-serif;
  --theme-color: #001647;
  --theme-bg-light: #f9f9f9;
  --body-text-color: #333435;
  --color-white: #ffffff;
  --color-dark: #111111;
  --color-green: #719430;
  --color-blue: #0049d0;
  --color-yellow: #f9cc47;
  --hero-overlay-color: #01060f;
  --slider-arrow-bg: rgba(255, 255, 255, 0.2);
  --box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
  --box-shadow2: 0 0 15px rgba(0, 0, 0, 0.17);
  --transition: all 0.5s ease-in-out;
  --transition2: all 0.3s ease-in-out;
  --border-info-color: rgba(0, 0, 0, 0.08);
  --border-info-color2: rgba(0, 0, 0, 0.05);
  --border-white-color: rgba(255, 255, 255, 0.08);
  --border-white-color2: rgba(255, 255, 255, 0.05);
  --footer-bg: #111111;
  --footer-bg2: #181818;
  --footer-text-color: #f5faff;
}

body {
  padding-top: 100px;
  color: var(--body-text-color);
  overflow-x: hidden !important;
  font-family: var(--body-font);
}

@media (max-width:510px) {
  body{
    padding-top: 90px;
  }
}

@media (max-width:768px) {
  body{
    padding-top: 75px;
  }
}

  /* scrollTop */

#scroll-top {
	position: fixed;
	bottom: -20px;
	right: 30px;
	z-index: 99;
	font-size: 23px;
	border: none;
	outline: none;
	border-radius: 50px;
	color: var(--color-white);
	background-color: var(--theme-color);
	cursor: pointer;
	width: 50px;
	height: 50px;
	line-height: 50px;
	text-align: center;
	box-shadow: var(--box-shadow2);
	transition: var(--transition);
	opacity: 0;
	visibility: hidden;
	z-index: 1
}

#scroll-top.active {
	opacity: 1;
	visibility: visible;
	bottom: 20px
}

@media all and (min-width:768px) and (max-width:1199px) {
	#scroll-top.active {
		bottom: 20px;
	}
}

p{
    text-align: justify;
    /* margin-bottom: 5px; */
}

.py-50{
    padding: 50px 0px;
}

a{
    color: var(--body-text-color);
}

a:hover{
    color: var(--color-white) !important;
}
img{
  max-width: 100%;
    height: auto;
}
.fas-icon{
  color: var(--theme-color);
}
ul{
  list-style-type: none;
  padding-left: 0px;
}
.card{
  background-color: var(--color-white);
  border: none;
  border-radius: 15px;
}

/* Header Section */
.navbar-wrapper {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 9999;
    background: transparent;
  }

  .top-header{
    background-color: var(--theme-color);
    display: flex;
  }

  .top-header ul{
    margin-bottom: 0px;
    padding: 5px;
  }
  .top-header ul li{
    margin-right: 10px;
    color: var(--color-white);
    font-size: 14px;
  }

  .top-header a{
    color: var(--color-white);
    text-decoration: none;
  }

  .top-header a:hover{
    color: var(--color-white) !important;
  }
  .navbar .navbar-brand img {
    width: 100px;
  }

  @media (max-width:425px) {
    .navbar .navbar-brand img {
    width: 80px;
   }
  }
  
  
  .navbar-toggler {
    border: none;
    background: transparent;
    font-size: 22px;
    color: #000000;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  
  .navbar-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
  }
  
  @media (max-width:768px) {
    .navbar-nav .nav-link{
      color: #000000 !important;
    }
  }
  .navbar-nav .nav-link {
    color: var(--color-dark);
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s ease-in-out;
  }
  .navbar-nav .nav-link:hover {
    color: var(--theme-color) !important;
  }
  
  
  
  @media (max-width:768px) {
    .nav-link{
      padding: 0px;
    }
  }
  
  
  @media (max-width: 991px) {
    .top-header {
      display: none;
    }
  
    .navbar .container {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }
  
    .navbar-nav {
      flex-direction: column;
      gap: 0px;
    }
    
  
    .navbar-nav .nav-item {
      margin: 10px 0;
    }
  }
  
  .btn-outline{
    border: 1px solid var(--theme-color);
  }

  .social-header ul li{
    color: var(--color-dark);
    background-color: var(--color-white);
    border-radius: 10px;
    padding: 2px 5px;
  }

  .social-header ul li a{
    color: var(--color-dark);
  }

  .social-header ul li a:hover{
    color: var(--color-dark) !important;
  }
  
  .navbar {
    width: 100%;
    margin: 0 auto;
    background-color: var(--theme-color);
    font-family: var(--heading-font);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    /* border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px; */
  }

  .navbar-toggler:focus{
    border: none;
    box-shadow: none;
  }

  @media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1rem;
    }
  }

  @media (max-width:768px) {
    .navbar{
      background-color: var(--color-white);
    }
  }

  @media (max-width:510px) {
    .navbar{
        width: 100%;
        border-radius: 0px;
    }
  }

  .toggler-iocn{
    color: var(--theme-color);
  }

  .nav-link{
    color: var(--body-text-color);
    font-size: 16px;
    font-weight: 600;
  }

  @media (min-width:992px) and (max-width:1025px) {
    .nav-link{
      font-size: 14px;
    }
  }

  .btn-theme{
    background-color: var(--theme-color);
    color: var(--color-white);
    font-size: 16px;
    border: none;
    text-decoration: none;
    border-radius: 25px;
    padding: 10px 20px;
  }
  .btn-theme i{
    vertical-align: middle;
  }
  .btn-theme:hover{
    color: var(--color-white) !important;
    background-color: var(--color-dark);
  }

/* Banner */


.hero {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.hero .carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.display-3 {
  font-size: calc(1rem + 3.3vw);
  font-weight: 300;
  line-height: 1.2;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.carousel-caption{
    right: 0;
}

.offcanvas-body .navbar-nav .nav-link{
  color: #000000 !important;
}




/* About Section */

.about h2{
     font-size: 30px;
}

.about-img img{
  border-radius: 15px;
}

.sec-title h2{
  position: relative;
  display: block;
  font-size:30px;
  line-height: 1.28em;
  color: #222222;
  font-weight: 600;
  padding-bottom:10px;
}

.sec-title h2:before{
  position:absolute;
  content:'';
  left:0px;
  bottom:0px;
  width:50px;
  height:3px;
  background-color: var(--theme-color);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card:hover {
    transform: translateY(-10px);
    transition: transform 0.3s ease;
  }

  .card {
    transition: transform 0.3s ease;
  }
  

/* Why Choose Champion Steel */

 .circle-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: auto;
  }

  .main-circle {
    width: 50px;
    height: 50px;
    background-color: #f5f5f5;
    border: 3px solid #333;
    border-radius: 50%;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
  }

  .main-circle i{
    color: var(--theme-color);
  }

  .connector {
    position: absolute;
    width: 80px;
    height: 80px;
  }

  .dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    position: absolute;
  }

  .top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .top::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    width: 2px;
    height: 25px;
    background-color: #e5b83f;
    transform: translateX(-50%);
  }

  .top .dot {
    background-color: #e5b83f;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .right {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .right::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 16px;
    width: 25px;
    height: 2px;
    background-color: var(--theme-color);
    transform: translateY(-50%);
  }

  .right .dot {
    background-color:var(--theme-color);
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .bottom {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .bottom::before {
    content: '';
    position: absolute;
    bottom: 16px;
    left: 50%;
    width: 2px;
    height: 25px;
    background-color:#e5b83f;
    transform: translateX(-50%);
  }

  .bottom .dot {
    background-color: #e5b83f;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .left {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .left::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 16px;
    width: 25px;
    height: 2px;
    background-color: var(--theme-color);
    transform: translateY(-50%);
  }

  .left .dot {
    background-color: var(--theme-color);
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  /* Scrap We Deal With */

  .position-relative::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 0.375rem; 
}
.scrap img{
  width: 100% !important;
  height: 250px !important;
}

  /* Swiper container spacing */
  .swiper {
    padding: 10px 0;
  }
  
  .swiper-slide {
    width: 100%;
    height: auto;
  }
  
  .swiper-slide .card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s;
  }
  
  .swiper-slide .card:hover {
    transform: scale(1.02);
  }
  
  
  .swiper-slide .card-img {
    height: 350px;
    object-fit: cover;
  }
  
  
  .card-img-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 60%);
    padding: 1rem;
    color: white;
    border-radius: 0;
  }
  
  
  .card-img-overlay .badge {
    font-size: 0.75rem;
    padding: 0.35em 0.6em;
    background-color: #b9fbc0;
    color: #333;
    border-radius: 12px;
    width: fit-content;
  }
  
  
  .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.5rem;
  }
  
  
  .swiper-button-next,
  .swiper-button-prev {
    color: #000;
    background-color: #ffffff;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    width: 40px;
    height: 40px;
  }
  
  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 22px !important;
  }
.sec-title2{
	color:#fff;
}
.sec-title {
    position: relative;
    padding-bottom: 15px;
}
.sec-title .title {
    position: relative;
    color: var(--theme-color);
    font-size: 18px;
    font-weight: 700;
    /* padding-right: 50px; */
    margin-bottom: 15px;
    display: inline-block;
    text-transform: capitalize;
}


/* About 1 */

.about-icon{
  font-size: 24px;
}

.section-desc {
  opacity: 0.6;
}

.about-content-right{
  color: #fff;
}
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.about-thumb img {
  animation: spin 20s linear infinite; 
}

.about-item-title{
  font-size: 20px;
}

/* Gallery Page */

/* Gallery Grid Styles */
.gallery-item img {
    width: 100%;
    height: 250px;
    /* Set a fixed height */
    object-fit: cover;
    /* Ensures images maintain aspect ratio and cover the container */
    border-radius: 4px;
  }

  .gallery-grid {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
    margin: 20px 0;
  }

  .gallery-column {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
  }

  .gallery-item {
    margin-bottom: 8px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
  }


  .gallery-item:hover {
    transform: scale(1.02);
  }

  /* Modal Styles */
  .modal1 {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 65px;
    left: 0;
    top: 115px;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
  }

  @media (max-width:768px) {
    .modal1 {
      top: 78px;
    }
  }

  @media (min-width:769px) and (max-width:1024px) {
    .modal1 {
      top: 100px !important;
    }
  }

  @media (min-width:1025px) and (max-width:1440px) {
    .modal1 {
      top: 120px !important;
    }
  }

  @media (min-width:1441px) {
    .modal1 {
      top: 120px !important;
    }
  }

  .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 600px;

  }

  .close {
    position: absolute;
    top: 35px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }

  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }

  /* Responsive layout */
  @media (max-width: 992px) {
    .gallery-column {
      flex: 50%;
      max-width: 50%;
    }
  }

  @media (max-width: 576px) {
    .gallery-column {
      flex: 100%;
      max-width: 100%;
    }

    .close {
      position: absolute;
      top: 0px;
      right: 21px;
      color: #fff;
      font-size: 40px;
      font-weight: bold;
      transition: 0.3s;
    }
  }

/* Our Services */

.service-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  text-align: center;
  overflow: hidden;
}
.service-icon {
  background: var(--theme-color);
  padding: 10px;
  width: fit-content;
  border-radius: 5px;
  margin-bottom: 10px;
}
.service-icon img {
  width: 30px !important;
  height: 30px !important;
}
.service-number {
  position: absolute;
  top: 0;
  right: 15px;
  font-size: 50px;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.1);
}
.service-title {
  font-weight: bold;
  font-size: 20px;
  margin-top: 10px;
  text-transform: uppercase;
}
.service-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 5px;
}
.service-text {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
}
.service-list {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-top: 10px;
}
.service-list li {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  font-size: 14px;
}
.service-list li::before {
  content: "✔";
  color: var(--theme-color);
  font-weight: bold;
  margin-right: 8px;
}

/* ////////////////////////// Contact Page //////////////////// */

.contact-details{
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.contact{
  padding: 3rem;
}

@media (max-width:510px) {
  .contact{
    padding: 2rem;
  }
}

h1 {
  font-weight: 600;
}

h1, h3 {
  margin-bottom: 0.5rem;
}

label {
  font-size: 1rem;
  color: #333;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  border: none;
  border-bottom: 2px solid rgb(128, 126, 126);
  background: transparent;
  outline: none;
  width: 100%;
  text-transform: capitalize;
  padding: 1rem 0.4rem;
  font-size: 1rem;
}


.form-check-input {
  transform: scale(1.2);
  cursor: pointer;
}

.aside {
  background-color: var(--color-dark);
  background-size: 400%;
  border-radius: 0px 10px 10px 0px;
}
.aside a{
  color: var(--color-white);
}

.aside h1 {
  font-size: 1.8rem;
}

.aside p {
  font-size: 1rem;
  margin-bottom: 0px;
  color: rgba(255, 255, 255, 0.8);
}


ul {
  list-style: none;
  padding: 0;
}

textarea {
  resize: none;
  height: 65px;
}

li {
  display: flex;
  align-items: center;
}


.contact-form i{
  font-size: 1rem;
  color: #fff;
  padding: 0.5rem;
  border: 1px solid currentColor;
  border-radius: 50%;
}



/*---------footer---------*/
footer {
  background-color: #0b0f17;
  color: #fff;
  /* padding: 220px 0; */
  font-size: 14px;
}
footer h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 1px;
}
footer h4 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 2px;
}
.about-footer li i {
  position: absolute;
  left: 0;
}
.about-footer li {
  padding-left: 40px;
  position: relative;
  margin-bottom: 40px;
}

.about-footer ul {
  margin-top: 25px;
}

footer a {
  color: #fff;
}

footer a:hover {
  color: #ed1b24;
}
.footer-title {
  width: fit-content;
  border-bottom: 2px solid var(--theme-color);
  padding-bottom: 15px;
  margin-bottom: 20px;
}


ul.footer-social li {
  display: inline;
  margin-right: 16px;
}

ul.footer-social i {
  width: 30px;
  height: 30px;
  background: #fff;
  color: #222025;
  text-align: center;
  line-height: 30px;
  border-radius: 30px;
  font-size: 16px;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  font-weight: 800;
}

ul.footer-contact li {
  margin-right: 16px;
  margin-bottom: 10px;
}

ul.footer-contact i {
  width: 30px;
  height: 30px;
  background: #fff;
  color: #222025;
  text-align: center;
  line-height: 30px;
  border-radius: 30px;
  font-size: 16px;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  font-weight: 800;
}

ul.footer-social li:last-child {
  margin-right: 0px;
}

ul.footer-social i:hover {
  background: var(--theme-color);
  color: #fff;
}

.page-more-info li {
  margin-bottom: 10px;
}

footer .table td:first-child {
  font-weight: 600;
  padding-left: 33px;
}

footer .table td:last-child {text-align: right;}
footer .table td {
  padding: 0px;
  border: 0;
}


footer .table td i {
  position: absolute;
  left: 0px;
  font-size: 21px;
  top: 6px;
}

footer .table td {
  position: relative;
  padding: 4px 0;
}
.footer-logo td {
  padding-right: 4px !important;
}

.footer-logo td:last-child {
  padding-right: 0px !important;
}
footer hr {
  border-color: #9294a0;
}

.footer-bottom p {
  text-align: right;
}
/* .footer-bottom {
  margin-top: 30px;
} */
.open-hours hr {
  margin: 30px 0;
}

.footer-ul a{
  text-decoration: none;
}

.copyright {
  position: relative;
  padding: 5px 0;
  /* border-bottom: 5px solid var(--theme-color); */
  z-index: 1;
}
.copyright p{
  padding: 5px !important;
  margin-bottom: 0px;
}


/* whatsapp  */
.whatsapp-btn {
  position: fixed;
  bottom: 22px;
  /* left: 30px; */
  right: 30px;
  z-index: 1;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  animation: wave 2s ease-in-out infinite;
}



.whatsapp-btn i {
  color: #fff;
  font-size: 30px; 
  text-decoration: none;
}

@keyframes wave {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 15px 10px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* phone-btn  */
.phone-btn {
  position: fixed;
  bottom: 22px;
  left: 30px;
  /* right: 30px; */
  z-index: 1;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #13afce;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  animation: wave 2s ease-in-out infinite;
}



.phone-btn i {
  color: #fff;
  font-size: 24px; 
  text-decoration: none;
}

@keyframes wave {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 15px 10px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}