/********** Template CSS **********/
:root {
    --primary: #15b9d9;
    --light: #EFF5FF;
    --dark: #142751;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/* Navbar Customization */
.navbar {
    transition: all 0.3s ease-in-out;
    min-height: 80px;
}

.navbar-brand .logo {
    height: 45px;
    border-radius: 50%;
}

.brand-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #004080; /* Eye-care blue shade */
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #0077b6; /* Hover blue */
}

.navbar .btn {
    background: #0077b6;
    border: none;
    transition: 0.3s;
}

.navbar .btn:hover {
    background: #005f8c;
}



/*** Header ***/
/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(65, 136, 206, 0.6); /* Blue transparent overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  color: #faf7e7;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: 'Roboto', sans-serif;
  color: #faf7e7;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  font-family: 'Open Sans', sans-serif;
  color: #faf7e7;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.stat-box {
  text-align: center;
}

.stat-box .counter {
  font-size: 2rem;
  font-weight: bold;
  color: #faf7e7; /* Gold color for highlight */
}

.stat-box p {
  font-size: 1rem;
  margin-top: 10px;
}

/* hero section end */


/* About Us */

/* About Section */
#about h1 {
  color: #002366;
  font-weight: 700;
}

#about p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

#about .fa-check-circle {
  color: #0056b3;
}


/* About Us End*/

/*** Service ***/
/* Service Section Styling */
.service-item {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  background: linear-gradient(135deg, #e3f2fd, #ffffff);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: #007bff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.service-icon svg {
  width: 35px;
  height: 35px;
  stroke-width: 2.5;
}

.service-item h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #007bff;
  font-weight: 700;
}

.service-item p {
  font-size: 14px;
  color: #555;
  margin: 0;
}

/* FAQ Section Styling */
/* FAQ Section Styling */
body {
  font-family: 'Arial', sans-serif;
  background: #f9fbfd;
  margin: 0;
  padding: 0;
}

.faq-section {
  padding: 30px 20px;
}

.text-center {
  text-align: center;
  margin-bottom: 40px;
}

.text-center p {
  display: inline-block;
  border: 2px solid #003366;
  border-radius: 50px;
  padding: 5px 20px;
  color: #003366;
  font-weight: 600;
}

.section-title {
  font-size: 2rem;
  color: #003366;
  margin: 10px 0;
}

.section-subtitle {
  color: #666;
  font-size: 1rem;
}

.faq-container {
  max-width: 800px;
  margin: auto;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
}

.faq-question {
  width: 100%;
  background: #fff;
  border: none;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #eef6ff;
}

.faq-icon {
  position: absolute;
  right: 20px;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  display: none;
  padding: 10px 15px;
  color: #444;
  background: #fff;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg); /* + changes to x */
}

/* FAQ END */


/* Features Section */
/* .features-section {
  background: #0056b3; 
  color: #fff;
  padding: 70px 20px;
}

.section-badge {
  display: inline-block;
  border: 2px solid #fff;
  border-radius: 50px;
  padding: 5px 20px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 15px;
}

.section-desc {
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.feature-box {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.icon-circle {
  background: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  transition: all 0.3s ease;
}

.icon-circle:hover {
  transform: scale(1.1);
  background: #e6f0ff;
}

.feature-box h5 {
  color: #fff;
  margin: 0;
}

.feature-box p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.feature-image {
  position: relative;
  text-align: center;
  margin-top: 30px;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.5s ease;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 86, 179, 0.25);
  border-radius: 15px;
} */

/* Features Section */
.features-section {
  background: #0056b3; /* Dark Blue Clinic Theme */
  color: #fff;
  padding: 40px 40px ;
}

.section-badge {
  display: inline-block;
  border: 2px solid #fff;
  border-radius: 50px;
  padding: 5px 20px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 15px;
}

.section-desc {
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.feature-box {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.icon-circle {
  background: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  transition: all 0.3s ease;
}

.icon-circle:hover {
  transform: scale(1.1);
  background: #e6f0ff;
}

.feature-box h5 {
  color: #fff;
  margin: 0;
}

.feature-box p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.feature-image {
  position: relative;
  text-align: center;
  margin-top: 0px;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

/* IMAGE FIX: Small, responsive, equal height/width */
.image-wrapper img {
  width: 100%;
  max-height: 300px;  /* Desktop max height */
  display: block;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.5s ease;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 86, 179, 0.25);
  border-radius: 10px;
}

/* RESPONSIVE FOR MOBILE */
@media (max-width: 767px) {
  .feature-text {
    margin-bottom: 30px;
  }
  .image-wrapper img {
    max-height: 250px; /* Mobile height smaller */
  }
  .section-title {
    font-size: 1.5rem;
  }
  .section-desc {
    font-size: 0.95rem;
  }
}




/*** Team ***/
.team-item img {
    position: relative;
    top: 0;
    transition: .5s;
}

.team-item:hover img {
    top: -30px;
}

.team-item .team-text {
    position: relative;
    height: 100px;
    transition: .5s;
}

.team-item:hover .team-text {
    margin-top: -60px;
    height: 160px;
}

.team-item .team-text .team-social {
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text .team-social {
    opacity: 1;
}

.team-item .team-social .btn {
    display: inline-flex;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}

/* Container */
.testimonial-section {
  background: #f9fbff;
  padding: 30px 0px 30px; /* extra bottom padding to avoid cutting */
  overflow: visible;
  color: #0a3d62;
}

/* Title */
.testimonial-section .section-title {
  font-size: 28px;
  margin-top: 8px;
  margin-bottom: 8px;
  color: #0a3d62;
}

/* Wrapper & Buttons */
.testimonial-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.testimonial-btn {
  background: #0a3d62;
  color: #fff;
  border: none;
  width: 68px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(10,61,98,0.12);
}
.testimonial-btn:focus { outline: 3px solid rgba(10,61,98,0.15); }
.testimonial-btn[disabled] { opacity: .45; cursor: default; }

/* Viewport and track (scrollable container) */
.testimonial-viewport {
  flex: 1 1 auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  outline: none; /* visible focus is on buttons */
}

/* Hide native scrollbar */
.testimonial-viewport::-webkit-scrollbar { display: none; }
.testimonial-viewport { scrollbar-width: none; }

/* Track with cards in a row */
.testimonial-track {
  display: flex;
  gap: 20px;
  padding-bottom: 8px; /* avoid cut-off shadows */
}

/* Single card */
.testimonial-card {
  flex: 0 0 320px;          /* card width */
  scroll-snap-align: center;
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(9,30,66,0.06);
  text-align: left;
  min-height: 220px;
  box-sizing: border-box;
}

/* Review text */
.testimonial-card .review {
  font-size: 15.5px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 12px;
  font-style: italic;
}

/* Author */
.testimonial-card .author {
  font-weight: 700;
  color: #0a3d62;
  font-size: 15px;
}
.testimonial-card .author span { font-weight: 400; color: #6c757d; font-size: 13px; }

/* Avatar circle */
.author-photo {
  width: 72px;
  height: 72px;
  margin-bottom: 12px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #0a3d62;
}
.author-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .testimonial-btn.prev { display: none; } /* optional: hide left button on very small screens */
  .testimonial-btn.next { display: none; } /* optional: hide right button on very small screens */
  .testimonial-card { flex: 0 0 85%; }    /* larger card on mobile */
  .testimonial-wrapper { gap: 8px; }
}

/* Make sure cards aren't cut on small heights */
@media (max-height: 600px) {
  .testimonial-section { padding-bottom: 110px; }
}


/* Footer Styles */
.footer {
  font-size: 15px;
  line-height: 28px;
}

.footer h5 {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer h5::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 2px;
  background: #0dcaf0;
  left: 0;
  bottom: 0;
}

.footer a {
  color: #bbb;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: #0dcaf0;
  text-decoration: none;
}

.btn-social {
  margin-right: 10px;
  border: 1px solid #bbb;
  color: #fff;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.btn-social:hover {
  background: #0dcaf0;
  border-color: #0dcaf0;
  color: #fff;
}





.title-position {
    font-size: 30px;   /* change size */
    position: relative;
    top: -40px;        /* move upward, use positive value to move downward */
    text-align: left; /* optional: center the text */
}



.counter-plus::after {
    content: "+";
    margin-left: 2px; /* little spacing */
}



.brand-title {
    font-size: 34px;        /* Adjust text size */
    margin-left: 15px;      /* Space between logo & text */
    position: relative;     /* Allows top/left/right adjustments */
    top: 3px;                 /* Move up (-) or down (+) */
    left: 0;                /* Move right (+) or left (-) */
    color: #15b9d9;            /* Change text color */
    font-weight: 600;       /* Make it bold if you want */
}



/* ChatGpt header CSS  */
/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh; /* Full screen height */
  /* background: url("") center/cover no-repeat; */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

@media (max-width: 991.98px) {
    /* Container flex in row for logo+name+hamburger */
    .navbar .container {
        display: flex;
        flex-direction: row;
        justify-content: space-between; /* left-middle-right */
        align-items: center;
        width: 100%;
    }

    /* Logo + name small on mobile */
    .navbar .navbar-brand h1 {
        font-size: 1rem;
        margin: 0;
    }

    /* Optional: hamburger smaller */
    .navbar .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }
}








/* Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45); /* Black transparent overlay */
  z-index: 1;
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* full screen */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

/* Background Image */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 35, 102, 0.55); /* dark blue transparent overlay */
}

/* Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}
.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.hero-subtitle {
  font-size: 1.8rem;
  margin-bottom: 40px;
}

/* Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.stat-box {
  min-width: 180px;
}
.stat-box h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFD700; /* golden highlight */
  margin-bottom: 5px;
}
.stat-box p {
  margin: 0;
  font-size: 1rem;
  color: #eee;
}

.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.floating-buttons a img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.floating-buttons a img:hover {
  transform: scale(1.1);
}

.custom-border {
    border: 2px solid #045879;
    border-radius: 15px;
    padding: 20px;
    background-color: #ffffff; /* optional */
}


.footer .btn-link {
    display: block;        /* stack vertically */
    text-align: left;      /* optional: align text left */
    padding-left: 0;       /* optional: remove left padding */
}

/* Gallery Section Styles - gallery.css */

/* basic container */
.gallery-section {
  padding: 30px 20px;
  background: #fbfdff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #0b2a4a;
}

.gallery-header { text-align: center; margin-bottom: 28px; }
.gallery-header .badge {
  display: inline-block;
  border-radius: 999px;
  border: 2px solid #0b6ea6;
  padding: 6px 18px;
  color: #0b6ea6;
  font-weight: 700;
}
.gallery-header .title {
  font-size: 28px;
  margin: 12px 0 6px;
  color: #0b6ea6;
}
.gallery-header .subtitle {
  color: #536e7a;
  font-size: 14px;
}

/* Filters row */
.gallery-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

/* hide actual radio inputs */
.gallery-filters input[type="radio"] { display:none; }

.filter-btn {
  cursor: pointer;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d8eaf6;
  padding: 8px 14px;
  color: #0b4a72;
  font-weight: 600;
  transition: transform .18s ease, background .18s ease, color .18s ease;
  box-shadow: 0 6px 18px rgba(11, 42, 74, 0.04);
}
.filter-btn:hover { transform: translateY(-3px); }

/* checked state styling — uses adjacent sibling trick */
#f-all:checked ~ .filter-btn[for="f-all"],
#f-clinic:checked ~ .filter-btn[for="f-clinic"],
#f-ot:checked ~ .filter-btn[for="f-ot"],
#f-equip:checked ~ .filter-btn[for="f-equip"],
#f-events:checked ~ .filter-btn[for="f-events"] {
  background: linear-gradient(90deg,#0b6ea6,#0db5e8);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(11,110,166,.12);
}

/* grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

/* responsive */
@media (max-width: 992px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-header .title { font-size: 22px; }
}

/* item style */
.item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(8,30,50,0.06);
  transition: transform .35s ease, box-shadow .35s ease;
}
.item .thumb { display:block; text-decoration:none; color: inherit; }
.item img {
  width: 100%;
  height: 100%;
  display:block;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform .6s ease, filter .4s ease;
  transform-origin: center;
}
.item figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(2,8,23,0) 0%, rgba(2,8,23,.55) 100%);
  color: #fff;
  transform: translateY(40%);
  transition: transform .35s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* hover */
.item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(8,30,50,0.12);
}
.item:hover img { transform: scale(1.08); filter: brightness(.96) contrast(1.02); }
.item:hover figcaption { transform: translateY(0%); }

/* === CSS-only Filtering Logic ===
   We hide/show items by matching the radio checked state with selectors.
   When "All" selected - show all. Otherwise show only elements of category class.
*/

/* default: all visible */
.item { display: block; }

/* When Clinic filter checked, hide non-clinic */
#f-clinic:checked ~ .gallery-grid .item { display: none; }
#f-clinic:checked ~ .gallery-grid .clinic { display: block; }

/* OT */
#f-ot:checked ~ .gallery-grid .item { display: none; }
#f-ot:checked ~ .gallery-grid .ot { display: block; }

/* Equipment */
#f-equip:checked ~ .gallery-grid .item { display: none; }
#f-equip:checked ~ .gallery-grid .equip { display: block; }

/* Events */
#f-events:checked ~ .gallery-grid .item { display: none; }
#f-events:checked ~ .gallery-grid .events { display: block; }

/* All (explicit) */
#f-all:checked ~ .gallery-grid .item { display: block; }

/* === Lightbox styles (using :target) === */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(3,10,20,0.75);
  z-index: 1200;
  padding: 30px;
  gap: 18px;
}

.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(2,8,23,0.6);
  display: block;
}

.lightbox .lb-caption {
  color: #e6f7ff;
  font-size: 15px;
  margin-top: 8px;
  text-align: center;
}

.lightbox .lb-close {
  position: absolute;
  right: 28px;
  top: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: inline-block;
  text-indent: -9999px;
  transition: background .25s ease;
}

/* show target */
.lightbox:target { display: flex; flex-direction: column; }

/* close hover effect */
.lightbox .lb-close:hover { background: rgba(255,255,255,0.12); }

/* accessibility: press Esc to close (optional hint for users) */
@media (prefers-reduced-motion: reduce) {
  .item, .gallery-grid, .lightbox img { transition: none; }
}


.gallery-section {
  padding: 60px 20px;
  background: #f7f9fc;
  text-align: center;
}

.gallery-section .section-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #222;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(80%);
}


/* Gallery Section */ 
.gallery-section {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.gallery-title {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
  font-weight: bold;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 12px;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: "View";
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
} 



/* Blog Section */
.blog-section {
  background: #f9f9f9;
  padding: 30px 10px;
  text-align: center;
}

.blog-section .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0056b3;
}

.blog-section .section-subtitle {
  font-size: 1rem;
  margin-bottom: 40px;
  color: #555;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
  text-align: left;
}

.blog-content h3 {
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 10px;
}

.blog-content p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 15px;
}

.read-more {
  font-size: 0.9rem;
  color: #0056b3;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #003d82;
}



