html {
    scroll-behavior: smooth;
  }
  
/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }
/*** Spinner End ***/


.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1, h2, h3, .h1, .h2, .h3 {
    font-weight: 400 !important;
    font-family: 'Playball', cursive !important;
}

h4, h5, h6, .h4, .h5, .h6 {
    font-weight: 600 !important;
    font-family: 'Open Sans', sans-serif !important;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.wow,
.animated {
    animation-duration: 2s !important;
}


/*** Button Start ***/
.btn.btn-primary {
    border: 0;
}

.btn.btn-primary:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
}

.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 38px;
    height: 38px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}
/*** Button End ***/


/*** Navbar Start ***/
.nav-bar {
    background: var(--bs-light);
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.navbar .navbar-nav .nav-link {
    padding: 10px 12px;
    font-weight: 600;
    font-size: 17px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }
    
    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        opacity: 1;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

#searchModal .modal-content {
    background-color: rgba(255, 255, 255, .95);
}
/*** Navbar End ***/


/*** Events Start ***/
.event .tab-class .nav-item a.active {
    background: var(--bs-primary) !important;
}

.event .event-img .event-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(212, 167, 98, 0.7);
    border-radius: 8px;
    transition: 0.5s;
    opacity: 0;
    z-index: 1;
}

.event .event-img:hover .event-overlay {
    opacity: 1;
}
/*** Events End ***/


/*** service start ***/
.service .service-item {
    position: relative;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-content::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: var(--bs-primary);
    border-radius: 8px;
    transition: 1s;
}

.service-item:hover .service-content::after {
    height: 100%;
    opacity: 1;
}

.service-item .service-content-icon {
    position: relative;
    z-index: 2;
}

.service-item .service-content-icon i,
.service-item .service-content-icon p {
    transition: 1s;
}

.service-item:hover .service-content-icon i {
    color: var(--bs-dark) !important;
}

.service-item:hover .service-content-icon p {
    color: var(--bs-white);
}

.service-item:hover .service-content-icon a.btn-primary {
    background: var(--bs-white);
    color: var(--bs-dark);
}

.service-item .service-content-icon a.btn-primary {
    transition: 1s !important;
}
/*** Services End ***/


/*** Menu Start ***/
.menu .nav-item a.active {
    background: var(--bs-primary) !important;
}

.menu .menu-item .border-bottom {
    border-bottom-style: dashed !important;
}

.nav-item .active span {
    color: #fff !important;       /* Change text color */
}
/*** Menu End ***/


/*** Youtube Video start ***/
.video {
    position: relative;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(rgba(254, 218, 154, 0.1), rgba(254, 218, 154, 0.1)), url(../img/fact.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 8px;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-white);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--bs-dark);
    border-top: 22px solid transparent;
    border-bottom: 22px 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(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .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;
}
/*** Youtube Video End ***/


/*** Blog Start ***/
.blog-item {
    position: relative;
}

.blog-item img {
    transition: 0.5s;
}

.blog-item:hover img {
    transform: scale(1.3)
}

.blog-item .blog-content {
    position: relative;
    transform: translateY(-50%);
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.blog-item .blog-content a.btn h5 {
    transition: 0.5s;
}

.blog-item:hover .blog-content a.btn h5 {
    color: var(--bs-primary) !important;
}
/*** Blog End ***/


/*** Team Start ***/
.team-item {
    width: 100%;
    height: 100%;
    position: relative;
}

.team-item .team-icon {
    position: absolute;
    top: 0;
    right: 0;
}

.team-item .team-icon .share-link {
    opacity: 0;
    transition: 0.9s;
}

.team-item:hover .share-link {
    opacity: 1;
}

.team-item .team-content {
    transition: 0.9s;
}

.team-item:hover .team-content {
    background: var(--bs-primary) !important;
    color: var(--bs-dark) !important;
}

.team-item .team-content h4,
.team-item .team-content p {
    transition: 0.5s;
}

.team-item:hover .team-content h4 {
    color: var(--bs-dark) !important;
}

.team-item:hover .team-content p {
    color: var(--bs-white);
}
/*** Team End ***/


/*** testimonial Start ***/
.testimonial-item {
    border: 1px solid var(--bs-primary);
    padding: 20px 20px;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel.owl-rtl .testimonial-item {
    direction: ltr !important;
}
/*** testimonial End ***/


/*** Contact start ***/
.contact-form {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

/*** Contact End ***/


/*** Footer Start ***/
.footer .footer-item a.text-body:hover {
    color: var(--bs-primary) !important;
}
/*** Footer End ***/


/*
* ==========================================
* PRODUCTS SECTION (SECTION3) START  
* ==========================================
*/

.post-slide .post-title {
    font-size: 17px;
    font-family: "Roboto";
    /* color: rgb(51, 51, 51); */
    line-height: 1.7;
    text-align: center;
    font-weight: bold;
  }
  
  .post-slide .post-description {
    font-size: 18px;
    font-family: 'Righteous';
    color: rgb(102, 102, 102); /* Light gray for a subtle tone */
    line-height: 1.4;
    text-align: center;
    padding-bottom: 20px;
  }
  
  div#news-slider {
      margin-bottom: 50px;
  }
    
  div#news-slider .owl-dots {
    counter-reset: dots;
    position: absolute;
    bottom: -20px;
    display: flex;
    /* margin-left: 10px; */
    /* margin-top: 20px; */
    left: 46%;
  }
    
  div#news-slider .owl-dot.active {
    margin-left: 10px;
    border: 0px;
    padding: 10px;
    border-radius: 0px;
    width: 30px;
    height: 40px;
    color: #270909a6;
    border-bottom: 3px solid #83ad00;
    font-size: 22px;
    font-weight: bold;
  }
  
  div#news-slider .owl-dot{
    border: 0px;
    padding: 10px;
    /* border-radius: 40px; */
    width: 30px;
    height: 40px;
    color: #270909a6;
  }
  
  div#news-slider .owl-prev {
    position: absolute;
    bottom: -20px;
    left: 40%;
    text-transform: uppercase;
    font-size: 12px;
    font-family: "Roboto";
    color: rgb(204, 204, 204);
    line-height: 1.7;
    text-align: center;
    background: #ffffff;
    padding: 10px;
    
  }
  
  
  
  
  div#news-slider .owl-next {
    position: absolute;
    bottom: -20px;
    right: 40%;
    text-transform: uppercase;
    font-size: 12px;
    font-family: "Roboto";
    color: rgb(204, 204, 204);
    line-height: 1.7;
    text-align: center;
    background: #ffffff;
    padding: 10px;
  }
  
  .post-slide{margin-left: 10px;margin-right: 10px;background:#fff;box-shadow:0 1px 2px rgba(43,59,93,.3);margin-bottom:2em}
  .post-slide .post-img{position:relative;margin-bottom:20px}
  .post-slide .post-img img{width:100%;height:auto}
  
  
  .post-abs {
    width: 0px;
    height: 100%;
    position: absolute;
    background: rgba(170, 167, 167, 0.4);
    transition: width 0.5s;
  }
  
  .post-img:hover .post-abs{
    width: 100%;
  }
  
  .post-img p {
    color: #fff;
    margin-top: 150px;
    text-align: center;
    visibility: hidden;
  }
  
  .post-img:hover p {
    visibility: visible;
    animation-duration: 2s;
    animation-iteration-count: 1;
    animation-name: fadeInUp;
  }
  
  

/*
* ==========================================
* ADRESS SECTION STARTS
* ==========================================
*/
.address {
    position: relative;
    padding: 40px 20px;
    color: #333;
    background: rgba(255, 255, 255, 0.8); /* White with transparency for contrast */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  
  .addess-description {
    margin-bottom: 30px; /* Spacing below the description */
  }
  
  .address-section {
    margin-bottom: 20px;
  }
  
  .address-section .lineHeight {
    line-height: 1.6; /* Improve readability */
  }
  
  .addess-map {
    margin-top: 20px; /* Add some spacing above the map */
    height: 450px; /* Fixed height for consistency */
  }
  
  iframe {
    width: 100%; /* Make the map responsive */
    height: 100%;
    border: 0; /* Remove border */
    border-radius: 8px; /* Match the card design */
  }
  
  h2 {
    font-size: 24px;
    margin-top: 10px;
    color: #4a90e2; /* Highlighting the title color */
  }
  
  p {
    font-size: 16px;
    margin: 10px 0;
  }
  
  .address {
      width: 100%;
      color: #fff;
      margin: 0px;
  }
  
  .addess-description{
    padding: 70px;
  }
  
  .addess-description span{
    font-size: 15px;
    font-family: "Roboto";
    color: #064FB6;
    font-weight: bold;
    line-height: 1.7;
    text-align: center;
    margin-top: 80px;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 15px;
  }
  .addess-description h2{
    font-size: 30px;
    font-family: 'Righteous';
    color: rgb(68, 68, 68);
    margin-bottom: 15px;
    color: rgb(255, 255, 255);
    line-height: 1;
    text-align: left;
    
  }
  
  .addess-description p{
    font-size: 15px;
    font-family: "Roboto";
    color: rgb(255, 255, 255);
  }
  
  
  .addess-map {
    margin: 1% 1%;
    padding-top: 70px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 70px;
  }
  
  
  li.address-section{
  
    margin-top: 20px;
    margin-bottom: 20px;
  
  }
  li.address-section .fa{
  
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    border: 2px solid #064FB6;
    border-radius: 20px;
    width: 40px;
    height: 40px;
    text-align: center;
    padding-top: 10px;
    margin-top: 10px;
  }
  
  
  
  .single-widget li.address-section .fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 15px;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    border: 0px;
    border-radius: 20px;
    width: 20px;
    height: 20px;
    text-align: center;
    padding-top: 0px;
    margin-top: 0px;
    color: #064FB6;
  }
  
  
  #map {
    width: 100%;
    height: 400px;
    background-color: grey;
  }
  
  .lineHeight{
    line-height: 30px;
  }
  
  .parallax-window {
    min-height: 400px; /* Adjust as per your need */
    background: transparent;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}
  /*
  * ==========================================
  * ADRESS SECTION ENDS
  * ==========================================
  */

.container{
    overflow: hidden;
}
/* Responsive styling for pagination on mobile */
@media (max-width: 576px) {
    /* .owl-theme .owl-dots {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .owl-theme .owl-dots .owl-dot {
        width: 8px;
        height: 8px;
        margin: 3px;
    } */

    .owl-nav{
        visibility: hidden;
    }

    .owl-dots{
        left: auto !important;
    }
}
