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

.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 10px;
}

.doctor-box{
  position:relative;
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
  transition:0.3s ease;
  border:2px solid transparent;
}

.doctor-box:hover{
  transform:translateY(-5px);
  border-color:var(--accent-red);
}

/* IMAGE */

.doctor-box img{
  width:100%;
  height:280px;
  object-fit:cover;
  transition:0.4s ease;
}

/* OVERLAY */

.doctor-overlay{
  position:absolute;
  inset:0;
  background:rgba(38,52,137,0.70);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  transition:0.4s ease;
}

/* HOVER EFFECT */

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

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

/* VIEW BUTTON */

.view-btn{
  background:var(--accent-red);
  color:#ffffff;
  padding:12px 26px;
  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;
}

/* ===================================== */
/* NEW VISION & MISSION STYLE */
/* ===================================== */

.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);
}

/* TOP DESIGN */

.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%;
}

/* TITLE */

.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 NAV */
/* ===================================== */

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

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

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

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

@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-box img{
    height:240px;
  }

}