/* Custom Font Definitions */
@font-face {
    font-family: 'BebasNeue-Regular';
    src: url('../fonts/Bebas_Neue/BebasNeue-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat-Regular';
    src: url('../fonts/Montserrat/Montserrat-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat-Bold';
    src: url('../fonts/Montserrat/Montserrat-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat-Light';
    src: url('../fonts/Montserrat/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat-Medium';
    src: url('../fonts/Montserrat/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat-SemiBold';
    src: url('../fonts/Montserrat/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat-ExtraBold';
    src: url('../fonts/Montserrat/Montserrat-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Montserrat-Regular'; 
    overflow-x: hidden !important;
}

.container {padding-right: 0px;
    width: 90%;
    min-width: 90%;
    margin-left: auto;
    margin-right: auto;
}
:root {
    --brand-color: #a30000;
    --text-dark: #333;
}

.navbar-brand img {
    width: 150px;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 250px;
    transition: all 0.3s ease;
}

.search-container input {
    border-radius: 25px;
    padding-right: 40px;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    transition: all 0.3s ease;
}

.search-container input:focus {
    box-shadow: 0 0 5px 2px rgba(163, 0, 0, 0.25);
    border-color: var(--brand-color);
}

.search-container .search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.navbar-nav .nav-link, .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link.active  {
    color: var(--brand-color);font-weight: 600;
}
 
.navbar-nav .nav-link:hover {
    color: var(--brand-color); 
}
.text-muted { 
    font-weight: 600;
}
button:focus:not(:focus-visible) {
    outline: 0;
    box-shadow: none;
}


/* Underline animation for desktop */
@media (min-width: 992px) {
    .navbar-nav .nav-link.border-AB::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        background-color: var(--brand-color);
        transition: all 0.3s ease;
        transform: translateX(-50%);border: none;padding: 0px;
    }
    
    .navbar-nav .nav-link.border-AB:hover::after,
    .navbar-nav .nav-link.border-AB.active::after {
        width: 70%;
    }
}

/* Mobile menu styling */
@media (max-width: 991.98px) {
    .search-container {
        margin: 10px 0;
        max-width: 100%;
    }
    
    .offcanvas-menu .nav-link {
        border-left: 3px solid transparent;
        padding-left: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .offcanvas-menu .nav-link.active {
        border-left: 3px solid var(--brand-color);
        background-color: rgba(163, 0, 0, 0.05);
        color: var(--brand-color);font-weight: 600;
    }
     
    .offcanvas-menu .nav-link:hover { 
        color: var(--brand-color); 
    }
    
    .dropdown-menu {
        border: none;
        background-color: rgba(0,0,0,0.02);
        padding-left: 2rem;
    }
    
    .megamenu {
        padding: 1rem;
    }
    
    .megamenu-column {
        margin-bottom: 1rem;
    }
}

/* Mega menu for desktop */
@media (min-width: 992px) {
    .megamenu {
        position: static;
    }
    
    .megamenu .dropdown-menu {
        width: 100%;
        left: 0;
        right: 0;
        padding: 1.5rem;
        border-radius: 0;
        border-top: 3px solid var(--brand-color);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .megamenu-column h6 {
        color: var(--brand-color);
        font-weight: 600;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #eed6d6;
    }
    
    .megamenu-column .nav-link {
        padding: 0.3rem 0;
        font-weight: normal; font-size: 14px;
    }
}

/* Offcanvas menu animation */
.offcanvas {
    transition: transform 0.35s ease-in-out;
}
.shadow-sm {
    box-shadow: 0 .125rem .25rem rgb(163 0 0 / 20%) !important;
}
/* Side dropdown animation */
.side-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.side-dropdown.show {
    max-height: 1000px;
}

/* Toggle button styling */
.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.hamburger-icon {
    width: 30px;
    height: 20px;
    position: relative;
    margin: 0;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--brand-color);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger-icon span:nth-child(1) {
    top: 0px;
}

.hamburger-icon span:nth-child(2),
.hamburger-icon span:nth-child(3) {
    top: 10px;
}

.hamburger-icon span:nth-child(4) {
    top: 20px;
}

.hamburger-icon.open span:nth-child(1) {
    top: 10px;
    width: 0%;
    left: 50%;
}

.hamburger-icon.open span:nth-child(2) {
    transform: rotate(45deg);
}

.hamburger-icon.open span:nth-child(3) {
    transform: rotate(-45deg);
}

.hamburger-icon.open span:nth-child(4) {
    top: 10px;
    width: 0%;
    left: 50%;
}


.main-banner{position: relative;}
.main-banner img{object-fit: cover;height: 400px;}
.main-banner-overlay{    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.00) 0%, #000 100%);
}
.banner-heading {
    position: absolute;
    bottom: 65px;
}
.banner-heading h4 {
    color: #FFF; 
    font-size: 16px;
    font-style: normal;
    line-height: 170%;
    letter-spacing: 0.54px;
    text-transform: uppercase;
}
.banner-heading h1 {
    color: #FFF; font-weight: 600;
    font-size: 24px;
    font-style: normal;
    line-height: 150%;
    letter-spacing: 0.72px;
    text-transform: uppercase;
}

/* fancy box sec */
.card-img-container {
    position: relative;
    overflow: hidden;
    height: 350px;
    border: 3px solid #c2baba;
    border-radius: 5px;
  }
  
  .card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This will make all images evenly sized */
    transition: transform 0.3s ease;
  }
  
  .hover-gallery {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px;
  }
  
  .card-img-container:hover .hover-gallery {
    opacity: 1;
    visibility: visible;
  }
  
  .card-img-container:hover .main-image {
    transform: scale(1.05);
  }
  
  .gallery-thumb {
    width: 30%;
    height: 80px;
    margin: 5px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
  }
  
  .gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .gallery-thumb:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  }
  
  .view-all {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .hidden-gallery {
    display: none;
  }

.our-clients-section p{color: #9E9E9E;}
  .product-card { 
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    height: 100%;
}
h2 {
    font-size: 2.2rem;
    line-height: 46px;
}
.product-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.product-label {
    background-color:  var(--brand-color);;
    color: white;
    padding: 8px 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.mini-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.explore-signage a{text-decoration: none;}
.mini-gallery-item {text-decoration: none;
    width: calc(12.5% - 10px);
    background-color: #f4f4f4de;
    border-radius: 6px;
    overflow: hidden;transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mini-gallery-image {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.mini-gallery-label {
    background-color: #f4f4f4de;
    color: #282828;
    padding: 5px;
    text-align: center;
    font-size: 12px;
    border-top: 1px solid #eee;
}
.mini-gallery-item:hover .mini-gallery-label{color: var(--brand-color);font-family: 'Montserrat-Medium';} 
    .mini-gallery-item:hover { 
    box-shadow: 0 3px 5px rgba(0,0,0,0.3);
    transform: translateY(-7px);
}
@media (max-width: 991px) {
    .mini-gallery-item {
        width: calc(25% - 10px);
    }
}
@media (max-width: 767px) {
    .mini-gallery-item {
        width: calc(33.333% - 10px);
    }
    h2 {
        font-size: 1.7rem;
        line-height: 38px;
    }
}

    
.fancybox-button--zoom, .fancybox-button--thumbs, .fancybox-button--play{display: none !important;}
   
    .footer {
        background-color: #f7f7f7 ;
        color: #232222;
        padding: 40px 0 20px;
    }
    .footer-logo{
        width: 130px;
        margin-bottom: 30px;
    }
    .footer h5 {
        font-weight: 600;
        margin-bottom: 20px;
        font-size: .8rem;
    }
    
    .footer ul {
        list-style-type: none;
        padding: 0;
    }
    
    .footer ul li {
        margin-bottom: 6px;
    }
    
    .footer a {font-size: 14px;
        color: #232222;
        /* text-decoration: none; */
        transition: opacity 0.3s;
    }
    
    .footer a:hover {
        opacity: 0.8;
    }
    
    .social-icons {
        display: flex;
        gap: 5px;
    }
    
    .social-icons a {
        background-color: #ebebeb;
        color:  var(--brand-color); ;
        width: 35px;
        height: 35px;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s;
        text-decoration: none;
    }
    
    .social-icons a:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .copyright {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 20px;
        font-size: 0.7rem;
        text-align: center; 
        color: #232222;
    }
    
    .back-to-top {
        position: fixed;
        bottom: 30px;
        right: 20px;
        background-color:  var(--brand-color); ;
        color: white;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }
    
    .back-to-top.show {
        opacity: 1;
        visibility: visible;
    }
    
    .back-to-top:hover {
        background-color:  var(--brand-color); ;
        transform: translateY(-3px);
    }
  .zoom-add img{transition: all 0.3s;}
    .zoom-add:hover img{transform:scale(1.1); }

    @media (max-width: 576px) {
    .mini-gallery { gap: 15px;}
    }
    @media (max-width: 768px) {
        .footer-column {
            margin-bottom: 0px;
        } 
        .back-to-top {
            bottom: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
        }
    }

    
    /* Main horizontal swipers */
   .our-clients-section .main-swiper {
        width: 100%;
        overflow: hidden;
        margin-bottom: 20px;
      } 
      
      .our-clients-section .main-swiper .swiper-wrapper{
        transition-timing-function: linear;
      }
      
  /* .fancybox-button--zoom, .fancybox-button--thumbs, .fancybox-button--play{display: none !important;} */
  .our-clients-section  .main-swiper .swiper-slide img { 
        width: 100%;
        height: auto;
        object-fit: cover;
      }
      .po-tb-img {height: 100%;margin-left: auto;margin-right: auto;text-align: center;}
      .po-tb-img img{max-height: 550px;object-fit: cover;width: 90%;border-radius: 20px;}
      .po-t-img-1{position: absolute;top: 0px;left: 0px;width: 48%;height: 80%;}

    
  .explore-signage h4, .explore-signage h5, .our-clients-section h3, .about-section-1 h2,
  .who-we-r-section h2,.fw-sm-Montserrat {
    font-family: 'Montserrat-SemiBold';}
    .fw-m-Montserrat{
        font-family: 'Montserrat-Medium';}
        .border-fff{border: 3px solid #fff;box-shadow: 0 0 5px 2px #bebebe;}
        .border-eee{box-shadow: 0 5px 10px 4px #9f9f9f;}
    p { 
        line-height: 28px;
    } 
    .clr-custom{color: var(--brand-color);}
    .who-we-r-section {
        background-color: #f2f2f2; 
    }
    .who-we-r-section h2{ font-family: 'Montserrat-Medium';}
    .who-we-r-section h2 span{font-family: 'Montserrat-Bold';color: var(--brand-color);}
    .our-fabrication h3{line-height: 38px;}
    .w-500{width: 200px;
        box-shadow: 0 -8px 7px 3px #d4d4d4;
        border-radius: 50%;}
    .stats-box {
        text-align: center;
        border-radius: 5px;
        padding: 0.75rem 0.25rem; 
    }
    
    .stat-number {
        font-size: 1.35rem;
        font-weight: bold;
        color: #333;
    }
    
    .stat-text {
        font-size: 0.9rem;
        color: #555;
    }
    
    .company-image {
        border-radius: 50%;
        max-width: 100%;
        height: auto;
    }
      
    .border-l{position: relative;}
    .border-l::after{content: "";position: absolute;right: 0px;top: 50%;transform: translateY(-50%);width: 1px;height: 80%;
background-image: linear-gradient(0deg,#fff, #000, #fff);}

.arrow-AB, .arrow-BA{position: relative;}
.arrow-AB::after{content: "";position: absolute;bottom: -110px;left:50%;width: 53%;height: 100px;
background: url(../img/about-us/left-icon.svg);background-repeat: no-repeat;background-position: top;background-size: contain;}
.arrow-BA::after{content: "";position: absolute;bottom: -110px;right:50%;width: 53%;height: 100px;
background: url(../img/about-us/right-icon.svg);background-repeat: no-repeat;background-position: top;background-size: contain;}
.txt-since{
    width: 370px;
    background-color:var(--brand-color);
    color: #fff;
    padding: 26px;
    margin: 50px auto;
    position: relative; 
  }
  .txt-since::after{
    content: "";
    position: absolute;
    border:20px solid #fff; 
    border-bottom:20px solid var(--brand-color);
    left: calc(50% - 20px);
    top: -40px;
  } 

.offers-section {
        background-color: #fff;
        padding: 1rem 0.5rem;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        margin-bottom: 2rem;
    }
    
    .offers-title {
        color: var(--brand-color);
        text-align: center;
        font-weight: bold; 
    } 
    .categories-section{padding: 2rem;}
    .categories-header {
        /* display: flex; */
        /* justify-content: space-between; */
        /* align-items: end; */
        margin-bottom: 1.5rem;
    }
    
    .categories-subtitle {
        font-size: 0.9rem;
        color: #777;
        max-width: 400px;
        line-height: 1.4;
    }
    
    .view-all-link {
        color: #eee;background: var(--brand-color);
        text-decoration: none;border-radius: 4px;padding: 5px 10px;
        font-size: 0.9rem;
    }
    
    .service-card {
        border-radius: 8px;
        overflow: hidden;
        margin-bottom: 1.5rem;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        transition: transform 0.3s ease; 
    }
    
    .service-card:hover {
        transform: translateY(-5px);
    }
    
    .service-img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }
    
    .service-title {
        padding: 0.8rem;
        text-align: center;
        font-size: 0.9rem;
        background-color: #f8f9fa;
    }
        
    @media (max-width: 1199px) {
        .container {
            width: 96%;
            min-width: 96%;}
            .search-container { max-width: 190px;}
            .navbar-nav .nav-link, .nav-link { padding: 0.5rem 0.35rem !important; font-size: 16px;}
            h2 {
                font-size: 1.65rem;
                line-height: 38px;
            }
            
        }

    @media (max-width: 991.9px) {
    
        .po-tb-img img {
            max-height: 400px;}
            .align-self-center-md{align-self: center;}
            .who-we-r-section h2 { 
                font-size: 1.5rem;
            }

    }


    .contact-form-container {
        background-color: #fff;
        border-radius: 12px;text-align: center;
        box-shadow: 0 2px 15px rgba(0,0,0,0.17); 
        font-family: 'Montserrat-Regular';
    }
    .bg-lightclr{background: #eeeeeec7;}
    .form-heading {
        text-align: center;
        font-size: 22px;
        font-weight: 500;
        color: #333;
        margin-bottom: 25px;
    }
    
    .form-control {
        border-radius: 8px;
        padding: 12px 15px;
        border: 1px solid #ffe5e8;         
        box-shadow: 0 0 0 0.25rem rgba(220, 220, 220, 0.2);
    }
    
    .form-control:focus {
        border-color: #d9d9d9;
        box-shadow: 0 0 0 0.25rem rgb(255 232 232);
        border: 1px solid var(--brand-color);
    }
    
    .phone-input-container {
        display: flex;
        margin-bottom: 15px;
    }
    
    .country-flag {
        border: 1px solid #e0e0e0;
        border-radius: 8px 0 0 8px;
        padding: 10px 15px;
        background-color: #fff;
        display: flex;
        align-items: center;
        border-right: none;
    }
    
    .phone-input {
        border-radius: 0 8px 8px 0;
        flex-grow: 1;
    }
    
    textarea.form-control {
        min-height: 120px;
        resize: vertical;
    }
    
    .submit-btn {
        background-color: var(--brand-color);
        border: none;
        color: white;
        padding: 12px 3rem;
        border-radius: 8px; 
        font-weight: 500;
        margin-top: 10px;transition: all 0.5s ease;
        margin-left: auto;margin-right: autoa;
    }
    
    .submit-btn:hover {box-shadow: 0 4px 5px 1px #bbbbbb;
        background-color: var(--brand-color);
    }
    
    /* India flag colors */
    .flag-india {
        width: 24px;
        height: 16px;
        display: inline-block;
        position: relative;
        overflow: hidden;
        margin-right: 8px;
    }
    
    .flag-india .saffron {
        height: 33.33%;
        width: 100%;
        background-color: #FF9933;
        position: absolute;
        top: 0;
    }
    
    .flag-india .white {
        height: 33.33%;
        width: 100%;
        background-color: #FFFFFF;
        position: absolute;
        top: 33.33%;
    }
    
    .flag-india .green {
        height: 33.33%;
        width: 100%;
        background-color: #138808;
        position: absolute;
        top: 66.66%;
    }