/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
    background-color: rgba(0, 0, 0, 0.5);
    /* Add background for better visibility */
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Spinner End ***/

/*** Back-to-top Button ***/
.back-to-top {
    position: fixed;
    right: 20px;
    /* Adjust spacing for smaller screens */
    bottom: 20px;
    width: 50px;
    /* Slightly larger for better accessibility */
    height: 50px;
    border-radius: 50%;
    /* Make it circular */
    background-color: var(--bs-primary);
    /* Add background color */
    color: var(--bs-white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Add shadow for depth */
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-5px);
    /* Add hover effect */
    background-color: var(--bs-dark);
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease;
    padding: 10px 20px;
    /* Add padding for better touch targets */
}

.btn:hover {
    transform: scale(1.05);
    /* Slight zoom effect */
}

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

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

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

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

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn.btn-primary {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
    font-family: 'Roboto', sans-serif;
    border: none;
    font-weight: 400;
    transition: 0.5s;
}

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

.btn.btn-dark {
    background: var(--bs-dark) !important;
    color: var(--bs-white) !important;
    font-family: 'Roboto', sans-serif;
    border: none;
    font-weight: 400;
    transition: 0.5s;
}

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

.btn.btn-light {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
    font-family: 'Roboto', sans-serif;
    border: none;
    font-weight: 400;
    transition: 0.5s;
}

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

/*** Topbar Start ***/
.topbar {
    padding: 0;
    background: var(--bs-dark) !important;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .btn-square {
    width: 24px;
    height: 24px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.topbar a {
    font-size: 13px;
}

/*** Topbar End ***/

/*** Navbar ***/
.sticky-top,
.sticky-top .container {
    transition: 0.5s !important;
}

/* Commenting out problematic navbar code as it's now handled in header-styles.css */
/*
.navbar .navbar-nav .nav-item.nav-link,
.navbar .navbar-nav .nav-link {
    color: var(--bs-dark) !important;
}

.navbar .navbar-nav .nav-item {
    position: relative;
    margin: 0 5px !important;
}

.navbar .navbar-nav .nav-item::before,
.navbar .navbar-nav .nav-item::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border: 0px solid var(--bs-primary);
    transition: 0.5s;
}

.navbar .navbar-nav .nav-item::before {
    top: 0;
    left: 0;
}

.navbar .navbar-nav .nav-item::after {
    bottom: 0;
    right: 0;
}

.navbar .navbar-nav .nav-item:hover::after,
.navbar .navbar-nav .nav-item:hover::before,
.navbar .navbar-nav .nav-item.active::after,
.navbar .navbar-nav .nav-item.active::before {
    width: 100%;
    border-width: 1px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top .navbar .navbar-nav .nav-link:hover,
.sticky-top .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary) !important;
}
*/

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107" !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

/* Commenting out problematic dropdown transition code */
/*
@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        margin-top: 20px !important;
        transition: .5s;
        opacity: 0;
        z-index: 9;
    }
}

@media (max-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        margin-top: 15px !important;
        transition: 0.5s;
    }
}

@media (max-width: 991px) {
    .navbar .navbar-nav .nav-item.nav-link {
        margin: 15px 0 !important;
    }
}

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

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    margin-top: 20px !important;
    transition: .5s;
    opacity: 1;
}
*/

.navbar .navbar-toggler {
    padding: 8px 15px;
    color: var(--bs-dark);
    background: var(--bs-primary);
}

#searchModal .modal-content {
    background: rgba(250, 250, 250, .6);
}

/* Commenting out redundant navbar enhancements */
/*
/*** Navbar Enhancements ***/
.navbar .navbar-nav .nav-link {
    font-size: 1.3em;
    padding: 8px 13px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

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

*/
/*** Navbar End ***/

/*** Carousel Header Start ***/
.header-carousel .header-carousel-item {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.owl-prev,
.owl-next {
    position: absolute;
    width: 50px;
    /* Adjust size for smaller screens */
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px 20px;
    border-radius: 40px;
    background: var(--bs-primary);
    color: var(--bs-white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Add shadow */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.owl-prev {
    left: 30px;
}

.owl-next {
    right: 30px;
}

.owl-prev:hover,
.owl-next:hover {
    transform: translateY(-5px);
    /* Add hover effect */
    background: var(--bs-dark) !important;
    color: var(--bs-white) !important;
}

.header-carousel .header-carousel-item-img-1,
.header-carousel .header-carousel-item-img-2,
.header-carousel .header-carousel-item-img-3 {
    position: relative;
    overflow: hidden;
}

.header-carousel .header-carousel-item-img-1::before,
.header-carousel .header-carousel-item-img-2::before,
.header-carousel .header-carousel-item-img-3::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    top: -300px;
    right: -300px;
    border-radius: 300px;
    border: 100px solid rgba(68, 210, 246, 0.2);
    animation: RotateMoveCircle 10s linear infinite;
    background: transparent;
    z-index: 2 !important;
}

@keyframes RotateMoveCircle {
    0% {
        top: -400px;
    }

    50% {
        right: -200px;
    }

    75% {
        top: -200px;
    }

    100% {
        top: -400px;
    }
}

.header-carousel .header-carousel-item-img-1::after,
.header-carousel .header-carousel-item-img-2::after,
.header-carousel .header-carousel-item-img-3::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 1200px;
    top: -150px;
    left: 70px;
    transform: rotate(-30deg);
    background: rgba(68, 210, 246, 0.2);
    animation: RotateMoveRight 5s linear infinite;
    z-index: 2 !important;
}

@keyframes RotateMoveRight {
    0% {
        left: 0px;
    }

    50% {
        left: 70px;
    }

    100% {
        left: 0px;
    }
}

.header-carousel .header-carousel-item::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 1200px;
    top: -150px;
    left: -265px;
    transform: rotate(-30deg);
    background: var(--bs-dark);
    animation: RotateMoveLeft 5s linear infinite;
    opacity: 0.7;
    z-index: 2 !important;
}

@keyframes RotateMoveLeft {
    0% {
        left: -240px;
    }

    50% {
        left: -300px;
    }

    100% {
        left: -240px;
    }
}

.header-carousel .header-carousel-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2 !important;
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 80%;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 9;
}

@media (max-width: 992px) {
    .header-carousel .header-carousel-item .carousel-caption {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 0 10px;
    }

    .header-carousel-item img {
        height: 700px;
        object-fit: cover;
    }

    .owl-prev,
    .owl-next {
        top: 40px !important;
    }

    .owl-prev {
        left: 65%;
    }
}

/*** Carousel Enhancements ***/
.header-carousel .header-carousel-item img {
    height: auto;
    max-height: 600px;
    /* Adjust max height for better responsiveness */
    object-fit: cover;
    border-radius: 10px;
    /* Add rounded corners */
}

/*** Header Carousel End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
}

.bg-breadcrumb .breadcrumb-item a {
    color: var(--bs-white) !important;
}

.bg-breadcrumb .bg-breadcrumb-single {
    position: absolute;
    width: 500px;
    height: 1200px;
    top: 0px;
    left: 0;
    margin-left: 30px;
    transform: rotate(-30deg);
    background: var(--bs-dark);
    animation: RotateMoveLeft 5s linear infinite;
    opacity: 0.7;
    z-index: 2 !important;
}


.bg-breadcrumb::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    top: -150px;
    right: -150px;
    border-radius: 200px;
    border: 80px solid rgba(68, 210, 246, 0.2);
    animation: RotateMoveCircle 10s linear infinite;
    background: transparent;
    z-index: 2 !important;
}

@keyframes RotateMoveCircle {
    0% {
        top: -200px;
    }

    50% {
        right: -100px;
    }

    75% {
        top: -100px;
    }

    100% {
        top: -200px;
    }
}


.bg-breadcrumb::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 1200px;
    top: -150px;
    left: 0;
    margin-left: 160px;
    transform: rotate(-30deg);
    background: rgba(68, 210, 246, 0.2);
    animation: RotateMoveRight 5s linear infinite;
    z-index: 2 !important;
}

/*** Single Page Hero Header End ***/


/*** About Start ***/
.about .text {
    position: relative;
}

.about .text::after {
    content: "";
    width: 4px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--bs-primary);
}

.about {
    background-color: var(--bs-light);
}

@media (max-width: 768px) {
    .about .text {
        font-size: 1rem;
    }
}

/*** About End ***/

/*** Service Start ***/
.service .service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.3);
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

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

.service .service-item:hover .service-img img {
    transform: scale(1.2);
}

.service .service-item .service-img::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    right: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(68, 210, 246, 0.4);
    transition: 0.5s;
}

.service .service-item:hover .service-img::after {
    width: 100% !important;
    height: 100% !important;
}

.service .service-item .service-content {
    position: relative;
}

.service .service-item .service-content::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-dark);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-content::after {
    width: 100% !important;
    height: 100% !important;
}

.service .service-item .service-content .service-content-inner {
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner {
    position: relative;
    color: var(--bs-white) !important;
    transition: 0.5s;
    z-index: 2;
}

.service .service-item:hover .service-content .service-content-inner a.h4 {
    color: var(--bs-white) !important;
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner a.h4:hover {
    color: var(--bs-primary) !important;
}

.service {
    background-color: var(--bs-light);
}

.service .service-item {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .service .service-item {
        padding: 10px;
    }
}

/*** Service End ***/

/*** Project Start ***/
.project .project-carousel.owl-carousel {
    height: 100%;
}

.project .project-carousel .project-item {
    position: relative;
    overflow: hidden;
}

.project .project-carousel .project-item .project-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.project .project-carousel .project-item .project-img::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(68, 210, 246, 0.4);
    transition: 0.5s;
}

.project .project-carousel .project-item:hover .project-img::after {
    height: 100%;
}

.project .project-carousel .project-item .project-img img {
    transition: 0.5s;
}

.project .project-carousel .project-item:hover .project-img img {
    transform: scale(1.2);
}

.project .project-carousel .project-item .project-content {
    position: relative;
    width: 75%;
    height: 100%;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.project .project-carousel .project-item .project-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px !important;
    background: var(--bs-dark);
    transition: 0.5s;
}

.project .project-carousel .project-item .project-content .project-content-inner {
    position: relative;
    z-index: 2;
}

.project .project-carousel .project-item:hover .project-content .project-content-inner p,
.project .project-carousel .project-item:hover .project-content .project-content-inner a.h4,
.project .project-carousel .project-item:hover .project-content .project-content-inner .project-icon i {
    color: var(--bs-white) !important;
    transition: 0.5s;
}

.project .project-carousel .project-item:hover .project-content .project-content-inner a.h4:hover {
    color: var(--bs-primary) !important;
}

.project .project-carousel .project-item:hover .project-content::after {
    height: 100%;
}

.project-carousel .owl-dots {
    position: absolute;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -120px;
    transition: 0.5s;
}

.project-carousel .owl-dots .owl-dot {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    margin-right: 15px;
    background: var(--bs-dark);
    transition: 0.5s;
}

.project-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    border-radius: 40px;
    border: 8px solid var(--bs-primary);
}

/*** Project End ***/

/*** Blog Start ***/
.blog .blog-item .project-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item .project-img .blog-plus-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(68, 210, 246, 0.2);
    transition: 0.5s;
    opacity: 0;
}

.blog .blog-item:hover .project-img .blog-plus-icon {
    opacity: 1;
}

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

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

/*** Blog End ***/

/*** Team Start ***/
.team {
    background-color: var(--bs-light);
    padding: 60px 0;
    /* Add padding for better spacing */
    text-align: center;
    /* Center-align content */
}

.team .team-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--bs-border);
    border-radius: 10px;
    /* Add rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Add subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 20px auto;
    /* Center items */
    max-width: 300px;
    /* Limit width for better layout */
}

.team .team-item:hover {
    transform: translateY(-10px);
    /* Add hover effect */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* Enhance shadow on hover */
}

.team .team-item .team-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.team .team-item .team-img img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.team .team-item:hover .team-img img {
    transform: scale(1.1);
    /* Slight zoom effect on hover */
}

.team .team-item .team-content {
    padding: 20px;
    /* Add padding for content */
    background-color: var(--bs-white);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.team .team-item .team-content h4 {
    font-size: 1.5em;
    /* Increase font size */
    color: var(--bs-body);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.team .team-item .team-content h4:hover {
    color: var(--bs-primary);
    /* Add hover effect for title */
}

.team .team-item .team-content p {
    font-size: 1em;
    color: var(--bs-secondary);
    margin-bottom: 15px;
}

.team .team-item .team-content .social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    /* Add spacing between icons */
}

.team .team-item .team-content .social-icons a {
    color: var(--bs-primary);
    font-size: 1.2em;
    transition: color 0.3s ease, transform 0.3s ease;
}

.team .team-item .team-content .social-icons a:hover {
    color: var(--bs-dark);
    /* Change color on hover */
    transform: scale(1.2);
    /* Slight zoom effect */
}

/*** Responsive Adjustments ***/
@media (max-width: 768px) {
    .team .team-item {
        max-width: 100%;
        /* Adjust width for smaller screens */
    }

    .team .team-content h4 {
        font-size: 1.3em;
        /* Adjust font size */
    }

    .team .team-content p {
        font-size: 0.9em;
        /* Adjust font size */
    }
}

/*** Team End ***/

/*** Testimonial new Start ***/
.testimonial-bg {
    position: relative;
    margin: 45px 0;
    padding: 90px 0;
    text-align: center;
    background: linear-gradient(rgba(3, 15, 39, .9), rgba(3, 15, 39, .9)), url(../img/world-map.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.testimonial .container {
    max-width: 760px;
}

.about-page .testimonial {
    padding-bottom: 90px;
}

.testimonial .testimonial-slider-nav {
    position: relative;
    width: 300px;
    margin: 0 auto;
}

.testimonial .testimonial-slider-nav .slick-slide {
    position: relative;
    opacity: 0;
    transition: .5s;
}

.testimonial .testimonial-slider-nav .slick-active {
    opacity: 1;
    transform: scale(1.3);
}

.testimonial .testimonial-slider-nav .slick-center {
    transform: scale(1.8);
    z-index: 1;
}

.testimonial .testimonial-slider-nav .slick-slide img {
    position: relative;
    display: block;
    margin-top: 37px;
    width: 100%;
    height: auto;
    border-radius: 100px;
}

.testimonial .testimonial-slider {
    position: relative;
    margin-top: 15px;
    padding-top: 50px;
}

.testimonial .testimonial-slider::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 50px;
    top: 0;
    left: calc(50% - 30px);
    background: url(../img/quote.png) top center no-repeat;
}

.testimonial .testimonial-slider h3 {
    color: #fdbe33;
    font-size: 22px;
    font-weight: 700;
}

.testimonial .testimonial-slider h4 {
    font-size: 14px;
    font-weight: 300;
    color: #ffffff;
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial .testimonial-slider p {
    color: #ffffff;
    font-size: 16px;
    font-weight: 300;
    margin: 0;
}


/*** Testimonial new End ***/

/*** Testimonial Start ***/
.testimonial .testimonial-carousel {
    position: relative;
}

.testimonial .testimonial-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--bs-light);
    border: 1px solid var(--bs-primary);
    border-radius: 10px;
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-dot.active {
    width: 40px;
    background: var(--bs-primary);
}

/*** Testimonial End ***/

/*** FAQ'S Start ***/
.faq {
    position: relative;
    overflow: hidden;
}

.faq::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-image: url(../img/bg.png);
    object-fit: cover;
    z-index: -1;
}

.faq .faq-img {
    position: relative;
}

.faq .faq-img .faq-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

/*** FAQ'S End ***/

/*** Footer Start ***/
.footer {
    background-color: var(--bs-dark);
    color: var(--bs-white);
    padding: 40px 20px;
    /* Add padding for spacing */
    text-align: left;
    /* Align text to the left */
}

.footer-title {
    font-size: 2em;
    color: var(--bs-primary1);
    margin-bottom: 15px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
}

.footer-text {
    font-size: 1em;
    color: var(--bs-light);
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--bs-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--bs-primary);
    /* Add hover effect */
}

.footer-copyright {
    font-size: 0.9em;
    color: var(--bs-light);
    margin-top: 20px;
}


@media (max-width: 768px) {
    .footer {
        text-align: center;
        /* Center-align content for smaller screens */
    }

    .footer-title {
        font-size: 1.3em;
        /* Adjust font size */
    }

    .footer-text {
        font-size: 0.9em;
        /* Adjust font size */
    }
}

/*** Footer End ***/

/*** copyright Start ***/
/* Grace International Brand Colors */
:root {
    --grace-blue-primary: #0066a6;
    /* A vibrant blue, inspired by the logo */
    --grace-blue-dark: #0056b3;
    /* Darker shade for hover states */
    --grace-light-grey: #f0f2f5;
    /* Background for sections */
    --grace-white: #ffffff;
    /* Card backgrounds */
    --grace-dark-text: #333;
    /* Main text color */
    --grace-medium-text: #555;
    /* Secondary text color */
    --grace-border-grey: #e0e0e0;
    /* Light border for cards */
    --grace-shadow-light: rgba(0, 0, 0, 0.05);
    /* Light shadow */
    --grace-shadow-medium: rgba(0, 0, 0, 0.08);
    /* Medium shadow */
    --grace-shadow-hover: rgba(0, 0, 0, 0.12);
    /* Hover shadow */
    --bs-primary: #0066a6;
    --bs-primary1: white;
    /* Grace blue primary */
    --bs-dark: #0056b3;
    /* Grace blue dark */
    --bs-light: #f0f2f5;
    /* Light grey background */
    --bs-white: #ffffff;
    /* White for cards and text */
    --bs-body: #333;
    /* Main text color */
    --bs-secondary: #555;
    /* Secondary text color */
    --bs-border: #e0e0e0;
    /* Light border for cards */
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    /* Assuming var(--bs-dark) is a variable from your main CSS/Bootstrap */
    /* If you want to explicitly set it to a brand-aligned dark, you could use #1a202c or similar */
    background: var(--bs-dark) !important;
}

/*** copyright end ***/

/* Grace International Brand Colors */

/*** copyright end ***/

/* Add Google Fonts (Optional but recommended for 'Open Sans') */
/* You would typically link this in your HTML <head> like:
   <link href="http://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap" rel="stylesheet">
   If you already have a font, you can remove this or adjust your body font-family.
*/

/* Branches Section Styling */
.branches-section {
    max-width: 1300px;
    margin: 60px auto;
    padding: 30px;
    background-color: var(--grace-white);
    box-shadow: 0 4px 15px var(--grace-shadow-medium);
    border-radius: 12px;
    text-align: center;
}

.branches-section h2 {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 2.8em;
    color: var(--grace-blue-primary);
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.branches-section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--grace-blue-primary);
    border-radius: 2px;
}


/* Grid Container for Branches */
.branch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    justify-content: center;
}

/* Individual Branch Item Styling */
.branch-item {
    background-color: var(--grace-white);
    border: 1px solid var(--grace-border-grey);
    border-radius: 10px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 2px 10px var(--grace-shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
}

.branch-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--grace-shadow-hover);
}

.branch-item h3 {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--grace-dark-text);
    font-size: 1.6em;
    font-weight: 600;
}

.branch-item p {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin-bottom: 10px;
    line-height: 1.5;
    color: var(--grace-medium-text);
    font-size: 0.95em;
}

.branch-item p small {
    display: block;
}

.branch-item p i {
    margin-right: 10px;
    color: var(--grace-blue-primary);
    font-size: 1.1em;
}

/* Link and Button Styling */
.branch-item a {
    color: var(--grace-blue-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.branch-item a:hover {
    text-decoration: underline;
    color: var(--grace-blue-dark);
}

.get-directions-btn {
    display: inline-block !important;
    width: auto;
    margin-top: 20px;
    padding: 10px 20px !important;
    background-color: var(--grace-blue-primary) !important;
    color: var(--grace-white) !important;
    text-align: center;
    text-indent: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    line-height: normal !important;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
}

.get-directions-btn:hover {
    color: var(--grace-blue-primary) !important;
    background-color: var(--grace-white) !important;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .branch-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }

    .branches-section {
        margin: 40px auto;
        padding: 25px;
    }

    .branches-section h2 {
        font-size: 2.2em;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .branch-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .branches-section h2 {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .branch-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .branches-section {
        margin: 20px 15px;
        padding: 20px;
    }

    .branches-section h2 {
        font-size: 1.8em;
        margin-bottom: 25px;
    }

    .branch-item {
        padding: 20px;
        min-height: auto;
    }

    .branch-item h3 {
        font-size: 1.4em;
    }

    .get-directions-btn {
        width: 100%;
    }
}

/* Responsive Navbar Logo */
.navbar-brand img {
    max-height: 80px;
    /* Increase logo height */
    width: auto;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .navbar-brand img {
        max-height: 60px;
        /* Adjust for smaller screens */
    }
}

@media (max-width: 768px) {
    .navbar .navbar-nav .nav-item.nav-link {
        margin: 10px 0 !important;
    }

    .navbar .navbar-toggler {
        padding: 6px 12px;
    }
}

/* Responsive adjustments for carousel */
.header-carousel .header-carousel-item img {
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

@media (max-width: 992px) {
    .header-carousel .header-carousel-item .carousel-caption {
        width: 100%;
        padding: 0 15px;
    }
}

/* Responsive adjustments for sections */
.about .text {
    padding: 15px;
}

/* Responsive adjustments for footer */
.footer {
    padding: 20px;
}

@media (max-width: 768px) {
    .footer .footer-item {
        text-align: center;
    }
}

/* General responsive adjustments */
@media (max-width: 1024px) {
    .container {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 5px;
    }
}

/* Ensure consistent brand colors across all sections */
.btn.btn-primary {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}

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

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

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

/* Update background colors for sections */
.about {
    background-color: var(--bs-light);
}

.service {
    background-color: var(--bs-light);
}

.team {
    background-color: var(--bs-light);
}

.footer {
    background-color: #1169a7;
}

/* Ensure text colors match brand */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--bs-body);
}

p,
a {
    color: var(--bs-secondary);
}

a:hover {
    color: var(--bs-primary);
}

/* Maintain consistent spacing */
.section-padding {
    padding: 60px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 30px 0;
    }
}

.btn {
    padding: 10px 60px;
    background-color: #1169a7;
    color: #fff;
    border: 0;
    outline: none;
    cursor: pointer;
    font-size: 22px;
    font-weight: 500;
    border-radius: 30px;

}

.popup {
    width: 400px;
    background-color: #fff;
    border-radius: 6px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%)scale(0.1);
    text-align: center;
    padding: 0 30px 30px;
    color: #333;
    visibility: hidden;
    transition: tranform 0.4s, top 0.4s;
}

.open-popup {
    visibility: visible;
    top: 50%;
    transform: translate(-50%, -50%)scale(1);
}

.popup img {
    width: 100px;
    margin-top: -50px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.popup h2 {
    font-size: 38px;
    font-weight: 500;
    margin: 30px 0 10px;

}

.popup button {
    width: 100%;
    margin-top: 50px;
    padding: 10px 0;
    background: #6fd649;
    color: #fff;
    border: 0;
    outline: none;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}



.leaflet-control-attribution.leaflet-control {
    display: none;
}



/*** Testimonial new Start ***/
.about-us {
    position: relative;
    margin: 45px 0;
    padding: 90px 0;
    text-align: center;
    background: linear-gradient(rgba(3, 15, 39, .9), rgba(3, 15, 39, .9)), url(../img/australia-view.jpeg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}



.fact {
    position: relative;

    padding: 45px 0;
}

.fact .col-6 {
    display: flex;
    align-items: flex-start;
}

.fact .fact-icon {
    position: relative;
    margin: 7px 15px 0 15px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fact .fact-icon [class^="flaticon-"]::before {
    margin: 0;
    font-size: 60px;
    line-height: 60px;
    background-image: linear-gradient(#ffffff, #fdbe33);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fact .fact-right .fact-icon [class^="flaticon-"]::before {
    background-image: linear-gradient(#ffffff, #030f27);
}

.fact .fact-left,
.fact .fact-right {
    padding-top: 60px;
    padding-bottom: 60px;
}

.fact .fact-text h2 {
    font-size: 35px;
    font-weight: 700;
}

.fact .fact-text p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
}

.fact .fact-left {
    color: white;
    background: #1169a7;
}

.fact .fact-right {
    color: white;
    background: #198754;
}

.fact .fact-left h2 {
    color: white;
}

/* Team Section Improved Styles */
.team {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    position: relative;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--bs-primary) 0%, var(--bs-dark) 100%);
}

.team .section-title {
    margin-bottom: 50px;
}

.team .row {
    margin-top: 20px;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.team-grid>div {
    max-width: 500px;
    flex: 1 1 calc(50% - 20px);
}

.team-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-card .position-relative {
    overflow: hidden;
}

.team-card img {
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 400px;
    object-fit: cover;
    width: 100%;
}

.team-card:hover img {
    transform: scale(1.05);
}

.team-social {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(3px);
}

.team-card:hover .team-social {
    opacity: 1;
}

.team-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: #fff;
    font-size: 18px;
    margin: 0;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.team-social a:hover {
    background: var(--bs-primary);
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    border-color: transparent;
}

.team-card:hover .team-social a {
    opacity: 1;
    transform: translateY(0);
}

.team-card:hover .team-social a:nth-child(1) {
    transition-delay: 0.1s;
}

.team-card:hover .team-social a:nth-child(2) {
    transition-delay: 0.2s;
}

.team-card:hover .team-social a:nth-child(3) {
    transition-delay: 0.3s;
}

.team-card .card-body {
    background: white;
    transition: all 0.3s ease;
    border-radius: 0 0 15px 15px;
    padding: 25px 20px;
    position: relative;
    z-index: 1;
}

.team-card .card-body::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, var(--bs-primary) 0%, #0056b3 100%);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
    opacity: 0;
    border-radius: 0 0 15px 15px;
}

.team-card:hover .card-body::before {
    height: 100%;
    opacity: 1;
}

.team-card .card-title {
    font-weight: 700;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 22px;
}

.team-card .team-position {
    display: block;
    color: #6c757d;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.team-card:hover .card-title,
.team-card:hover .team-position,
.team-card:hover .card-text {
    color: white;
}

.team-card .marn-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(var(--bs-primary-rgb), 0.15);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--bs-primary);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.team-card:hover .marn-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.team-card .card-text {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .team-card img {
        height: 350px;
    }

    .team-card .card-body {
        padding: 20px 15px;
    }

    .team-card .card-title {
        font-size: 20px;
    }

    .team-grid>div {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 992px) {
    .team-card img {
        height: 320px;
    }

    .team-grid {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .team-card img {
        height: 280px;
    }

    .team-card .card-body {
        padding: 18px;
    }

    .team-card .card-text {
        font-size: 13px;
    }

    .team-social a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .team-grid>div {
        flex: 1 1 100%;
        max-width: 450px;
    }
}

@media (max-width: 576px) {
    .team-card img {
        height: 250px;
    }

    .team-card .card-title {
        font-size: 18px;
    }

    .team-card .team-position {
        font-size: 13px;
    }

    .team-card .marn-badge {
        font-size: 12px;
        padding: 3px 10px;
    }

    .team-grid {
        gap: 10px;
    }
}

/* FAQ Section Enhancements */
.faq {
    background-color: #f8f9fa;
    position: relative;
    padding: 70px 0;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--bs-primary), rgba(0, 123, 255, 0.3));
}

.faq .display-4 {
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
}

.faq .accordion {
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq .accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq .accordion-item:last-child {
    margin-bottom: 0;
}

.faq .accordion-button {
    padding: 18px 25px;
    font-weight: 600;
    font-size: 17px;
    color: #333;
    background-color: #fff;
    border: none;
    border-radius: 8px !important;
    box-shadow: none;
    transition: all 0.3s ease;
}

.faq .accordion-button:not(.collapsed) {
    color: var(--bs-primary);
    background-color: #f8f9fa;
}

.faq .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 123, 255, 0.25);
}

.faq .accordion-button::after {
    background-size: 18px;
    transition: all 0.3s ease;
}

.faq .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.faq .accordion-body {
    padding: 15px 25px 25px;
    background-color: #fff;
}

.faq .accordion-body p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 0;
}

.faq .faq-img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq .faq-img img {
    width: 100%;
    border-radius: 12px;
    transition: transform 0.5s ease;
}

.faq:hover .faq-img img {
    transform: scale(1.05);
}

.faq .faq-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.faq .faq-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Contact Form Improvements */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 70px 0;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--bs-primary), rgba(0, 123, 255, 0.3));
}

.contact-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.contact-form {
    padding: 30px;
}

.contact-form h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--bs-dark);
}

.contact-form p {
    font-size: 15px;
    color: #666;
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 25px;
    position: relative;
}

.contact-form .form-control {
    height: 52px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.contact-form .form-control:focus {
    background: #fff;
    border-color: var(--bs-primary);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.1);
}

.contact-form textarea.form-control {
    height: 140px;
    padding-top: 15px;
}

.contact-form .form-label {
    font-weight: 500;
    color: #555;
}

.contact-form .btn-primary {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.contact-image {
    height: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

.form-message {
    padding: 15px;
    margin-top: 15px;
    border-radius: 10px;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
    border: 1px solid rgba(25, 135, 84, 0.2);
}

.form-message.error {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

/* Alert styling for form submission */
.alert {
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: none;
}

.alert-success {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
    border-left: 4px solid #198754;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-left: 4px solid #dc3545;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .contact-image {
        min-height: 300px;
    }

    .contact-form {
        padding: 25px;
    }
}

@media (max-width: 767px) {
    .faq {
        padding: 50px 0;
    }

    .contact-section {
        padding: 50px 0;
    }
}

/* Modern UI Enhancements - Glossy Effects */
.glossy-bg {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.glossy-bg::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
}

.glossy-bg::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0));
}

.glossy-card {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 15px;
    box-shadow: 8px 8px 16px #e1e1e1, -8px -8px 16px #ffffff;
    overflow: hidden;
    position: relative;
}

.glossy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
    z-index: 1;
    border-radius: 15px 15px 0 0;
    pointer-events: none;
}

.glossy-button {
    background: linear-gradient(145deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glossy-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    border-radius: 50px 50px 0 0;
    pointer-events: none;
}

.glossy-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 123, 255, 0.3);
}

/* Remove dividing lines and enhance smoothness */
.container-fluid {
    border: none !important;
    position: relative;
}

.container-fluid::before,
.container-fluid::after {
    display: none !important;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(to right, #0056b3, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* Neumorphic stats cards */
.stat-card {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: 8px 8px 16px #e1e1e1, -8px -8px 16px #ffffff;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
    border-radius: 15px 15px 0 0;
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-5px);
}

/* Rounded borders */
.rounded-4 {
    border-radius: 15px;
}

.shadow-soft {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.team-card .placeholder-image {
    height: 400px;
    width: 100%;
    background: linear-gradient(145deg, #e6e9ee, #f0f2f5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.team-card .placeholder-image::after {
    content: "\f007";
    font-family: "Font Awesome 5 Free";
    font-size: 80px;
    color: rgba(0, 123, 255, 0.3);
    font-weight: 900;
}

@media (max-width: 1200px) {
    .team-card .placeholder-image {
        height: 350px;
    }
}

@media (max-width: 992px) {
    .team-card .placeholder-image {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .team-card .placeholder-image {
        height: 280px;
    }
}

@media (max-width: 576px) {
    .team-card .placeholder-image {
        height: 250px;
    }

    .team-card .placeholder-image::after {
        font-size: 60px;
    }
}

/* City Selector Styles */
.city-selector .btn {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1px 8px;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    height: 24px;
    display: flex;
    align-items: center;
}

.city-selector .btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.city-selector .dropdown-menu {
    min-width: 160px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border: none;
    padding: 5px 0;
    margin-top: 5px;
    background: #fff;
}

.city-selector .dropdown-item {
    padding: 5px 10px;
    font-size: 0.75rem;
    color: #333;
    transition: all 0.2s ease;
}

.city-selector .dropdown-item:hover,
.city-selector .dropdown-item.active {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
}

.city-selector .dropdown-item.active::before {
    content: "✓";
    margin-right: 4px;
    color: var(--bs-primary);
}

@media (max-width: 768px) {
    .city-selector {
        margin-bottom: 0;
        width: auto;
    }

    .city-selector .btn {
        width: auto;
        justify-content: center;
        padding: 1px 8px;
        font-size: 0.75rem;
        height: 24px;
    }

    .city-selector .dropdown-menu {
        width: auto;
        min-width: 140px;
        font-size: 0.75rem;
    }
    
    .city-selector .dropdown-item {
        padding: 4px 10px;
        font-size: 0.75rem;
    }
}

/* Update the mobile responsiveness fixes */

@media (max-width: 768px) {
    /* Make carousel buttons more visible and clickable */
    .carousel-caption {
        position: relative;
        z-index: 10;
        padding: 15px 10px;
        bottom: 0;
        left: 0;
        right: 0;
    }
    
    .carousel-caption-inner {
        background-color: rgba(0, 0, 0, 0.7);
        padding: 15px !important;
        border-radius: 8px;
        position: relative;
        z-index: 20;
    }
    
    .carousel-caption h1 {
        font-size: 24px !important;
        margin-bottom: 10px !important;
    }
    
    .carousel-caption p {
        font-size: 14px !important;
        margin-bottom: 15px !important;
    }
    
    .carousel-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .carousel-buttons .btn {
        font-size: 14px;
        padding: 8px 15px !important;
        margin-bottom: 10px !important;
        margin-right: 0 !important;
        width: 80%;
        max-width: 200px;
    }
    
    /* Hide blue overlay on mobile to make buttons clickable */
    .header-carousel .header-carousel-item::before,
    .header-carousel .header-carousel-item::after,
    .header-carousel .header-carousel-item-img-1::before,
    .header-carousel .header-carousel-item-img-2::before,
    .header-carousel .header-carousel-item-img-3::before,
    .header-carousel .header-carousel-item-img-1::after,
    .header-carousel .header-carousel-item-img-2::after,
    .header-carousel .header-carousel-item-img-3::after {
        display: none !important;
    }
    
    /* Make sure the carousel caption is above everything else */
    .header-carousel .header-carousel-item .carousel-caption {
        z-index: 20 !important;
    }
    
    /* Compact header for mobile */
    .topbar {
        padding: 2px 0;
        min-height: 26px;
    }
    
    .topbar .btn-square {
        width: 22px;
        height: 22px;
        font-size: 11px;
        margin: 0 1px;
    }
    
    .topbar .d-flex {
        flex-wrap: nowrap;
        justify-content: center;
    }
    
    .topbar .me-3 {
        margin-right: 3px !important;
        font-size: 11px;
    }
    
    .topbar a {
        font-size: 11px;
    }
    
    /* Ensure buttons are clickable */
    .header-carousel-item {
        position: relative;
    }
    
    .header-carousel-item-img-1,
    .header-carousel-item-img-2,
    .header-carousel-item-img-3 {
        position: relative;
        z-index: 1;
    }
    
    /* Fix map scrolling */
    #map {
        touch-action: none;
    }
}

/* Footer logo responsiveness */
.footer-logo-container {
    max-width: 100%;
    text-align: center;
}

.footer-logo {
    max-width: 100%;
    height: auto;
    max-height: 150px;
}

.footer-contact {
    color: #fff;
    margin-top: 15px;
}

.footer-contact p {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-social a {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.footer-social a:hover {
    background-color: var(--bs-primary);
}

@media (max-width: 576px) {
    .footer-logo {
        max-height: 100px;
    }
    
    .footer-contact p {
        font-size: 13px;
    }
    
    .footer-social a {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

/* Navbar Social Icons */
.navbar .social-icons a {
    color: var(--bs-dark);
    font-size: 16px;
    transition: all 0.3s;
}

.navbar .social-icons a:hover {
    color: var(--bs-primary);
}

.navbar .dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: none;
}

@media (max-width: 768px) {
    /* Compact header for mobile */
    .topbar {
        padding: 2px 0;
        min-height: 26px;
    }
    
    .city-selector .btn {
        font-size: 0.7rem;
        padding: 1px 6px;
        height: 22px;
    }
}

/* Additional carousel caption improvements */
@media (max-width: 768px) {
    .header-carousel .header-carousel-item .carousel-caption {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        transform: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
        z-index: 20 !important;
        padding: 20px;
    }
    
    .carousel-caption-inner {
        background-color: rgba(0, 0, 0, 0.6);
        padding: 20px !important;
        border-radius: 8px;
        position: relative;
        z-index: 20;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .carousel-buttons {
        position: relative;
        z-index: 30 !important;
    }
    
    .carousel-buttons .btn {
        position: relative;
        z-index: 30 !important;
        pointer-events: auto !important;
    }
    
    /* Ensure the entire carousel item doesn't have pointer events blocking */
    .header-carousel-item * {
        pointer-events: auto !important;
    }
}