/* Body */
:root {
  --primary-color: #28a745;       /* Main theme color */
  --primary-hover: #218838;       /* Hover color for buttons, icons */
  --secondary-color: #d4edda;     /* Light green / accents */
  --text-color: #343a40;          /* Main text color */
  --background-color: #f8f9fa;    /* Body background */
}
body {
  font-family: "Inter", sans-serif;
  background-color: #f8f9fa;
  color: #343a40;
}
p{
  font-size: 18px;
}

.top-bar {
  background: #0b7623; /* green */
  padding: 8px 0;
  font-size: 14px;
  color: #fff;
}
.social-media{
  margin: 0;
  padding: 0;
  text-align: right; 
}
.social-media i {
 font-size: 22px;
 color: #fff;
 margin-left:5px;
}
.site-logo {
  height: 70px;      
  width: auto;
}

@media (min-width: 992px){
    .navbar .dropdown:hover .dropdown-menu{
        display:block;
        margin-top:0;
    }
}

/* Mobile adjustment */
@media (max-width: 768px) {
  .site-logo {
    height: 45px;
  }
}

.offcanvas {
    width: 280px;
}

.nav-link {
    font-weight: 500;
    color: #333;
    transition: 0.3s;
}

.nav-link:hover {
    background: #f5f5f5;
    color: #0b7623;
    border-radius: 6px;
}


.dropdown-item:hover {
    color: #0b7623;
    background: transparent;
}

.bi-chevron-down {
    transition: transform 0.3s;
}

a[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
}

.navbar {
  background: #ffffff;
}

.navbar .navbar-brand {
  color: #28a745;
}

.navbar li{
padding-right: 10px;;
}

.navbar .nav-link {
  color: #343a40;
  transition: color 0.3s ease;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.navbar .nav-link:hover {
  color: #28a745;
}

/* Active menu */
.navbar .nav-link.active {
  color: #28a745;
  position: relative;
}

.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background: #28a745;
  left: 0;
  bottom: -6px;
  border-radius: 2px;
}

.dropdown-item a{
color: #000;
background:#fff;
}



/* Active (clicked/selected) dropdown item */
.dropdown-item.active,
.dropdown-item:active {
    background-color: #28a745 !important; /* green background */
    color: #fff !important; /* white text */
}

/* Optional: keep hover green too */
.dropdown-item:hover {
    background-color: #28a745;
    color: #fff;
}


.btn-appointment{
  font-size: 17px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 30px;
}



.hero-slide {
  height: 90vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

@media screen and (min-width: 200px) and (max-width:650px) {

.hero-slide {
  height: 30vh !important;
  background-size: cover;
  background-position: center;
  position: relative;
}
}

@media screen and (min-width: 651px) and (max-width:1023px) {

.hero-slide {
  height: 40vh !important;
  background-size: cover;
  background-position: center;
  position: relative;
}
}

.carousel-item {
  transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

/* Force smooth sliding direction */
.carousel-item-next.carousel-item-start,
.active.carousel-item-end {
  transform: translateX(100%);
}

.carousel-item-prev.carousel-item-end,
.active.carousel-item-start {
  transform: translateX(-100%);
}

.carousel-item.active {
  transform: translateX(0);
}



.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding-top: 180px;
  max-width: 650px;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.hero-content p {
  font-size: 1.1rem;
  color: #eafff0;
  margin-top: 15px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.carousel-control-prev,
.carousel-control-next {
  width: 55px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--primary-color);
  border-radius: 50%;
  padding: 15px;
  background-size: 50%;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: var(--primary-hover);
}

.btn-primary {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
}

.btn-primary:hover {
  background-color: #218838;
  border-color: #218838;
}

.social-fixed a {
  display: block;
  background: #28a745;
  color: #fff;
  padding: 15px;
  margin: 8px 0;
  border-radius: 50%;
  text-align: center;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-fixed a:hover {
  background: #218838;
  transform: scale(1.1);
}

.service-card {
  background: #fff;
  padding: 32px 28px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card h3{
font-size: 22px;
font-weight: 800;

}

.service-card p{
font-size: 18px;
line-height: 22px;
letter-spacing: -0.5px;

}

.service-card i {
  font-size: 60px;
  color: #28a745;
  margin-bottom: 15px;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-list li {
  margin-bottom: 10px;
  background: #28a745;
  padding-left:15px;
  color: #fff;
}

.service-list li a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  padding: 10px 12px;
  display: block;
  border-radius: 6px;
  transition: 0.3s ease;
}

.service-list li:before {
    position: absolute;
    display: inline-block;
    vertical-align: top;
    content: '\203A';
    margin: 3px 20px 0 -5px;
    font-size: 24px;
    color: #fff;
    
}




/*
.service-list a:hover,
.service-list a.active {
  background: #28a745;
  color: #fff;
}
  */

ul li {
  margin-bottom: 6px;
}

.doctor-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.doctor-img-wrap {
  overflow: hidden;
  width: 100%;
  height: 260px;
}

.doctor-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.doctor-card:hover .doctor-img-wrap img {
  transform: scale(1.05);
}

.doctor-card .btn {
  margin-top: 10px;
  background-color: #28a745;
  border-color: #28a745;
  padding: 8px 18px;
  border-radius:30px;;
  font-weight: 700;
}

.doctor-card .btn:hover {
  background-color: #218838;
}

.appointment-form{
 background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.about-section {
  background: #f6fffb;
}

.about-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 128, 96, 0.15);
}

.about-img img {
  transition: transform 0.4s ease;
}

.about-img:hover img {
  transform: scale(1.05);
}

.section-subtitle {
  color: var(--theme-color);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 10px 0 15px;
  color: #0f3d2e;
}

.about-content p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

.btn-theme {
  background: var(--theme-color);
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-theme:hover {
  background: #0b8f6a;
  color: #fff;
  transform: translateY(-3px);
}

.department-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 50px 20px;
  text-align: center;
  height: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
}

.department-card i {
  font-size: 70px;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: inline-block;
  transition: transform 0.35s ease;
}

.department-card h5 {
  font-weight: 800;
  margin-bottom: 15px;
}

.department-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
}

.department-card:hover i {
  transform: scale(1.2) rotate(5deg);
}

.department-card .btn-outline-success {
  border-color: var(--primary-color);
  color: var(--primary-color);
  border-radius: 30px;
  padding: 5px 15px;
}

.department-card .btn-outline-success:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.page-header {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  padding: 40px 0;
}

.doctor-card {
  transition: all 0.4s ease;
  padding-bottom: 25px !important;
}

.doctor-card h5{
  font-weight: 800;
  font-size:20px;
}

.doctor-card img {
  max-height: 250px;
  object-fit: cover;
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.3);
}

.doctor-profile-card {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.25);
}

.doctor-profile-card img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 12px;
}

.doctor-profile-card .text-details {
    color: #000;
    font-weight: 700;
    font-size: 16px;
}

.doctor-info {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.doctor-info li {
  font-size: 14px;
  margin-bottom: 8px;
}

.doctor-info i {
  color: var(--theme-color);
  margin-right: 8px;
}

.doctor-details-content{
  padding: 0 0 0 20px;
}
.doctor-details-content h3 {
  color: var(--theme-color);
  margin-top: 25px;
  font-weight: 700;;
}

.doctor-details-content h4 {
  color: var(--theme-color);
  margin-top: 30px;
  font-weight: 600;;
  
}

.doctor-details-content p {
  font-size: 18px;
}

.doctor-details-content li {
  font-size: 18px;
}

.specialization-list {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.specialization-list li {
  background: #eafff3;
  color: #0f9f6e;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 15px;
}

.opd-table thead {
  background-color: #1fa97c; /* theme green */
  color: #ffffff;
}

.opd-table thead th {
  font-weight: 700;
  font-size: 16px;
  padding: 14px;
}

.opd-table tbody td {
  font-size: 15px;
  padding: 12px;
}

.opd-table tbody tr:hover {
  background-color: #f2fbf8;
  transition: 0.3s ease;
}

.appointment-modal {
  border-radius: 16px;
}

.appointment-modal .modal-header {
  background: linear-gradient(135deg, #1fa97c, #168f6a);
  color: #fff;
  border-radius: 16px 16px 0 0;
}

.appointment-modal .modal-title {
  font-size: 20px;
}

.form-control,
.form-select {
  border-radius: 10px;
  padding: 10px 14px;
}

.form-control:focus,
.form-select:focus {
  border-color: #1fa97c;
  box-shadow: 0 0 0 0.2rem rgba(31, 169, 124, 0.25);
}

.book-btn {
  border-radius: 30px;
  padding: 10px 26px;
  font-weight: 600;
}

.blog-card img {

  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-card h5 {
  line-height: 1.4;
}

.pagination .page-link {
  color: #28a745;
}

.pagination .active .page-link {
  background-color: #28a745;
  border-color: #28a745;
}

blockquote {
  background: #f8fffb;
}

blockquote p {
  font-size: 16px;
}

ul li {
  margin-bottom: 6px;
}

.gallery-img {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.05);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(22, 163, 74, 0.85);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s ease;
}

.gallery-nav:hover {
  background: #16a34a;
}

.gallery-nav.prev {
  left: 20px;
}

.gallery-nav.next {
  right: 20px;
}

.blog-main-card{
background:#fff;
padding:30px;
border-radius:14px;
box-shadow:0 12px 30px rgba(0,0,0,0.08);
}

.blog-featured-img{
width:100%;
border-radius:12px;
margin-bottom:20px;
}

.blog-meta{
font-size:14px;
color:#777;
margin-bottom:10px;
}

.blog-meta span{
margin-right:20px;
}

.blog-meta i{
color:#28a745;
margin-right:5px;
}

.blog-title{
font-weight:800;
margin-bottom:20px;
font-size:30px;
}

.blog-content p{
font-size:18px;
line-height:26px;
color:#444;
}

.blog-content h4{
color:#28a745;
font-weight:700;
margin-top:30px;
}

.blog-content blockquote{
background:#f5fff7;
border-left:4px solid #28a745;
padding:20px;
font-style:italic;
margin:25px 0;
border-radius:8px;
}

.blog-tags{
margin-top:25px;
}

.blog-tags span{
font-weight:700;
margin-right:10px;
}

.blog-tags a{
background:#28a745;
color:#fff;
padding:5px 12px;
border-radius:20px;
font-size:14px;
text-decoration:none;
margin-right:6px;
}

.blog-tags a:hover{
background:#218838;
}

.blog-grid-section{
background:#f8f9fa;
}

.blog-card-modern{
background:#fff;
border-radius:14px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
transition:all .35s ease;
height:100%;
display:flex;
flex-direction:column;
}

.blog-card-modern:hover{
transform:translateY(-10px);
box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

.blog-img{
position:relative;
overflow:hidden;
}

.blog-img img{
width:100%;
height:240px;
object-fit:cover;
transition:transform .5s ease;
}

.blog-card-modern:hover img{
transform:scale(1.08);
}

.blog-category{
position:absolute;
bottom:15px;
left:15px;
background:#28a745;
color:#fff;
font-size:13px;
padding:6px 12px;
border-radius:20px;
font-weight:600;
}

.blog-content{
padding:0px 0;
flex-grow:1;
display:flex;
flex-direction:column;
}

.blog-content-grids{
padding:0px 20px 25px 20px;
}

.blog-meta{
font-size:13px;
color:#777;
margin-bottom:15px;
margin-top:15px;
}

.blog-meta span{
margin-right:12px;
}

.blog-meta i{
color:#28a745;
margin-right:4px;
}

.blog-title{
font-weight:700;
font-size:20px;
line-height:1.4;
}

.blog-title h1{
font-weight:700;
font-size:30px;
line-height:1.3;
}

.blog-content h2{
font-weight:700;
font-size:24px;
padding-top:15px;
line-height:1.4;
}

.blog-content h3{
font-weight:700;
font-size:22px;
padding-top:15px;
line-height:1.2;
}

.blog-content p{
font-size:16px;
padding-top:10px;
line-height:24px;
}

.blog-content li{
font-size:16px;
line-height:20px;
}

.blog-excerpt{
font-size:15px;
color:#666;
margin-bottom:18px;
flex-grow:1;
}

.blog-btn{
display:inline-block;
font-weight:600;
font-size:14px;
color:#28a745;
text-decoration:none;
}

.blog-btn i{
margin-left:6px;
transition:transform .3s;
}

.blog-btn:hover{
color:#218838;
}

.blog-btn:hover i{
transform:translateX(4px);
}

.sidebar-card{
background:#fff;
padding:25px;
border-radius:14px;
box-shadow:0 12px 30px rgba(0,0,0,0.08);
margin-bottom:25px;
}

.sidebar-title{
font-weight:700;
margin-bottom:25px;
color: #28a745;
}

.author-img{
width:110px;
height:110px;
border-radius:50%;
object-fit:cover;
margin-bottom:15px;
}

.author-title{
color:#28a745;
font-weight:600;
}

.category-list{
list-style:none;
padding:0;
}

.category-list li{
margin-bottom:10px;
border-bottom: 1px solid #ccc;
padding-bottom: 10px;
padding-left: 20px;
}

.category-list li:before {
    position: absolute;
    display: inline-block;
    vertical-align: top;
    content: '\203A';
    margin: -7px 20px 0 -15px;
    font-size: 24px;
    color: #000;
    
}

.category-list a{
text-decoration:none;
color:#444;
display: inline-block;
font-weight:500;
transition: all 0.3s ease;
}

.category-list a:hover{
color:#28a745;
transform: translateX(4px);
}

.recent-post{
display:flex;
gap:12px;
margin-bottom:18px;
border-bottom: 1px solid #ccc;
padding-bottom: 10px;
color: #28a745;
}

.recent-post img{
width:70px;
height:60px;
object-fit:cover;
border-radius:6px;
}

.recent-post a{
font-weight:600;
color:#333;
text-decoration:none;
font-size:15px;
}

.recent-post span{
font-size:12px;
color:#777;
}

#backToTop {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  opacity: 0.6;               
  visibility: visible;
  transform: translateY(0);
  transition: all 0.35s ease;
  z-index: 999;
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.45);
}

#backToTop.show {
  opacity: 1;
}

#backToTop:hover {
  opacity: 1;
  transform: translateY(-6px) scale(1.05);
  background: linear-gradient(135deg, #0f9f4a, #16a34a);
}

.footer {
  background: linear-gradient(135deg, #0f9f6e, #16a34a);
  color: #eafff5;
  padding: 60px 0 40px 0;
}

.footer h5 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 18px;
}

.footer p {
  font-size: 14px;
  line-height: 1.7;
}

.footer ul {
  list-style: none;
  padding: 0 0 0 18px;
  margin: 0;
}

.footer ul li {
  margin-bottom: 6px;
}

.footer ul li a {
  color: #eafff5;
  text-decoration: none;
  font-size: 15px;
  display: inline-block;
  transition: all 0.3s ease;
}

.footer ul li a:hover {
  color: #ffffff;
  transform: translateX(6px);
}

footer ul li:before {
    position: absolute;
    display: inline-block;
    vertical-align: top;
    content: '\203A';
    margin: -6px 20px 0 -15px;
    font-size: 24px;
    color: #e1e2e5;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: 50%;
  margin-right: 8px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #ffffff;
  color: #16a34a;
  transform: translateY(-4px);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.18);
  padding: 16px 0;
  margin-top: 40px;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
}

.footer-bottom a {
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-buttons .btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

/* Colors */
.btn.fb { background: #3b5998; }
.btn.x { background: #000000; }
.btn.pin { background: #bd081c; }
.btn.email { background: #6c757d; }
.btn.share { background: #8bc34a; border: none; cursor: pointer; }

/* Hover */
.share-buttons .btn:hover {
    opacity: 0.9;
}
/* ===== CARD ===== */
.video-card {
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* ===== THUMBNAIL ===== */
.video-thumb {
    position: relative;
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    display: block;
    transition: 0.4s ease;
}

.video-card:hover img {
    transform: scale(1.08);
}

/* ===== OVERLAY ===== */
.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: 0.3s;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

/* ===== PLAY BUTTON ===== */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 65px;
    height: 65px;
    background: #ff0000;
    border-radius: 50%;
    color: #fff;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.video-card:hover .play-button {
    transform: translate(-50%, -50%) scale(1);
}

/* ===== TITLE ===== */
.video-info {
    padding: 12px 15px;
}

.video-info h6 {
    margin: 0;
    font-weight: 600;
}

/* ===== EMPTY STATE ===== */
.video-empty {
    text-align: center;
    padding: 80px 0;
    color: #888;
}

/* ===== MODAL ===== */
.video-modal-wrapper {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.video-modal-content {
    position: relative;
    width: 80%;
    max-width: 900px;
}

.video-modal-content iframe {
    width: 100%;
    height: 450px;
    border-radius: 10px;
}

/* ===== CLOSE BUTTON ===== */
.video-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: white;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 5px;
}

/* ===== NAV BUTTONS ===== */
.video-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    border-radius: 50%;
}

.video-nav.prev {
    left: -60px;
}

.video-nav.next {
    right: -60px;
}

/* ===== SECTION ===== */
.gallery-section {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* ===== TITLE ===== */
.gallery-title {
    font-weight: 600;
    font-size: 18px;
    color: #333;
}

/* ===== CARD ===== */
.gallery-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ===== IMAGE ===== */
.gallery-img {
    position: relative;
    overflow: hidden;
}

.gallery-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: 0.4s ease;
}

/* ===== HOVER ZOOM ===== */
.gallery-card:hover img {
    transform: scale(1.08);
}

/* ===== OVERLAY ===== */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.gallery-overlay span {
    color: #fff;
    font-size: 14px;
    background: rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 20px;
}

/* SHOW OVERLAY */
.gallery-card:hover .gallery-overlay {
    opacity: 1;
}