:root{
--bg: #f7fbff;
--surface: #ffffff;
--muted: #6b7280;
--accent: #640000;
--accent-2: #0a8d6e;
--radius: 12px;
--max-width: 1100px;
--container-padding: 1.25rem;
--shadow: 0 6px 20px rgba(11,110,253,0.06);
font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
color-scheme: light;
}

/* Reset-ish */
* { 

  box-sizing: border-box;
 
 }
html,body { height:100%; 
 /* background-color: #1d2b64; */
}
body{
margin:0;
background: linear-gradient(180deg, var(--bg), #ffffff 60%);
color:#111827;
-webkit-font-smoothing:antialiased;
-moz-osx-font-smoothing:grayscale;
line-height:1.45;
font-size:16px;
/* z-index: 999; */

}


* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* Layout helpers */
.container{
width: min(92%, var(--max-width));
margin: 0 auto;
padding: 1.5rem var(--container-padding);
}

.header-inner{
display:flex;
gap:1rem;
align-items:center;
justify-content:space-between;
padding:0.6rem 0;
}
.brand{ 
  display:flex; 
  align-items:center; 
  gap:.6rem; 
  text-decoration:none; 
  color:inherit; 
}
.logo{ 
  border-radius:6px; 
}
.brand-text{ 
  font-weight:600; 
  letter-spacing:0.1px;
 }

/* Nav */
.main-nav ul{ 
  list-style:none;
   display:flex; 
   gap:1rem; 
   margin:0; 
   padding:0; 
   align-items:center;
  }

.main-nav a{ 
  color:var(--muted);
   text-decoration:none; 
   padding:0.35rem 0.45rem; 
   border-radius:8px; 
   font-weight:500;
   }

.main-nav a:hover{ 
  color:var(--accent); 
  background: rgba(11,110,253,0.06); 
}

.cta{ 
  background:var(--accent); 
  color:#fff; 
  padding:0.5rem 0.9rem; 
  border-radius:8px; 
  text-decoration:none; 
  font-weight:600;
}

.cta:hover{ 
  transform:translateY(-1px); 
  box-shadow: var(--shadow); 
}

.menu-toggle{ 
  display:none; 
  background:transparent; 
  border:0; 
  font-size:1.2rem; 
  padding:8px; 
}

/* Hero */
.hero{ 
  padding:3rem 0;
 }

.hero-grid{ 
  display:grid; 
  grid-template-columns: 1fr 420px; 
  gap:2rem; 
  align-items:center; 
}
.hero-copy h1
{ 
  font-size:clamp(1.6rem, 2.4vw, 2.2rem);
   margin:0 0 .6rem; 
  }

.kicker{ color:var(--muted); margin-top:0.25rem; margin-bottom:1rem; }
.hero-copy p{ color:var(--muted); margin-bottom:1rem; max-width:54ch; }

.btn{ display:inline-block; padding:0.6rem 0.95rem; border-radius:10px; text-decoration:none; font-weight:600; background:var(--accent); color:#fff; }
.btn:hover{ transform:translateY(-2px); box-shadow: var(--shadow); }
.btn-outline{ background:transparent; border:1px solid rgba(11,110,253,0.12); color:var(--accent); padding:0.55rem 0.9rem; }

/* Cards grid */
.cards-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap:1rem; margin-top:1.25rem; }
.card{ background:var(--surface); padding:1rem; border-radius:12px; box-shadow: 0 6px 18px rgba(14,23,44,0.04); }
.card h3{ margin:.5rem 0 0.4rem; }
.card p{ margin:0; color:var(--muted); }
.card-icon{ font-size:1.6rem; }

.banner-container {
  /* position: sticky; */
  width: 100%;
  max-width: 1400px;
  max-height: 450px;
  /* max-width: 100%; */
  /* margin: 20px auto; */
  overflow: hidden;
  /* border-radius: 10px; */
  /* box-shadow: 0 4px 10px rgba(0,0,0,0.2); */
}


.banner-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 500px;
}

.banner-slide {
  min-width: 100%;
  box-sizing: border-box;
}


.banner-slide img {
  width: 100%;
 height : auto;

}

.banner-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  border: none;
  color: #fff;
  font-size: 40px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: background 0.3s;
}

.banner-btn:hover {
  background: rgba(0,0,0,0.8);
}

.left-btn {
  left: 10px;
}

.right-btn {
  right: 10px;
}


/* Departments and Doctors */
.dept-list{ list-style:none; padding:0; margin:0; display:grid; gap:.6rem; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); }

.doctors-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap:1rem; margin-top:1rem; }
.doctor{ background:var(--surface); padding:0.9rem; border-radius:12px; display:flex; gap:1rem; align-items:center; box-shadow:var(--shadow); }
.avatar{ font-size:2rem; }

/* Appointment */
.appointment-grid{ 
  display:grid; 
  grid-template-columns: 1fr 420px; 
  gap:1.25rem; 
  align-items:start; 
}
.appointment-form{ 
  background:var(--surface); 
  padding:1rem; 
  border-radius:12px; 
  box-shadow:var(--shadow);
}
.form-row{ 
  margin-bottom:0.75rem; 
  display:flex; 
  flex-direction:column; 
}
label{ 
  font-weight:600; 
  margin-bottom:0.35rem; 
  font-size:0.95rem; 
  color:#0f172a; 
}
input, select, textarea{
border:1px solid rgba(228, 233, 243, 0.08); 
padding:0.6rem 0.7rem; 
border-radius:8px; 
font-size:0.95rem;
background:transparent;
}
input:focus, select:focus, textarea:focus{ 
  outline:3px solid rgba(11,110,253,0.08); 
  border-color:var(--accent); 
}
.form-actions{ 
  display:flex; 
  gap:0.6rem; 
  margin-top:0.6rem; 
}

/* Contact */
.contact-grid{ 
  display:grid; 
  grid-template-columns: 1fr 320px; 
  gap:1rem; 
  align-items:start; 
}
.map-placeholder .map-box{ 
  min-height:180px; 
  border-radius:10px; 
  background:linear-gradient(180deg,#e9f6ff,#f6fbff); 
  display:flex; align-items:center; 
  justify-content:center; 
  color:var(--muted);
   border:1px dashed rgba(229, 237, 255, 0.04);
   }


.footer-inner{
  display:flex; 
  justify-content:space-between; 
  align-items:center;
 gap:1rem; flex-wrap:wrap;

 }

.social{ 
  list-style:none;
  margin:0; 
  padding:0; 
  display:flex; 
  gap:0.6rem; 
}

.social a{
  text-decoration:none; 
  color:var(--muted); 
  font-weight:600; 
}


.muted{ 
  color:var(--muted); 
}


@media (max-width:980px){
.hero-grid{ grid-template-columns: 1fr; }
.appointment-grid, .contact-grid, .header-inner{ grid-template-columns:1fr; }
.appointment-grid{ grid-template-columns:1fr; }
.contact-grid{ grid-template-columns:1fr; }
.main-nav{ display:none; }
.menu-toggle{ display:block; color: #fff; }
.hero{ padding-top:2rem; padding-bottom:2rem; }
.hero-image{ display:none; }
.appointment-grid{ gap:1rem; }
.appointment-form{ width:100%; }
.cta{ display:none; }
.mobile-nav{ background:#fff; padding:0.5rem 1rem; border-top:1px solid rgba(15,23,42,0.04); }
.mobile-nav ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:.4rem; }
.mobile-nav a{ display:block; padding:0.6rem; border-radius:8px; text-decoration:none; color:var(--muted);}
}

/* Smaller phones */
@media (max-width:420px){
:root{ --container-padding: 1rem; }
.hero-copy h1{ font-size:1.5rem; }
.card{ padding:0.85rem; }
}

.na-v2 { 
  background-color: #0b1641;
  /* background-color: #1d2b64; */
}
.gdh { 
  color: #fff;
}
.av {
 
  padding: 0;
}

.sec1 {
  /* transition: width 0.5s, height 2s, background-color 2s, transform 2s; */
   /* transition-timing-function: ease; */
   background-color: #1d2b64;
   color: #fff;
    border-radius: 5px;
  transition: background-color 0.3s ease-out, transform 0.3s ease-out;
 /* text-align: justify; */
}

.sec1:hover {
   background-color: lightblue;
  transform: scale(1.1);
  
}

.sec {
  border-radius: 2px solid black;
  background-color: #0e1a4a;
  color: #fff;

}

.text-3xl { 
  padding-bottom: 15px;
}
.Dr{
  
    border-radius: 5px;
  transition: background-color 0.3s ease-out, transform 0.3s ease-out;
padding: 0px;
}
.Dr:hover{
    /* background-color: lightblue; */
  transform: scale(1.1);
}

.art {
  transition: background-color 0.4s ease-out, transform 0.4s ease-out;
padding: 10px;
}

.art:hover {
  transform: scale(1.1);
}
.art1 {
   transition: background-color 0.4s ease-out, transform 0.4s ease-out;
}

.art1:hover {
  transform: scale(1.1);
}

.bt-n { 
margin: 10px;
background-color: #0e1a4a;
border-radius: 5px;
}

.txt{
  color: gray;
  
}
/* .b-t-n{
  box-sizing: calc(5px);
} */