*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    text-decoration: none;
}

:root{
    --bg: #ffffff;
    --surface: #f8f9fa;
    --surface-2: #ffffff;
    --text: #1a1a1a;
    --muted: #6c757d;
    --primary: #2563eb;
    --primary-600:#1d4ed8;
    --accent: #22c55e;
    --card: #ffffff;
    --border: rgba(0,0,0,0.08);
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}
/* Dark theme variables */
[data-theme="dark"] {
    --bg: #0b0f14;
    --surface: #0f141b;
    --surface-2: #111823;
    --text: #e6e6e6;
    --muted: #a6adbb;
    --primary: #60a5fa;
    --primary-600:#3b82f6;
    --accent: #34d399;
    --card: #0f141b;
    --border: rgba(255,255,255,0.08);
    --shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Dark theme background effects */
[data-theme="dark"] body {
    background: linear-gradient(135deg, 
        rgba(96, 165, 250, 0.08) 0%, 
        rgba(52, 211, 153, 0.08) 25%, 
        rgba(168, 85, 247, 0.08) 50%, 
        rgba(6, 182, 212, 0.08) 75%, 
        rgba(96, 165, 250, 0.08) 100%);
}

[data-theme="dark"] body::before {
    background: radial-gradient(circle at 20% 80%, rgba(96, 165, 250, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(52, 211, 153, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(168, 85, 247, 0.12) 0%, transparent 50%);
}

[data-theme="dark"] body::after {
    background: radial-gradient(circle, rgba(52, 211, 153, 0.18) 0%, transparent 70%);
}
.book{
   display: flex;
  
   background-color: #0b2;
   align-items: center;
   justify-content: center;
   transition: 0.3s ease-in;
   border-radius: 6px;
   


}
/* .book::before{
    background-color: red;
    width: 20px;
}
.book::after{
    background-color: #25d366;
    width: 30px;
    height: 30px;
} */
.book:hover{
    transition: 0.3s ease-in;
    transform: scale(0.9);
    
    border-radius: 6px;
    
    /* width: 30px;
    height: 30px; */
 
}
html, body {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.05) 0%, 
        rgba(34, 197, 94, 0.05) 25%, 
        rgba(168, 85, 247, 0.05) 50%, 
        rgba(6, 182, 212, 0.05) 75%, 
        rgba(37, 99, 235, 0.05) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Background animation keyframes */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating background elements */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    animation: floatBackground 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes floatBackground {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

/* Additional floating orbs */
body::after {
    content: '';
    position: fixed;
    top: 10%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatOrb 25s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes floatOrb {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% { 
        transform: translate(-50px, -30px) scale(1.1);
        opacity: 0.5;
    }
    50% { 
        transform: translate(-100px, 20px) scale(0.9);
        opacity: 0.4;
    }
    75% { 
        transform: translate(-30px, -50px) scale(1.05);
        opacity: 0.6;
    }
}

/* Additional floating particles */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: particleFloat 30s linear infinite;
}

.particle:nth-child(1) {
    width: 4px;
    height: 4px;
    background: rgba(37, 99, 235, 0.6);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 6px;
    height: 6px;
    background: rgba(34, 197, 94, 0.5);
    top: 60%;
    left: 80%;
    animation-delay: -10s;
}

.particle:nth-child(3) {
    width: 3px;
    height: 3px;
    background: rgba(168, 85, 247, 0.7);
    top: 40%;
    left: 30%;
    animation-delay: -20s;
}

.particle:nth-child(4) {
    width: 5px;
    height: 5px;
    background: rgba(6, 182, 212, 0.6);
    top: 80%;
    left: 70%;
    animation-delay: -5s;
}

.particle:nth-child(5) {
    width: 4px;
    height: 4px;
    background: rgba(34, 197, 94, 0.4);
    top: 10%;
    left: 60%;
    animation-delay: -15s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Dark theme particle colors */
[data-theme="dark"] .particle:nth-child(1) {
    background: rgba(96, 165, 250, 0.7);
}

[data-theme="dark"] .particle:nth-child(2) {
    background: rgba(52, 211, 153, 0.6);
}

[data-theme="dark"] .particle:nth-child(3) {
    background: rgba(168, 85, 247, 0.8);
}

[data-theme="dark"] .particle:nth-child(4) {
    background: rgba(6, 182, 212, 0.7);
}

[data-theme="dark"] .particle:nth-child(5) {
    background: rgba(52, 211, 153, 0.5);
}

img { display: block; max-width: 100%; height: auto; }

.container {
    width: min(1100px, 92%);
    margin-inline: auto;
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.8); backdrop-filter: saturate(1.3) blur(10px); border-bottom: 1px solid var(--border); }
.site-header[data-theme="dark"], [data-theme="dark"] .site-header { background: rgba(15,20,27,0.8); }
.navbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: .3px; }
.brand-logo { border-radius: 6px; box-shadow: var(--shadow); }
.brand-name { font-size: 16px; }

.navlinks { display: flex; gap: 14px; align-items: center; }
.navlinks a { color: var(--text); padding: 10px 12px; border-radius: 6px; transition: background .2s ease, color .2s ease; }
.navlinks a:hover { background: var(--surface); }
.navlinks a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
/* Theme toggle */
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--border); background: var(--card); color: var(--text); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.theme-toggle:hover { transform: translateY(-1px); background: var(--surface); }
.theme-toggle i { font-size: 18px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 6px; padding: 10px 16px; font-weight: 600; cursor: pointer; transition: all .2s ease; }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 6px 16px rgba(37,99,235,.25); }
.btn-primary:hover { background: var(--primary-600); transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.hamburger { display: none; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 6px; background: var(--card); align-items: center; justify-content: center; gap: 4px; flex-direction: column; }
.hamburger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; }

/* Navbar additions */
.nav-hours { color: var(--muted); font-size: 13px; white-space: nowrap; }
.donate-marquee { display: inline-block; position: relative; overflow: hidden; height: 40px; min-width: 160px; border-radius: 6px; border: 1px solid var(--border); background: var(--surface); }
.donate-track { display: inline-flex; align-items: center; gap: 24px; position: absolute; white-space: nowrap; will-change: transform; color: var(--primary); font-weight: 800; letter-spacing: .6px; padding: 0 10px; height: 40px; animation: ticker 12s linear infinite; }
.donate-track:hover { animation-play-state: paused; text-decoration: underline; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }



@media (max-width: 900px) {
    .hamburger { display: inline-flex; }
    .navlinks { position: absolute; right: 4%; top: 64px; flex-direction: column; background: var(--card); padding: 10px; border: 1px solid var(--border); border-radius: 6px; box-shadow: var(--shadow); width: min(320px, 92vw); display: none; }
    .navlinks.open { display: flex; }
}

/* Hero / Top carousel */
.mySwiper { width: 100%; height: 380px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); margin: 18px auto; }
.mySwiper swiper-slide { display: grid; place-items: center; font-weight: 700; font-size: 42px; color: white; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.mySwiper swiper-slide.with-image { background: #000; padding: 0; }
.slide-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Section blocks */
section { padding: 28px 0; }
.dis { text-align: center; margin: 10px 0 18px; }
.dis p { color: var(--muted); font-weight: 600; letter-spacing: .3px; }
.dis h1 { font-size: clamp(24px, 3.5vw, 34px); margin-top: 6px; }

/* About preview card */
.pre_link { display: grid; grid-template-columns: 1fr; gap: 18px; }
.pre-link { display: grid; gap: 12px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.pre-link:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); transition: transform .25s ease, box-shadow .25s ease; }
.pre-link .ddd { width: 100%; height: 260px; object-fit: cover; border-radius: 12px; transition: transform .35s ease; }
.pre-link:hover .ddd { transform: scale(1.02); }
.high-link { font-size: 22px; }
.user { color: var(--muted); }

/* Services section */
.pre-link1 h3 { color: var(--primary); letter-spacing: .4px; }
.one-one { display: grid; grid-template-columns: 420px 1fr; align-items: center; gap: 24px; margin-top: 16px; }
.one-one-one img { width: 100%; height: 280px; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); }
.one-one-one { overflow: hidden; border-radius: 16px; }
.one-one-one img:hover { transform: scale(1.03); transition: transform .35s ease; }
.one-two .work-work { font-size: 28px; }
.one-two .work-work2 { color: var(--muted); margin: 8px 0 14px; }
.gett button { 
    border: 0; 
    background: var(--primary); 
    color: #fff; 
    padding: 12px 16px; 
    border-radius: 12px; 
    font-weight: 600; 
    cursor: pointer; 
    transition: background .2s ease;
}
.gett button:hover { 
    background: var(--primary-600); 
}

@media (max-width: 900px) {
    .one-one { grid-template-columns: 1fr; }
}

/* Urgent section cards */
.all { margin-top: 10px; }
.dis1 .press { font-size: 28px; }
.one { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 16px; }
.two, .three, .four { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.two:hover, .three:hover, .four:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); transition: transform .25s ease, box-shadow .25s ease; }
.two .ddd, .three .ddd, .four .ddd { width: 100%; height: 220px; object-fit: cover; border-radius: 12px; transition: transform .35s ease; }
.two:hover .ddd, .three:hover .ddd, .four:hover .ddd { transform: scale(1.02); }
.high { font-size: 18px; }
.one .user { color: var(--muted); font-weight: 600; }
.one button { justify-self: start; border: 0; background: var(--accent); color: #0b2; padding: 10px 14px; border-radius: 10px; font-weight: 700; cursor: pointer; }
.one button:hover { filter: brightness(0.95); transform: translateY(-1px); }
.one button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (max-width: 900px) {
    .one { grid-template-columns: 1fr; }
}

/* Footer spacing helper for future */
footer { padding: 28px 0; color: var(--muted); font-size: 14px; border-top: 1px solid var(--border); }
.site-footer { background: var(--surface); margin-top: 24px; }
.site-footer .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.site-footer h4 { color: var(--text); font-size: 16px; margin-bottom: 10px; }
.site-footer p { color: var(--muted); }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--primary); text-decoration: underline; }
.site-footer .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--border); margin-top: 8px; color: var(--muted); }
@media (max-width: 900px) {
    .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .site-footer .footer-grid { grid-template-columns: 1fr; }
}

/* Utility */
.container > * { max-width: 100%; }
section > .container, header > .container { width: min(1100px, 92%); margin-inline: auto; }

/* Contact page */
.container.contact { display: grid; grid-template-columns: 1fr; padding: 20px 0; }
.contact-us { display: grid; gap: 16px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.contact-us h1 { font-size: clamp(22px, 3vw, 28px); }
.contact-us .img { overflow: hidden; border-radius: 12px; }
.contact-us .img img { width: 100%; height: 280px; object-fit: cover; }

.contact-form { display: grid; gap: 12px; margin-top: 6px; }
.contact-form .field { display: grid; gap: 6px; }
.contact-form label { font-weight: 600; color: var(--text); font-size: 14px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); border-radius: 12px; padding: 12px 14px; font: inherit; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.contact-form .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 700px) { .contact-form .grid { grid-template-columns: 1fr; } }
.contact-form .actions { display: flex; gap: 10px; align-items: center; }
.contact-form .help { color: var(--muted); font-size: 13px; }

/* Buttons normalization */
.btn[disabled], .btn:disabled { opacity: .8; cursor: not-allowed; box-shadow: none; }

/* Remove conflicting body styles */

/* Info Panels Section */
.info-panels-section {
    padding: 40px 0;
    background: var(--surface);
}

.info-panels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.info-panel {
    position: relative;
    padding: 32px 24px;
    border-radius: 16px;
    color: white;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.info-panel.opening-hours {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
}

.info-panel.doctors-timetable {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
}

.info-panel.emergency-cases {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
}

.panel-icon {
    position: relative;
    margin-bottom: 20px;
}

.panel-icon i {
    font-size: 32px;
    color: white;
    position: relative;
    z-index: 2;
}

.panel-bg-icon {
    position: absolute;
    top: -10px;
    left: -10px;
    opacity: 0.1;
    font-size: 80px;
    color: white;
    z-index: 1;
}

.info-panel h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.info-panel p {
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Opening Hours Styles */
.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.hours-item.emergency {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.hours-item .day {
    font-weight: 600;
    color: white;
}

.hours-item .time {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
}

/* Doctors Timetable Button */
.panel-btn {
    background: white;
    color: #1e40af;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: 16px;
}

.panel-btn:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
}

.panel-btn i {
    font-size: 12px;
}

/* Emergency Cases Phone */
.emergency-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    font-size: 20px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.emergency-phone:hover {
    color: rgba(255,255,255,0.8);
    transform: translateY(-2px);
}

.emergency-phone i {
    font-size: 24px;
    color: rgba(255,255,255,0.9);
}

/* Responsive Design */
@media (max-width: 900px) {
    .info-panels-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-panel {
        padding: 24px 20px;
    }
    
    .info-panel h3 {
        font-size: 20px;
    }
}
  
  .whats-float {
      position: fixed;
      transform:translate(108px,0px);
      top:25%;
      right:0;
      width:150px;
      overflow: hidden;
      background-color: #25d366;
      color: #FFF;
      border-radius: 4px 0 0 4px;
      z-index: 10;
      transition: all 0.5s ease-in-out;
      vertical-align: middle
  }
  .whats-float a span {
      color: white;
      font-size: 15px;
      padding-top: 8px;
      padding-bottom: 10px;
      position: absolute;
      line-height: 16px;
      font-weight: bolder;
  }
  
  .whats-float i {
      font-size: 30px;
      color: white;
      line-height: 30px;
      padding: 10px;
      transform:rotate(0deg);
      transition: all 0.5s ease-in-out;
      text-align:center;
  
  }
  
  .whats-float:hover {
      color: #FFFFFF;
      transform:translate(0px,0px);
  }
  
  .whats-float:hover i  {
      transform:rotate(360deg);
  }

  #myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 14px;
    border: 1px solid var(--border);
    outline: none;
    background-color: var(--primary);
    color: #fff;
    cursor: pointer;
    padding: 10px 12px;
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  #myBtn:hover {
    background-color: var(--primary-600);
  }

/* Donate banner styles */
.donate-banner { padding: 28px 0 8px; background: var(--bg); }
.donate-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.donate-word { font-weight: 800; letter-spacing: .5px; color: #6d28d9; }
.donate-word.strong { font-size: clamp(36px, 7vw, 80px); color: #6d28d9; }
.donate-word.outline { font-size: clamp(36px, 7vw, 80px); -webkit-text-stroke: 2px #6d28d9; color: transparent; }
.donate-icon { color: #6d28d9; font-size: clamp(28px, 6vw, 56px); opacity: .9; }

/* Scrolling donate row */
.donate-row-scroller { position: relative; overflow: hidden; height: clamp(56px, 10vw, 96px); }
.donate-row-track { position: absolute; display: inline-flex; align-items: center; gap: 18px; white-space: nowrap; will-change: transform; animation: ticker 18s linear infinite; }
.donate-row-scroller:hover .donate-row-track { animation-play-state: paused; }
/* Scroll-driven horizontal float */
.scroll-float {
    will-change: transform;
    transition: transform .1s linear;
}

@media (prefers-reduced-motion: reduce) {
    .scroll-float { transition: none; transform: none !important; }
    
    /* Disable all animations for users who prefer reduced motion */
    body {
        animation: none !important;
        background: var(--bg) !important;
    }
    
    body::before,
    body::after,
    .floating-particles,
    .particle {
        display: none !important;
    }
    
    [data-theme="dark"] body {
        background: var(--bg) !important;
    }
}
