/* --- Variables & Reset --- */

:root {
    --primary-blue: #004a99;
    --dark-blue: #002d5d;
    --accent-blue: #007bff;
    --light-blue: #eef5ff;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-muted: #546e7a;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-blue);
}

a {
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    padding-left: 20px;
    padding-right: 20px;
}


/* --- Navigation --- */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
}

.navbar-logo .subtitle {
    display: block;
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.1;
    margin-top: 0;
}

.navbar-logo .asst {
    position: relative;
    bottom: 10px;
    font-size: 0.8rem;
}

.nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-item {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: var(--transition);
}

.nav-item.active,
.nav-item:hover {
    color: var(--accent-blue);
}

.nav-item.active::after {
    width: 100%;
}


/* --- Enhanced Navbar & Mobile Menu --- */

.nav-menu-wrapper {
    display: flex;
    align-items: center;
    transition: var(--transition);
}


/* Hamburger Icon */

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-blue);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}


/* Hamburger Animation to 'X' */

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


/* Responsive Button inside Mobile Menu */

.mobile-nav-cta {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    font-size: 0.95rem;
    padding: 14px 20px;
}


/* Mobile Viewport Logic (Tablets and Phones) */

@media (max-width: 991px) {
    .mobile-toggle {
        display: flex;
    }
    .nav-menu-wrapper {
        position: fixed;
        top: -100vh;
        left: 0;
        width: 100%;
        height: auto;
        background: var(--white);
        padding: 100px 20px 40px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        flex-direction: column;
    }
    .nav-menu-wrapper.active {
        top: 0;
        opacity: 1;
        visibility: visible;
    }
    .nav-links {
        flex-direction: column;
        width: 100%;
    }
    .nav-links li {
        margin: 10px 0;
    }
    .mobile-nav-cta {
        display: flex;
        width: 100%;
        max-width: 280px;
        margin: 20px auto 0;
    }
}


/* --- Buttons --- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
    border: none;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.btn-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
}

.btn-outline:hover {
    background: var(--accent-blue)!important;
    color: var(--white) !important;
}

.btn-secondary {
    background: var(--light-blue);
    color: var(--primary-blue);
    font-size: 0.9rem;
    margin: 5px;
}


/* --- Hero Section --- */

.hero-section {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
}

.badge {
    background: var(--light-blue);
    color: var(--primary-blue);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-content h1 span {
    color: var(--accent-blue);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 90%;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.hero-btns a {
    font-size: 1rem;
}

.hero-btns .btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.hero-image-container .image-wrapper {
    position: relative;
    padding: 20px;
}

.hero-image-container img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow);
    z-index: 1;
    position: relative;
}

.experience-card {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--white);
    padding: 25px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    z-index: 2;
    text-align: center;
}

.experience-card h3 {
    font-size: 2rem;
    margin: 0;
    color: var(--accent-blue);
}


/* --- Common Section Styles --- */

section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.title-underline {
    width: 70px;
    height: 4px;
    background: var(--accent-blue);
    margin: 0 auto;
    border-radius: 2px;
}


/* --- About Section --- */

.about-section {
    background-color: var(--white);
}

.info-card {
    background: var(--light-blue);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.info-card h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.info-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.info-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-blue);
}


/* --- Accolades Section --- */

.accolades-section {
    background-color: #fcfdfe;
}

.accordion-button {
    color: var(--primary-blue);
    font-size: 1rem;
}

.accordion-button::after {
    transition: filter 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: var(--accent-blue);
    color: #fff;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body ol li {
    margin-bottom: 10px;
    padding-left: 15px;
}


/* --- Hospital Cards --- */

.hospitals-section {
    background: var(--white);
}

.hospital-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.hospital-card:hover {
    transform: translateY(-10px);
}

.carousel-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.hospital-info {
    padding: 30px;
}

.schedule p {
    margin-bottom: 5px;
    color: var(--text-muted);
}

.schedule i {
    color: var(--accent-blue);
    margin-right: 10px;
}

.contact-pa {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary-blue);
    font-weight: 600;
}


/* --- Reviews --- */

.reviews-section {
    background: var(--primary-blue);
    color: var(--white);
}

.reviews-section .section-title {
    color: var(--white);
}

.review-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 40px;
    border-radius: 25px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stars {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.patient-meta {
    margin-top: 20px;
    font-weight: 600;
    font-style: italic;
    opacity: 0.8;
}

.review-links a:hover {
    background-color: var(--accent-blue) !important;
    color: var(--white) !important;
}


/* --- Contact Section --- */

.contact-info {
    padding-right: 30px;
}

input,
textarea {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid #ddd;
    outline: none;
    font-family: inherit;
    transition: var(--transition);
}

input:focus,
textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
}

.map-container {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow);
}


/* --- Footer --- */

.footer {
    padding: 10px 0;
    background: var(--dark-blue);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

footer {
    background: var(--dark-blue);
    padding: 10px 0;
    color: var(--white);
    font-size: 0.9rem;
}


/* --- Responsive --- */

@media (max-width: 991px) {
    .hero-content {
        text-align: center;
        margin-bottom: 50px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-description {
        max-width: 100%;
    }
    .hero-image-container {
        order: -1;
        margin-bottom: 40px;
    }
    .info-cards-row {
        margin-left: 0px !important;
    }
    .contact-info {
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .experience-card {
        padding: 15px;
    }
    .experience-card h3 {
        font-size: 1.5rem;
    }
    .experience-card p {
        font-size: 0.8rem;
    }
    .hero-btns {
        flex-direction: column;
    }
    .hero-btns a {
        font-size: 0.9rem;
    }
}