 
 
 .navbar .dropdown:hover .dropdown-menu {
    display: block;
  }
 
 .service-dropdown {
    background-color: #013459;
    border: none;
  }

  .service-dropdown .dropdown-item {
    color: #ffffff;
  }

  .service-dropdown .dropdown-item:hover {
    background-color: #ffffff;
    color: #013459;
  }
.review-section {
  padding: 60px 0;
  /* Changed grey background to gradient */
  background: linear-gradient(135deg, #00365c 0%, #1f77b5 100%);
}

.review-card {
  background: #fff; /* cards turned white */
  border-radius: 18px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.review-no {
  width: 48px;
  height: 48px;
  background: #00365c; /* keeping number badge consistent */
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 15px;
}

.review-card h5 {
  color: #00365c; /* dark heading for white card */
  font-weight: 700;
}

.review-card p {
  font-size: 15px;
  color: #333; /* readable text on white cards */
  line-height: 1.6;
}

.splide__slide {
  padding: 2px;
}

/* ===== MOBILE FIX : 412px ===== */
@media (max-width: 412px) {
  .review-section {
    padding: 40px 0;
  }

  .review-card {
    padding: 22px;
    border-radius: 14px;
  }

  .review-no {
    width: 42px;
    height: 42px;
    font-size: 15px;
    margin-bottom: 12px;
  }

  .review-card h5 {
    font-size: 16px;
    line-height: 1.3;
  }

  .review-card p {
    font-size: 14px;
    line-height: 1.5;
  }

  .splide__slide {
    padding: 6px;
  }
}

.eyecare-benefits-section {
    background-color: #ffffff; /* Ensures the background of the section matches body if needed */
}

/* Custom styling for the main container card (like the white box in your image) */
.benefits-card-container {
    background-color: #fff;
    /* Already has shadow and rounded corners from Bootstrap classes */
}

.benefits-title {
    color: #0b567b; /* Orange color for the title */
    font-weight: 700;
}

.benefits-description {
    color: #666;
}

.benefit-item {
    border: 1px solid #eee; /* Subtle border for cards */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15) !important; /* !important to override Bootstrap's default shadow */
}

.icon-wrapper {
    color: #0b567b; /* Orange color for icons */
}

/* Optional: Adjust card title/text size if default Bootstrap sizes aren't perfect */
.benefit-item .card-title {
    font-size: 1.4em;
}

.benefit-item .card-text {
    font-size: 0.95em;
}

/* minimal custom css */
.about-vmak {
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.about-vmak-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* floating kids icons */
.float-icon {
    position: absolute;
    opacity: 0.6;
    animation: floatY 6s ease-in-out infinite;
}

.float-delay { animation-delay: 2s; }
.float-delay2 { animation-delay: 4s; }

@keyframes floatY {
    0% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
    100% { transform: translateY(0); }
}

/* Remove previous overlay from .service-card and apply to .card-body */
.service-card .card-body {
  position: relative;
  z-index: 1;
  overflow: hidden; /* to contain the overlay */
}

.service-card .card-body::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: #00365c;
  z-index: -1; /* behind text */
  transition: height 0.4s ease;
}

.service-card:hover .card-body::before {
  height: 100%;
}

/* Change text & button color on hover */
.service-card:hover .card-title,
.service-card:hover .card-text,
.service-card:hover .read-more {
  color: #fff !important;
}

.service-card:hover .read-more {
  border-color: #fff;
}

/* Image remains unaffected */
.service-img {
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Optional: subtle zoom for image on hover */
.service-card:hover .service-img {
  transform: scale(1.02);
}

@media (max-width:768px){
  .service-img { height:180px; }
}

.hover-fill-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}

.hover-fill-card::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #00365c, #1f77b5);
  transition: bottom 0.45s ease;
  z-index: 0;
}

.hover-fill-card:hover::before {
  bottom: 0;
}

.hover-fill-card img,
.hover-fill-card .card-body {
  position: relative;
  z-index: 1;
}

.hover-fill-card:hover h5,
.hover-fill-card:hover p,
.hover-fill-card:hover i {
  color: #fff !important;
}

.card-img-top {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

@media (max-width: 412px) {
  .card-img-top {
    height: 180px;
  }
}

.faq-tabs .list-group-item {
  border: 0;
  margin-bottom: 6px;
  border-radius: 8px;
  font-weight: 500;
  background-color: #00365c;
  color: #fff;
  cursor: pointer;
}

.faq-tabs .list-group-item.active {
  background-color: #1f77b5;
  color: #fff;
}

.faq-content p {
  color: #333;
}

@media (max-width: 412px) {
  .faq-content {
    font-size: 14px;
  }
}

.text-theme {
  color: #00365c;
}