:root {
            --primary: #004b8d; /* Deep blue for trust in healthcare */
            --primary-dark: #003366;
            --accent: #00a3d9; /* Light blue for medical theme */
            --light: #f9fcff;
            --gray: #5f7d95;
            --dark: #1a2e44;
            --shadow: 0 8px 24px rgba(0, 75, 141, 0.08);
            --gradient: linear-gradient(135deg, rgba(0,75,141,0.9), rgba(0,163,217,0.9));
        }

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

        body {
          font-family: "Nunito Sans", sans-serif;
            background: var(--light);
            color: var(--dark);
            line-height: 1.7;
            overflow-x: hidden;
        }

        .container {
            max-width: 1240px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* ── Navbar ── */
        header nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255,255,255,0.95);
            box-shadow: 0 2px 12px rgba(0,0,0,0.08);
            z-index: 1000;
            transition: all 0.3s ease;
        }

        nav.scrolled {
            background: rgba(255,255,255,0.98);
            backdrop-filter: blur(12px);
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 18px 0;
        }

        .logo {
            font-size: 1.7rem;
            font-weight: 700;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .logo::before {
            content: '🩺';
            font-size: 1.4rem;
        }

        .nav-links {
            display: flex;
            gap: 36px;
        }

        .nav-links a {
            color: var(--dark);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.98rem;
            position: relative;
            transition: color 0.2s;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent);
            transition: width 0.3s ease;
        }

        .nav-links a:hover { color: var(--accent); }
        .nav-links a:hover::after { width: 100%; }

        .nav-toggle {
            display: none;
            font-size: 2.2rem;
            cursor: pointer;
            color: var(--primary);
            line-height: 1;
            user-select: none;
        }

        .nav-toggle span {
            display: inline-block;
            transition: all 0.3s;
        }

        .nav-toggle .close-icon {
            font-size: 2.4rem;
            position: relative;
            top: -2px;    z-index: 999999;
        }

        /* Hero with Medical Background */
        .hero {
            padding: 280px 0 140px;
              background: #004b8d;
            background-blend-mode: overlay;
            color: white;
            text-align: center;
            position: relative; height: 900px; align-items: center;
        }
.hero img{position: relative;     top: -173px;}
        .hero::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 100px;
            background: var(--light);
            clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
        }

        .hero-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .hero h1 {
            font-size: clamp(2.8rem, 7vw, 4.2rem);
            font-weight: 700;
            margin-bottom: 20px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }

        .hero p {
            font-size: 1.4rem;
            max-width: 700px;
            margin: 0 auto 32px;
            opacity: 0.95;
        }

        .cta-btn {
            background: white;
            color: var(--primary);
            padding: 16px 40px;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        .cta-btn:hover {
            background: var(--accent);
            color: white;
            transform: translateY(-4px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.2);
        }

        /* Sections with subtle backgrounds */
        section {
            padding: 50px 0;
            position: relative;
        }
        .btn{    background: #fff!important;}
.btn:hover{color: #00a3d9!important;}
        section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,163,217,0.03); /* Subtle medical blue tint */
            z-index: -1;
        }

        #why, #strengths {
            background: linear-gradient(to bottom, #f9fcff, #ffffff);
        }

        h2 {
            font-size: 2.6rem;
            font-weight: 700;
            color: var(--primary);
            text-align: center;
            margin-bottom: 28px;
            position: relative;
        }

        h2::after {
            content: '';
            display: block;
            width: 60px;
            height: 3px;
            background: var(--accent);
            margin: 16px auto 0;
        }

        .intro-text {
            text-align: center;
            max-width: 820px;
            margin: 0 auto 60px;
            color: #334155;
            font-size: 1.15rem;
        }

        .grid-3, .grid-4 {
            display: grid;
            gap: 32px;
        }

        .grid-3 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
        .grid-4 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

        .card {
            background: white;
            border-radius: 16px;
           padding: 15px 15px;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            text-align: center;
            border: 1px solid rgba(0,163,217,0.1);
        }

        .card:hover {
            transform: translateY(-12px);
            box-shadow: 0 16px 40px rgba(0,75,141,0.12);
            border-color: var(--accent);
        }

        .card .icon { font-size: 3.5rem; color: var(--accent); margin-bottom: 24px; }
        .card h3 { font-size: 1.4rem; color: var(--primary); margin-bottom: 16px; }

        /* About */
        #about .about-content {
            max-width: 900px;
            margin: 0 auto;
            font-size: 1.05rem;
            color: #2d3748;
        }

        #about .about-content p { margin-bottom: 1.6rem;     font-size: 16px;}

        /* Services */
        .service-card {
            border-radius: 16px;
            overflow: hidden;
            background: white;
            box-shadow: var(--shadow);
            transition: all 0.3s;
        }

        .service-card:hover { transform: translateY(-12px); box-shadow: 0 20px 48px rgba(0,75,141,0.15); }

        .service-card img {
            width: 100%;
            height: 240px;
            object-fit: cover;
            filter: brightness(0.95);
            transition: transform 0.5s ease;
        }

        .service-card:hover img { transform: scale(1.05); }

        .service-content { padding: 32px; text-align: center; }

        /* Contact */
        .contact {
  
            background-blend-mode: overlay;
                color: #000000;
        }

        .contact-form {
            max-width: 720px;
            margin: 0 auto;
            background: rgb(0 75 141);
            padding: 40px;
            border-radius: 16px;
            backdrop-filter: blur(10px);
        }

        .contact-form input,
        .contact-form textarea {
            width: 100%;
            padding: 16px 20px;
            margin-bottom: 20px;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            background: rgba(255,255,255,0.9);
        }

        .contact-form textarea { min-height: 160px; resize: vertical; }

        .btn {
            background: white;
            color: var(--primary);
            border: none;
            padding: 16px 48px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.05rem;
            cursor: pointer;
            transition: all 0.3s;
            width: 100%;
        }

        .btn:hover {
            background: var(--accent);
            color: white;
            transform: translateY(-4px);
        }

        /* Footer */
        footer {
            background: var(--primary-dark);
            color: white;
            padding: 80px 0 40px;
            text-align: center;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 48px;
            margin-bottom: 60px;
        }

        footer a { color: #b0c4de; text-decoration: none; line-height: 2.2; transition: color 0.2s; }
        footer a:hover { color: white; }

        .copyright { font-size: 0.92rem; opacity: 0.85; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; }

        /* ── Mobile ── */
        @media (max-width: 992px) {

            .nav-links {
                position: fixed;
                top: 0;
                right: -100%;
                width: 80%;
                max-width: 320px;
                height: 100vh;
                background: white;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                transition: right 0.4s ease;
                box-shadow: -10px 0 30px rgba(0,0,0,0.15);
                z-index: 999;
                gap: 32px;
            }

            .nav-links.active { right: 0; }

            .nav-toggle { display: block; }

            .hero { padding: 160px 0 100px; }
        }

        @media (max-width: 768px) {
            h2 { font-size: 2.2rem; }
            .hero h1 { font-size: 2.8rem; }
            section { padding: 30px 0; }
            .card { padding: 32px 24px; }
                     .hero img {
    position: relative; top:0px;}
          .twoone {
    position: relative; top:-230px;}
        }
 
        /* Fade-in Animation */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        section > .container {
            animation: fadeIn 1s ease forwards;
            opacity: 0;
        }

        /* Scroll To Top Button */
#scrollToTopBtn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: #0f172a; /* dark slate */
  color: #ffffff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Show Button */
#scrollToTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hover Effect */
#scrollToTopBtn:hover {
  background: #2563eb; /* blue */
  transform: translateY(-3px);
}

/* Mobile Adjustment */
@media (max-width: 768px) {
  #scrollToTopBtn {
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}
