.landing-page-main {
  background: #ffffff;
}

.lp-hero-carousel .carousel-control-prev,
.lp-hero-carousel .carousel-control-next {
  width: 8%;
}

.lp-hero {
  min-height: 500px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.lp-hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  text-align: center;
  padding: 0 1rem;
}

.lp-hero-content h1 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.2;
}

.lp-section-title {
  font-size: 1.125rem;
  margin-bottom: 0;
  position: relative;
  padding-bottom: 0.75rem;
}

.lp-section-title::after {
  content: "";
  width: 90px;
  height: 3px;
  background: #f44336;
  position: absolute;
  left: 0;
  bottom: 0;
}

.lp-info-card {
  border: 1px solid #dddddd;
  border-radius: 4px;
  padding: 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.lp-info-thumb {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 2px;
}

.lp-card {
  border: 1px solid #dddddd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.lp-card .card-img-top {
  height: 160px;
  object-fit: cover;
  padding:0.5rem;
}

.lp-overlay-card {
  position: relative;
  height: 320px; /* Gives it the exact boxy aspect ratio */
  overflow: hidden;
  border-radius: 4px;
}
.lp-overlay-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Enhanced dark linear gradient configuration */
.lp-overlay-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.95) 100%);
  z-index: 2;
}

.lp-overlay-content {
  position: absolute;
  inset: 0;
  padding: 1.5rem 1.25rem;
  color: #ffffff;
  z-index: 3;
  text-align: left;
}

.lp-overlay-content h5 {
  font-size: 1.25rem;
  font-weight: 500;
}

.lp-card-text {
  font-size: 0.85rem;
  opacity: 0.9;
  line-height: 1.4;
}

/* Icon overrides to match your layout presentation */
.lp-overlay-content i {
  font-size: 0.85rem;
}

.lp-list-card {
  border: 1px solid #dddddd;
  border-radius: 8px; /* Smooth rounded corners matching the image */
  padding: 1rem;
  background-color: #ffffff;
  min-height: 110px; /* Uniform height for alignment */
}

/* Fixes sizing for the icon section */
.lp-card-icon-wrapper {
  width: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.lp-card-icon {
  max-width: 100%;
  max-height: 50px;
  opacity: 0.3; /* Subtle gray appearance matching the image */
}

/* The vertical red line from the image */
.lp-card-divider {
  width: 2px;
  height: 55px;
  background-color: #f44336; /* The signature red tint line */
  margin: 0 1rem;
  flex-shrink: 0;
}

.lp-card-content {
  flex-grow: 1;
}

/* Handles long text/address rules safely */
.lp-card-text {
  font-size: 0.725rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lp-card-phone{
  font-size:12px;
}

.lp-restro-name{
  white-space: nowrap;      
  overflow: hidden;       
  text-overflow: ellipsis;
  font-size: 0.9rem;
}
.lp-restro-address{
  white-space: nowrap;      
  overflow: hidden;       
  text-overflow: ellipsis;
  font-size: 0.725rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.lp-emergency-box {
  border: 1px solid #dddddd;
  min-height: 96px;
  display: flex;
  flex-direction: column; /* Stacks text and numbers vertically */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.75rem;
  font-family: "Montserrat", serif;
  cursor: pointer;
  transition: all 0.3s ease; /* Smooth transition for border and background */
}

/* Base styles for the numbers inside the cards */
.lp-emergency-box .box-number {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

/* Hover effect for Desktop & Focus/Active state for Mobile/iPad */
.lp-emergency-box:hover,
.lp-emergency-box:active,
.lp-emergency-box:focus-within,
.lp-emergency-active {
  border-bottom: 3px solid #f44336;
}

/* Reveals the number on Hover/Active */
.lp-emergency-box:hover .box-number,
.lp-emergency-box:active .box-number,
.lp-emergency-box:focus-within .box-number,
.lp-emergency-active .box-number {
  max-height: 40px; /* Adjust if needed to fit larger numbers */
  opacity: 1;
  margin-top: 5px; /* Spacing between text and number */
  color:red;
}

.lp-map {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e6e6e6;
}

@media (max-width: 991.98px) {
  .lp-hero {
    min-height: 360px;
  }
}
