/* ===================================
    Table of Content
====================================== */

/*
    - Google Fonts
    - General
    - Header And Navigation
    - Slider
    - About
    - Counters
    - Services (override)
    - Portfolio
    - Booking
    - Testimonial
    - Clients
    - Google Map
    - Contact
    - Footer
    - Loader
    - StandAlone
    - Media Queries
*/


@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

.main-font{font-family: 'Montserrat', sans-serif;}
.alt-font{font-family: 'Roboto', sans-serif;}




/* ===================================
   Slider Section
====================================== */

.slider {
    padding: 100px 0 0 0;
}

.heading-area .heading{
    font-size: 36px;
    color: #26313c;
    font-weight: 600;
    margin: 25px 0;
    font-family: 'Montserrat', sans-serif;
}

.heading-area .text {
    font-family: Roboto, sans-serif;
    font-weight: normal;
    font-size: 16px;
    color: #515050;
    margin-bottom: 40px;
}

.heading-area .sub-heading {
    font-size: 16px;
    font-weight: normal;
    color: #515050;
    font-family: 'Montserrat', sans-serif;
}

.slider-icons .slider-social{
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 11;
    color: #26313c;
}

.slider-icons .slider-social li{
    list-style: none;
}

.slider-icons .slider-social a {
    text-decoration: none;
    width: 48px;
    height: 48px;
    color: #26313c;
    background: #ffffff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    font-size: 16px;
    margin: 2px;
    border: 1px solid transparent;
    -webkit-transition: background-color .3s ease-in-out;
    -moz-transition: background-color .3s ease-in-out;
    -o-transition: background-color .3s ease-in-out;
    transition: background-color .3s ease-in-out;
    position: relative;
}

.slider-icons .slider-social a:hover {
    background: #26313c;
    color: #ffffff;
}
/* Services styles moved to product-dark/css/style.css */

/* ===================================
    Start About
====================================== */

.app-feature{
    text-align: left;
}

.app-feature:hover .number{
    transform: translateY(-10px);
}

.app-feature:last-child{
    margin-bottom: 0;
}

.app-feature .number{
    font-size: 42px;
    color: #36a837;
    text-align: center;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.app-feature h4{
    font-size: 24px;
    font-weight: 600;
    color: #26313c;
    font-family: Montserrat, sans-serif;
}

.app-feature p{
    font-size: 16px;
    font-weight: normal;
    color: #515050;
    line-height: 1.5;
    font-family: Roboto, sans-serif;
}

.about .equal-margin {
    margin: 120px 0;
}

.about .quote-btn p {
    font-size: 16px;
    color: #515050;
    margin-bottom: 0;
    font-weight: normal;
    font-family: Roboto, sans-serif;
}

.about .quote-btn h4 {
    font-size: 30px;
    font-weight: 600;
    color: #26313c;
    margin: 30px 0;
    font-family: Montserrat, sans-serif;
}

/* ===================================
    Start Counters
====================================== */

.bg-counters {
    background: #26313c;
    color: #ffffff;
}

.counters h2{
    font-size: 92px;
    font-weight: 300;
    color: #36a837;
    margin-bottom: 15px;
    font-family: Montserrat, sans-serif;
}

.counters h4 {
    font-size: 24px;
    font-weight: 300;
    font-family: Roboto, sans-serif;
}

.bg-counters .center-para {
    font-size: 16px;
    font-weight: 300;
    font-family: Roboto, sans-serif;
}

/* ===================================
    Cube Portfolio
====================================== */

.cube-portfolio1 .cbp-l-filters-button .cbp-filter-item{
    background: transparent;
    border: none;
    margin: 10px 4px 6px 4px;
    padding: 10px 0;
    font-size: 18px;
    font-weight: 500;
    color: #3d3d3d;
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.cube-portfolio1 .cbp-l-filters-button .cbp-filter-item.cbp-filter-item-active{
    color: #36a837;
}

.cube-portfolio1 .cbp-l-filters-button .cbp-filter-item:hover{
    color : #36a837;
}

.cube-portfolio1 .cbp-l-grid-mosaic-flat .cbp-caption-activeWrap {
    color: #36a837;
}

.cube-portfolio1 .cbp-caption-zoom .cbp-caption:hover .cbp-caption-activeWrap {
    opacity: .8;
}

.cbp-l-filters-button {
    margin: 40px;
}

.cbp-l-caption-alignCenter{
    position: absolute;
    top: 0;
    z-index: 4;
    opacity: 0;
    -webkit-transition: opacity .4s ease-in-out;
    -moz-transition: opacity .4s ease-in-out;
    -ms-transition: opacity .4s ease-in-out;
    -o-transition: opacity .4s ease-in-out;
    transition: opacity .4s ease-in-out;
}

.cube-portfolio1 .cbp-caption-zoom .cbp-caption:hover .cbp-l-caption-alignCenter {
    opacity: 1;
}

.cbp-l-caption-body p{
    font-size: 12px;
}

.cbp-l-caption-body h5{
    font-weight: 400;
}

.plus {
    display: block;
    margin: 0 auto;
    height: 70px;
    width: 70px;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

.plus::before {
    width: 2px;
    margin-left: -1px;
    left: 50%;
    top: 5px;
    bottom: 5px;
}

.plus::after {
    height: 2px;
    margin-top: -1px;
    top: 50%;
    left: 5px;
    right: 5px;
}

.plus::before, .plus::after {
    content: " ";
    position: absolute;
    background: #fff;
}

.portfolio_top {
    position: relative;
    overflow: hidden;
}

#portfolio_top::before,
#portfolio_top::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    background: #fff;
    height: 90px;
    width: 100%;
}

#portfolio_top::before {
    top: 0;
}

#portfolio_top::after {
    bottom: 0;
}

.text_wrap {
    padding: 50px 2rem 0.5rem 2rem;
}

.itemshadow .cbp-item-wrapper {
    -webkit-box-shadow: 0 0 4px 1px rgba(101, 101, 101, 0.2);
    box-shadow: 0 0 4px 1px rgba(101, 101, 101, 0.2);
    padding-bottom: 2px;
    padding-top: 5px;
}

.border-portfolio .cbp-item img {
    border: 20px solid #fff;
}

.bottom-text {
    display: table;
}

.bottom-text > .cells {
    display: table-cell;
    vertical-align: middle;
    padding: 15px;
}

.bottom-text p {
    font-size: 15px;
    margin-bottom: 0;
}

.bottom-text .port_head {
    font-weight: 600;
    font-size: 5.625rem;
    line-height: 1;
}

/*Overlays*/
.overlay-two{
    position: absolute;
    left: 20px; top: 25px;
    right: 20px; bottom: 22px;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    -webkit-transition: all .5s ease-in .1s;
    -o-transition: all .5s ease-in .1s;
    transition: all .5s ease-in .1s;
}

.overlay-two:before{
    content: "";
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #36a837;
    opacity: .7;
}

.cbp-item:hover .overlay-two,
.cbp-item:focus .overlay-two {
    opacity: 1; visibility: visible;
    -webkit-border-radius: 0;
    border-radius: 0;
}

.cbp-item:hover .overlay-two{
    opacity: 1; visibility: visible;
}

.plus{
    display: inline-block;
    height: 70px;
    width: 70px;
    position: relative;
    overflow: hidden;
}

.overlay-two > h4,.overlay-two > p{
    position: relative;
    color: #ffffff;
}

.plus::before,
.plus::after {
    content: " ";
    position: absolute;
    background: #fff;
}

.plus::after {
    height: 2px;
    margin-top: -1px;
    top: 50%;
    left: 5px;
    right: 5px;
}

.plus::before {
    width: 2px;
    margin-left: -1px;
    left: 50%;
    top: 5px;
    bottom: 5px;
}

.plus p {
    font-size: 13px;
}

.bottom-text > .cells {
    display: table-cell;
    vertical-align: middle;
    padding: 15px;
}

/* ===================================
    Booking Section
====================================== */

.booking-area {
    background: #36a837;
    padding: 5rem 0;
}

.booking-area .quote-btn p {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 0;
    font-weight: normal;
    font-family: Roboto, sans-serif;
}

.booking-area .quote-btn h4 {
    font-size: 30px;
    font-weight: 600;
    color: #ffffff;
    margin: 34px 0;
    font-family: Montserrat, sans-serif;
}



/* ===================================
     Client Section
====================================== */

.owl-carousel .owl-item img{
    width: auto;
    max-width: 100%;
    display: inline-block;
}

.partners-slider .logo-item{
    text-align: center;
}

.map-area{
    position: relative;
    height: 250px;
    margin-bottom: 250px;
}

.full-map{
    height:500px;
    width: 100%;
    overflow: hidden;
}

/* ===================================
    Contact Section
====================================== */

.contact-form .form-control {
    border: 1px solid #d4d4d4;
    padding: 23px 15px;
    background: #ffffff;
    font-weight: normal;
    font-family: Roboto, sans-serif;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-size: 16px;
    min-height: 45px;
    position: relative;
    -webkit-transition: border .9s ease;
    -o-transition: border .9s ease;
    transition: border .9s ease;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form textarea.form-control {
    min-height: 192px;
    resize: none;
    margin-bottom: 0;
}

.contact-form .form-group:nth-last-child(1){
    margin-bottom: 0;
}

.contact-detail{
    position: relative;
    width: 100%;
    padding:0 30px;
}

.contact-dots{
    height: 430px;
    width: 490px;
    position: absolute;
    top: -25px;
    left: -10px;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

audio, video, canvas {
    max-width: 100%;
}

.contact-sec .contact-details{
    font-family: Roboto, sans-serif;
    width: 90%;
    margin-left: 20px;
}

.contact-sec .contact-details ul{
    padding-left: 0;
    margin-bottom: 0;
    margin-top: 50px;
}

.contact-sec .contact-details ul li{
    color: #26313c;
    list-style: none;
    margin-bottom: 35px;
    font-size: 16px;
    display: flex;
    align-items: center;
    font-weight: normal;
    font-family: 'Roboto', sans-serif;
}

.contact-sec .contact-details ul li:first-child{
    width: 60%;
}

.contact-sec .contact-details ul li span{
    display: inline-block;
    padding-right: 30px;
}

.contact-sec .contact-details ul li span:last-child{
    padding-right: 0;
}

.contact-sec .contact-details ul li i{
    font-size: 36px;
    margin-right: 20px;
    margin-bottom: 8px;
    color: #26313c;
}

/* ===================================
    Footer Section
====================================== */

.footer-style-1{
    padding: 4rem 0;
}

.footer-social{
    text-align: left;
}

.footer-social ul{
    margin: 0;
    padding: 0;
}

.footer-social li{
    display: inline-block;
}

.footer-social a {
    display: block;
    width: 45px;
    height: 45px;
    text-align: center;
    line-height: 45px;
    border-radius: 50px;
    font-size: 17px;
    margin: 0 10px 0 0;
    border: 1px solid transparent;
    -webkit-transition: background-color .2s ease-in-out;
    -moz-transition: background-color .2s ease-in-out;
    -ms-transition: background-color .2s ease-in-out;
    -o-transition: background-color .2s ease-in-out;
    transition: background-color .2s ease-in-out;
}

.footer-social li:nth-last-child(1) a{
    margin-right: 0;
}

.footer-social li a:hover{
    background-color: #36a837;
    color: #ffffff;
}

.footer-social li a {
    color: #26313c;
}

.company-about{
    font-size: 16px;
    font-weight: normal;
    font-family: Roboto, sans-serif;
}

/*===================================
    Loader
======================================*/

.loader1 {
    bottom: 0;
    height: 100%;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 1111;
    overflow-x: hidden;
    background: #fff;
}

.loader-inner {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #36a837;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

#loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #36a837;
    -webkit-animation: spin 3s linear infinite;
    animation: spin 3s linear infinite;
}

#loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #36a837;
    -webkit-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
}

@-webkit-keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* ===================================
    Start StandAlone
====================================== */

.standalone-row:not(:last-child) {
    margin-bottom: 3rem;
}

.standalone-row .stand-img-des{
    padding-left: 30px;
    text-align: center;
}

.standalone-row:nth-child(2) .stand-img-des{
    padding-left: 0;
    padding-right: 30px;
}

.standalone-detail .sub-heading{
    margin-bottom: 10px;
    font-weight: normal;
}

.standalone-area .sub-heading{
    margin-bottom: 8px;
    font-weight: normal;
    color: #515050;
}

.standalone-detail .heading{
    margin-bottom: 20px;
    font-size: 48px;
    color: #26313c;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.standalone-detail .para_text{
    font-family: 'Roboto' , sans-serif;
    font-weight: normal;
    text-align: center;
    font-size: 16px;
    margin: 0 auto;
    color: #515050;
}

.standalone-detail{
    padding-bottom: 100px;
}

.standalone-area .heading-text{
    font-weight: 600;
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
}

.standalone-area .stand-img-des .para_text{
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
    color: #515050;
}

.page-title{
    position:relative;
    text-align:center;
    padding: 0 0 500px 0;
    background:url("../images/standalone.jpg");
    background-size: cover;
}

.page-title .auto-container{
    position:relative;
}

.standalone-footer {
    padding: 5rem 0;
}

.footer-social.stand {
    text-align: center;
    margin-bottom: 15px;
}

/* ===================================
   Media Queries
====================================== */

@media (max-width: 1200px) and (min-width: 992px) {

    .navbar-simple .navbar-nav .nav-link {
        padding: 0.5rem 1.4rem;
    }
    .sidemenu_btn {
        right: -4px;
    }
    .navbar .container {
        max-width: 930px;
    }
}

@media screen and (max-width: 991px) and (min-width: 768px){

    body{
        text-align: center;
    }
    .heading-area .heading {
        font-size: 32px;
    }

    /* Nav */
    .navbar-top-default {
        background: #26313c;
        top: 0;
    }
    .navigation-toggle span {
        background-color: #ffffff;
    }

    /* Side Menu */
    .side-menu {
        width: 60%;
    }
    .side-footer p{
        font-size: 16px;
    }
    .sidemenu_btn {
        right: 15px;
    }

    /* Some Services */
    /* Services styles moved to product-dark/css/style.css */

    /* About */
    .app-feature {
        text-align: center;
        width: 70%;
    }
    .about .equal-margin {
        margin: 100px auto 0 auto;
    }
    .about .quote-btn {
        margin-top: 100px;
    }
    .about .quote-btn h4 {
        margin: 20px 0;
    }

    /* Counters */
    .counters h2 {
        font-size: 72px;
    }
    .counters h4 {
        font-size: 20px;
    }

    /* Booking */
    .booking-area .quote-btn h4 {
        margin: 20px 0;
    }

    /* Testimonials */
    .owl-testimonial {
         margin-top: 25px;
    }

    /* Contact */
    .contact-dots{
        display: none;
    }
    .contact-detail{
        padding: 0;
    }
    .contact-sec .heading {
        font-size: 42px;
    }
    .contact-sec .contact-form {
        width: 100%;
        margin-left: 0;
    }
    .contact-sec .contact-details {
        width: 100%;
        margin-left: 0;
    }
    .contact-sec .contact-details ul li:first-child {
        width: 100%;
    }
    .contact-sec .contact-details ul li {
        display: block;
        margin-bottom: 50px;
    }
    .contact-sec .contact-details ul li i{
        margin-right: 0;
        margin-bottom: 15px;
        display: block;
    }
    .company-about {
        margin-top: 15px;
    }
    .footer-social a {
        margin: 0;
    }

    /* Standalone */
    .standalone-detail {
        padding-bottom: 70px;
    }
    .standalone-area .gradient-text1{
        font-size: 30px;
    }
    .standalone-detail .heading{
        font-size: 30px;
    }
    .standalone-area .sub-heading {
        margin-top: 3rem;
    }
    .standalone-row .stand-img-des {
        padding-left: 0;
        padding-right: 0;
    }
    .standalone-row:nth-child(2) .stand-img-des {
        padding-left: 0;
        padding-right: 0;
    }
    .standalone-row:nth-child(2){
        margin-top: 6rem;
        margin-bottom: 6rem;
    }
    .para_text {
        font-size: 18px;
    }
    .author-avatar {
        float: none;
        margin-bottom: 25px;
        overflow: visible;
    }
    .agency-author {
        padding: 30px;
        text-align: left;
    }
    .author-content {
        padding: 0;
    }
}

@media screen and (max-width: 767px) {

    body {
        text-align: center;
    }
    section {
        padding: 4.5rem 0;
    }
    .heading-area .heading {
        font-size: 24px;
        margin: 20px 0;
    }
    .heading-area .text {
        font-size: 15px;
    }
    .btn.btn-medium {
        font-size: 14px;
        padding: 12px 40px;
    }
    .heading-area .sub-heading {
        font-size: 15px;
    }

    /* Nav */
    .round-nav {
        border-radius: 0;
    }
    .navbar-top-default {
        background: #26313c;
        top: 0;
        height: 80px;
    }
    .header-appear .navbar-top-default {
        height: 80px;
    }
    .navigation-toggle span {
        background-color: #ffffff;
    }

    /* Side Menu */
    .side-menu {
        width: 100%;
    }
    .side-footer p{
        font-size: 14px;
    }
    .sidemenu_btn {
        right: 15px;
    }
    .sidemenu_btn {
        top: 25px;
    }

    /* Slider */
    .slider-icons .slider-social {
        display: none;
    }
    .slider {
        padding: 80px 0 0 0;
    }

    /* Pricing */
    .price-item, .price-item-center {
        width: 60%;
        margin: 40px auto;
    }
    /* Some Services */
    /* Services styles moved to product-dark/css/style.css */

    /* About */
    .app-feature {
        text-align: center;
    }
    .about .equal-margin {
        margin: 80px 0 0 0;
    }
    .about .quote-btn p {
        font-size: 15px;
    }
    .about .quote-btn {
        margin-top: 80px;
    }
    .about .quote-btn h4 {
        margin: 15px 0 20px 0;
    }
    .about .quote-btn h4 {
        font-size: 28px;
    }

    /* Counters */
    .counters h2 {
        font-size: 70px;
        margin-bottom: 0;
    }
    .bg-counters .center-para {
        font-size: 15px;
    }
    .counters h4 {
        font-size: 26px;
    }

    /* Portfolio */
    .cbp-l-filters-button {
        margin: 20px 0 20px 0;
    }
    .cube-portfolio1 .cbp-l-filters-button .cbp-filter-item {
        visibility: hidden;
    }
    .cbp-popup-lightbox .cbp-popup-prev {
        visibility: hidden!important;
    }
    .cbp-popup-lightbox .cbp-popup-next {
        visibility: hidden!important;
    }

    /* Booking */
    .booking-area .quote-btn h4 {
        font-size: 28px;
        margin: 25px 0;
    }

    /* Testimonials */
    .owl-testimonial {
        margin-top: 35px;
    }

    /* Contact */
    .contact-dots{
        display: none;
    }
    .contact-detail{
        padding: 0;
    }
    .footer-social{
        text-align: center;
    }
    .contact-sec .heading {
        font-size: 26px;
    }
    .contact-sec .contact-details .text {
        font-size: 14px;
    }
    .contact-sec .contact-form {
        width: 100%;
        margin-left: 0;
    }
    .contact-sec .contact-details {
        width: 100%;
        margin-left: 0;
    }
    .contact-sec .contact-details ul li:first-child {
        width: 100%;
    }
    .contact-sec .contact-details ul li {
        display: block;
        margin-bottom: 50px;
    }
    .contact-sec .contact-details ul li i{
        margin-right: 0;
        margin-bottom: 15px;
        display: block;
    }
    .company-about {
        margin-top: 15px;
    }
    .footer-social a {
        margin: 0;
    }

    /* Standalone */
    .standalone-detail {
        padding-bottom: 70px;
    }
    .standalone-detail .heading{
        font-size: 30px;
    }
    .standalone-area .sub-heading {
        margin-top: 3rem;
    }
    .standalone-row .stand-img-des {
        padding-left: 0;
        padding-right: 0;
    }
    .standalone-row:nth-child(2) .stand-img-des {
        padding-left: 0;
        padding-right: 0;
    }
    .standalone-row:nth-child(2){
        margin-top: 6rem;
        margin-bottom: 6rem;
    }
    .standalone-area .heading-text {
        font-size: 30px;
    }

}

@media screen and (max-width: 575.98px) {}

/* End of custom overrides */

/* ===================================
   Eyewear-style gallery spacing
====================================== */
.small-images {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;      /* ensure images wrap online */
    justify-content: center;
}

.small-images .small-img {
    position: relative;   /* ensures overlay works */
    padding: 0 10px;
    margin-bottom: 20px;
    flex: 1 1 250px;      /* responsive sizing */
}

.small-images .small-img .image {
    position: relative;   /* overlay positioning */
    border: 15px solid #fff;
    overflow: hidden;
    min-height: 200px;
    background-color: #000;  /* fallback */
}

.small-images .small-img .image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}
/* Ensure hover zoom + overlay animation for gallery images */
.overlay-image {
    position: relative;  /* Ensure overlay positions correctly */
    overflow: hidden;
}
.overlay-image:hover img {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

/* Eyewear overlay behavior + styling */
.overlay {
    position: absolute;
    bottom: 0;   /* start at bottom 0 for consistency */
    left: 0;
    right: 0;
    background-color: rgba(1, 19, 33, 0.9);
    overflow: hidden;
    width: 100%;
    height: 0;
    z-index: 2;
    transition: height 0.5s ease, bottom 0.5s ease;
}
.overlay-image:hover .overlay {
    height: 100%;
    cursor: pointer;
}

.overlay-text {
    color: #ffffff;
    font-size: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    z-index: 3;
}
.overlay-image .text {
    color: #ffffff;
    margin-top: 10px;
    font-size: 12px;
}

/* Eyewear banner colors and image borders */
.banner-section {
    /* background-color: #011321; */
    background-image: url("../img/banner-bg2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
    padding: 7.5rem 0;
    position: relative;
    overflow: hidden;
}
.banner-section .caption .heading,
.banner-section .caption h5,
.banner-section .caption .text {
    color: #ffffff;
}
.banner-section .small-images .small-img .image {
    position: relative;
    border: 15px solid #ffffff;
    overflow: hidden;
}

/* Ensure overlay-image has position relative for absolute positioned overlay */
.overlay-image {
    position: relative;
    overflow: hidden;
}

/* Additional fix to ensure image container works properly on all servers */
.banner-section .small-images .small-img {
    position: relative;
}

.banner-section .small-images .small-img .image img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 200px;
    object-fit: cover;
}

/* Ensure images are visible even without animations */
.banner-section .small-images .small-img .image {
    min-height: 200px;
    background-color: #000;
}

/* Fix opacity-8 class to not affect overlay text */
.banner-section .overlay.opacity-8 .overlay-text {
    opacity: 1 !important;
}

/* Ensure WOW animations don't hide content initially */
.banner-section .small-img {
    visibility: visible !important;
    opacity: 1 !important;
}

.banner-section .small-img.wow {
    visibility: visible !important;
    opacity: 1 !important;
}

.banner-section .small-img.wow.animated {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Override WOW.js default behavior that hides elements - ensure gallery is always visible */
.banner-section .small-img.wow:not(.animated) {
    visibility: visible !important;
    opacity: 1 !important;
    animation: none;
}

/* Force visibility on all gallery items regardless of WOW state */
.banner-section .small-images .small-img {
    visibility: visible !important;
    opacity: 1 !important;
}