:root {
      --primary: #0066cc;
      --primary-light: #4d94ff;
      --text: #1d1d1f;
      --text-muted: #4a4a4e;
      --gray: #6c757d;
      --bg-light: #f8f9fa;
      --border: #dee2e6;
      --radius-lg: 16px;
      --shadow-sm: 0 4px 16px rgba(0,0,0,0.05);
      --shadow-md: 0 12px 40px rgba(0,0,0,0.08);
    }

    body {
      font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
      color: var(--text);
      background: white;
      line-height: 1.7;
    }

    .navbar {
      background: rgba(255,255,255,0.97) !important;
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
      padding: 1.1rem 0;
      box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    }

    .navbar-brand {
      font-weight: 700;
      color: var(--primary) !important;
      font-size: 1.65rem;
    }

    .nav-link {
      font-weight: 500;
      padding: 0.6rem 1.3rem !important;
      color: var(--text) !important;
    }

    .nav-link:hover {
      color: var(--primary) !important;
    }

    /* Hero with medical background */
    #hero {
  background: url('../img/slider/image.jpg') no-repeat center center / cover;
  /* Keep gradient as fallback */
  background: linear-gradient(rgba(240,248,255,0.92), rgba(230,242,255,0.92)), url('../img/slider/image.jpg') center/cover;
}
    #hero {
      padding: 0rem 0 4rem;
      background-size: cover;
      background-position: center;
      text-align: center;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: center;
    }

    .hero-content h1 {
      font-size: clamp(3.2rem, 7.5vw, 5.8rem);
      font-weight: 800;
      margin-bottom: 0.6rem;
      letter-spacing: -1.2px;
    }

    .hero-content h2 {
      font-size: clamp(2rem, 5vw, 3.2rem);
      color: var(--primary);
      font-weight: 600;
      margin-bottom: 1.8rem;
    }

    .hero-content p {
      font-size: 1.35rem;
      color: var(--text-muted);
      max-width: 700px;
      margin: 0 auto 2.5rem;
    }

    .hero-image img {
      max-width: 100%;    height: 700px;
      object-fit: cover;
      transition: transform 0.4s ease;
    }

    .hero-image img:hover {
      transform: scale(1.03);
    }

    .hero-image p {
      margin-top: 2rem;
      font-size: 1.4rem;
      font-weight: 600;
      color: var(--primary);
    }

    /* Section styling */
    section {
        padding: 3rem 0;
    }

    .section-header {
      text-align: center;
      margin-bottom: 3rem;
    }

    .section-title {
         font-size: 40px;
      font-weight: 700;
      margin-bottom: 1rem;
    }
.footer-social a {text-decoration: none;}
    .section-subtitle {
      font-size: 1.2rem;
      color: var(--gray);
      max-width: 760px;
      margin: 0 auto;
    }
#about img {    width: 100%;
    height: 500px;
    object-fit: cover;}
  #hero  .btn , .contact-form .btn{
  padding:14px 34px;
  border-radius:999px;
  font-size:16px;
  font-weight:500;
  cursor:pointer;
  border:none;
}
#hero .btn-primary , .contact-form .btn-primary{
  background:#2563eb;
  color:#fff;
}
#hero .btn-primary:hover , .contact-form .btn-primary:hover{
  background:#1e4fd8;
}
    /* Cards */
    .card {
      border: none!important;
      border-radius: var(--radius-lg)!important;
      background: white;
      box-shadow: var(--shadow-sm)!important;
      transition: all 0.35s ease;
      padding: 2rem 1rem;
      height: 100%;
      
    }

    .card:hover {
      transform: translateY(-12px);
      box-shadow: var(--shadow-md);
    }

    .card-icon i {
      font-size: 3.2rem;
      color: var(--primary);
      margin-bottom: 1.6rem;
    }

    .card h3 {
      font-size: 1.55rem;
      font-weight: 600;
      margin-bottom: 1.1rem;
    }

    .card p {
      color: var(--gray);
      font-size: 1.08rem;
    }

    /* Service Cards */
    .service-card {
      border: none;
      border-radius: var(--radius-lg);
      background: white;
      box-shadow: var(--shadow-sm);
      overflow: hidden;
      transition: all 0.35s ease;
      height: 100%;
    }

    .service-card:hover {
      transform: translateY(-12px);
      box-shadow: var(--shadow-md);
    }

    .service-icon img {
      width: 100%;
      height: 240px;
      object-fit: cover;
      border-bottom: 1px solid var(--border);
    }

    .service-content {
      padding: 2rem 1.8rem;
    }

    .service-content h3 {
      font-size: 1.5rem;
      font-weight: 600;
      margin-bottom: 1rem;
    }

    .service-content p {
      color: var(--gray);
    }



    /* Contact */
    .contact-section {
      background: var(--bg-light);
    }

    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 7rem;
      align-items: start;
    }

    .contact-form .form-control {
      border-radius: 12px;
      padding: 1rem 1.5rem;
      border: 1px solid var(--border);
      margin-bottom: .5rem;
      font-size: 1.08rem;
    }

    .contact-form .form-control:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 4px rgba(0,102,204,0.12);
    }

    /* Responsive */
    @media (max-width: 992px) {
      .hero-grid,
      .contact-grid {
        grid-template-columns: 1fr;
        gap: 4.5rem;
      }

      .hero-content,
      .contact-info {
        text-align: center;
      }
    }

    @media (max-width: 576px) {
      #hero { padding: 8rem 0 5rem; }
      .section-title { font-size: 2.6rem; }
    }

        /* Footer */
        footer {
            padding: 5rem 0;
            text-align: center;
            border-top: 1px solid var(--border);
        }

        .footer-logo {
            font-size: 2.2rem;
            background: linear-gradient(90deg, var(--primary), var(--primary-light));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 1rem;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .logo {
    font-size: 1.4rem;}
            .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; text-align: center; }
            .hero-content h1 { font-size: 3rem; }
            .contact-section { margin: 0; border-radius: 0; padding: 2rem;}
        }
.hero-content h2 {
    font-size: 2rem;}

          @media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1100;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: right 0.4s ease;
        z-index: 1050;
        display: flex; /* IMPORTANT */
    }

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

    .nav-links a {
        font-size: 1.6rem;
    }
}



    .footer {
    background: radial-gradient(circle at top, #ffffff, #ffffff);
    color: #000000;
    padding: 40px 16px 5px 16px;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.footer-text {
    font-size: 18px;
  opacity: 1;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 18px;
}

.footer-links a {
  font-size: 16px;
  color: #1e1e1e;
  text-decoration: none;
}

.footer-links a:hover {
  color: #2f2a2a;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgb(9, 9, 9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 14px;
  transition: 0.3s;
}

.footer-social a:hover {
  background: #4f46e5;
  color: #fff;
}

.footer-subscribe {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 360px;
  margin: 0 auto 18px;
  border-radius: 999px;
  padding: 4px;
}

.footer-subscribe input {
  flex: 1;
  border: none;    background: #cecece42;
  padding: 10px 14px;
  border-radius: 999px;
  outline: none;
  font-size: 16px;
}

.footer-subscribe button {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #4f46e5;
  color: #fff;
  cursor: pointer;
}

.footer-copy {
  font-size: 15px;
  opacity: 0.9;margin-top: 40px;
}


    /* Arrow Scroll to Top Button */
    .scroll-top-btn{
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 56px;
      height: 56px;
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      color: #000;
      border: none;
      border-radius: 50%;
      font-size: 1.5rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: var(--glow);
      opacity: 0;
      visibility: hidden;
      transform: translateY(20px) scale(0.8);
      transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
      z-index: 999;
      backdrop-filter: blur(8px);
    }

    .scroll-top-btn.show {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
    }

    .scroll-top-btn:hover {
      transform: translateY(-6px) scale(1.12);
      box-shadow: 0 0 45px rgba(0, 212, 255, 0.7);
    }

    .scroll-top-btn:active {
      transform: translateY(-4px) scale(1.08);
    }

    .scroll-top-btn i {
      animation: bounce 2s infinite; color: #fff;
    }

    @keyframes bounce {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-6px); }
    }

    /* Responsive */
    @media (max-width: 576px) {
      .scroll-top-btn {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
        bottom: 20px;
        right: 20px;
      }
    }