/* Feature Card */
.feature-card {
  position: relative;
  width: 100%;
  height: 380px; /* slightly taller for readability */

  overflow: hidden;
  margin-bottom: 25px;
}

/* Background Image */
.feature-card .feature-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

/* Hover Zoom */
.feature-card:hover .feature-bg {
  transform: scale(1.08);
}

/* Overlay (Stronger Black Glass Effect) */
.feature-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 30px 25px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85),
    /* darker black */ rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.05)
  );
  color: #ffffff;
}

/* Title Styling */
.feature-overlay h3 {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 24px; /* increased font size */
  line-height: 1.3;
  color: #fff;
}

/* Paragraph Styling */
.feature-overlay p {
  margin: 0;
  font-size: 16px; /* increased font size */
  line-height: 1.6;
  color: #f1f1f1;
}

.food_video {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* video auto-adjusts to container width */
.food_video .video-bg {
  width: 100%;
  height: auto;
  display: block;
}

/* if video is too short, keep aspect ratio */
@media (max-width: 768px) {
  .food_video .video-bg {
    width: 100%;
    height: auto;
  }
}

.gallery_img {
  overflow: hidden;
}

.swipe_gallery_img img {
  width: 100%;
  height: 250px; /* Adjust height as you like */
  object-fit: cover; /* Makes all images equal without stretch */
  transition: 0.4s ease;
}

.gallery_img:hover img {
  transform: scale(1.07); /* Beautiful hover zoom */
}

.mt-90 {
  margin-top: 90px !important;
}

/* --- FIXED HEIGHT FOR ALL TEAM IMAGES --- */
.carousel-img {
  width: 100%;
  height: 380px; /* fixed height for every card */
  overflow: hidden;
}

.carousel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills the box */
  object-position: top; /* focuses on face area */
  display: block;
}

.carousel-img {
  height: 450px;
}

/* --- FIXED HEIGHT FOR TEAM CARDS --- */
.carousel_imges_item {
  height: 480px; /* adjust as needed */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;

  overflow: hidden;
  padding-bottom: 10px;
}

/* IMAGE AREA FIXED HEIGHT */
.carousel-img {
  width: 100%;
  height: 320px; /* FIXED HEIGHT FOR ALL IMAGES */
  overflow: hidden;
}

.carousel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* keeps proportions, fills box */
  object-position: top; /* face focused */
}

/* NAME + DESIGNATION BOX SAME HEIGHT */
.team-box {
  margin-top: 12px;
  height: 120px; /* equal text height area */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.resto-img {
  position: relative;
  display: inline-block;
}

.principal-overlay {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.45);
  padding: 10px 15px;
  border-radius: 6px;
  color: #fff;
  text-align: left;
}

.principal-name {
  font-size: 18px;
  margin: 0;
  font-weight: 600;
  color: #fff;
}

.principal-role {
  font-size: 14px;
  margin: 0;
  opacity: 0.9;
  color: #fff;
}

.hoverimg {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: -5px 5px 0px #8b1c3d;
  transition: all 0.4s ease-in-out;
}

.hoverimg1 {
  box-shadow: -5px 5px 0px #8b1c3d;
  transition: all 0.4s ease-in-out;
}
.hoverimg:hover {
  box-shadow: -18px 18px 0px #8b1c3d;
  transform: translateY(-5px);
}

.hoverimg1:hover {
  box-shadow: -18px 18px 0px #8b1c3d;
  transform: translateY(-5px);
}

.hoverimg-right {
  margin: 20px -17px;
  display: block;
  transition: all 0.4s ease-in-out;
  box-shadow: 4px 4px 0 rgba(128, 0, 64, 1.3) !important;
}
.hoverimg-right:hover {
  box-shadow: 18px 18px 0 rgba(128, 0, 64, 1.3) !important;
  transform: translateY(-5px);
}

.designer1:hover {
  color: #ffffff !important;
}

/* Fullscreen Overlay */
#preloader {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(15, 20, 15, 0.75);
  backdrop-filter: blur(10px);
  z-index: 9999;
  transition: opacity 0.6s ease;
}

/* Circle Container */
.preloader-circle {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 40px rgba(30, 128, 64, 0.3);
}

/* Spinner Ring */
.spinner-ring {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid #1e8040;
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
}

/* Centered Logo */
.preloader-logo img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  animation: zoomPulse 2.5s ease-in-out infinite;
  box-shadow: 0 0 25px rgba(30, 128, 64, 0.4);
  display: block;
  margin: auto;
}

/* Zoom Animation */
@keyframes zoomPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
    filter: drop-shadow(0 0 15px rgba(30, 128, 64, 0.8));
  }
}

/* Spinner Rotation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
