﻿* {
    box-sizing: border-box;
}

.hero {
    margin-top:90px;
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.blurred-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size:cover;
    filter: blur(4px);
    transition: background-image 1s ease-in-out;
    z-index: 0;
}
.hero-overlay {
    background: rgba(0, 0, 0, 0) linear-gradient(rgba(39, 48, 83, 0.01) 0%, rgb(39, 48, 83) 100%) repeat scroll 0% 0%;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 0 40px;
    z-index: 3;
}

.text {
    max-width: 600px;
    margin-top: 100px;
    margin-left: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

    .text h1 {
        font-size: 40px;
        font-weight: bold;
        color:white;
    }

    .text span {
        color: orange;
        display: block;
        font-size: 32px;
        font-weight: bold;
        margin-top: -10px;
    }

    .text p {
        font-style: italic;
        font-size: 14px;
        margin-bottom: 20px;
    }

    .text button {
        padding: 10px 20px;
        background: transparent;
        border: 1px solid white;
        color: white;
        cursor: pointer;
    }
.carousel-margin{
    margin-top:210px;
}
.carousel-image{
    border:5px solid white;
}
.carousel-container {
    position: relative;
    transform: translateY(21%);
    height: auto;
    min-height: 500px; 
    max-height: 90vh; 
    aspect-ratio: 16 / 9;
    margin: 0 auto; 
    overflow: hidden;
    padding: 0 1rem; 
    z-index:2;
}


    .carousel-container img {
        width: 100%;
        height: 100%;
        object-fit:cover;
        position: absolute;
        top: 0;
        left: 0;
        transition: opacity 1s ease-in-out;
        opacity: 0;
        z-index: 0;
    }

        .carousel-container img.active {
            opacity: 1;
            z-index: 1;
        }

.carousel-caption {
    position: absolute;
    margin-top:50px;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 14px;
    z-index: 2;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 3;
}

    .carousel-nav.left {
        left: 10px;
    }

    .carousel-nav.right {
        right: 10px;
    }

/* ? Added Corner Fold Shadow */
.carousel-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
    clip-path: polygon(0 100%, 0 0, 100% 100%);
    z-index: 5;
    pointer-events: none;
}
.scrolling-headline {
    overflow: hidden;
    position: relative;
    background-color:#000000;
    border-top: 2px solid #2563eb;
    border-bottom: 2px solid #2563eb;
}

.ticker-container {
    display: flex;
    white-space: nowrap;
}

.ticker-track {
    display: flex;
    animation: scroll-ticker 25s linear infinite;
}

.ticker-item {
    padding-right: 2rem; /* space between repeats */
    font-family:'Montserrat';
    font-size: 1.1rem;
    font-weight:500;
    color:white;
}

/* Keyframe to scroll left continuously */
@keyframes scroll-ticker {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}


.grey-divider {
    position: relative;
    width: 100%;
    height: 80px;
    background-color: #FEEBF6;
    padding: 2rem 1rem; /* vertical and horizontal padding */
    box-sizing: border-box;
    z-index:1;
}
.grey-dividers {
    position: relative; /* or absolute/fixed if needed */
    height: 80px;
    background-color: #FEEBF6;
    clip-path: polygon( 50px 0%, calc(100% - 50px) 0%, 100% 100%, 0% 100% );
    z-index: -1;
}
.white-divider {
    height: 80px;
    background: white;
}
.about-section {
    text-align: center;
    padding: 50px 20px;
}

.about-title {
    font-size: 40px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

.about-subtext {
    max-width: 1300px;
    margin: 10px auto;
    font-size: 16px;
    color: #7a7a7a;
    line-height: 1.6;
    font-family: 'Montserrat', sans-serif;
}

.line {
    width: 60px;
    height: 2px;
    background: orange;
    margin: 20px auto;
}

.tabs {
    margin-top: 20px;
    font-family: 'Oswald', sans-serif;
}

    .tabs .tab {
        padding: 12px 30px;
        border: 1px solid #ddd;
        background: #f9f9f9;
        font-weight: bold;
        cursor: pointer;
    }

        .tabs .tab.active {
            background: orange;
            color: #fff;
            border: none;
        }

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    max-width: 1000px;
    margin: 40px auto 0;
    gap: 30px;
}

.image-box img {
    border: 2px solid #b6b6fd;
    width:450px;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 0;
}
.cards {
    position: relative;
    display: inline-block; /* ensure image wraps tightly */
}
    .cards::after {
        content: "";
        position: absolute;
        bottom: -2px;
        left: 57%; /* center horizontally */
        width: 45%;
        height: 10%;
        background: rgba(0, 0, 0, 0.3);
        transform: translateX(-130%) skewX(35deg); /* center and skew */
        filter: blur(4px);
        z-index: -1;
    }

.text-box {
    max-width: 500px;
    text-align: center;
}

    .text-box h2 {
        font-size: 24px;
        margin-bottom: 5px;
    }

    .text-box h4 {
        font-size: 14px;
        color: orange;
        margin-bottom: 15px;
    }

    .text-box p {
        font-size: 15px;
        line-height: 1.6;
        color: #555;
        margin-bottom: 15px;
    }

    .text-box a {
        color: #00aaff;
        text-decoration: none;
    }
/* Tabs */
.tabs {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 2px;
}

    .tabs .tab {
        padding: 12px 30px;
        border: 1px solid #ddd;
        background: #f9f9f9;
        font-weight: bold;
        cursor: pointer;
        transition: 0.3s;
    }

        .tabs .tab.active {
            background: linear-gradient(45deg, #007bff, #00c6ff);
            color: #fff;
            border: none;
        }

.tab-content {
    margin-top: 30px;
}

.tab-panel {
    opacity: 0;
    transform: translateY(10px);
    height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease, height 0.4s ease;
}

    .tab-panel.active {
        opacity: 1;
        transform: translateY(0);
    }
.row-space{
    position:relative;
    margin-top:-300px;
}
.next-links-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5%;
    height: 50%;
    background-color: #3498db; /* Adjust background color */
    color: white;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    transition: background 0.3s;
    clip-path: polygon(20% 10%, 20% 90%, 90% 50%);
}
.prev-links-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5%;
    height: 50%;
    background-color: #3498db; /* Adjust background color */
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    transition: background 0.3s;
    clip-path: polygon(80% 10%, 80% 90%, 10% 50%);

}
    .next-links-btn:hover {
        background-color: #06ff00;
    }
    .prev-links-btn:hover {
        background-color: #06ff00;
    }

/*---------------Carousel Hospital---------------------*/

.carousels-hos {
    margin-top:150px;
    position: relative;
    width: 600px;
    margin: -25px auto 250px auto;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.carousels-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousels-item {
    position: absolute;
    top: 0;
    width: 320px;
    height: 200px;
    opacity: 0;
    transform: translateX(100%) scale(0.8);
    transition: transform 0.9s ease, opacity 0.9s ease;
}

    .carousels-item img {
        width: 650px;
        height: 360px;
        left:10px;
        object-fit: cover;
        border:10px solid white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }

.carousels-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #2196f3;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    display: none;
}

    .carousels-btn.prev {
        left: -60px;
    }

    .carousels-btn.next {
        right: -60px;
    }
/*---------------Carousel Staff---------------------*/

.carousels-staff {
    position: relative;
    width: 600px;
    margin: -25px auto 250px 10px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.carousels-tracks {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousels-items {
    position: absolute;
    top: 0;
    width: 320px;
    height: 200px;
    opacity: 0;
    transform: translateX(100%) scale(0.8);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

    .carousels-items img {
        width: 650px;
        height: 360px;
        left: 10px;
        object-fit: cover;
        border: 10px solid white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }

.carousels-btns {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #2196f3;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    display: none;
}

    .carousels-btns.prev {
        left: -60px;
    }

    .carousels-btns.next {
        right: -60px;
    }
.text-staff{
    margin-left:150px;
    margin-top:-150px;
}
.contact-form {
    font-family:'Montserrat';
    font-size:15px;
    padding: 20px;
    border-radius: var(--border-radius-medium);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: 104%;
    width: 100%;
}
.contact-form p {
    font-family: 'Montserrat';
    font-size: 15px;
}
    .contact-form td {
        font-family: 'Montserrat';
        font-size: 18px;
    }
.contact-form img{
    border:5px solid white;
    box-shadow:0 2px 8px rgba(0,0,0,0.1);
    max-width:100%;
    border-radius: var(--border-radius-medium);
    
}
.org-card {
    text-align: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

    .org-card img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 10px;
    }

.org-line {
    width: 2px;
    height: 30px;
    background: #aaa;
    margin: 0 auto;
}
.hospital-section {
    background: #f8f9fa;
    padding: 60px 20px;
}

    .hospital-section h2 {
        font-family:'Montserrat';
        font-weight: bold;
        margin-bottom: 20px;
    }

    .hospital-section p {
        font-family: 'Montserrat';
        font-size: 16px;
        color: #555;
    }
.staff-section {
    background: #f8f9fa;
    padding: 60px 20px;
}

    .staff-section h2 {
        font-family: 'Montserrat';
        font-weight: bold;
        margin-bottom: 20px;
    }

    .staff-section p {
        font-family: 'Montserrat';
        font-size: 16px;
        color: #555;
    }
.social-section {
    position: relative;
    background-color: azure;
    padding: 40px 20px;
    text-align: center;
    border-radius: var(--border-radius-medium);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .social-section h3 {
        font-family:'Montserrat';
        margin-bottom: 20px;
    }

.social-icons a {
    display: inline-block;
    margin: 10px;
    font-size: 28px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

    .social-icons a:hover {
        color: #0d6efd;
    }
.services-wrapper {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    z-index:0;
}

.service-card {
    z-index: 0 !important;
    transition: all 0.3s ease;
}
    .service-card.blurred {
        filter: blur(3px);
        opacity: 0.6;
        transform: scale(0.97);  
        z-index: 1 !important;
    }
.overlay, .dark-layer {
    z-index: 1; /* must be lower than 1040 */
}
.modal-backdrop.show {
    background-color: rgba(0, 0, 0, 0.5); /* dark background */
    backdrop-filter: blur(5px); /* apply blur */
    -webkit-backdrop-filter: blur(5px); /* Safari support */
    z-index: 2 !important;
}

/* Optional: enhance modal z-index if needed */
.modal {
    z-index: 2050;
}
.modal-title {
    font-family: 'Montserrat';
}
/* Make modal large and centered */
.modal-dialog {
    font-family: 'Montserrat';
    max-width: 60%; /* Bigger than Bootstrap modal-xl */
    max-height: auto; /* Bigger than Bootstrap modal-xl */
    margin: auto;
}

/* Customize content inside the modal */
.modal-content {
    font-family: 'Montserrat';
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

    /* Optional: if modal-body needs scrolling on smaller screens */
    .modal-content .modal-body {
        font-family:'Montserrat';
        max-height: 50vh;
        overflow-y: auto;
    }

.service-card.blurred {
    z-index: 1 !important; /* prevent covering modal */
}
/* When hovering over the wrapper */
.services-modal:hover .service-card {
    filter: blur(3px);
    opacity: 0.6;
    transform: scale(0.97);
}

/* But keep the one being hovered clear */
.services-modal .service-card:hover {
    filter: none;
    opacity: 1;
    transform: scale(1.05);
    z-index: 1;
}
.svg-top-wave {
    position: absolute;
    top: -12%;
    left: 0;
    width: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.5;
}

    .svg-top-wave svg {
        width: 100%;
        height: auto;
        display: block;
    }
.icon-circle {
    width: 10px;
    height: 10px;
    background-color: azure;
    color: #0d6efd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem; /* Adjust icon size */
}
#scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color:#009eff;
    color: whitesmoke;
    border-radius: 50%;
    display: none;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: background-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

    #scroll-top.show {
        display: flex;
        opacity: 1;
        pointer-events: auto;
    }

    /* Hover: Scale button */
    #scroll-top:hover {
        background-color: #0f2cf1;
        transform: scale(1.2);
    }

        /* Animate icon separately */
        #scroll-top:hover i {
            transform: translateY(-3px); /* Move icon up */
            transition: transform 0.3s ease;
        }

    /* Ensure default icon state */
    #scroll-top i {
        transition: transform 0.3s ease;
    }
/* === Responsive Styles === */

/* Tablets (width: 768px - 1023px) */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        text-align: center;
    }

    .text {
        margin: 40px 0 0 0;
    }

    .carousel-container {
        transform: none;
        min-height: 300px;
        max-height: 500px;
        aspect-ratio: auto;
    }

    .text h1 {
        font-size: 32px;
    }

    .text span {
        font-size: 22px;
    }
}

/* Mobile (width: below 768px) */
@media (max-width: 767px) {
    .hero {
        flex-direction: column;
        height: auto;
        padding: 20px 10px;
    }

    .hero-content {
        flex-direction: column;
        padding: 10px;
        gap: 20px;
        text-align: center;
    }

    .text {
        margin: 20px 0 0 0;
        max-width: 100%;
    }

        .text h1 {
            font-size: 28px;
        }

        .text span {
            font-size: 20px;
        }

    .carousel-margin {
        margin-top: 40px;
    }

    .carousel-container {
        transform: none;
        padding: 0;
        min-height: 250px;
        max-height: 400px;
    }

    .carousel-caption {
        font-size: 12px;
        flex-direction: column;
        gap: 4px;
        padding: 8px;
    }

    .carousel-nav {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .tabs {
        flex-direction: column;
    }

    .carousels-hos,
    .carousels-staff {
        width: 100%;
        margin: 50px 0;
    }

    .carousels-item img,
    .carousels-items img {
        width: 100%;
        height: auto;
    }

    .text-staff {
        margin-left: 0;
        margin-top: 20px;
        text-align: center;
    }
}
---------------------------------------------
Courses Style
--------------------------------------------- 
*/

.courses {
    margin-top: 160px;
}

.event_filter {
    text-align: center;
}

.event_filter {
    background-color: #f1f0fe;
    border-radius: 50px;
    padding: 15px 40px;
    list-style: none;
    margin: 0 auto 70px;
    max-width: max-content;
}

    .event_filter li {
        display: inline-block;
        margin: 0px 20px;
    }

        .event_filter li a {
            font-size: 14px;
            font-weight: 500;
            color: #1e1e1e;
            transition: all .3s;
        }

            .event_filter li

            .event_filter li a.is_active,
            .event_filter li a:hover {
                color: #7a6ad8;
            }

.events_item .thumb {
    position: relative;
    border-radius: 25px 25px 0 0;
    overflow: hidden;
}

    .events_item .thumb img {
        margin-bottom: -5px;
    }

    .events_item .thumb span.chapter {
        position: absolute;
        left: 30px;
        top: 30px;
        font-size: 14px;
        text-transform: uppercase;
        color: #7a6ad8;
        background-color: rgba(250, 250, 250, 0.95);
        padding: 8px 20px;
        border-radius: 25px;
        font-weight: 500;
        display: inline-block;
    }

    .events_item .thumb span.chaplogo {
        position: absolute;
        right: -15px;
        top: -35px;
        background-color: rgba(122, 106, 216, 0.95);
        width: 130px;
        height: 130px;
        border-radius: 50%;
        display: inline-block;
        transition: all .3s;
    }

        .events_item .thumb span.chaplogo img {
            margin-top: 50px;
            margin-left: 35px;
            font-size: 28px;
            text-transform: uppercase;
            color: #fff;
            font-weight: 700;
            max-width: 50px;
        }

        .events_item .thumb span.chaplogo em {
            font-size: 18px;
            font-weight: 500;
            font-style: normal;
            vertical-align: top;
        }

.events_item {
    background-color: #f1f0fe;
    border-radius: 25px 25px 0 0;
    margin-bottom: 30px;
    position: relative;
    justify-content: center;
    align-items: center;
}

    .events_item .down-content {
        padding: 20px 30px 25px 30px;
    }

        .events_item .down-content span.author {
            color: #7a6ad8;
            font-size: 15px;
            display: inline-block;
            margin-bottom: 6px;
        }

        .events_item .down-content h4 {
            font-size: 22px;
            font-weight: 600;
            transition: all .3s;
        }

    .events_item:hover .down-content h4 {
        color: #7a6ad8;
    }

    .events_item:hover .thumb span.chaplogo {
        transform: scale(1.2);
    }
.dropdown-header {
    font-family: 'Montserrat';
    font-weight: 500;
    letter-spacing: 2px; /* Adjust value as needed */
}

/*------------------------------
Scroll Top
-------------------------------*/
#scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color:#009eff;
    color: whitesmoke;
    border-radius: 50%;
    display: none;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: background-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

    #scroll-top.show {
        display: flex;
        opacity: 1;
        pointer-events: auto;
    }

    /* Hover: Scale button */
    #scroll-top:hover {
        background-color: #0f2cf1;
        transform: scale(1.2);
    }

        /* Animate icon separately */
        #scroll-top:hover i {
            transform: translateY(-3px); /* Move icon up */
            transition: transform 0.3s ease;
        }

    /* Ensure default icon state */
    #scroll-top i {
        transition: transform 0.3s ease;
    }
    /* Running headline ticker */
    .ticker{background:#0b120c; color:#cfe6d4; border-top:1px solid rgba(255,255,255,.06); border-bottom:1px solid rgba(255,255,255,.06)}
    .ticker-inner{max-width:1800px; margin:0 auto; display:flex; overflow:hidden}
    .marquee{display:flex; gap:36px; padding:12px 0; min-width:100%; animation: scroll 22s linear infinite}
    .tag{background:rgba(255,255,255,.06); color:#e7f7eb; padding:6px 10px; border-radius:999px; font-size:14px; white-space:nowrap}
    @keyframes scroll{from{transform:translateX(0)} to{transform:translateX(-100%)}}