/* ------------------------------
   General Styles
------------------------------ */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Exo', sans-serif;
}

section {
    padding-top: 80px;
    padding-bottom: 80px;
}

#home {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

#home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

#home .container {
    position: relative;
    z-index: 2;
}

.card h5 {
    font-size: 1.25rem;
}

.card-text {
    font-size: 0.95rem;
}

footer {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* ------------------------------
   Navbar Styles
------------------------------ */
#navbar {
    background: transparent;
    transition: background 0.3s, padding 0.3s, color 0.3s;
    padding: 1rem 0;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 0;
}

#navbar .nav-link {
    color: white;
    transition: color 0.3s;
}

#navbar.scrolled .nav-link {
    color: #333;
}

#navbar .navbar-toggler-icon {
    filter: invert(1);
    transition: filter 0.3s;
}

#navbar.scrolled .navbar-toggler-icon {
    filter: invert(0);
}

/* ------------------------------
   Responsive
------------------------------ */
@media (max-width: 992px) {
    section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    #home {
        min-height: 70vh;
    }
}

/* ------------------------------
   Card Fade-Up Scroll Effect
------------------------------ */
.card.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.card.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.card-img-top:hover {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

/* ------------------------------
   Client Cards
------------------------------ */
.client-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.client-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

/* ------------------------------
   Specialty Box Hover
------------------------------ */
.specialty-box {
    transition: all 0.3s ease;
}

.specialty-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* ------------------------------
   CTA Section
------------------------------ */
.cta-section {
    background: #0d1b2a;
}

.cta-section .btn {
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ------------------------------
   Footer
------------------------------ */
.footer-section {
    background: #0b1320 !important;
}


.footer-link {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.7;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    color: #ffffff;
    font-size: 18px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

#coverage-areas {
    background-color: #f8f9fa;
}

#coverage-areas h3 {
    font-size: 2rem;
    color: #0d6efd;
}

#coverage-areas p {
    color: #495057;
    font-size: 1rem;
    line-height: 1.5;
}

.area-box {
    border: 1px solid #dee2e6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-box h6 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.area-box ul li {
    font-size: 0.9rem;
    color: #495057;
    padding: 0.15rem 0;
}

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

/* ================================
   MDCLINIC – CORE FUNCTIONS STYLE
================================ */

/* Section spacing */
#services {
    position: relative;
}

#services .card {
    border: none;
    border-radius: 16px;
    background: #ffffff;
    transition: all 0.35s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

/* Hover effect */
#services .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 122, 204, 0.18);
}

/* Card body spacing */
#services .card-body {
    padding: 2rem 1.8rem;
}

/* Card headings */
#services h5 {
    font-size: 1.15rem;
    letter-spacing: 0.2px;
}

/* Feature list */
#services ul {
    margin-top: 1rem;
}

#services ul li {
    padding-left: 1.4rem;
    margin-bottom: 0.6rem;
    position: relative;
    line-height: 1.45;
}

/* Custom check icon */
#services ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #007acc;
    font-weight: bold;
}

/* Primary highlight card */
#services .bg-primary {
    background: linear-gradient(135deg, #007acc, #005fa3) !important;
}

#services .bg-primary:hover {
    box-shadow: 0 22px 45px rgba(0, 122, 204, 0.4);
}

/* Highlight card button */
#services .bg-primary .btn {
    border-radius: 30px;
    padding: 0.6rem 1.8rem;
}

/* Section heading */
#services h3 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

#services p {
    max-width: 720px;
    margin: 0 auto;
    color: #555;
}

/* Mobile tuning */
@media (max-width: 768px) {
    #services h3 {
        font-size: 1.7rem;
    }

    #services .card-body {
        padding: 1.6rem 1.4rem;
    }
}

/* ================================
   COVERAGE AREAS – ORGANIZED UI
================================ */

#coverage-areas {
    background: #f9fafb;
}

/* Map wrapper */
.coverage-map-wrapper {
    background: #ffffff;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

#coverage-map {
    height: 480px;
    width: 100%;
    border-radius: 12px;
}

/* Area cards */
.area-box {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.25rem;
    height: 100%;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.area-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #000511;
}

.area-box i {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.area-box h6 {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.area-box ul {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.area-box ul li {
    font-size: 0.8rem;
    color: #4b5563;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 991px) {
    #coverage-map {
        height: 360px;
    }
}