/* Google font for headings */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&display=swap');

/* Base font size for responsiveness */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
    font-family: 'Playfair Display', Georgia, "Times New Roman", Times, serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Headings */
h1, h2, h3, .navbar-brand {
    font-family: 'Playfair Display', serif;
}

/* Focus outlines */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Navbar */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: gold !important;
}

.navbar-dark .nav-link {
    color: #ddd;
    font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link {
    color: #ffffff;
    font-weight: 500;
}

    .navbar-dark .navbar-nav .nav-link:hover {
        color: #7BBF49;
    }

.bg-purple {
    background-color: #412764 !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: url('/images/banner.jpg') no-repeat center center/cover;
    padding: 10px 0;
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

    .hero-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
    }

    .hero-section .container {
        position: relative;
        z-index: 2;
    }

    .hero-section h1 {
        font-size: 3rem;
        font-weight: 700;
    }

    .hero-section p {
        font-size: 1.25rem;
        margin-top: 10px;
    }

/* Section Titles */
.section-title {
    text-align: center;
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 2rem;
    color: #2c2c2c;
    position: relative;
}

    .section-title::after {
        content: "";
        width: 80px;
        height: 3px;
        background: gold;
        display: block;
        margin: 10px auto 0;
    }

/* Buttons */
.btn-primary {
    background-color: #d4af37;
    border: none;
    color: #fff;
    border-radius: 30px;
    padding: 0.6rem 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease-in-out;
}

    .btn-primary:hover {
        background-color: #c29d29;
        transform: translateY(-2px);
    }

.btn-gold {
    background-color: #E0B631;
    color: #000;
    border: none;
}

    .btn-gold:hover {
        background-color: #d2a923;
        color: #000;
    }

/* CTA Section */
.cta {
    background-color: #fcc31f;
    padding: 60px 20px;
    text-align: center;
}

    .cta h2, .cta p {
        color: #fff;
    }

    .cta h2 {
        font-size: 2rem;
        font-weight: bold;
    }

    .cta p {
        font-size: 1.2rem;
    }

    .cta .btn {
        font-weight: 600;
        padding: 12px 30px;
    }

/* Footer */
footer {
    font-size: 0.9rem;
    background-color: #4B3C6E;
    color: #eee;
    padding: 2rem 0;
    text-align: center;
}

    footer a {
        color: gold;
        text-decoration: none;
        transition: all 0.2s ease-in-out;
    }

        footer a:hover {
            text-decoration: underline;
        }

/* Sticky Header Shadow */
.sticky-top.scrolled {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

/* Scroll Top Button */
.scroll-top {
    display: none;
    transition: all 0.3s ease-in-out;
}

    .scroll-top.active {
        display: flex !important;
    }

    .scroll-top:hover {
        box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    }

/* Carousel Caption */
.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

/* Carousel Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    background-size: 100% 100%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* Initiatives / Offerings Cards */
.initiatives .card,
.initiative-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 12px;
    overflow: hidden;
}

    .initiatives .card:hover,
    .initiative-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .initiative-card .card-img-top {
        object-fit: cover;
        height: 200px;
    }

    .initiative-card .card-body {
        padding: 1.25rem;
    }

/* Gallery Section */
.bg-gallery {
    background: linear-gradient(180deg, #fffdf5, #f5f0e6);
}

#gallery .rounded {
    border-radius: 15px;
}

/* Testimonials Section */
#testimonials .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    display: inline-block;
}

    #testimonials .section-title::after {
        content: '';
        display: block;
        width: 60px;
        height: 4px;
        background-color: #ffc107;
        margin: 10px auto 0;
        border-radius: 2px;
    }

#testimonials .card {
    border: none;
    border-radius: 12px;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    #testimonials .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    }

#testimonials .card-text {
    font-style: italic;
    color: #333;
    font-size: 1.05rem;
}

#testimonials h6 {
    color: #0d6efd;
}

/* Card Image Zoom */
.card-img-top {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    display: block;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Quick Access */
.quick-access {
    position: fixed;
    top: 40%;
    right: 10px;
    z-index: 1001;
}

    .quick-access a {
        display: block;
        margin: 5px 0;
        background: #ffc107;
        padding: 10px;
        border-radius: 50%;
        color: #212529;
        text-align: center;
    }

/* AOS fallback (safe rendering if AOS JS fails) */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

/* Mobile Spacing for Stacked Cards */
@media (max-width: 576px) {
    .initiative-card,
    #testimonials .card {
        margin-bottom: 1.5rem;
    }
}
.social-icon {
    font-size: 1.25rem;
    color: #ffffff;
    background: #333;
    border-radius: 50%;
    padding: 10px;
    display: inline-block;
    transition: background 0.3s, transform 0.3s;
}

    .social-icon:hover {
        background: #ffc107;
        color: #000;
        transform: scale(1.1);
    }
.btn-red {
    background-color: #c0392b;
    color: #fff;
    border: none;
}

    .btn-red:hover {
        background-color: #a93226;
    }
.bg-red-gold {
    background: linear-gradient(135deg, #b30000, #f7c242);
    color: #fff;
}
.doctor-card {
    border-radius: 14px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .doctor-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.1);
    }

.hover-card {
    transition: .3s;
}

    .hover-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.12);
        cursor: pointer;
    }
