*{
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

/* Banner styling */
.banner {
  width: 100%;
  min-height: 100vh; /* Ensures banner always takes full height of viewport */
  background-size: cover; /* Ensures the background covers the whole area */
  background-position: center;
  background-repeat: no-repeat;
  background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url(../pics/background.jpg);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 75px;
}

/* Navbar styling */
.navbar {
  width: 85%;
  margin-top: 10px;
  padding-top: 20px;
  padding-bottom: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.signature {
  width: 150px; /* Smaller for responsiveness */
  cursor: pointer;
}


.navbar ul li {
  display: inline-block;
  margin: 0 20px;
  position: relative;
  list-style: none;
}

.navbar ul li a {
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
}

.navbar ul li::after {
  content: '';
  height: 3px;
  width: 0;
  background: #f06553;
  position: absolute;
  left: 0;
  bottom: 0;
  transition: 0.4s;
}

.navbar ul li:hover::after {
  width: 100%;
}

/* Content styling */
.text {
  width: 100%;
  position: static;
  top: 35%;
  text-align: center;
  color: #fff;
}

.text h1 {
  font-size: 50px;
  margin-top: 50px;
}

.text p {
    margin: 10px 0;
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 5%;
}
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  width: 90%;
  margin: 0 auto;
  justify-content: center;
  padding-bottom: 50px;
}

.card {
  flex: 1 1 calc(33.333% - 30px);
  min-width: 200px;
  max-width: 300px;
  height: 350px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  color: rgb(207, 177, 4);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 400ms ease;
  text-align: center;
}

/* Text inside card */
.card h1.tip {
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 10px;
  transition: transform 300ms ease-in-out;
}

.card h1.tip:hover {
  transform: scale(1.2);
}

.card p.second-text {
  font-size: 0.9em;
}

/* Hover Effects */
.card:hover {
  transform: scale(1.2);
  z-index: 2;
  position: relative;
}

.cards:hover > .card:not(:hover) {
  filter: blur(10px);
  transform: scale(0.9);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .card {
    flex: 1 1 calc(50% - 20px);
    height: 300px;
  }
  .card h1.tip {
    font-size: 1.8em;
  }
}

@media (max-width: 480px) {
  .card {
    flex: 1 1 100%;
    height: 250px;
  }
}
 .navbar ul {
        gap: 10px;
    }
  
    .content h1 {
        font-size: 40px;
        padding: auto;
    }
  
    .content p {
        font-size: 16px;
    }
  
    button {
        width: 160px;
        padding: 10px 0;
    }
  
  /* Adjustments for mobile screens */
  @media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        align-items: center;
        padding: 5% 0;
        height: 350px;
        justify-content: center;
    }
  
    .navbar ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
  
    .signature {
        width: 120px;
    }
  
    .content h1 {
        font-size: 30px;
        padding: auto;
    }
  
    .content p {
        font-size: 14px;
    }
  
    button {
        width: 150px;
        padding: 8px 0;
    }
    .cards{
        min-width: 180px;
    }
    .cards .card:hover {
        transform: scale(1.3);
        z-index: 2;
        position: relative;
    }
    
    .cards:hover > .card:not(:hover) {
        filter: blur(0px);
        transform: scale(0.9);
    }
  }
  .site-footer{
  position: fixed;            /* stays at the bottom even when scrolling */
  left: 50%;
  transform: translateX(-50%);
  bottom: max(12px, env(safe-area-inset-bottom)); /* friendly on iPhone notch */
  color: #fff;
  font-size: 14px;
  letter-spacing: .3px;
  opacity: .85;
  padding: 6px 10px; /* subtle contrast on busy photos */
  backdrop-filter: blur(4px);
  z-index: 50;
}
