/* darkmode action button start */
.bi {
    vertical-align: -0.125em;
    fill: currentColor;
}

.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;
    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
    z-index: 1500;
}

.bd-mode-toggle .bi {
    width: 1em;
    height: 1em;
}

.bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
}

/* darkmode action button start */

html,
body {
    overflow-x: hidden;
    /* Prevent scroll on narrow devices */
}

body {
    padding-top: 86px;
}

body,
.lead,
p,
a,
li,
span {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.text-justify {
    text-align: justify;
}

.top-head h1 {
    text-transform: uppercase;
}

/* navbar css statr */

@media (max-width: 991.98px) {
    .offcanvas-collapse {
        position: fixed;
        top: 86px;
        bottom: 0;
        left: 100%;
        width: 100%;
        padding-right: 1rem;
        padding-left: 1rem;
        overflow-y: auto;
        visibility: hidden;
        background-color: #343a40;
        transition: transform .3s ease-in-out, visibility .3s ease-in-out;
    }

    .offcanvas-collapse.open {
        visibility: visible;
        transform: translateX(-100%);
    }
}

.nav-scroller .nav {
    color: rgba(255, 255, 255, .75);
}

.nav-scroller .nav-link {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: .875rem;
    color: #6c757d;
}

.nav-scroller .nav-link:hover {
    color: #007bff;
}

.nav-scroller .active {
    font-weight: 500;
    color: #343a40;
}

.navbar-nav .nav-link.active {
    font-weight: bold;
}

.navbar-expand-lg .navbar-nav {
    gap: 15px;
}

.logo {
    height: 60px;
}

/* navbar css end */

.section-title {
    margin-bottom: 0.5em;
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 0.5em;
}

.section-title h1 {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-title i {
    font-size: 2rem;
    margin-right: 10px;
}

.section-title .lead {
    font-size: 1.1rem;
    max-width: 700px;
    text-align: center;
}

/* slider start */

.hero-slider {
    position: relative;
    height: calc(100vh - 0px);
    min-height: 400px;
    width: 100%;
    overflow: hidden;
    margin: 0 !important;
    margin-top: -86px !important;
}

.hero-slider img {
    width: 100%;
    height: calc(100vh - 0px);
    min-height: 400px;
    object-fit: contain;
    object-position: top;
}

.hero-slider .slick-slider {
    margin: 0;
}

.hero-slider .slick-dots {
    bottom: 25px;
}

.hero-slider .slick-dots li button {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 100px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    -ms-border-radius: 100px;
    -o-border-radius: 100px;
}

.hero-slider .slick-dots li button:before {
    font-size: 40px;
    color: #fff
}

.hero-slider .slick-dots li.slick-active button:before {
    color: #fff
}

.hero-slider .slick-slide {
    position: relative;
}

.hero-slider .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    color: white;
    text-align: left;
    padding: 200px 50px 70px 50px;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    max-width: 100%;
    width: 100%;
}


.hero-slider .caption h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.hero-slider .caption p {
    font-size: 1rem;
    font-weight: lighter;
}

@media (max-width: 767.98px) {
    .hero-slider .caption {
        padding: 150px 25px 80px 25px;
        text-align: center;
    }
}

@media (max-width: 991.98px) {
    .hero-slider .caption {
        padding: 150px 25px 80px 25px;
        text-align: center;
    }

    div#navbarsHeaderDefault {
        background-color: rgba(0, 0, 0, 0.9) !important;
    }
}

/* slider end */

/* home image hover effect start */

.image-container {
    position: relative;
    width: 100%;
    height: 400px;
    max-height: 450px;
    overflow: hidden;
}


.image-container a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.image-container a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5));
    transition: background 0.3s ease;
    z-index: 1;
}

.image-container img {
    width: 100%;
    transition: transform 0.3s ease, filter 0.3s ease;
    /* filter: grayscale(100%); */
    height: 400px;
    max-height: 450px;
    object-fit: cover;
}

.image-container:hover img {
    transform: scale(1.1);
    /* filter: grayscale(0%); */
}

.image-container .overlay-text {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    color: rgba(255, 255, 255, 0.8);
    font-size: 2rem;
    font-weight: bold;
    transition: opacity 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-align: right;
    padding: 20px;
}

.image-container .overlay-text h3 {
    font-size: 1.5rem;
}

.image-container .overlay-text h3 span {
    opacity: 0;
    position: absolute;
    left: 0;
}

.image-container:hover .overlay-text h3 span {
    opacity: 1;
    left: 100%;
    transition: opacity 0.3s ease, left 0.3s ease;
}

/* @media (max-width: 767.98px) {
    .overlay-text h3 {
        font-size: 1.5rem;
    }
} */

.image-container:hover .overlay-text {
    opacity: 1;
}

/* home image hover effect end */

/* contact page start */

.contact-page img.bg {
    width: 100%;
    height: calc(100vh - 72px);
    object-fit: cover;
}

.contact-page .contact-info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    padding: 30px 50px;
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-page .contact-info-overlay h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: bold;
    text-align: center;
}

.contact-page .contact-item {
    display: flex;
    margin-bottom: 20px;
    justify-content: flex-start;
}

.contact-page .contact-item i {
    font-size: 1.5rem;
    margin-right: 15px;
}

.contact-page .contact-item p {
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding-top: 3px;
    margin: 0;
}

.contact-page .contact-info-footer h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 20px;
}

.contact-page .contact-info-footer p {
    font-size: 1rem;
}

.contact-info-footer {
    border-top: 3px dashed;
    padding-top: 20px;
}

.contact-page .social-links {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.contact-page .social-icon {
    font-size: 1.5rem;
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

.contact-page .social-icon:hover {
    color: #00aaff;
}

@media (max-width: 767.98px) {
    .contact-page img.bg {
        height: calc(100vh + 150px);
    }

    .contact-page .contact-info-overlay {
        padding: 20px;
        width: 100%;
        max-width: 100%;
    }

    .contact-page .contact-item {
        margin-bottom: 15px;
    }

    .contact-page .contact-item p {
        font-size: 0.9rem;
    }

    .contact-page .contact-info-footer p {
        font-size: 0.9rem;
    }
}


/* contact page end */

.our-projects .image-container {
    height: 500px;
    max-height: 550px;
}

.our-projects .image-container img {
    height: 500px;
    max-height: 550px;
}

.bg-body-tertiary {
    background-color: #000 !important;
}

nav.bg-dark {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

/* project slider start */

.project-hero {
    position: relative;
    /* height: 400px;
    min-height: 200px;
    width: 100%;
    overflow: hidden;
    margin: 0 !important; */
}

.project-hero .slick-slide {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 400px; /* or your desired slider height */
  background: #000; /* optional - helps see empty space */
  /* overflow: hidden; */
}

.project-hero img {
  max-width: 100%;
  max-height: 400px;
  width: auto;
  height: auto;
  object-fit: contain; /* ensures full image fits inside */
  display: block;
  margin: 0 auto;
}

.project-hero .slick-slider {
    margin: 0;
}

.project-hero .slick-dots {
    bottom: 20px;
}

.project-hero .slick-dots li button {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 100px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    -ms-border-radius: 100px;
    -o-border-radius: 100px;
}

.project-hero .slick-dots li button:before {
    font-size: 40px;
    color: #fff
}

.project-hero .slick-dots li.slick-active button:before {
    color: #fff
}

.project-hero .slick-slide {
    position: relative;
}

.project-hero .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    color: white;
    text-align: left;
    padding: 50px 50px 50px 50px;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    max-width: 100%;
    width: 100%;
}

.project-hero h4 {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    font-weight: 400;
    padding: 8px 5px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-top-right-radius: 5px;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-size: 16px;
}

.project-hero .slick-prev,
.project-hero .slick-next {
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 2px 4px 2px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.project-hero .slick-prev {
    left: 10px;
}

.project-hero .slick-next {
    right: 10px;
}

.project-hero .slick-prev:before,
.project-hero .slick-next:before {
    color: #fff;
    font-size: 15px;
}

.project-hero .slick-prev:hover,
.project-hero .slick-prev:focus,
.project-hero .slick-next:hover,
.project-hero .slick-next:focus {
    background: rgba(0, 0, 0, 0.6);
    outline: none;
}

@media (max-width: 767.98px) {}


/* project slider end */

@media (min-width: 991px) {
    .about-image-container img {
        width: 90%;
    }
}