:root {

    --primary: #0F4C81;
    --secondary: #1B6CA8;
    --accent: #2DD4BF;

    --dark: #07111f;
    --light: #ffffff;

    --gray: #6b7280;

    --radius: 22px;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: #111827;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: auto;
}

/* =====================
HEADER
===================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 20px 0;
}

.navbar {

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(255, 255, 255, .15);

    backdrop-filter: blur(20px);

    padding: 18px 30px;

    border-radius: 18px;

    border: 1px solid rgba(255, 255, 255, .2);

}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: white;
}

.logo span {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
}

.nav-btn {

    background: white;

    padding: 14px 26px;

    border-radius: 12px;

    text-decoration: none;

    color: var(--primary);

    font-weight: 700;
}

/* =====================
HERO
===================== */
.hero{

    min-height:100vh;

    position:relative;

    display:flex;
    align-items:center;

    overflow:hidden;

    background:
    linear-gradient(
        135deg,
        rgba(7,17,31,.95),
        rgba(15,76,129,.92)
    ),
    url('../images/hero-medical.jpg');

    background-size:cover;
    background-position:center;

    padding:140px 0 220px;
}

.hero::before{

    content:"";

    position:absolute;

    width:700px;
    height:700px;

    border-radius:50%;

    background:
    radial-gradient(
        rgba(45,212,191,.25),
        transparent 70%
    );

    top:-300px;
    right:-150px;

    filter:blur(40px);
}

.hero::after{

    content:"";

    position:absolute;

    width:500px;
    height:500px;

    border-radius:50%;

    background:
    radial-gradient(
        rgba(255,255,255,.08),
        transparent 70%
    );

    left:-150px;
    bottom:-150px;
}

.hero-content{

    position:relative;
    z-index:5;

    max-width:850px;
}

.hero-badge{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:12px 22px;

    background:
    rgba(255,255,255,.12);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.15);

    border-radius:60px;

    color:white;

    margin-bottom:30px;
}

.hero h1{

    font-size:clamp(42px,7vw,90px);

    line-height:1;

    color:white;

    font-weight:900;

    margin-bottom:25px;
}

.hero h1 span{

    color:#2DD4BF;

    display:block;
}

.hero p{

    color:rgba(255,255,255,.85);

    font-size:20px;

    line-height:1.9;

    max-width:700px;
}

.hero-buttons{

    display:flex;
    gap:20px;

    margin-top:40px;

    flex-wrap:wrap;
}

.btn-primary{

    background:
    linear-gradient(
        135deg,
        #2DD4BF,
        #1B6CA8
    );

    padding:18px 38px;

    border-radius:16px;

    color:white;

    text-decoration:none;

    font-weight:700;

    transition:.4s;
}

.btn-primary:hover{

    transform:translateY(-5px);

    box-shadow:
    0 20px 50px rgba(45,212,191,.35);
}

.btn-secondary{

    background:
    rgba(255,255,255,.12);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.15);

    padding:18px 38px;

    border-radius:16px;

    color:white;

    text-decoration:none;

    font-weight:700;
}

/* =====================
FLOATING STATS
===================== */

.floating-stats{

    position:absolute;

    left:50%;
    bottom:40px;

    transform:translateX(-50%);

    width:90%;
    max-width:1300px;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

    z-index:10;
}

.stat-card{

    background:
    rgba(255,255,255,.95);

    backdrop-filter:blur(20px);

    border-radius:28px;

    padding:35px 20px;

    text-align:center;

    box-shadow:
    0 25px 60px rgba(0,0,0,.15);

    transition:.4s;
}

.stat-card:hover{

    transform:translateY(-10px);
}

.stat-card h3{

    font-size:48px;

    color:#0F4C81;

    margin-bottom:8px;
}

.stat-card span{

    color:#64748b;
}

.trust-section {
    padding: 120px 0 70px;
    background: #fff;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.trust-item {
    background: white;
    border-radius: 24px;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .06);
}

.trust-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ecfeff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
}

.trust-item h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.trust-item p {
    color: #64748b;
}

.about-section {
    padding: 120px 0;
    background: #f8fafc;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
    min-height: 600px;
}

.img-one {
    width: 420px;
    height: 520px;
    object-fit: cover;
    border-radius: 30px;
}

.img-two {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 280px;
    height: 320px;
    object-fit: cover;
    border-radius: 30px;
    border: 10px solid white;
}

.experience-card {

    position: absolute;

    left: 30px;

    bottom: 40px;

    background: white;

    padding: 30px;

    border-radius: 24px;

    box-shadow: 0 25px 60px rgba(0, 0, 0, .1);
}

.experience-card h2 {
    font-size: 48px;
    color: var(--primary);
}

.about-content h2 {
    font-size: 54px;
    line-height: 1.2;
    margin: 20px 0;
}

.about-content p {
    color: #64748b;
    line-height: 2;
    font-size: 18px;
}

.section-tag {
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 2px;
}

.about-features {
    margin: 40px 0;
}

.feature {
    margin-bottom: 18px;
    font-size: 17px;
}

.services-section {
    padding: 120px 0;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: auto;
    margin-bottom: 80px;
}

.section-header span {
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 2px;
}

.section-header h2 {
    font-size: 56px;
    margin: 20px 0;
}

.section-header p {
    color: #64748b;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {

    background: white;

    padding: 45px;

    border-radius: 28px;

    transition: .4s;

    box-shadow: 0 15px 50px rgba(0, 0, 0, .06);
}

.service-card:hover {

    transform: translateY(-12px);

    box-shadow: 0 30px 80px rgba(0, 0, 0, .12);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg,
            rgba(15, 76, 129, .1),
            rgba(27, 108, 168, .15));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    margin-bottom: 25px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

.service-card p {
    color: #64748b;
    line-height: 1.8;
}

.doctors-section {
    padding: 120px 0;
    background: #fff;
}

.doctor-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(320px, 1fr));

    gap: 30px;

    margin-top: 60px;
}

.doctor-timing {

    margin-top: 20px;

    padding: 12px 15px;

    background: rgba(15, 76, 129, .08);

    border-left: 4px solid #0F4C81;

    border-radius: 10px;

    color: #0F4C81;

    font-size: 14px;

    font-weight: 600;

    line-height: 1.7;
}

.doctor-card {
    background:#fff;
    border-radius:30px;
    overflow:hidden;
    box-shadow:0 20px 60px rgba(0,0,0,.08);
    transition:.4s;

    display:flex;
    flex-direction:column;

    height:100%;

}

.doctor-card:hover {
    transform: translateY(-10px);
}

.doctor-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.doctor-content {
    padding:30px;

    display:flex;
    flex-direction:column;

    flex:1;

}
.doctor-content h3{
    margin-bottom:10px;
    min-height:70px;
}


.doctor-content span {
    color: var(--primary);
    font-weight: 600;
    display: block;
    margin: 10px 0;
}
.doctor-content p{
    color:#475569;
    line-height:1.8;

    flex-grow:1;
}
.doctor-content a {
    display: inline-block;
    margin-top: 20px;
    background: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
}

.critical-care {
    padding: 120px 0;
    background: #f8fafc;
}

.care-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.care-image img {
    width: 100%;
    border-radius: 30px;
}

.care-content h2 {
    font-size: 52px;
    margin: 20px 0;
}

.care-content ul {
    margin-top: 25px;
}

.care-content li {
    margin-bottom: 15px;
}

.diagnostic-section {
    padding: 120px 0;
    background: #fff;
}

.diagnostic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.diagnostic-image img {
    width: 100%;
    border-radius: 30px;
}

.diagnostic-content h2 {
    font-size: 52px;
    margin: 20px 0;
}

.diagnostic-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.diagnostic-features div {
    padding: 20px;
    background: #f8fafc;
    border-radius: 16px;
    font-weight: 600;
}

.emergency-banner {
    padding: 120px 0;
    background: linear-gradient(135deg, #0F4C81, #1B6CA8);
    text-align: center;
    color: white;
}

.emergency-content h2 {
    font-size: 60px;
    margin-bottom: 20px;
}

.cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-white {
    background: white;
    color: var(--primary);
    padding: 16px 35px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
}

.btn-outline {
    border: 2px solid white;
    padding: 16px 35px;
    border-radius: 14px;
    color: white;
    text-decoration: none;
}

.testimonial-section {
    padding: 120px 0;
    background: #f8fafc;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .06);
}

.testimonial-card h4 {
    margin-top: 20px;
    color: var(--primary);
}

.contact-section {
    padding: 120px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-card {
    background: #f8fafc;
    padding: 50px;
    border-radius: 24px;
}
/* ===== FOOTER BASE ===== */
.footer {
    background: var(--dark);
    color: var(--light);
    padding: 60px 0 20px;
}
.footer-grid {

    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 50px;

}

.footer a {
    color: var(--gray);
    text-decoration: none;
    display: block;
    margin: 6px 0;
    transition: all 0.3s ease;
}

/* ===== LOGO HOVER ===== */
.footer .logo img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer .logo img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* ===== LINKS HOVER ===== */
.footer a:hover {
    color: var(--accent);
    transform: translateX(6px);
}

/* Quick links headings */
.footer h4 {
    margin-bottom: 12px;
    position: relative;
}

/* underline animation under headings */
.footer h4::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: var(--accent);
    margin-top: 6px;
    transition: width 0.3s ease;
}

.footer h4:hover::after {
    width: 70px;
}

/* ===== GRID CARD HOVER ===== */
.footer-grid > div {
    padding: 15px;
    border-radius: var(--radius);
    transition: transform 0.3s ease, background 0.3s ease;
}

.footer-grid > div:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.03);
}

/* ===== CALL BUTTON EFFECT ===== */
.footer a[href^="tel"] {
    background: var(--accent);
    color: var(--dark);
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.footer a[href^="tel"]:hover {
    background: var(--secondary);
    color: var(--light);
    transform: scale(1.05);
}

/* ===== COPYRIGHT ===== */
.footer .copyright a {
    color: var(--accent);
    transition: 0.3s ease;
}

.footer .copyright a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.copyright {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    text-align: center;
    color: #94a3b8;
}

.header.scrolled {

    background: #ffffff;

    box-shadow:
        0 10px 40px rgba(0, 0, 0, .08);

    padding: 15px 0;
}

.header.scrolled .navbar {

    background: transparent;

    backdrop-filter: none;

    border: none;
}
.header.scrolled .menu-toggle{
    color:#0F4C81;
}
.header.scrolled .logo {
    color: #0F4C81;
}

.header.scrolled .nav-links a {
    color: #0f172a;
}

.header.scrolled .nav-links a:hover {
    color: #0F4C81;
}

.header.scrolled .nav-btn {

    background: #0F4C81;

    color: #fff;
}

.hospital-showcase {

    padding: 120px 0;

    background: #ffffff;

    overflow: hidden;

}

.hospitalSwiper {

    padding-bottom: 70px;

}

.hospitalSwiper .swiper-slide {

    height: 600px;

    border-radius: 30px;

    overflow: hidden;

    position: relative;

}

.hospitalSwiper .swiper-slide img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: all .6s ease;

}

.hospitalSwiper .swiper-slide:hover img {

    transform: scale(1.08);

}

.swiper-button-next,
.swiper-button-prev {

    width: 55px;
    height: 55px;

    background: white;

    border-radius: 50%;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .12);
    padding: 32px;

}

.swiper-button-next:after,
.swiper-button-prev:after {

    font-size: 18px;
    font-weight: bold;
    color: #0F4C81;

}

.swiper-pagination-bullet {

    width: 12px;
    height: 12px;

}

.swiper-pagination-bullet-active {

    background: #0F4C81;

}

.gallery-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.03);
}

#imageModal .modal-dialog {
    max-width: 70%;
    width: 70%;
    margin: auto;
}

#imageModal .modal-content {
    background: transparent;
    border: none;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modalImage {
    width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
}

#imageModal .btn-close {
    position: absolute;
    top: -15px;
    right: -15px;
    z-index: 9999;
    background-color: #fff;
    border-radius: 50%;
    opacity: 1;
    padding: 10px;
}

.modal-backdrop.show {
    opacity: 0.5;
}

@media (max-width: 991px) {
    #imageModal .modal-dialog {
        max-width: 90%;
        width: 90%;
    }
}

@media (max-width: 576px) {
    #imageModal .modal-dialog {
        max-width: 95%;
        width: 95%;
 
    }
    .floating-stats{
        grid-template-columns:1fr 1fr;
    }
    .hero-buttons{
        margin-bottom: 200px;
    }
}
.announcement-banner-section{
    padding:120px 0;
    background:#f8fafc;
}

.announcementSwiper{
    margin-top:50px;
    border-radius:30px;
    overflow:hidden;
}

.announcementSwiper .swiper-slide{
    border-radius:30px;
    overflow:hidden;
}

.announcementSwiper .swiper-slide img{
    width:100%;
    height:500px;
    object-fit:cover;
    display:block;
}

.announcementSwiper .swiper-button-next,
.announcementSwiper .swiper-button-prev{

    width:55px;
    height:55px;

    background:white;

    border-radius:50%;

    box-shadow:
    0 10px 30px rgba(0,0,0,.15);
}

.announcementSwiper .swiper-button-next:after,
.announcementSwiper .swiper-button-prev:after{

    font-size:18px;
    color:#0F4C81;
    font-weight:bold;
}

.announcementSwiper .swiper-pagination-bullet-active{
    background:#0F4C81;
}
@media(max-width:768px){

    .announcementSwiper .swiper-slide img{

        height:220px;
        object-fit:cover;
    }

}
.announcementSwiper .swiper-slide{
    background:red;
}
.owner-info{

    margin-top:35px;

    padding-top:25px;

    border-top:1px solid #e2e8f0;
}

.owner-info h4{

    margin:0 0 8px;

    font-size:24px;

    color:#0F4C81;

    font-weight:700;
}

.owner-info span{

    color:#64748b;

    font-size:15px;

    font-weight:500;
}
@media (max-width:991px){

    .nav-links{
        display:none;
    }

    .nav-btn{
        display:none;
    }

    .navbar{
        padding:15px 20px;
        justify-content:center;
    }

    .logo{
        font-size:20px;
    }
}
@media(max-width:991px){

    .about-grid{
        grid-template-columns:1fr;
        gap:50px;
    }

    .about-images{
        min-height:auto;
    }

    .img-one{
        width:100%;
        height:auto;
    }

    .img-two{
        position:relative;
        width:100%;
        height:auto;
        margin-top:20px;
        border:none;
    }
}
@media(max-width:991px){

    .trust-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:576px){

    .trust-grid{
        grid-template-columns:1fr;
    }
}
.doctor-grid{
    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));
}
@media(max-width:991px){

    .care-grid{
        grid-template-columns:1fr;
    }
}
@media(max-width:991px){

    .diagnostic-grid{
        grid-template-columns:1fr;
    }

    .diagnostic-features{
        grid-template-columns:1fr;
    }
}
@media(max-width:991px){

    .testimonial-grid{
        grid-template-columns:1fr;
    }
}
@media(max-width:991px){

    .contact-grid{
        grid-template-columns:1fr;
        gap:40px;
    }
}
@media(max-width:991px){

    .footer-grid{
        grid-template-columns:1fr;
        gap:30px;
    }
}
@media(max-width:991px){

    section{
        overflow:hidden;
    }

    .container{
        width:92%;
    }

    h1{
        font-size:42px !important;
    }

    h2{
        font-size:34px !important;
    }

    .section-header h2{
        font-size:36px !important;
    }

    .about-content h2,
    .care-content h2,
    .diagnostic-content h2{
        font-size:36px !important;
    }

    .emergency-content h2{
        font-size:38px !important;
    }

    .cta-buttons{
        flex-direction:column;
    }
}
/* MOBILE NAV FIX */
@media screen and (max-width: 991px) {

    .nav-links,
    .nav-btn{
        display:none !important;
    }

    .navbar{
        justify-content:center;
        padding:15px 20px;
    }

    .logo{
        font-size:20px;
    }

}
.menu-toggle{
    display:none;
}

@media(max-width:991px){

    .menu-toggle{
        display:block;
        background:none;
        border:none;
        color:white;
        font-size:30px;
        cursor:pointer;
    }

    .nav-links,
    .nav-btn{
        display:none !important;
    }

    .navbar{
        justify-content:center;
        align-items:center;
    }

}