:root {
    --primary: #FDC830;
    --secondary: #5F656F;
    --light: #F5F5F5;
    --dark: #161616;
}

.text-primary {
    color: var(--primary) !important;
}

.text-white {
    color: var(--light);
}

.text-yellow {
    color: #FDC830;
}

.text-orange {
    color: #F37335;
}

.text-black {
    color: var(--dark);
}

.text-light-black {
    color: var(--light-dark);
}

.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    border-radius: 0;
}

.border-primary {
    border-color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-dark {
    background-color: var(--dark) !important;
}

.bg-light-dark {
    background-color: var(--light-dark) !important;
}

.bg-secondary {
    background-color: var(--light-dark) !important;
}

.btn.btn-light {
    color: var(--primary) !important;
}

.btn.btn-light:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--light) !important;
}

.btn-secondary {
    background-color: var(--dark) !important;
    border-color: var(--dark) !important;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--light);
}

html,
body {
    position: relative;
    overflow-x: hidden;
}

body {
    font-family: "Inria Sans", sans-serif;
    font-weight: normal;
    color: #6e7684;
    background-color: var(--light);
    padding-top: 120px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Space Grotesk", sans-serif;
    color: var(--dark);
}

h1 {
    font-weight: 800 !important;
}

p {
    font-family: "Inria Sans", sans-serif;
    color: var(--default-color);
}

a {
    text-decoration: none;
    color: white;
}

.top-bar {
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar {
    padding-top: 20px;
    padding-bottom: 20px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.navbar .nav-item .dropdown-menu {
    width: 240px;
}

.dropdown-item {
    padding: 10px 15px;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--primary) !important;
}

.display-7 {
    font-size: 24px;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 18px;
    z-index: 99;
}

input::placeholder {
    color: #888888;
}

input::-webkit-input-placeholder {
    color: #888888;
}

input:-moz-placeholder {
    color: #888888;
    opacity: 1;
}

input::-moz-placeholder {
    color: #888888;
    opacity: 1;
}

input:-ms-input-placeholder {
    color: #888888;
}

.subscribe-form .form-control {
    color: var(--light);
}

.subscribe-form .form-control::placeholder {
    color: var(--light);
    opacity: 1;
}

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;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .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);
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    position: relative;
    padding-right: 50px;
    height: 75px;
    display: flex;
    align-items: center;
    /* background: rgb(246, 240, 228); */
}

.navbar .navbar-brand::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 100%;
    top: 0;
    right: -25px;
    transform: skewX(-30deg);
    /* background-color: rgb(246, 240, 228); */

}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 20px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.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: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/

#header-carousel .carousel-item img {
    width: 100%;
    /* full width */
    height: 700px;
    /* set your desired height */
    object-fit: cover;
    /* ensures image fills the box without distortion */
    object-position: center;
    /* keeps the subject centered */
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(2, 1, 0, 0.805) 0%, rgba(10, 5, 0, 0.381) 100%);
    z-index: 1;

}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

@media (min-width:430px) and (max-width:932px) {
    .carousel-caption h1 {
        font-size: 25px;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }
}

@media (max-width:768px) {

    .carousel-control-next,
    .carousel-control-prev {
        top: 60%;
    }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
    border-radius: 3.5rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(to right, rgba(0, 255, 255, 0.2) 0%, rgba(2, 36, 91, 0) 100%), url(../images/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Facts ***/
.facts {
    position: relative;
    margin: 6rem 0;
    background: var(--dark);
}

.facts .border {
    border-color: rgba(255, 255, 255, .1) !important;
}


/*** Features ***/
.btn-play {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
    z-index: 999;
    cursor: pointer;
}

@media (max-width: 992px) {
    .btn-play {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid #FFFFFF;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Service ***/
.service-item {
    position: relative;
    margin: 65px 0 25px 0;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-img {
    position: absolute;
    padding: 12px;
    width: 130px;
    height: 130px;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .service-detail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.service-item .service-title {
    position: absolute;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-title {
    top: -100%;
}

.service-item .service-text {
    position: absolute;
    overflow: hidden;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    display: flex;
    align-items: center;
    text-align: center;
    background: rgb(71 55 0 / 70%);
    transition: .5s;
}

.service-item:hover .service-text {
    top: 0;
}

.service-item .service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100px;
    top: -100%;
    left: 0;
    transform: skewY(-12deg);
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-text::before {
    top: -55px;
}

.service-item .btn {
    position: absolute;
    width: 130px;
    height: 50px;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    background: #FFFFFF;
    border: none;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Project ***/
.project-carousel {
    position: relative;
    background: var(--dark);
}

.project-item {
    position: relative;
    display: block;
    overflow: hidden;
    /* prevent images overflowing */
}

.project-item img {
    width: 100%;
    transition: transform 0.5s;
}

.project-item:hover img,
.project-carousel .owl-item.center img {
    transform: translateY(-20%);
    /* smoother hover effect */
}

.project-item .project-title {
    position: absolute;
    padding: 0 15px;
    width: 100%;
    height: 80px;
    bottom: -50%;
    /* relative positioning */
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--dark);
    transition: bottom 0.5s;
}

.project-item:hover .project-title,
.project-carousel .owl-item.center .project-title {
    bottom: 0;
}

.project-item .project-title::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    top: -15px;
    left: 0;
    transform: skewY(-5deg);
    background: var(--dark);
    transition: 0.5s;
}

.project-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    transition: 0.5s;
    opacity: 0;
    z-index: 1;
}

.project-carousel:hover .owl-nav {
    opacity: 1;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 30px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 50%;
    font-size: 22px;
    transition: 0.5s;
}

/*** Team ***/
.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    display: flex;
    align-items: center;
    background: var(--primary);
    transition: .5s;
}

.team-item:hover .team-social {
    left: 0;
}

.team-item .social-box {
    width: 90px;
    height: 90px;
}

/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .testimonial-img img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .testimonial-img .btn-square {
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 30px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}


/*** 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: .3s;
}

.footer a.btn.btn-link {
    text-decoration: none;
}

.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(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: #B0B9AE;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.msg-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;


}

.btn-primary {
    padding: 8px 18px;
    /* Reduced height & width */
    transition: all 0.3s ease;
    /* Smooth hover animation */
}

.btn-primary:hover {
    background-color: #ffc107;
    /* Light yellow */
    border-color: #ffc107;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.7);
    /* color: #000; */
    /* Dark text for contrast */
}


/* whatsapp-floating  */

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    /* distance from bottom */
    left: 20px;
    /*  moved to left */
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fafafa00;
    /* WhatsApp green */
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.whatsapp-float a img {
    width: 45px;
    height: 45px;
}

/* Hover Effect */
.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 20px rgba(37, 211, 102, 0.6);
    background-color: #20b358;
}

/* Optional: Glow Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float a {
    animation: pulse 2s infinite;
}


/* Fix header */
#mainHeader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* new card style  */


.team-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    background: #fff;
}

.team-card:hover {
    transform: translateY(-6px);
}

.team-img {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover .team-img img {
    transform: scale(1.1);
    /* zoom effect */
}

.team-info {
    background: #fff;
    text-align: center;
    padding: 15px;
    border-top: 1px solid #eee;
}

.team-info h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.team-info span {
    font-size: 14px;
    color: #888;
}



 /* Designation  */


 .team-card1 {
     background: #fff;
     border-radius: 12px;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
     padding: 20px;
     text-align: center;
     transition: transform 0.3s ease;
 }

 .team-card1:hover {
     transform: translateY(-8px);
 }

 .initials {
     width: 60px;
     height: 60px;
     background: var(--primary);
     color: #fff;
     font-size: 20px;
     font-weight: bold;
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 50%;
     margin: 0 auto 15px;
 }

 .designation {
     color: #6c757d;
     font-size: 14px;
     display: block;
     margin-bottom: 10px;
 }

 .team-social a {
     margin: 0 5px;
     color: var(--primary);
     font-size: 16px;
 }

 .team-social a:hover {
     color: #000;
 }


/* Extra styling for modal thumbs */
.product-thumb-modal {
    cursor: pointer;
    border-radius: 8px;
    border: 2px solid transparent;
    object-fit: cover;
    height: 100px;
    width: 100%;
}

.product-thumb-modal:hover {
    border-color: #FDC830;
}

#productMainImg {
    max-height: 430px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

/* Zoomable cursor */
.zoomable-img {
    cursor: zoom-in;
}

/* Make product cards clickable as a whole */
.product-card {
    cursor: pointer;
}

/* Ensure modal close button visible and body scrolls if content is tall */
.modal-dialog.modal-xl {
    max-width: 1140px;
}

.modal-content {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-header {
    flex-shrink: 0;
}

.modal-body {
    overflow-y: auto;
}

/* Footer alignment tweaks */
.footer .col-lg-3 h5,
.footer .col-lg-6 h5 {
    text-align: left;
}

.business-hours {
    font-size: 0.95rem;
}

.business-hours .bh-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    color: #f8f9fa;
    margin-bottom: 4px;
}

.business-hours .bh-day {
    flex: 0 0 45%;
    font-weight: 500;
}

.business-hours .bh-time {
    flex: 0 0 55%;
    text-align: right;
    opacity: 0.85;
}

/* Ensure product modal always stays above navbar */
.modal {
    z-index: 1200;
    /* higher than Bootstrap navbar (usually 1030) */
}

/* Optional: zoom modal even higher */
#imageZoomModal {
    z-index: 1300;
}

/* Add breathing room so close button is not under the navbar */
#productModal .modal-dialog {
    margin-top: 80px;
    /* adjust according to your navbar height */
}

@media (max-width: 767.98px) {
    #productModal .modal-dialog {
        margin-top: 70px;
    }
}


@media (max-width: 767.98px) {

    /* Heading text size for smaller screens */
    h1.display-5 {
        font-size: 1.8rem;
    }

    /* Footer columns stack better */
    .footer .col-lg-6,
    .footer .col-lg-3 {
        text-align: left;
    }

    .footer .col-lg-3 .d-flex {
        justify-content: flex-start;
        padding-left: 0 !important;
    }

    /* Adjust thumbnails height on mobile */
    .product-thumb-modal {
        height: 80px;
    }

    #productMainImg {
        max-height: 260px;
    }
}

/* WhatsApp floating button sizing for mobile */
.whatsapp-float img {
    width: 60px;
    height: 60px;
}

@media (max-width: 575.98px) {
    .whatsapp-float img {
        width: 48px;
        height: 48px;
    }
}

/* Make grid cards breathe on small screens */
@media (max-width: 767.98px) {
    .team-card {
        margin-bottom: 15px;
    }

    .team-info h5 {
        font-size: 1rem;
    }

    #productMainImg {
        max-height: 260px;
    }

    .product-thumb-modal {
        height: 80px;
    }

    .footer .btn-link {
        padding-left: 0;
    }

    .whatsapp-float img {
        width: 55px;
        height: 55px;
    }
}
