﻿/*** Spinner ***/
/*body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: #ffffff;*/
   /* prevent scroll during loading */
/*}

.vertical-btnn,
.vertical-btn {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}*/


/* Preloader full screen */
/*#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;*/ /* white background */
    /*display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}*/

    /* Loader text styling */
    /*#preloader span {
        font-size: 3rem;
        font-weight: 600;*/ /* added for bolder text */
        /*color: rgba(13, 87, 84, 0.3);*/ /* tealish faded color */
        /*display: inline-block;
        animation: animateLetters 2s infinite;
        margin: 0 8px;

    }*/


        /* Different delay for each letter */
        /*#preloader span:nth-child(1) {
            animation-delay: 0.1s;
        }

        #preloader span:nth-child(2) {
            animation-delay: 0.2s;
        }

        #preloader span:nth-child(3) {
            animation-delay: 0.3s;
        }

        #preloader span:nth-child(4) {
            animation-delay: 0.4s;
        }

        #preloader span:nth-child(5) {
            animation-delay: 0.5s;
        }

        #preloader span:nth-child(6) {
            animation-delay: 0.6s;
        }

        #preloader span:nth-child(7) {
            animation-delay: 0.7s;
        }

        #preloader span:nth-child(8) {
            animation-delay: 0.8s;
        }

        #preloader span:nth-child(9) {
            animation-delay: 0.9s;
        }*/

/* Animate letters */
/*@keyframes animateLetters {
    0% {
        opacity: 0;
        color: rgba(13, 87, 84, 0.3);
        transform: translateY(0);
    }

    25% {
        opacity: 1;
        color: #0d5754;*/ /* solid teal */
        /*transform: translateY(-15px);
        text-shadow: 0 10px 10px rgba(13, 87, 84, 0.4);
    }

    100% {
        opacity: 0.3;
        color: rgba(13, 87, 84, 0.3);
        transform: translateY(0);
    }
}*/

/* Fade out preloader */
/*#preloader.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}*/

/* Show main content only after loading */
/*#main-content {
    display: none;
    padding: 40px;
    color: #0d5754;*/ /* teal color */
/*}

@media (max-width:480px){*/
    /* Preloader full screen */
    /*#preloader {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #ffffff;*/ /* white background */
        /*display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }*/
        /* Loader text styling */
        /*#preloader span {
            font-size: 3rem;
            font-weight: 600;*/ /* added for bolder text */
            /*color: rgba(13, 87, 84, 0.3);*/ /* tealish faded color */
            /*display: inline-block;
            animation: animateLetters 2s infinite;
            margin: 0 3px;
        }
}*/

            /*body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: #ffffff;*/
   /* prevent scroll during loading */
/*}

.vertical-btnn,
.vertical-btn {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}*/


/* Preloader full screen */
/*#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;*/ /* white background */
    /*display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}*/

    /* Loader text styling */
    /*#preloader span {
        font-size: 3rem;
        font-weight: 600;*/ /* added for bolder text */
        /*color: rgba(13, 87, 84, 0.3);*/ /* tealish faded color */
        /*display: inline-block;
        animation: animateLetters 2s infinite;
        margin: 0 8px;

    }*/


        /* Different delay for each letter */
        /*#preloader span:nth-child(1) {
            animation-delay: 0.1s;
        }

        #preloader span:nth-child(2) {
            animation-delay: 0.2s;
        }

        #preloader span:nth-child(3) {
            animation-delay: 0.3s;
        }

        #preloader span:nth-child(4) {
            animation-delay: 0.4s;
        }

        #preloader span:nth-child(5) {
            animation-delay: 0.5s;
        }

        #preloader span:nth-child(6) {
            animation-delay: 0.6s;
        }

        #preloader span:nth-child(7) {
            animation-delay: 0.7s;
        }

        #preloader span:nth-child(8) {
            animation-delay: 0.8s;
        }

        #preloader span:nth-child(9) {
            animation-delay: 0.9s;
        }*/

/* Animate letters */
/*@keyframes animateLetters {
    0% {
        opacity: 0;
        color: rgba(13, 87, 84, 0.3);
        transform: translateY(0);
    }

    25% {
        opacity: 1;
        color: #0d5754;*/ /* solid teal */
        /*transform: translateY(-15px);
        text-shadow: 0 10px 10px rgba(13, 87, 84, 0.4);
    }

    100% {
        opacity: 0.3;
        color: rgba(13, 87, 84, 0.3);
        transform: translateY(0);
    }
}*/

/* Fade out preloader */
/*#preloader.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}*/

/* Show main content only after loading */
/*#main-content {
    display: none;
    padding: 40px;
    color: #0d5754;*/ /* teal color */
/*}

@media (max-width:480px){*/
    /* Preloader full screen */
    /*#preloader {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #ffffff;*/ /* white background */
        /*display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }*/
        /* Loader text styling */
        /*#preloader span {
            font-size: 3rem;
            font-weight: 600;*/ /* added for bolder text */
            /*color: rgba(13, 87, 84, 0.3);*/ /* tealish faded color */
            /*display: inline-block;
            animation: animateLetters 2s infinite;
            margin: 0 3px;
        }
}*/

/* Preloader overlay */
#gifLoader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    transition: opacity 0.5s ease;
}

    /* GIF styling */
    #gifLoader img {
        width: 100%; /* adjust size */
        height: auto;
        object-fit: contain;
    }

/* Hide page content initially */
#content {
    display: none;
}
/*-------------------------------*/
/*** Button ***/
.btn {
    transition: .5s;
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    float: right;
    margin-top: 10px;
}


/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 10px 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
}

    .navbar .navbar-nav .nav-link {
        margin-left: 30px;
        padding: 0;
        outline: none;
        color: var(--bs-dark);
    }

        .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: 900;
        vertical-align: middle;
        margin-left: 8px;
    }

    .navbar .dropdown-menu .dropdown-item:hover,
    .navbar .dropdown-menu .dropdown-item.active {
        color: var(--bs-white);
        background: var(--bs-primary);
    }

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Hero Header ***/
.hero-header {
    margin-top: -100px;
    padding-top: 150px;
    background: url(../rimg/hero-bg.jpg) top center no-repeat;
    background-size: cover;
}

    .hero-header .breadcrumb-item + .breadcrumb-item::before {
        color: var(--light);
    }

.header-carousel {
    position: relative;
    padding: 45px 90px 45px 0;
}

    .header-carousel::before {
        position: absolute;
        content: "";
        top: 0;
        right: 0;
        width: calc(50% + 45px);
        height: 100%;
        background: var(--bs-primary);
        z-index: -1;
    }

    .header-carousel .owl-dots {
        position: absolute;
        top: 50%;
        right: 38px;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .header-carousel .owl-dot {
        position: relative;
        display: inline-block;
        margin: 5px 0;
        width: 15px;
        height: 15px;
        border: 2px solid var(--bs-white);
        transition: .5s;
    }

        .header-carousel .owl-dot.active {
            height: 30px;
            background: var(--bs-white);
        }


/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
}

    .about-img::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: url(../rimg/bg-about-img.png) top left no-repeat;
        background-size: contain;
    }


/*** Project ***/
.project-item img {
    transition: .5s;
}

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

.project-overlay {
    position: absolute;
    padding: 25px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(255, 255, 255, .1) 50%, var(--bs-dark));
    z-index: 1;
}


/*** Service ***/
.service-item {
    position: relative;
    padding: 30px 25px;
    transition: .5s;
}

    .service-item.bg-primary:hover {
        background: var(--bs-light) !important;
    }

    .service-item.bg-primary p {
        color: var(--bs-light);
        transition: .5s;
    }

    .service-item.bg-primary:hover p {
        color: var(--bs-secondary);
    }

    .service-item.bg-light:hover {
        background: var(--bs-primary) !important;
    }

    .service-item.bg-light p {
        color: var(--bs-secondary);
        transition: .5s;
    }

    .service-item.bg-light:hover p {
        color: var(--bs-light);
    }


    .service-item .service-img h3 {
        position: absolute;
        top: 0;
        left: 0;
        padding: 0 12px 7px 0;
    }

    .service-item.bg-primary .service-img h3 {
        background: var(--bs-primary);
        color: var(--bs-white);
        transition: .5s;
    }

    .service-item.bg-primary:hover .service-img h3 {
        background: var(--bs-light);
        color: var(--bs-dark);
    }

    .service-item.bg-light .service-img h3 {
        background: var(--bs-light);
        color: var(--bs-dark);
        transition: .5s;
    }

    .service-item.bg-light:hover .service-img h3 {
        background: var(--bs-primary);
        color: var(--bs-white);
    }

/*** Our Team ***/
.team-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px; /* reduced padding */
    width: 100%;
    max-width: 180px; /* ✅ smaller square width */
    aspect-ratio: 1 / 1; /* ✅ keeps it perfectly square */
    margin: 0 auto; /* center in grid if needed */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

    .team-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    }

    .team-item img {
        max-width: 80%;
        max-height: 80%;
        object-fit: contain;
        transition: 0.5s;
    }

    .team-item:hover img {
        transform: scale(1.1);
    }

.team-overlay {
    position: absolute;
    padding: 10px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    z-index: 1;
}

    .team-overlay small {
        display: inline-block;
        padding: 3px 12px;
        color: var(--bs-white);
        background: var(--bs-primary);
        font-size: 0.8rem;
    }

/*** Testimonial ***/
.testimonial-img {
    position: relative;
    padding: 45px 0 45px 90px;
}

    .testimonial-img::before {
        position: absolute;
        content: "";
        top: 0;
        left: 0;
        width: calc(50% + 45px);
        height: 100%;
        background: var(--bs-primary);
        z-index: -1;
    }

    .testimonial-img img {
        width: 100px;
        height: 100px;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

        /* Optional hover effect */
        .testimonial-img img:hover {
            transform: scale(1.05);
        }


.testimonial-text h5 {
    position: relative;
    padding-left: 45px;
}

    .testimonial-text h5::before {
        position: absolute;
        content: "";
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        width: 40px;
        height: 2px;
        background: var(--bs-primary);
    }

.testimonial-carousel .owl-dots {
    position: absolute;
    height: 17px;
    bottom: 0;
    right: 0;
    left: auto;
}

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

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

@media (max-width: 768px) {
    .testimonial-carousel .owl-dots {
        left: 0;
        right: auto;
    }

    .testimonial-carousel .owl-dot {
        margin-right: 10px;
        margin-left: 0;
    }
}


/*** Newsletter ***/
.newsletter {
    background: url(../img/hero-bg.jpg) bottom right no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .newsletter .container {
        max-width: 100% !important;
    }

    .newsletter .newsletter-text {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .newsletter .newsletter-text {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .newsletter .newsletter-text {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,.5);
    font-weight: normal;
    transition: .3s;
}

    .footer .btn.btn-link:hover {
        color: var(--bs-white);
        letter-spacing: 1px;
        box-shadow: none;
    }

    .footer .btn.btn-link::before {
        position: relative;
        content: "\f105";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        margin-right: 10px;
    }

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

    .footer .copyright a {
        color: rgba(255,255,255,.5);
    }

        .footer .copyright a:hover {
            color: var(--bs-white);
        }

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

    .footer .footer-menu a:last-child {
        margin-right: 0;
        padding-right: 0;
        border-right: none;
    }

.footer p {
    text-align: justify;
}

/* --- Event Cards Container --- */
.event_items {
    display: flex;
    flex-direction: column;
   /* gap: 1.8rem;
    align-items: center;
    padding: 2rem 1rem;*/
}

/* --- Event Card --- */
.event_card_v2 {
    position: relative;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    max-width: 700px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 2rem 1.5rem;
    cursor: pointer;
    margin: 0 auto; /* centers horizontally */
}


    .event_card_v2:hover {
        transform: translateY(-10px) rotate(-0.5deg);
        box-shadow: 0 20px 35px rgba(0,0,0,0.15);
    }

/* Container for stacked tags */
.event_card_header .event_date_tags {
    position: absolute;
    top: 1.5rem;
    right: -45px;
    display: flex;
    flex-direction: column;
    gap: 1rem; /* space between tags */
}

/* Individual tag */
.event_card_header .event_date_tag {
    transform: rotate(40deg);
    background: linear-gradient(135deg, #86d0c9, #45b3a9);
    padding: 0.5rem 2.5rem;
    font-weight: 600;
    color: #fff;
    font-size: 0.85rem;
    white-space: nowrap;
    /* Added styling */
    border-radius: 12px; /* rounded corners */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); /* subtle shadow */
}

/* --- Card Body --- */
.event_card_body {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1.2rem;
}

.event_title_v2 a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #004d40;
    text-decoration: none;
    transition: color 0.3s;
}

    .event_title_v2 a:hover {
        color: #009688;
    }

.event_location_v2 {
    color: #555;
    font-size: 1rem;
}

.highlight-emphasis {
    font-weight: 600;
    color: #00796b;
}

/* Description */
.event_card_body p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Optional hover glow effect */
.event_card_v2::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(0,150,136,0.08), transparent 70%);
    pointer-events: none;
    border-radius: 20px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .event_card_v2 {
        max-width: 100%;
    }

    .event_card_header .event_date_tag {
        left: -35px;
        padding: 0.4rem 2rem;
        font-size: 0.8rem;
        transform: rotate(-40deg);
    }
}

@media (max-width: 768px) {
    .event_card_v2 {
        max-width: 90%;
    }

    .event_card_header .event_date_tag {
        left: -25px; /* adjust closer for smaller screens */
        padding: 0.3rem 2.8rem; /* reduce padding */
        font-size: 0.7rem; /* smaller text */
        transform: rotate(35deg); /* slightly less tilt for readability */
    }
}

@media (max-width:480px){
    .event_card_header .event_date_tag {
        left: -25px; /* adjust closer for smaller screens */
        padding: 0.3rem 2.8rem; /* reduce padding */
        font-size: 8px; /* smaller text */
        transform: rotate(35deg); /* slightly less tilt for readability */
    }

    .hero-header {
        margin-top: 0px!important;
        padding-top: 150px;
        background: url(../rimg/hero-bg.jpg) top center no-repeat;
        background-size: cover;
    }
}

.event_card_header .event_date_tag:nth-of-type(1) {
    top: 1rem !important;
    right: -45px;
}

.event_card_header .event_date_tag:nth-of-type(2) {
    top: 4.5rem !important; /* creates vertical gap */
    right: -45px;
}

.event-details-collapse {
    font-size: 0.95rem;
    color: #444;
    background: #f9f9f9;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

    .event-details-collapse h5 {
        margin-top: 0;
        color: #00796b;
    }

    .event-details-collapse img {
        border-radius: 12px;
        margin-top: 1rem;
    }
/*--------------------home-----------*/

/* Login Box */
.login-box {
    width: 400px;
    padding: 40px;
    background-image: url("../rimg/login.png");
    background-repeat: no-repeat;
    box-shadow: 0 15px 25px rgba(0,0,0,0.6);
    border-radius: 10px;
    text-align: center;
}

    .login-box h3 {
        color: #fff;
        margin-bottom: 5px;
    }

.user-box {
    position: relative;
    margin-bottom: 30px;
}

    .user-box input {
        width: 100%;
        padding: 10px 0;
        color: #fff;
        background: transparent !important;
        border: none;
        border-bottom: 3px solid #fff;
        outline: none;
        box-shadow: none !important;
        transition: all 0.3s ease;
    }

        /* Fix Chrome autofill background */
        .user-box input:-webkit-autofill,
        .user-box input:-webkit-autofill:hover,
        .user-box input:-webkit-autofill:focus,
        .user-box input:-webkit-autofill:active {
            -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
            -webkit-text-fill-color: #fff !important; /* keep text white */
            transition: background-color 5000s ease-in-out 0s;
            background-color: transparent !important;
        }

        /* Optional focus glow (if you want it) */
        .user-box input:focus {
            border-bottom-color: #00ff88; /* light green focus underline */
        }


        .user-box input:focus {
            border-bottom: 1px solid #fff; /* keep bottom line the same on focus */
            outline: none;
            box-shadow: none;
        }

    .user-box label {
        position: absolute;
        top: 0;
        left: 0;
        padding: 10px 0;
        color: #fff;
        pointer-events: none;
        transition: 0.5s;
    }

.input:focus ~ label,
.input:valid ~ label {
    top: -20px;
    font-size: 12px;
    color: #FFF;
}

@media (max-width: 768px) {
    .login-box {
        width: 55%; /* Make it responsive */
        margin: 0 auto; /* Center horizontally */
        position: relative; /* Reset any absolute positioning */
        left: 0;
        top: 0;
        transform: none; /* Remove transform if used for positioning */
    }

    /* Optional: If you want to center it vertically too */
    .login-container {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh; /* Full height of screen */
    }
}

@media (max-width: 768px) {
    .login-box {
        width: 60%; /* Make it responsive */
        margin: 0 auto; /* Center horizontally */
        position: relative; /* Reset any absolute positioning */
        left: 0;
        top: 0;
        transform: none; /* Remove transform if used for positioning */
    }
}
@media (max-width: 480px) {
    .login-box {
        width: 90% !important; /* Make it responsive */
        margin: 0 auto; /* Center horizontally */
        position: relative; /* Reset any absolute positioning */
        left: 0;
        top: -69px;
        transform: none; /* Remove transform if used for positioning */
    }
}

/* === Animated Login Button (ASP.NET Compatible) === */
.btn-login-animated {
    position: relative;
    display: inline-block;
    padding: 12px 25px;
    color: #FFF5EE; /* text color */
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    overflow: hidden;
    transition: 0.4s ease-in-out;
    background: linear-gradient(45deg, #B2DFDB, #009688); /* gradient background */
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

    .btn-login-animated::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 0;
        background: rgba(255,255,255,0.2);
        transition: 0.4s;
        border-radius: 50px;
    }

    .btn-login-animated:hover::before {
        height: 100%;
    }

    .btn-login-animated:hover {
        color: #fff;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        transform: translateY(-2px);
    }

    /* Animated smoke-like borders */
    .btn-login-animated span {
        position: absolute;
        display: block;
        background: #ccc;
    }

        /* Animations on button edges */
        .btn-login-animated span:nth-child(1) {
            top: 0;
            left: -100%;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent, #ccc);
            animation: btnAnimA 1.5s linear infinite;
        }

        .btn-login-animated span:nth-child(2) {
            top: -100%;
            right: 0;
            width: 2px;
            height: 100%;
            background: linear-gradient(180deg, transparent, #ccc);
            animation: btnAnimB 1.5s linear infinite 0.3s;
        }

        .btn-login-animated span:nth-child(3) {
            bottom: 0;
            right: -100%;
            width: 100%;
            height: 2px;
            background: linear-gradient(270deg, transparent, #ccc);
            animation: btnAnimC 1.5s linear infinite 0.6s;
        }

        .btn-login-animated span:nth-child(4) {
            left: 0;
            bottom: -100%;
            width: 2px;
            height: 100%;
            background: linear-gradient(360deg, transparent, #ccc);
            animation: btnAnimD 1.5s linear infinite 0.9s;
        }

/* Edge Animations */
@keyframes btnAnimA {
    0% {
        left: -100%;
    }

    50%,100% {
        left: 100%;
    }
}

@keyframes btnAnimB {
    0% {
        top: -100%;
    }

    50%,100% {
        top: 100%;
    }
}

@keyframes btnAnimC {
    0% {
        right: -100%;
    }

    50%,100% {
        right: 100%;
    }
}

@keyframes btnAnimD {
    0% {
        bottom: -100%;
    }

    50%,100% {
        bottom: 100%;
    }
}


.user-box .toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    font-size: 18px;
}

/* Make Register button look like a text link */
.forgot-link1,
.register-now-link {
    border: none !important;
    background: transparent !important;
    padding: 0;
    margin: 0;
    text-decoration: underline;
    color: #FFF5EE; /* text color */
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
    font-weight: normal;
    line-height: normal;
    display: inline;
    box-shadow: none !important;
    outline: none !important;
}

    /* Prevent underline or border highlight on hover */
    .forgot-link1:hover,
    .register-now-link:hover,
    .forgot-link1:focus,
    .register-now-link:focus {
        color: #FFF5EE; /* keep same color */
        text-decoration: underline; /* keep underline */
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        outline: none !important;
    }


/* Form footer */
.form-footer {
    display: flex;
    justify-content: space-between; /* align left and right */
    align-items: center;
    color: #fff;
    font-size: 0.85rem; /* small font */
    margin-top: 10px;
}

    .form-footer label.remember-me {
        display: flex;
        align-items: center;
        gap: 5px;
        cursor: pointer;
    }

    .form-footer .forgot-link {
        border: none;
        background: none;
        padding: 0;
        text-decoration: underline;
        color: #FFF5EE; /* match register now */
        font-size: 0.85rem;
        cursor: pointer;
        transition: 0.3s;
    }

        .form-footer .forgot-link:hover,
        .register-line a.register-now:hover {
            text-decoration: underline;
        }

.register-line {
    color: #fff;
    font-size: 0.85rem; /* small font */
    margin-bottom: 15px;
}

/*-----------facilities-----------*/


.about-video-area {
    position: relative;
    display: inline-block;
}

.video_img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

/* Center play button */
.video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

/* Play button style */
.video-play-btn {
    width: 70px;
    height: 70px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

    /* Hover animation */
    .video-play-btn:hover {
        transform: scale(1.2);
        background: rgba(0, 0, 0, 0.8);
        box-shadow: 0 0 15px #00ffe0, 0 0 30px #00ffe0, 0 0 60px #00ffe0;
    }

    /* Glowing pulse */
    .video-play-btn::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: rgba(0, 255, 224, 0.4);
        top: 0;
        left: 0;
        z-index: -1;
        opacity: 0;
        transform: scale(1);
        transition: all 0.3s ease;
    }

    .video-play-btn:hover::before {
        opacity: 1;
        transform: scale(1.5);
        animation: pulse 1s infinite;
    }

@keyframes pulse {
    0% {
        transform: scale(1.2);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}



/*-----Promo code------*/

/* Vertical Right Side Button */
.vertical-btn {
    position: fixed;
    top: 20%;
    right: 0;
    transform: translateY(-50%);
    background: linear-gradient(45deg, #B2DFDB, #009688);
    color: #fff;
    padding: 15px;
    border-radius: 50px 0 0 50px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 50px;
    overflow: hidden;
    transition: width 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 9999;
}

    .vertical-btn i {
        font-size: 20px;
        margin-right: 0;
        transition: margin 0.3s ease;
    }

    .vertical-btn .btn-text {
        opacity: 0;
        white-space: nowrap;
        margin-left: 10px;
        transition: opacity 0.3s ease;
    }

    .vertical-btn:hover {
        width: 240px; /* expand to show text */
    }

        .vertical-btn:hover i {
            margin-right: 10px;
        }

        .vertical-btn:hover .btn-text {
            opacity: 1;
        }

/* Optional: mobile adjustments */
@media (max-width: 768px) {
    .vertical-btn {
        width: 45px;
        padding: 12px;
        top: 20%;
    }

        .vertical-btn:hover {
            width: 240px;
        }
}

/*----------preview---------------*/

/* Vertical Right Side Button */
.vertical-btnn {
    position: fixed;
    top: 12%;
    left: 0;
    transform: translateY(50%);
    background: linear-gradient(45deg, #B2DFDB, #009688);
    color: #fff;
    padding: 15px;
    border-radius: 0 50px 50px 0;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 90px;
    overflow: hidden;
    transition: width 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/* Optional: mobile adjustments */
@media (max-width: 768px) {
    .vertical-btnn {
        width: 85px;
        padding: 12px;
        top: -12%;
        position: relative; /* or absolute/fixed depending on use case */
        z-index: 9999; /* high value to appear on top */
        left: -38px;
    }


       
}

@media (max-width: 765px) {
    .vertical-btnn {
        width: 85px;
        padding: 12px;
        top: -29%;
        position: relative; /* or absolute/fixed depending on your layout */
        z-index: 9999; /* ensure it stays on top */
        left: -25px;
    }

       
}

/*---------*/

/* Modal backdrop blur */
body.modal-open .content-wrapper {
    filter: blur(5px);
    pointer-events: none;
}

/* Modal styles */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.custom-modal-content {
    background-color: transparent !important;
    margin: 5% auto;
    padding: 30px 20px;
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    position: relative;
    /*box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);*/
    box-shadow: none !important;
    animation: slideDown 0.4s ease;
}

.custom-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s ease;
}

    .custom-close:hover {
        transform: rotate(90deg);
    }

/* Title */
.modal-title {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    margin-bottom: 20px;
    color: #0d6b68;
    font-weight: 600;
}

/* Line divider */
.line1 {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0d6b68, #4db6ac);
    margin: 0 auto 10px auto;
    border-radius: 2px;
}

.line2 {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0d6b68, #4db6ac);
    margin: 0 auto 25px auto;
    border-radius: 2px;
}

/* Promo Card */
.promo-card {
    background: #f5fdfc;
    border-radius: 20px;
    padding: 25px 20px;
    width: 100%;
    text-align: center;
    color: #004d40;
    font-family: 'Poppins', sans-serif;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid rgba(0, 150, 136, 0.15);
}

    .promo-card::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle at center, rgba(0, 150, 136, 0.2) 0%, transparent 70%);
        transform: rotate(25deg);
        transition: all 0.5s ease;
        z-index: 0;
    }

    .promo-card:hover::before {
        transform: rotate(0deg);
    }

    /* Headings */
    .promo-card h1 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 5px;
        text-transform: uppercase;
        color: #00695c;
        z-index: 1;
        position: relative;
    }

    .promo-card h2.Offer {
        font-size: 32px;
        font-weight: 700;
        color: #004d40;
        margin: 5px 0;
        z-index: 1;
        position: relative;
    }

    /* Description */
    .promo-card p {
        font-size: 13px;
        color: #00695c;
        margin-bottom: 15px;
        z-index: 1;
        position: relative;
    }

/* Code box with 3D effect */
.code-box {
    background: #00bfa5;
    color: #fff;
    font-weight: 700;
    border-radius: 12px;
    padding: 12px;
    font-size: 15px;
    letter-spacing: 1px;
    margin: 10px 0 8px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .code-box:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 15px rgba(0, 191, 165, 0.35);
    }

/* Expiry text */
.expire-text {
    font-size: 12px;
    color: #00796b;
    opacity: 0.8;
    margin-top: 5px;
    z-index: 1;
    position: relative;
}

/* Card hover effect */
.promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 150, 136, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.promo-vertical-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center; /* center horizontally */
}

    .promo-vertical-list .promo-card {
        width: 300px; /* fixed width for cards */
    }


/*-----home-------*/

.carousel-text {
    max-width: 100%;
    margin: 20px auto 0;
}

    .carousel-text p {
        font-size: 18px;
        color: #333;
        line-height: 1.5;
    }

.read-more {
    font-weight: 600;
    color: #009688;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    margin-top: 0px;
    font-size: 18px;
    transition: text-decoration 0.3s ease;
}

    .read-more:hover {
        text-decoration: underline;
    }


/*----------cards & certificate-----*/

/* Main Section */
.certificates-section {
    text-align: center;
    padding: 20px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Title */
.certificates-title {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 700;
}

/* Container */
.certificates-container {
    width: 100%;
    max-width: 1200px;
    min-height: 0vh; /* allows expansion if content is taller */
    height: auto;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-bottom: 0; /* adds breathing room */
}

/* === Container === */
.certificates-container {
    max-width: 1300px;
    margin: auto;
}

.certificates-section {
    padding: 0px 0;
}

.certificates-grid-5col {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0px;
}

.certificate-column {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center; /* centers all items horizontally */
}

.plan-label {
    font-weight: 600;
    font-size: 1rem;
    color: #222;
    text-align: center;
    display: flex;
    flex-direction: column; /* makes span go below */
    align-items: center;
    line-height: 1.3;
}

    .plan-label .small-note {
        font-size: 0.85rem;
        color: #666;
        margin-top: 2px; /* small gap between lines */
    }

.certificate-card {
    width: 90%; /* keeps images uniform and centered */
    max-width: 250px; /* optional: controls size */
    margin: 10px auto; /* centers within column */
}

    .certificate-card img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        transition: transform 0.3s ease;
        display: block; /* removes inline gap */
        margin: 0 auto;
    }

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

    .certificate-card p {
        margin-top: 8px;
        font-size: 0.9rem;
        color: #333;
        text-align: center;
    }

/* Responsive */
@media (max-width: 992px) {
    .certificates-grid-5col {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .certificates-grid-5col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .certificates-grid-5col {
        grid-template-columns: 1fr;
    }
}

/* === Grid Layout === */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* === Card Design === */
.certificate-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

    .certificate-card img {
        width: 100%;
        height: 140px;
        object-fit: cover;
        display: block;
    }

    .certificate-card p {
        margin: 10px 0;
        font-size: 14px;
        font-weight: 500;
        color: #333;
    }

/* === Responsive === */

@media (max-width: 480px) {

    .certificate-card img {
        height: 120px;
    }
}

/* Grid for Cards */
.certificates-grid {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 25px;
}

/* Individual Card */
.certificate-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    width: 200px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .certificate-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    }

    .certificate-card img {
        width: 100%;
        height: 130px;
        object-fit: contain;
    }

    .certificate-card p {
        margin: 0;
        padding: 12px;
        font-weight: 600;
        color: #2c3e50;
    }

/*-----event model reg----*/

/* === Event Modal Form (Login Style) === */
.event-modal-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
}

/* Main Modal Box */
.event-form-box {
    width: 100%;
    max-width: 700px;
    padding: 40px;
    background-image: url("../rimg/login.png");
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 15px 25px rgba(0,0,0,0.6);
    border-radius: 12px;
    text-align: center;
    color: #fff;
    position: relative;
}

/* Title */
.event-form-title {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 600;
}

/* Close Button */
.event-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
    transition: 0.3s ease;
}

    .event-close-btn:hover {
        color: #ddd;
    }

/* --- Input Fields Grid (2 Columns) --- */
.event-form-box > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px 20px;
    margin-bottom: 25px;
}

/* Floating Label Input */
.event-field-box {
    position: relative;
    text-align: left;
}

    .event-input,
    .event-field-box select {
        width: 100%;
        padding: 10px 0;
        color: #fff;
        background: transparent;
        border: none;
        border-bottom: 2px solid #fff;
        outline: none;
        font-size: 16px;
    }

    .event-field-box label {
        position: absolute;
        top: 0;
        left: 0;
        padding: 10px 0;
        color: #fff;
        pointer-events: none;
        transition: 0.5s;
    }

    /* Floating effect when focused or has value */
    .event-input:focus ~ label,
    .event-input:not(:placeholder-shown) ~ label,
    .event-field-box select:focus ~ label,
    .event-field-box select option[value]:not([value=""]) ~ label {
        top: -20px;
        font-size: 12px;
        color: #80cbc4;
    }

/* --- Book Now Button (Animated like login) --- */
.event-submit-btn {
    position: relative;
    display: inline-block;
    width: 53%; /* Set width to 53% */
    margin: 0 auto; /* Center horizontally */
    padding: 12px 25px;
    color: #FFF5EE;
    text-transform: uppercase;
    letter-spacing: 2px;
    overflow: hidden;
    background: linear-gradient(45deg, #B2DFDB, #009688);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    font-weight: 600;
    transition: 0.4s ease-in-out;
    text-decoration: none;
    display: block; /* Make it block to allow margin auto centering */
    text-align: center; /* Center text inside button */
}

    .event-submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
        color: #fff;
    }

    /* Animated Border Effect */
    .event-submit-btn span {
        position: absolute;
        display: block;
        background: #ccc;
    }

        .event-submit-btn span:nth-child(1) {
            top: 0;
            left: -100%;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent, #ccc);
            animation: btnAnimA 1.5s linear infinite;
        }

        .event-submit-btn span:nth-child(2) {
            top: -100%;
            right: 0;
            width: 2px;
            height: 100%;
            background: linear-gradient(180deg, transparent, #ccc);
            animation: btnAnimB 1.5s linear infinite 0.3s;
        }

        .event-submit-btn span:nth-child(3) {
            bottom: 0;
            right: -100%;
            width: 100%;
            height: 2px;
            background: linear-gradient(270deg, transparent, #ccc);
            animation: btnAnimC 1.5s linear infinite 0.6s;
        }

        .event-submit-btn span:nth-child(4) {
            left: 0;
            bottom: -100%;
            width: 2px;
            height: 100%;
            background: linear-gradient(360deg, transparent, #ccc);
            animation: btnAnimD 1.5s linear infinite 0.9s;
        }

/* Animations */
@keyframes btnAnimA {
    0% {
        left: -100%
    }

    50%,100% {
        left: 100%
    }
}

@keyframes btnAnimB {
    0% {
        top: -100%
    }

    50%,100% {
        top: 100%
    }
}

@keyframes btnAnimC {
    0% {
        right: -100%
    }

    50%,100% {
        right: 100%
    }
}

@keyframes btnAnimD {
    0% {
        bottom: -100%
    }

    50%,100% {
        bottom: 100%
    }
}

.event-accordion-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns for buttons */
    gap: 10px;
    margin-bottom: 10px;
}

.event-accordion {
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    padding: 12px 20px;
    font-weight: 600;
    transition: 0.3s;
    width: 100%;
}

    .event-accordion:hover {
        background: rgba(255,255,255,0.3);
    }

/* Panels container */
.event-panels {
    margin-top: 10px;
}

/* Panels themselves */
.event-panel {
    display: none; /* hidden by default */
    background: rgba(255,255,255,0.1);
    padding: 15px;
    color: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    text-align: justify;
}

/* Responsive */
@media (max-width: 600px) {
    .event-form-box {
        padding: 25px 20px;
    }

    html, body {
        overflow-x: hidden;
    }
}

/* Default for desktop */
.custom-search-form {
    margin-left: 51px; /* desktop margin */
}

    .custom-search-form input {
        border-radius: 10px;
    }

/* Mobile view */
@media (max-width: 768px) {
    .custom-search-form {
        margin-left: 0; /* remove left margin */
        margin-right: 0; /* optional: remove right margin */
        display: flex;
        justify-content: center; /* horizontal center */
        align-items: center;
    }
}