﻿/* Map Placeholder */
.map-placeholder {
    height: 70vh;
    width: 100%;
    background-image: url('https://wallpapers.com/images/hd/4k-office-background-mpe59en2p6ctdca3.jpg');
    background-size: 100% 110%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: start;
    border-radius: 10px;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: darkblue;
    border: 1px solid #ccc;
    opacity: 0.9;
    animation: fadeIn 2s ease-in-out forwards;
    padding: 2rem;
}


.text-slider {
    display: inline-block;
    font-size: 32px;
    height: 43px;
    overflow: hidden;
    vertical-align: bottom;
}

.slide-card {
    /*    position: relative;*/
    width: 40%;
    /*    padding: 1rem;*/
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2.5px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1;
    /*    color: red;*/
}
/*.slide-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}*/

.text-slider ul {
    padding: 0;
    margin: 0;
    list-style: none;
    animation: slideUp 8s steps(2) infinite;
}

.text-slider li {
    height: 50px;
    line-height: 50px;
    text-align: left;
}

@keyframes slideUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-90px);
    }
}

/* =========================== = = =======================================*/

/* Enhanced card styling with smooth color transitions and responsiveness */
.explore-cart {
    min-width: 280px;
    flex-shrink: 0;
    flex-shrink: 0;
    position: relative;
    color: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    /*    background-color: #f0f4ff; */
    animation: bgPulse 14s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    /* Hover effect with subtle scaling and shadow enhancement */
    .explore-cart:hover {
        /*transform: scale(1.03);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);*/
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .explore-cart.active {
        background-color: #e0f7fa;
        border: 3px solid #1e90ff;
        box-shadow: 0 6px 25px rgba(30, 144, 255, 0.4);
        transform: translateY(-6px);
    }



        .explore-cart.active .card-title,
        .explore-cart.active .card-text {
            color: #004d99;
        }
/* Pause animation on hover for slider */
.slider-container:hover .slider-wrapper {
    animation-play-state: paused;
}

/* Smoother background color animation with cohesive palette */
@keyframes bgPulse {
    0% {
        background-color: #f0f4ff;
    }

    25% {
        background-color: #d6e4ff;
    }

    50% {
        background-color: #c3d8ff;
    }

    75% {
        background-color: #e2d1ff;
    }

    100% {
        background-color: #f0f4ff;
    }
}

/* Link styling with smooth hover effects */
.card-body a {
    text-decoration: none;
    background: blue;
    color: #1a1a1a;
    padding: 6px 12px;
    border-radius: 6px;
    color: white;
    bottom: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease, border 0.3s ease;
}

    .card-body a:hover {
        /*        text-decoration: underline;*/
        background-color: #e6efff;
        border: 2px double #375ed3;
        transform: scale(1.03);
        margin: 8px 0;
        color: black;
    }

/* Image container for consistent alignment */
.card-img-container {
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Content area with flexible width */
.card-content {
    width: 75%;
    padding: 0 10px;
}

/* Horizontal scroll container */
.slider-container {
    overflow-x: auto;
    position: relative;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #375ed3 transparent;
    margin-bottom: 1.5rem;
}

    /* Scrollbar styling for WebKit browsers */
    .slider-container::-webkit-scrollbar {
        height: 8px;
    }

    .slider-container::-webkit-scrollbar-thumb {
        background-color: #375ed3;
        border-radius: 4px;
    }

/* Slider wrapper for smooth animation */
.slider-wrapper {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    animation: slideLeft 25s linear infinite;
}

/* Smooth sliding animation */
@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-180%);
    }
}

/* Margin for row separation */
.slider-row {
    margin-bottom: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .explore-cart {
        min-width: 250px;
    }

    .card-img-container {
        width: 30%;
    }

    .card-content {
        width: 70%;
        font-size: 0.9rem;
    }

    .card-body a {
        padding: 5px 10px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .explore-cart {
        min-width: 220px;
    }

    .card-img-container {
        width: 35%;
    }

    .card-content {
        width: 65%;
        font-size: 0.8rem;
    }

    .card-body a {
        padding: 4px 8px;
        font-size: 0.8rem;
    }
}




@font-face {
    font-family: 'Kalimati';
    src: url('fonts/Kalimati.woff2') format('woff2'), url('fonts/Kalimati.ttf') format('truetype');
    font-display: swap;
}

body {
    font-family: 'Kalimati', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    overflow-x: hidden;
}

/* ========================= navbar style ======================================*/
.navbar {
    background-color: #f3f4f7f3;
    padding: 10px 20px;
}

.navbar-brand,
.nav-link {
    color: #375ed3 !important;
    font-weight: bold;
}

    .nav-link:hover {
        color: red !important;
    }

.dropdown-menu {
    background-color: #2952ce;
}

.dropdown-item {
    color: #FFFFFF;
}

    .dropdown-item:hover {
        background-color: #33169cde;
        color: #FFFFFF;
    }

.btn-custom {
    background-color: #375ed3;
    color: #FFFFFF;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
}

    .btn-custom:hover {
        background-color: #335cad;
    }


/* Header Contact */
.header-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(to right, #5c83dc, #3a66c1, #7fa2eb);
    color: #fff;
    flex-wrap: wrap;
}

    .header-contact p {
        margin: 0;
        font-size: 0.9rem;
        cursor: pointer;
    }

    .header-contact .social-links {
        display: flex;
        gap: 15px;
        cursor: pointer;
    }

/* News Ticker */
.news-ticker {
    display: flex;
    align-items: center;
    background-color: #8ebcf51a;
    color: #000;
    padding: 5px 0;
}

    .news-ticker h6 {
        width: auto;
        margin: 0;
        padding: 5px 15px;
        background-color: #dc3545;
        /*        color: #375ed3;*/
        color: #ffffff;
    }

/* Responsive Adjustments */
@media (max-width: 992px) {
    .navbar-nav {
        text-align: center;
    }

    .nav-item {
        margin: 5px 0;
    }

    .btn-custom {
        margin: 5px auto;
        display: block;
        width: fit-content;
    }


    .header-contact {
        flex-direction: column;
        gap: 10px;
    }
}


@media (max-width: 576px) {

    .header-contact p {
        font-size: 0.8rem;
    }
}





/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 1rem 0;
    opacity: 0;
    animation: fadeInUp 1s ease-in-out forwards;
}

    .section-title h2 {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
        font-weight: 700;
        color: #375ed3;
        position: relative;
        display: inline-block;
    }

        .section-title h2::after {
            content: '';
            width: 50%;
            height: 3px;
            background: #375ed3;
            position: absolute;
            bottom: -10px;
            left: 25%;
            transform: scaleX(0);
            animation: underline 0.8s ease-in-out forwards 0.5s;
        }

    .section-title h4 {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
        color: #375ed3;
        font-weight: 600;
    }

/* Member Card */
.member {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
    animation-delay: calc(0.2s * var(--i));
}

    .member:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    .member img {
        border-radius: 8px;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .member:hover img {
        transform: scale(1.05);
    }

.member-info {
    margin-top: 1rem;
}

.member-title h4 {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: #333;
    margin-bottom: 0.5rem;
}

.member-detail a {
    color: #375ed3;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

    .member-detail a:hover {
        color: #1e3a8a;
        text-decoration: underline;
    }

/* Info Box */
.info-box {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
    animation-delay: calc(0.2s * var(--i));
}

    .info-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    }

.info-box-in-icon i {
    font-size: 1.8rem;
    color: #375ed3;
    border-radius: 50%;
    padding: 10px;
    margin-bottom: 10px;
    border: 2px dotted #375ed3;
    transition: color 0.7s ease, background-color 0.3s ease, transform 0.7s ease;
}

    .info-box-in-icon i:hover {
        color: #fff;
        background-color: #375ed3;
        transform: rotate(360deg);
    }

/* ============================== Footer= ================================================ */
.footer-top {
    background-color: #e9ecef;
    padding: 3rem 0;
}

.footer-info a.navbar-brand {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: #375ed3;
    text-decoration: none;
    font-weight: 700;
}

.footer-links h4 {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: #375ed3;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

    .footer-links ul li {
        margin-bottom: 0.75rem;
    }

        .footer-links ul li a {
            color: #333;
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.3s ease;
        }

            .footer-links ul li a:hover {
                color: #375ed3;
            }


.map-placeholder-small {
    height: 250px;
    width: 100%;
    background-color: #d3d3d3;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1rem;
    color: #555;
    border: 1px solid #ccc;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {

    .map-placeholder-small {
        height: 200px;
    }

    .footer-info,
    .footer-links {
        text-align: center;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .footer-links ul li a {
        font-size: 0.85rem;
    }
}





/* Responsive Adjustments */
@media (max-width: 992px) {
    .navbar-nav {
        text-align: center;
    }

    .nav-item {
        margin: 5px 0;
    }

    .btn-custom {
        margin: 5px auto;
        display: block;
        width: fit-content;
    }

    .slide-card {
        width: 60%;
    }

    .header-contact {
        flex-direction: column;
        gap: 10px;
    }

    .map-placeholder {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 1.6rem;
    }

    .section-title h4 {
        font-size: 1.2rem;
    }

    .member {
        padding: 1rem;
    }

    .info-box {
        padding: 1rem;
    }

    .slide-card {
        width: 80%;
    }

    .map-placeholder {
        height: 300px;
    }

    .map-placeholder-small {
        height: 200px;
    }

    .footer-info,
    .footer-links {
        text-align: center;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .member img {
        width: 120px;
        height: 150px;
    }

    .slide-card {
        width: 100%;
    }

    .info-box-in-icon i {
        font-size: 1.5rem;
        padding: 8px;
    }

    .footer-links ul li a {
        font-size: 0.85rem;
    }

    .header-contact p {
        font-size: 0.8rem;
    }
}
