/* HERO */

.gallery-hero{
  position: relative;
    padding: 120px 50px 80px;
    background: linear-gradient(
        rgba(255,255,255,0.88),
        rgba(255,255,255,0.88)
    ),
    url("doctor-bg.jpg");
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.gallery-hero .overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.6);
}

.gallery-hero-content{
  position:relative;
  z-index:2;
  color:#fff;
  max-width:800px;
  padding:20px;
}

.gallery-hero-content h1{
  font-size:4rem;
  margin-bottom:20px;
  font-weight:800;
}

.gallery-hero-content h1 span{
  color:#3b82f6;
}

.gallery-hero-content p{
  font-size:1.1rem;
  line-height:1.8;
  opacity:0.9;
}

.hero-tag{
  display:inline-block;
  background:#2563eb;
  padding:10px 18px;
  border-radius:50px;
  margin-bottom:20px;
  font-size:0.95rem;
}

/* SECTION */

.gallery-section{
  padding:100px 0;
  background:#f8fafc;
}

.container{
  width:90%;
  max-width:1200px;
  margin:auto;
}

.section-header{
  text-align:center;
  margin-bottom:60px;
}

.section-header h2{
  font-size:2.8rem;
  margin:15px 0;
}

.section-header h2 span{
  color:#2563eb;
}

.section-header p{
  color:#64748b;
  max-width:700px;
  margin:auto;
}

.section-tag{
  display:inline-block;
  background:#dbeafe;
  color:#2563eb;
  padding:8px 16px;
  border-radius:50px;
  font-weight:600;
}

/* GALLERY GRID */

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:30px;
}

.gallery-item{
  position:relative;
  overflow:hidden;
  border-radius:20px;
  cursor:pointer;
  box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

.gallery-item img{
  width:100%;
  height:320px;
  object-fit:cover;
  transition:0.5s ease;
}

.gallery-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(0,0,0,0.8),transparent);
  display:flex;
  align-items:flex-end;
  padding:25px;
  opacity:0;
  transition:0.4s;
}

.gallery-overlay h3{
  color:#fff;
  font-size:1.3rem;
}

.gallery-item:hover img{
  transform:scale(1.1);
}

.gallery-item:hover .gallery-overlay{
  opacity:1;
}

/* VIDEO SECTION */

.video-section{
  padding:100px 0;
  background:#0f172a;
  color:#fff;
}

.video-content{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

.video-text h2{
  font-size:3rem;
  margin:20px 0;
}

.video-text h2 span{
  color:#3b82f6;
}

.video-text p{
  line-height:1.8;
  opacity:0.85;
  margin-bottom:30px;
}

.btn-primary{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 26px;
  background:#2563eb;
  color:#fff;
  text-decoration:none;
  border-radius:12px;
  font-weight:600;
  transition:0.3s;
}

.btn-primary:hover{
  background:#1d4ed8;
}

.video-box{
  height:350px;
  border-radius:20px;
  background:url("../images/video-thumb.jpg") center/cover no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
}

.video-box::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.4);
}

.video-box i{
  position:relative;
  z-index:2;
  width:90px;
  height:90px;
  background:#fff;
  color:#2563eb;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:2rem;
}

/* FOOTER */

footer{
  background:#020617;
  color:#cbd5e1;
  padding:70px 0 20px;
}

.footer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:40px;
  margin-bottom:50px;
}

.footer-links{
  list-style:none;
  padding:0;
}

.footer-links li{
  margin-bottom:12px;
}

.footer-links a{
  color:#cbd5e1;
  text-decoration:none;
}

.footer-bottom{
  text-align:center;
  border-top:1px solid rgba(255,255,255,0.1);
  padding-top:20px;
  font-size:0.95rem;
}

/* RESPONSIVE */

@media(max-width:768px){

  .gallery-hero-content h1{
    font-size:2.5rem;
  }

  .video-content{
    grid-template-columns:1fr;
  }

  .video-text h2{
    font-size:2rem;
  }

}