:root{
  --primary-blue:#263489;
  --accent-red:#ec1d25;
  --text-black:#000000;
  --bg-light:#f4f6f9;
}

/* ===================================== */
/* MAIN CARD */
/* ===================================== */

.materia-card{
  background:#ffffff;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 10px 35px rgba(0,0,0,0.08);
  border:1px solid rgba(38,52,137,0.08);
}

/* ===================================== */
/* TITLE */
/* ===================================== */

.materia-title{
  background:linear-gradient(135deg,var(--primary-blue),#3145b3);
  color:#ffffff;
  padding:22px 30px;
  font-size:34px;
  font-weight:700;
  margin:0;
  position:relative;
}

.materia-title::after{
  content:"";
  position:absolute;
  left:30px;
  bottom:14px;
  width:90px;
  height:4px;
  background:var(--accent-red);
  border-radius:10px;
}

/* ===================================== */
/* DOCTOR SLIDER */
/* ===================================== */

.doctor-slider{
  padding:35px 25px 15px;
}

/* ===================================== */
/* DOCTOR BOX */
/* ===================================== */

.doctor-box{
  position:relative;
  background:#ffffff;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(0,0,0,0.08);
  transition:0.4s ease;
  border:2px solid transparent;
  padding:14px;
}

.doctor-box:hover{
  transform:translateY(-6px);
  border-color:var(--accent-red);
  box-shadow:0 14px 30px rgba(0,0,0,0.12);
}

/* ===================================== */
/* IMAGE FIXED */
/* ===================================== */

.doctor-box img{
  width:100%;
  height:350px;
  object-fit:contain;
  background:var(--bg-light);
  border-radius:16px;
  transition:0.4s ease;
  padding:8px;
}

/* HOVER IMAGE */

.doctor-box:hover img{
  transform:scale(1.03);
}

/* ===================================== */
/* OVERLAY */
/* ===================================== */

.doctor-overlay{
  position:absolute;
  top:14px;
  left:14px;
  right:14px;
  bottom:14px;
  background:rgba(38,52,137,0.72);
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  transition:0.4s ease;
}

.doctor-box:hover .doctor-overlay{
  opacity:1;
  visibility:visible;
}

/* ===================================== */
/* VIEW BUTTON */
/* ===================================== */

.view-btn{
  background:var(--accent-red);
  color:#ffffff;
  padding:12px 28px;
  border-radius:50px;
  text-decoration:none;
  font-size:15px;
  font-weight:700;
  letter-spacing:0.5px;
  transition:0.3s ease;
  box-shadow:0 6px 18px rgba(0,0,0,0.18);
}

.view-btn:hover{
  background:#ffffff;
  color:var(--primary-blue);
  text-decoration:none;
  transform:scale(1.05);
}

/* ===================================== */
/* VISION & MISSION */
/* ===================================== */

.vision-mission-wrap{
  padding:10px 35px 40px;
}

/* COMMON BOX */

.vm-box{
  position:relative;
  background:var(--bg-light);
  border-radius:22px;
  padding:35px 35px 30px;
  margin-top:35px;
  overflow:hidden;
  border-left:6px solid var(--accent-red);
  box-shadow:0 8px 25px rgba(0,0,0,0.06);
}

/* DECORATIVE TOP CORNER */

.vm-box::before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:120px;
  height:120px;
  background:rgba(38,52,137,0.08);
  border-radius:0 0 0 100%;
}

/* ===================================== */
/* VM HEADING */
/* ===================================== */

.vm-heading{
  display:inline-flex;
  align-items:center;
  gap:12px;
  background:var(--primary-blue);
  color:#ffffff;
  padding:12px 26px;
  border-radius:50px;
  font-size:22px;
  font-weight:700;
  margin-bottom:22px;
  box-shadow:0 6px 15px rgba(38,52,137,0.25);
}

.vm-heading span{
  width:34px;
  height:34px;
  background:var(--accent-red);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  color:#fff;
}

/* ===================================== */
/* PARAGRAPH */
/* ===================================== */

.vm-box p{
  color:var(--text-black);
  font-size:16px;
  line-height:1.9;
  margin-bottom:0;
  text-align:justify;
}

/* ===================================== */
/* LIST */
/* ===================================== */

.vm-list{
  margin:0;
  padding-left:22px;
}

.vm-list li{
  color:var(--text-black);
  font-size:15.5px;
  line-height:1.9;
  margin-bottom:14px;
  position:relative;
}

.vm-list li::marker{
  color:var(--accent-red);
}

/* ===================================== */
/* OWL NAVIGATION */
/* ===================================== */

.doctor-slider .owl-nav{
  margin-top:28px;
  text-align:center;
}

.doctor-slider .owl-nav button{
  width:44px;
  height:44px;
  border-radius:50% !important;
  background:var(--primary-blue) !important;
  color:#fff !important;
  margin:0 6px;
  transition:0.3s ease;
  font-size:18px !important;
}

.doctor-slider .owl-nav button:hover{
  background:var(--accent-red) !important;
}

/* ===================================== */
/* OWL DOTS */
/* ===================================== */

.doctor-slider .owl-dots{
  text-align:center;
  margin-top:15px;
}

.doctor-slider .owl-dot span{
  width:12px;
  height:12px;
  margin:5px;
  background:#c7c7c7 !important;
  display:block;
  border-radius:50%;
  transition:0.3s ease;
}

.doctor-slider .owl-dot.active span{
  background:var(--accent-red) !important;
  width:28px;
  border-radius:20px;
}

/* ===================================== */
/* RESPONSIVE */
/* ===================================== */

@media(max-width:992px){

  .doctor-box img{
    height:300px;
  }

}

@media(max-width:768px){

  .materia-title{
    font-size:26px;
    padding:20px;
  }

  .vision-mission-wrap{
    padding:10px 20px 30px;
  }

  .vm-box{
    padding:25px 20px;
  }

  .vm-heading{
    font-size:18px;
    padding:10px 20px;
  }

  .doctor-slider{
    padding:25px 15px 10px;
  }

  .doctor-box{
    padding:10px;
  }

  .doctor-box img{
    height:250px;
  }

}

@media(max-width:576px){

  .materia-title{
    font-size:22px;
  }

  .doctor-box img{
    height:220px;
  }

  .vm-box p,
  .vm-list li{
    font-size:14px;
  }

}