/* Reset & Font */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(to right, #00c9ff, #93fe9e);
  overflow-x: hidden; /* prevent horizontal scroll */
  box-sizing: border-box;
}

.hero-section {
  position: relative;
  overflow: hidden; /* Prevent temporary vertical scroll during animation */
}

#animate-text  {
  font-family: "Honk", system-ui !important;
  /* font-optical-sizing: auto !important; */
  font-weight: 400 !important;
  font-style: normal !important;
  font-variation-settings:
    "MORF" 15,
    "SHLN" 54.6 !important;
    font-size: 4rem !important;
}


.logo1{
  font-family: "Bungee Tint", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: xx-large;
}

.logo2{
  font-family: "Bungee Tint", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: large;
}


/* Navbar */
/* .custom-nav {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  background-color: rgba(0,0,0,0.35);
} */

/* Hero Section */
.hero-section {
  /* min-height: 500vh; */
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; space between hero text and cards */
  align-items: center;
  /* padding: 60px 20px; */
  box-sizing: border-box;
}

/* Hero Text */
.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
  text-align: center;
  margin-bottom: 20px; /* reduced margin */
}

.hero-title span {
  display: inline-block;
  margin-right: 10px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 40px; /* reduced margin */
  text-align: center;
}

/* CTA Button */
.cta-btn {
  background: linear-gradient(90deg, #ff8a00, #e52e71);
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 700;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Benefit Cards - Glassy with Background Images */
.benefit-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.95;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-height: 250px; /* prevents cards from pushing page */
  padding: 18%;
}

/* Overlay for readability */
.benefit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 20px;
  z-index: 0;
}

/* Text and icon above overlay */
.benefit-card .icon,
.benefit-card h3,
.benefit-card p {
  position: relative;
  z-index: 1;
}

/* Individual Card Background Images */
.card1 {
  background-image: url('../assets/images/img1.png'); 
}

.card2 {
  background-image: url('../assets/images/img2.png'); 
}

.card3 {
  background-image: url('../assets/images/img3.png'); 
}

/* Hover Effect */
.benefit-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Text on white background for readability */
.benefit-card h3,
.benefit-card p {
  background-color: rgba(255, 255, 255, 0.9); /* mostly opaque white */
  color: #111;                                /* dark text */
  display: inline-block;                       /* shrink to text size */
  padding: 5px 10px;                           /* spacing around text */
  border-radius: 5px;                          /* rounded corners */
  position: relative;                          /* above overlay */
  z-index: 1;                                  /* ensures text is above ::before overlay */
  opacity: 0.79;
}

.icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

/* Card Row */
.row.cards-row {
  width: 100%;
  max-width: 1200px;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.benefit-card {
    font-weight: bold;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-subtitle {
    font-size: 1.15rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .cta-btn {
    padding: 12px 30px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  .benefit-card {
    padding: 25px 15px;
    max-height: none; /* allow scrolling if needed */
  }
  .row.cards-row {
    flex-direction: column;
    margin-top: 30px;
  }
}

/* Make navbar dropdown overlay without pushing content */
@media (max-width: 992px) {
  .navbar-collapse {
    position: fixed;       /* make it overlay */
    top: 0;                /* start at top */
    left: 0;
    width: 100%;
    height: 100vh;         /* full screen height */
    background: rgba(0,0,0,0.85); /* dark semi-transparent background */
    padding-top: 80px;     /* leave space for navbar brand */
    z-index: 999;          /* on top of everything */
    overflow-y: auto;      /* scroll if menu is tall */
  }

  /* Nav links styling inside overlay */
  .navbar-collapse .nav-link {
    color: #fff;           /* white links */
    font-size: 1.5rem;     /* bigger on mobile */
    padding: 1rem 2rem;
  }

  /* Remove default collapse transition push */
  .navbar-collapse.collapse {
    display: block !important;
    height: 100vh !important;
  }

  /* Optional: add smooth slide-in */
  .navbar-collapse {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
  }
  .navbar-collapse.show {
    transform: translateY(0);
  }
}

.navbar-toggler {
  position: relative;
  z-index: 1000;
}
