* {
    font-family: sans-serif;

}

html,
body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* top-header */
.top-header {
    background: #b10505;
    color: white;
}

.top-header h2 {
    font-size: 14px;
    text-align: center;
    padding-top: 5px;
}


/* bottom-header */
.bottom-header {
    background-color: #d35400;
}

/* middle-header */
.middle-header img {
    /* height: 125px;
    width: 337px; */
    height: 100%;
    width: 96%;
}

.middle-header .location {
    font-size: 43px;
    text-align: center;
}

.middle-header .call {
    font-size: 43px;
    text-align: center;
}

.middle-header .email-sec {
    font-size: 43px;
    text-align: center;
}

/* header */
.navbar-nav .nav-link {
    /* color: rgb(185 56 4) !important; */
    color: #fbfcff;
    font-size: 20px;


}

.nav-link {
    padding-left: 15px;
    padding-right: 15px;
}

.btn-success {
    background-color: #25D366;
}

.btn-white:hover {
    background-color: #25D366;
    color: white;
}

.middle-header a {
    color: black;
    text-decoration: none;
}

.middle-header a:hover {
    color: rgb(29, 74, 221);

}

.middle-header .fa-solid {
    color: #1b810e;
}

/* bottom-header */
/* .bottom-header .navbar-nav .nav-item .nav-link.active {
    color: #f5f1ef !important;
    border-bottom: 2px solid #f2f4f7ff;
}

.bottom-header .navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
}

.bottom-header .dropdown-menu {
    min-width: 200px;
    border-radius: 0.5rem;
    background: #fff;
    border: 1px solid #ddd;
}

.bottom-header .dropdown-menu a.dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.bottom-header .dropdown-menu a.dropdown-item:hover {
    background: #f8f9fa;
    color: #9e4714ff;
}

.bottom-header .navbar-nav .nav-link {
    transition: color 0.3s ease, border-color 0.3s ease;
    font-size: 18px;
    padding-right: 20px;
    padding-left: 20px;
}

@media (min-width: 992px) {
    .navbar-expand-lg {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow: hidden;
    }
}

@media (min-width: 992px) {
    .navbar-nav .dropdown:hover>.dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);

    }

    .dropdown-menu.animate-dropdown {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: all 0.3s ease;
        min-width: 100%;
        background: #fff;

    }
}



.navbar-brand span {
    font-size: clamp(1rem, 2vw, 1.25rem);
}


@media (max-width: 991px) {
    .d-none.d-lg-block.ms-3 {
        display: none !important;
    }
}


@media (max-width: 991px) {
    .navbar-collapse {
        text-align: center;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        display: inline-block;
        width: 100%;
    }
}


@keyframes dropdownFade {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu.animate-dropdown.show {
    animation: dropdownFade 0.3s ease forwards;
}

.nav-link.text-dark:hover {
    color: #c44569 !important;
}

@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    background-color: #fff;
    width: 100%;
    left: 0;
    right: 0;
}


.animate-dropdown {
    transition: all 0.4s ease-in-out;
} */



@media (max-width: 486px) {
    .hidden .text-1 {
        display: none !important;
    }

    .hidden img {
        height: 100%;
        width: 81%;

    }


}


/* slider */

.slider .owl-carousel .item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
}

.slider .owl-nav button {
    background: rgba(0, 0, 0, 0.5) !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
}

.slider .owl-nav .owl-prev {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
}

.slider .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

.slider .owl-dots .owl-dot.active span {
    background: #c44569 !important;
}

.slider-text {
    position: absolute;
    top: 50%;
    left: 60px;
    transform: translateY(-50%);
    color: #fff;
    max-width: 600px;
    z-index: 2;
}

.slider-text h2 {
    font-size: 43px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: capitalize;
    color: #ffdd57;
    /* highlight color */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
    /* glow effect */
    animation: fadeInLeft 1.2s ease-in-out;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* dark overlay */
    z-index: 1;
}

/* Animation for text */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate(-50px, -50%);
    }

    to {
        opacity: 1;
        transform: translate(0, -50%);
    }
}


/* about us  */

@media (max-width: 480px) {
    .slider .owl-carousel .item img {
        height: 202px;
        object-fit: cover;
    }
}

@media (max-width: 786px) {
    .slider .owl-carousel .item img {
        height: 300px;
        object-fit: cover;
    }
}

section#about i {
    min-width: 32px;
}

.about h2 {
    color: white;

    text-align: center;

}

.about p {
    color: white;
    font-size: 19px;

    text-align: justify;
}

.text {
    color: white;
    font-size: 17px;
    font-family: system-ui;
}

/* reason for choosing location */
.choosing-location {
    background: url(images/bg12.avif);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.choosing-location .number-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.choosing-location .border-start {
    border-left-width: 5px !important;
}

.choosing-location .shadow-sm:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1200px) {
    .number-circle {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .dynamic-underline {
        font-size: 2rem;
    }
}


@media (max-width: 325px) {
    .number-circle {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    h4 {
        font-size: 1rem !important;
    }

}


/* panchtatwa */

.panch-tatwa .nav-pills .nav-link {
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

.panch-tatwa .nav-pills .nav-link.active {
    background: #e7f1ff;
    color: #0d6efd;
    box-shadow: inset 3px 0 0 #0d6efd;
}

.panch-tatwa .nav-pills .nav-link i {
    min-width: 20px;
    text-align: center;
}

.panch-tatwa .tab-content h4 i {
    vertical-align: middle;
}


.panch-tatwa .text1 p {
    text-align: justify;
}

/* quick facts */
.fact-accordion-section .accordion-body p {
    text-align: justify;
}

.fact-accordion-section {
    /* background: linear-gradient(to right, #f9f9f9, #f1f1f1); */
}

.accordion-button {
    font-weight: bold;
    color: #fff;
    border-radius: 10px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gradient-eng {
    background: linear-gradient(135deg, #f44336, #e57373);
}

.gradient-hin {
    background: linear-gradient(135deg, #f44336, #e57373);
}

.accordion-body {
    background: #fff;
    border-radius: 0 0 10px 10px;
    padding: 1.5rem;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .accordion-button {
        font-size: 1rem;
    }

    .accordion-body {
        padding: 1rem;
    }
}

/* design */
.design-glass .content-block p {
    text-align: justify;
}

.design-glass {
    background: linear-gradient(to right, #2c3e50, #4ca1af);
}

.glass-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 5px solid #c51f32;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.icon-glass {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #c51026, #9f1a0d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
}

@media (max-width: 768px) {
    .glass-box {
        padding: 1.5rem;
    }

    .icon-glass {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* education */
.education-panel .gradient-strip {
    /* background: linear-gradient(135deg, #667eea, #764ba2); */
    background: linear-gradient(135deg, #2b42ad, #992e1d);
    border-radius: 20px;
    padding: 40px 20px;
    min-height: 100%;
}

.education-panel .content-box {
    /* box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px; */

}

.education-panel .content-box p {
    text-align: justify;
}

.education-panel .content-box {
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-panel .content-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .education-panel .gradient-strip {
        flex-direction: row;
        border-radius: 15px;
        padding: 20px;
        margin-bottom: 20px;
    }

    .education-pane .gradient-strip i {
        font-size: 2rem;
        margin-right: 15px;
    }
}

/* Conceptualizer's Thought */
.conceptualizer-overlap p {
    text-align: justify;
}

.conceptualizer-overlap .icon-badge {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6ec4, #7873f5, #42e695);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5), 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: glowPulse 2s infinite alternate;
    z-index: 10;
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    100% {
        box-shadow: 0 0 35px rgba(255, 255, 255, 0.9), 0 10px 20px rgba(0, 0, 0, 0.25);
    }
}

.colorful-icon {
    background: linear-gradient(45deg, #ff512f, #dd2476, #24c6dc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.conceptualizer-overlap .content-card {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.conceptualizer-overlap .content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .conceptualizer-overlap .icon-badge {
        width: 70px;
        height: 70px;
    }
}

/* Ownership & Cost */
.cost .flip-card {
    perspective: 1000px;
    height: 300px;
    cursor: pointer;
}

.cost .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.cost .flip-card:hover .flip-card-inner,
.flip-card:focus .flip-card-inner {
    transform: rotateY(180deg);
}

.cost .flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 1rem;
}

.cost .flip-card-back {
    transform: rotateY(180deg);
    overflow-y: auto;
}

@media (max-width: 767px) {
    .cost .flip-card {
        height: auto;
    }
}

/* underline */
.center-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 83px;
    text-align: center;
}

.dynamic-underline {
    position: relative;
    display: inline-block;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
}

.dynamic-underline::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, #FF512F, #DD2476);
    border-radius: 2px;
    transition: width 0.4s ease, height 0.4s ease;
}

.dynamic-underline:hover::after {
    width: 100%;
    height: 8px;
}





/* contact */

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3867d6, #8854d0);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.contact-card-hover:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-card-hover:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #3867d6;
    box-shadow: none;
}

.btn-primary {
    background-color: #3867d6;
    border: none;
}

.btn-primary:hover {
    background-color: #274bb5;
}



/* floating footer */
.floating-icons {
    position: fixed;
    right: 0px;
    bottom: 30%;
    /* right: 0px; */
    z-index: 1000;
}

.floating-icons a {
    display: block;
    text-align: center;
    margin: 2px 0;
    font-size: 24px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 91%;
    color: #fff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.fb-icon {
    background: #4408b3;
}

.call-icon {
    background: #28a745;
}

.youtube-icon {
    background: #df1006;
}

.wht-icon {
    background: #25D366;
}

.floating-icons a:hover {
    transform: scale(1.1);
}


/* footer */
.footer {
    background: #811b03;
}

.footer h5 {
    color: white;
    padding-top: 17px;
    font-size: 24px;
    border-bottom: 2px solid rgb(224, 62, 184);
}

.footer strong span {
    color: white;
}

.footer .bi {
    color: white;
}

.footer .list {
    color: white;
}

.footer p {
    color: white;
}

.footer ul li {
    color: white;
    list-style-type: disclosure-closed;
    font-size: 18px;
    font-family: system-ui;
}


.footer .hover-underline {
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.footer .hover-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: #ebe5e7;
    transition: width 0.3s ease;
}

.footer .hover-underline:hover::after {
    width: 100%;
}

.follow {
    height: 30px;
}

.footer .text1 {
    text-align: justify;
    font-size: 17px;
}

.footer .text {
    text-align: justify;
}

/* copyright */
.copyright {
    border-top: 1px solid white;
}



/* about us page */

.card-overlay {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-overlay:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.icon-badge {
    position: absolute;
    top: -25px;
    left: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.card-content {
    padding-top: 40px;
    position: relative;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    z-index: 0;
}


.section2 .text {
    border-left: 2px solid #db2727;
}

.mission {

    background: url(images/bg1.jpg);
    border-top-left-radius: 116px;
    border-bottom-right-radius: 86px;
    padding: 42px 40px;
}

.mission h2 {
    color: #241b1b;
}

.mission .hover-underline {
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.mission .hover-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: #ebe5e7;
    transition: width 0.3s ease;
}

.mission .hover-underline:hover::after {
    width: 100%;
}

.mission img {
    height: 39px;

}

/* why choose */
/* .choose{
      background: linear-gradient(179deg, #146ea9 9%, #bf1c36 58%);
}
.choose .text2{
    color: white;
}

.choose p{
  font-size: 19px;
}
.choose .flip-card {
    perspective: 1000px;
}
.choose .flip-card-inner {
    position: relative;
    width: 100%;
    height: 220px;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}
.choose .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}
.choose .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 1rem;
}
.choose .flip-card-back {
    transform: rotateY(180deg);
} */


/* choosing */
.choosing {
    /* background: linear-gradient(143deg, #086464, #910922); */
    /* background: #781111; */
    /* background: #0a5558; */
}

.choosing h2 {
    color: white;
    text-decoration: underline;
}

.location-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.location-header {
    padding: 20px;
    color: #fff;
    display: flex;
    align-items: center;
}

.home-gradient {
    background: #870808;
    /* background: linear-gradient(181deg, #16535c, #7a2207); */
}

.school-gradient {
    /* background: linear-gradient(181deg, #16535c, #7a2207); */
    background: #870808;
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.location-body ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.location-body ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #28a745;
}

@media (max-width: 768px) {
    .location-header {
        flex-direction: column;
        text-align: center;
    }

    .icon-box {
        margin-bottom: 10px;
    }
}

/* reason-hostel */
.reason-hostel .text-1 {
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.custom-shadow {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.custom-shadow:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

/* fact */
.fact .text1 {
    text-align: justify;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    /* background: #1a5785;
    color: white; */
}

.fact .text2 {
    text-align: justify;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}




/* team */
/* .team .team-card {
    background: #fef6f8; 
    border: 1px solid #f3d7e0;
    transition: all 0.3s ease;
}

.team-card:hover {
    background: #ffffff; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.team-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-card:hover img {
    transform: scale(1.05);
} */

/* about >> donate now */
.cta-interactive {
    /* background-color: #8e44ad;  */
    background-color: #227093;
    min-height: 300px;
    border-radius: 36px;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Floating Elements (Remains same) */
.floating-shapes span {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: floatAnim 10s infinite ease-in-out alternate;
}

.floating-shapes span:nth-child(2) {
    width: 80px;
    height: 80px;
    animation-delay: 2s;
}

.floating-shapes span:nth-child(3) {
    width: 50px;
    height: 50px;
    animation-delay: 4s;
}

.floating-shapes span:nth-child(4) {
    width: 70px;
    height: 70px;
    animation-delay: 6s;
}

@keyframes floatAnim {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-20px) rotate(360deg);
    }
}

/* Responsive padding */
@media (max-width: 576px) {
    .content-wrapper {
        padding: 0 1rem;
    }
}


/* facility */
.facility h1 {
    font-size: 2rem;
}

.facility-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

@media (max-width:768px) {
    .facility h1 {
        font-size: 1.5rem;
    }

    .facility-card h6 {
        font-size: 0.95rem;
    }
}


/* safety */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}




/* donation */
.stat-card {
    position: relative;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.pulse-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

.ripple-effect::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.ripple-effect:hover::after {
    width: 200%;
    height: 200%;
}

.counter {
    font-size: 2.5rem;
    color: #333;
}

/* gallery */
.gallery-item {
    /* cursor: pointer; */
}

.gallery-img {
    transition: transform 0.4s ease;
    width: 100%;
    height: auto;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}


/* contact us */
.contact-sec {
    background: #adc8d1;
}

.contact {
    /* background: linear-gradient(356deg, #e1301c, #603bb987); */
    background: #871111;
    color: white;
}

.contact-card {
    min-height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hover-scale:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.ripple-effect::after {
    content: '';
    position: absolute;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s, opacity 1s;
    pointer-events: none;
}

.ripple-effect:active::after {
    transform: scale(4);
    opacity: 1;
    transition: 0s;
    left: var(--ripple-x);
    top: var(--ripple-y);
}

.bg-primary {
    --bs-bg-opacity: 1;
    background-color: rgb(12 63 97) !important;
}

.text-primary {
    color: rgb(12 63 97) !important;
    ;
}

/* facilities */
.facilities {
    background: linear-gradient(45deg, #8b0707, #1f82c4);
}



@media (max-width: 325px) {
    .about {
        font-size: 17px;
    }

    .about1 p {
        text-align: justify;
    }

    .slider .owl-carousel .item img {
        height: 200px;
    }

}

@media (max-width: 486px) {
    .about {
        font-size: 17px;
    }

    .about1 p {
        text-align: justify;
    }

    .slider .owl-carousel .item img {
        height: 200px;
    }

    .slider-text h2 {
        font-size: 25px;
        font-weight: 700;
        line-height: 1.3;
        text-transform: capitalize;
        color: #ffdd57;
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
        animation: fadeInLeft 1.2s ease-in-out;
    }
}


/* gallery */
.gallery h2 {
    font-size: 36px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.gallery-item .overlay-text {
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .overlay {
    opacity: 1;
}



.top-header .text-top a {
    color: white;
    text-decoration: none;
}

.contact-details .text-1 a {
    color: rgb(105, 105, 105);
    text-decoration: none;
}

.contact-details .text-3 a {
    color: rgb(105, 105, 105);
    text-decoration: none;
}

.contact-details .text-2 a {
    color: rgb(105, 105, 105);
    text-decoration: none;
}

.mobile-detail .example-section {
    margin: 30px 0;
    padding: 20px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.mobile-detail .country-code {
    background-color: #e9ecef;
    border-right: none;
    font-weight: bold;
}

.mobile-detail .phone-input {
    border-left: none;
}

.mobile-detail .phone-input:focus {
    border-left: none;
    box-shadow: none;
}

.mobile-detail .input-group .phone-input:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.footer-con a {
    color: white;
    text-decoration: none;
}

.email-con a {
    color: white;
    text-decoration: none;
}

.contact-details .mailtt a {
    color: rgb(105, 105, 105);
    text-decoration: none;
}

.contact-details .mailtt1 a {
    color: rgb(105, 105, 105);
    text-decoration: none;
}

.footer .textt ul li a {
    color: white;
    text-decoration: none;
}

.ownership .flip-card {
    background: transparent;
    perspective: 1000px;
    width: 100%;
    height: 100%;
}

.ownership .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.ownership .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.ownership .flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 1rem;
}

.ownership .flip-card-front {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.ownership .flip-card-back {
    transform: rotateY(180deg);
    overflow-y: auto;
}


@media (max-width: 768px) {
    .ownership .flip-card {
        height: auto;
        min-height: 320px;
    }

    .ownership .flip-card-inner {
        transform: none !important;
    }

    .ownership .flip-card-front,
    .flip-card-back {
        position: relative;
        transform: none !important;
        backface-visibility: visible;
    }

    .ownership .flip-card-back {
        margin-top: 1rem;
    }
}

.sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 999;
}

.gallery img {
    height: 249px;
    width: 100%;
    padding: 10px;
}

.gallery h6 {
    font-size: 19px;
    text-align: center;
}

.gallery h1 {
    font-family: sans-serif;
    font-weight: 700;
}

.bottom-header .dropdown-item {
    border-bottom: 1px solid #e9e6e6;
}

.gallery p {
    text-align: center;
    list-style: none;
    padding-bottom: 0px;
    margin-bottom: 0px;
    font-size: 22px;
    color: #a51313;
    font-family: auto;

}

.gallery p a {
    text-decoration: none;
    color: #1c1c1c;
    font-size: 18px;
    color: #6F1E51;
}

.gallery .texttt {
    border: 1px solid #e7e0e0;
    border-radius: 10px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.gallery a {
    color: white;
    text-decoration: none;
}

.about1 p {
    text-align: justify;
}
.copyright a {
    color: #fbfaff;
    font-weight: 700;
}