:root{
  --primary:#0b5ed7;
  --secondary:#20c997;
  --dark:#0a2540;
  --light:#f5f7fa;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Segoe UI,Arial,sans-serif;
}

body{
  background:#FFF;
  color:#333;
  line-height:1.6;
  overflow-x:hidden;
}

/* HEADER */
header{
  position:sticky;
  top:0;
  z-index:1000;
  background:#fff;
  box-shadow:0 4px 12px rgba(0,0,0,.08);
}

.top{
  background:#2A52BE;
  color:#fff;
  padding:6px 5%;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:10px;
  font-size:.9rem;
}

.top a{
  color:#fff;
  text-decoration:none;
  font-weight:600;
}
.top-icon{
    padding: 0 6px;
}

.navbar{
  padding:6px 4%;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

nav{
  display:flex;
  gap:18px;
}

  .dropdown{
  position:relative;   /* remove relative limitation */
  display:inline-block;
}

/* FULL WIDTH DROPDOWN */
.dropdown-menu{
  display:none;
  position:absolute;     /* attach to viewport */
  top:20px;          /* adjust to match header height */
  left:0;
  background:#FFF;
  color:#333;
  padding:20px 6%;
  /* box-shadow:0 10px 30px rgba(0,0,0,.12); */
  z-index:2000;
  display:none;
  flex-wrap:wrap;
  gap:20px;
  min-width: 300px;
  max-width: 900px;
}

.dropdown-menu a{
  display:block;
  padding:4px 0;
  color:#2A52BE;
}

.dropdown-menu a:hover{
  color:var(--primary);
}

/* Show on hover */
.dropdown:hover .dropdown-menu{
  display:flex;
}

/* For click toggle (if you add .open with JS) */
.dropdown.open .dropdown-menu{
  display:flex;
}
  .dropdown-menu a{display:flex;align-items:center;gap:8px;padding:5px 14px;color:#333;margin:0}
  .dropdown-menu a:hover{background:#f2f5ff}
  .dropdown:hover .dropdown-menu{
    display:block;
    padding: 20px 30px;
  }
  .dropdown.open .dropdown-menu{
    display:block;
    padding: 20px 30px;
  }
  nav a:hover{opacity:.85}

nav a{
  text-decoration:none;
  color:navy;
  font-weight:700;
}

#hamburger{
  display:none;
  font-size:26px;
  background:none;
  border:none;
  cursor:pointer;
}

/* HERO */
.hero{
position:relative;
height:100vh;
overflow:hidden;
}

/* SLIDES */
.slide{
position:absolute;
inset:0;
opacity:0;
transition:opacity 1s ease;
background-size:cover;
background-position:center;
transform:scale(1.1);
}

.slide.active{
opacity:1;
transform:scale(1);
transition:opacity 1s ease, transform 6s ease;
}

/* TEXT LEFT CORNER */
.hero-text{
    position:absolute;
    bottom:150px;
    left:60px;
    max-width:900px;
    background:rgba(0,0,0,0.45);
    padding:10px;
    border-radius:12px;
    color:white;

    opacity:0;
    transform:translateY(40px);
}

/* FADE TEXT AFTER DELAY */
.slide.active .hero-text{
animation:fadeUp 1s ease forwards;
animation-delay:1s;
}

.hero-text h1{
font-size:28px;
margin-bottom:10px;
font-weight: 700;
}

.hero-text p{
font-size:18px;
line-height:1.5;
}

/* ANIMATION */
@keyframes fadeUp{
from{
opacity:0;
transform:translateY(40px);
}
to{
opacity:1;
transform:translateY(0);
}
}

/* NAV BUTTONS */
.slide-nav{
position:absolute;
top:50%;
left:0;
right:0;
display:flex;
justify-content:space-between;
transform:translateY(-50%);
padding:0 20px;
}

.nav-btn{
background:rgba(0,0,0,0.5);
border:none;
color:white;
font-size:28px;
width:50px;
height:50px;
border-radius:50%;
cursor:pointer;
}

.nav-btn:hover{
background:rgba(0,0,0,0.8);
}


.highlight{
      background: #2A52BE;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 50px;
      width:90%;
      margin:  auto;
      border-radius: 10px;
    }
    .item-col{
      display: flex;
      flex-direction: column;
      flex: 1;
      /* border-right: 3px solid #FFF; */
      padding: 20px 40px;
      align-items: center;
      justify-content: center;
    }
    .item-col .title{
      font-size: 18px;
      color: #f3f3f3!important;
      /* margin: 10px; */
    }
    .item-col p{
      text-align: center;
      color: #f3f3f3;
      margin-bottom: 20px;
    }
    .highlight .btn{
      background: #FFF;
      padding: 5px 10px;
      color: #2A52BE;
      width: 100%;
      margin: 5px;
      text-align: center;
      border-radius: 30px;
      border-color: #2A52BE;
    }
.testimonials{
padding:80px 8%;
background:#f5f9ff;
text-align:center;
overflow:hidden;
}

.testimonial-title{
font-size:32px;
color:#0a2a66;
margin-bottom:50px;
}

.testimonial-wrapper{
overflow:hidden;
}

.testimonial-track{
display:flex;
gap:25px;
animation:scroll 25s linear infinite;
}

.testimonial-card{
min-width:300px;
background:white;
padding:30px;
border-radius:8px;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
text-align:left;
}

.testimonial-card p{
font-size:16px;
line-height:1.6;
margin-bottom:20px;
}

.testimonial-card h4{
color:#0a2a66;
margin-bottom:5px;
}

.testimonial-card span{
font-size:14px;
color:#777;
}

/* Auto sliding animation */

@keyframes scroll{
0%{
transform:translateX(0);
}
100%{
transform:translateX(-50%);
}
}

/* Responsive */

@media(max-width:900px){
.highlight{
    flex-direction: column;
    width: 100%;
}
.testimonial-card{
min-width:260px;
}

}

@media(max-width:600px){
.highlight{
    flex-direction: column;
    width: 100%;
}
.testimonial-card{
min-width:90%;
}

}




/* MOBILE */
@media(max-width:768px){
    .hero{
        max-height: 70vh;
    }
    .slide{
        /* max-height: 80vh; */
        background-size:cover;
        background-repeat: no-repeat;
    }
.hero-text{
left:20px;
right:20px;
bottom:40px;
padding:20px;
}

.hero-text h1{
font-size:26px;
}

.hero-text p{
font-size:16px;
}
.highlight{
    flex-direction: column;
    width: 100%;
}
}

/* Department section */

.section{
    padding:40px 10%;
    text-align:center;
    padding-top: 0;
}

.section h2{
font-size:36px;
color:#0c4a6e;
margin-bottom:10px;
}

.section p{
color:#555;
margin-bottom:50px;
}

.departments{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
}

.department-card{
background:white;
padding:35px 25px;
border-radius:12px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
transition:0.35s;
border-top:4px solid #0ea5e9;
}

.department-card:hover{
transform:translateY(-8px);
box-shadow:0 20px 40px rgba(0,0,0,0.12);
}

.department-icon{
font-size:40px;
color:#0ea5e9;
margin-bottom:18px;
}

.department-card h3{
font-size:20px;
margin-bottom:10px;
color:#0c4a6e;
}

.department-card p{
font-size:14px;
color:#666;
line-height:1.6;
}

/* SERVICES SECTION */
.services-section{
padding:80px 30px;
background:#f6f9fc;
text-align:center;
}

.services-title{
font-size:38px;
color:#2A52BE;
margin-bottom:10px;
}

.services-subtitle{
max-width:800px;
margin:auto;
margin-bottom:50px;
font-size:17px;
color:#555;
}

.services-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:25px;
max-width:1300px;
margin:auto;
}

.service-card{
background:white;
padding:30px 22px;
border-radius:14px;
box-shadow:0 5px 18px rgba(0,0,0,0.08);
transition:0.35s;
border-top:4px solid #0b5ed7;
}

.service-card i{
font-size:36px;
color:#0b5ed7;
margin-bottom:15px;
}

.service-card h3{
margin-bottom:10px;
font-size:20px;
}

.service-card p{
font-size:15px;
color:#555;
line-height:1.6;
}

.service-card:hover{
transform:translateY(-8px);
box-shadow:0 12px 30px rgba(0,0,0,0.15);
}

@media(max-width:768px){

.services-title{
font-size:28px;
}

.services-subtitle{
font-size:15px;
}

}


@media(max-width:768px){

.section{
padding:60px 6%;
}

.section h2{
font-size:28px;
}

}


/* ITEMS */
.items{
  background: linear-gradient(135deg, #0b3d91, #0d6efd);
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:30px;
  padding:60px 5%;
}

.item-col{
  flex:1 1 280px;
  max-width:320px;
  text-align:center;
}

.item-col img{
  width:80px;
  border-radius:50%;
}

.item-col h3{
  color:#fff;
  margin:12px 0;
}

.item-col p{
  color:#fff;
  font-size:.95rem;
}

.item-col a{
  display:inline-block;
  margin-top:12px;
  background:#fff;
  color:#0081B2;
  padding:10px 16px;
  border-radius:6px;
  text-decoration:none;
  font-weight:600;
}

/* GRID */
section{
  padding:70px 5%;
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px;
}

.card{
  background:#fff;
  border-radius:12px;
  padding:15px;
  text-align:center;
  box-shadow:0 4px 12px rgba(0,0,0,.05);
}

.card img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:10px;
}

/* FORM */
form{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:15px;
}

form input, form select, form textarea{
  padding:12px;
  border-radius:6px;
  border:1px solid #ccc;
}

form textarea, form button{
  grid-column:1/-1;
}

form button{
  background:var(--primary);
  color:#fff;
  border:none;
  font-weight:600;
  padding:14px;
  cursor:pointer;
}
.btn{border: 1px solid var(--secondary);color:#003;padding:5px 14px;border-radius:8px;
  text-decoration:none;font-weight:700
}

.search-container{
  display:flex;
  justify-content:center;
  padding:0p 5%;
}
.appointment-btn {
    background: linear-gradient(135deg, #0b3d91, #0d6efd);
    color: white;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
}

.appointment-btn i {
    margin-right: 8px;
}

.appointment-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(13, 110, 253, 0.5);
}

.appointment-btn:active {
    transform: scale(0.98);
}

.glass-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 40px;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: 0.3s ease;
}

.glass-btn:hover {
    background: #0d6efd;
    border-color: #0d6efd;
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.4);
}
.cta-btn {
    background: #ffffff;
    color: #0b3d91;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
}

.cta-btn:hover {
    background: #0d6efd;
    color: white;
    transform: translateY(-2px);
}

.search-box{
  width:100%;
  max-width:700px;
  position:relative;
}

.search-box input{
  width:100%;
  padding:16px 50px;
  border-radius:12px;
  border:1px solid #dce3ef;
  font-size:16px;
  outline:none;
  transition:0.3s ease;
  background:#fff;
  box-shadow:0 3px 10px rgba(0,0,0,0.05);
}

.search-box input:focus{
  border-color:#0b5ed7;
  box-shadow:0 0 0 4px rgba(11,94,215,0.12);
}

.search-icon{
  position:absolute;
  left:18px;
  top:50%;
  transform:translateY(-50%);
  font-size:18px;
  color:#6c757d;
  pointer-events:none;
}

/* APP STORE */
.app-row{
  display:flex;
  justify-content:center;
  gap:30px;
  flex-wrap:wrap;
  padding:40px 5%;
}
.disease-row{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.app-row img{
  width:160px;
  max-width:80%;
}
.row{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.white-bg{
  background: #FFF;
}
.equal-col{
  flex: 1;
  padding: 10px;
}
/* FOOTER */
footer{
  background:#2A52BE;
  color:#fff;
  text-align:center;
  padding:25px;
}

/* RESPONSIVE */
@media(max-width:992px){
  nav{
    position:absolute;
    top:70px;
    left:0;
    width:100%;
    background:#fff;
    flex-direction:column;
    display:none;
    padding:20px;
    min-height: 90vh;
  }

  nav.show{
    display:flex;
  }

  #hamburger{
    display:block;
  }

  .top{
    display:none;
  }
  .disease-row{
    flex-direction: column;
    width: 100%;
  }
}

@media(max-width:480px){
  .hero-content{
    padding:25px;
  }
.disease-row{
    flex-direction: column;
    width: 100%;
  }
}
/**/

/* PROFESSIONAL FOOTER */
.main-footer{
  background:#2A52BE; /* Navy Blue */
  color:#fff;
  padding:60px 6% 20px;
}

.footer-container{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:40px;
}

.footer-col h3{
  margin-bottom:20px;
  font-size:18px;
  position:relative;
}

.footer-col h3::after{
  content:"";
  width:40px;
  height:3px;
  background:#20c997;
  display:block;
  margin-top:8px;
}

.footer-col p{
  font-size:14px;
  margin-bottom:10px;
  line-height:1.6;
}

.footer-col ul{
  list-style:none;
  padding:0;
}

.footer-col ul li{
  margin-bottom:10px;
}

.footer-col ul li a{
  color:#fff;
  text-decoration:none;
  font-size:14px;
  transition:0.3s;
}

.footer-col ul li a:hover{
  color:#20c997;
  padding-left:5px;
}

/* SOCIAL LINKS */
.social-icons{
  margin-top:20px;
  display:flex;
  gap:15px;
  flex-wrap:wrap;
}

.social-icons a{
  background:rgba(255,255,255,0.1);
  padding:8px 12px;
  border-radius:6px;
  font-size:13px;
  color:#fff;
  text-decoration:none;
  transition:0.3s;
}

.social-icons a:hover{
  background:#20c997;
  color:#001f3f;
}

/* BOTTOM */
.footer-bottom{
  text-align:center;
  margin-top:40px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,0.2);
  font-size:13px;
}

/* MOBILE */
@media(max-width:768px){
  .row{
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }
  .equal-col img{
    width: 100%;
    margin: auto;
  }
  .equal-col{
    width: 100%;
  }

  .main-footer{
    padding:40px 6% 20px;
  }
.disease-row{
    flex-direction: column;
    width: 100%;
  }
}

/*Disease Grid */
.disease-library{
  padding:70px 5%;
  background:#f5f7fa;
}

.alphabet-filter{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:30px;
  justify-content:center;
}

.alpha-btn{
  padding:10px;
  height: 45px;
  width: 45px;
  text-align: center;
  text-decoration: none;
  border-radius:5%;
  border:1px solid #0b5ed7;
  background:#fff;
  color:#0b5ed7;
  cursor:pointer;
  font-weight:800;
  transition:.3s;
}

.alpha-btn:hover,
.alpha-btn.active{
  background:#0b5ed7;
  color:#fff;
}

.disease-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
}

.disease-card{
  background:#fff;
  padding:18px;
  border-radius:12px;
  box-shadow:0 4px 12px rgba(0,0,0,.06);
}

.disease-card h4{
  color:#0b5ed7;
  margin-bottom:8px;
}

.disease-card p{
  font-size:14px;
  color:#555;
}
hr{
    border: none; /* Removes the default border */
    height: 2px; /* Sets the thickness of the line */
    background-color: #f3f3f3;
}

/* Mobile */

@media(max-width:768px){

    .menu-toggle{
        display:block;
    }

    .nav-menu{
        display:none;
        flex-direction:column;
        position:absolute;
        top:80px;
        left:0;
        width:100%;
        padding:20px;
        border-top: 1px solid #f3f3f3;
    }

    .nav-menu.show{
        display:flex;
    }

    .dropdown-menu{
        position:static;
        padding-left:15px;
    }

}


/* BLOG STYLE STARTS */
.blog-container{
max-width:1000px;
margin:auto;
padding:20px;
font-family: 'Segoe UI', sans-serif;
}

/* HERO */

.blog-hero{
position:relative;
border-radius:10px;
overflow:hidden;
margin-bottom:30px;
}

.hero-img{
width:100%;
height:420px;
object-fit:cover;
}

.hero-overlay{
position:absolute;
bottom:0;
left:0;
width:100%;
padding:40px;
background:linear-gradient(transparent,rgba(0,0,0,0.8));
color:white;
}

.hero-overlay h1{
font-size:36px;
margin-bottom:10px;
}

.blog-meta{
display:flex;
gap:20px;
font-size:14px;
opacity:.9;
}

/* BLOG CONTENT */

.blog-content{
font-size:18px;
line-height:1.8;
color:#444;
}

.blog-content h2{
margin-top:25px;
color:#0b4fa3;
}

.blog-content ul{
padding-left:20px;
}

.blog-content li{
margin-bottom:8px;
}

/* RELATED POSTS */

.related-posts{
margin-top:50px;
}

.related-posts h3{
margin-bottom:20px;
}

.related-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:20px;
}

.related-card{
text-decoration:none;
background:#fff;
border-radius:10px;
overflow:hidden;
box-shadow:0 5px 15px rgba(0,0,0,0.08);
transition:0.3s;
}

.related-card:hover{
transform:translateY(-5px);
}

.related-card img{
width:100%;
height:150px;
object-fit:cover;
}

.related-card h4{
padding:10px;
color:#222;
}

.related-card p{
padding:0 10px 15px;
font-size:14px;
color:#666;
}

/* MOBILE */

@media(max-width:768px){

.hero-img{
height:260px;
}

.hero-overlay h1{
font-size:26px;
}

.blog-content{
font-size:16px;
}

}
/*BLOG ENDS*/


/*///////////////////////////*/
.grid-3{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}
