.logo img {
    height: 50px;
    /* Adjust height as per design */
    width: auto;
    /* Keeps aspect ratio */
    object-fit: contain;
    border-radius: 8px;
    /* Optional: adds rounded edges */
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
    /* Slight zoom on hover */
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Navbar Base */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 10px 90px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 6px solid skyblue;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hospital-name {
    color: rgb(0, 0, 0);
    font-size: 1.4rem;
    font-weight: 600;
    animation: pulseText 1.5s infinite ease-in-out;
    white-space: nowrap;
}

@keyframes pulseText {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

.logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li {
    list-style: none;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: block;
}

.nav-links a:hover {
    color: #80cbc4;
    transform: scale(1.05);
}

/* Dropdown Base */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: skyblue;
    min-width: 160px;
    border-radius: 5px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.nav-links li:hover>.dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    padding: 10px 20px;
    color: white;
    transition: background 0.3s ease;
}

.dropdown a:hover {
    background-color: rgb(81, 164, 197);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 110;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: white;
    margin: 4px 0;
    transition: 0.4s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(10px, -5px);
}


/* HERO SECTION */
.hero {
    height: 35rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 5%;
    gap: 40px;
    flex-wrap: wrap;
    background: linear-gradient(to right, #f9f9f9, #fff);
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    animation: blurFadeIn 1s ease-in-out forwards;
}

.hero-text h2 span {
    color: skyblue;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    animation: blurFadeIn 1.5s ease-in-out forwards;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: skyblue;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s ease;
    animation: blurFadeIn 2s ease-in-out;
}

.btn:hover {
    background-color: skyblue;
    transform: scale(1.05);
}

.hero-img {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hero-img img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeInImage 2s forwards ease-in;
    animation-delay: 0.5s;
}

/* Animations */
@keyframes blurFadeIn {
    from {
        opacity: 0;
        filter: blur(5px);
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

@keyframes fadeInImage {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulseText {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

.owner-section {
    padding: 60px 20px;
    background: #f8f9fa;
}

.owner-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.owner-text {
    flex: 1;
    min-width: 300px;
}

.owner-text h2 {
    font-size: 28px;
    color: skyblue;
    margin-bottom: 15px;
}

.owner-text p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
}

.owner-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.owner-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Animation */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1.2s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.features-section {
    background: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.section-title {
    font-size: 32px;
    color: skyblue;
    margin-bottom: 40px;
}

.features-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.feature-box {
    flex: 1 1 calc(50% - 30px);
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-8px);
}

.feature-box img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.feature-box h3 {
    font-size: 22px;
    color: skyblue;
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
}

/* Animation */
.fade-in {
    opacity: 0;
    transform: scale(0.98);
    animation: fadeScale 1.2s ease forwards;
}

@keyframes fadeScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.treatments-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.treatments-section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: skyblue;
}

.treatment-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.treatment-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.treatment-card h3 {
    color: skyblue;
    margin-bottom: 10px;
}

.treatment-card p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
}

.treatment-card {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 1s ease forwards;
}

.treatment-card:nth-child(1) {
    animation-delay: 0.2s;
}

.treatment-card:nth-child(2) {
    animation-delay: 0.4s;
}

.treatment-card:nth-child(3) {
    animation-delay: 0.6s;
}

.treatment-card:nth-child(4) {
    animation-delay: 0.8s;
}

.treatment-card:nth-child(5) {
    animation-delay: 1s;
}

.treatment-card:nth-child(6) {
    animation-delay: 1.2s;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.hospital-stats {
    background-color: #eefaf8;
    padding: 60px 20px;
    text-align: center;
}

.hospital-stats h2 {
    font-size: 2rem;
    color: rgb(118, 195, 225);
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-box {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: scale(1.05);
}

.stat-box h3 {
    font-size: 2rem;
    color: skyblue;
    margin-bottom: 10px;
}

.stat-box p {
    font-size: 1rem;
    color: #444;
}

.footer {
    background-color: skyblue;
    color: white;
    padding: 50px 20px 10px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.footer-section {
    flex: 1 1 300px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-section p {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.footer-section iframe {
    width: 100%;
    height: 180px;
    border-radius: 8px;
}

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

.social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: skyblue;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 0.95rem;
    color: #ffffff;
}


/* Responsive */
@media (max-width: 768px) {
    .navbar {
        position: sticky;
        top: 0;
        width: 100%;
        z-index: 999;
        padding: 5px 15px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background-color: skyblue;
        flex-direction: column;
        width: 100%;
        align-items: center;
        gap: 10px;
        padding: 30px 0;
        transform: translateY(-200%);
        transition: transform 0.4s ease-in-out;

    }
    .nav-links a{
        line-height: 3;
        font-size: larger;
    }

    .nav-links.show {
        transform: translateY(0%);
        height: 35rem;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    /* Disable hover on mobile, use click toggle */
    .nav-links li:hover>.dropdown {
        display: none;
        opacity: 0;
        visibility: hidden;
    }

    .nav-links li.show-dropdown .dropdown {
        display: block;
        opacity: 1;
        visibility: visible;
        position: static;
        transform: none;
        transition: none;
    }

    .dropdown a {
        padding: 10px 0;
    }

    .hamburger span {
        height: 3px;
        width: 35px;
        background: skyblue;
        margin: 4px 0;
        transition: 0.4s;
    }

    .hospital-name {
        font-size: 1.2rem;
    }

    .logo-area {
        flex: 1;
    }

    .hamburger {
        margin-left: auto;
    }


    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 40px 20px;
        height: 42rem;
    }

    .nav-links {
        display: block;
    }

    .hospital-name {
        font-size: 1.2rem;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .owner-container {
        flex-direction: column;
        text-align: center;
    }

    .owner-text {
        order: 2;
    }

    .owner-image {
        order: 1;
        margin-bottom: 30px;
    }

    .feature-box {
        flex: 1 1 100%;
    }

    .feature-box img {
        max-height: 180px;
    }

    .section-title {
        font-size: 24px;
    }

    .feature-box h3 {
        font-size: 18px;
    }
}