/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Playfair Display', serif;
  color: white;
  line-height: 1.6;
}
h1, h2 {
  text-align: center;
}

/* Utility */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #4CAF50;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1rem;
  transition: background 0.3s ease;
}
.btn:hover {
  background: #45a049;
}

/* HERO Section */
.hero {
  position: relative;
  background-image: url('cric_bg.jpeg');
  background-size: cover;
  background-position: center;
  width: 100%;
  height: auto;
  position: relative;
}


.hero .overlay {
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  padding-top: 20vh;
  padding-bottom: 20vh;
  font-size: clamp(2rem, 6vw, 3.5rem);
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  padding: 10px 0;
}
/* Corner image positioning */
.corner-image {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
}

.corner-image img {
  width: clamp(50px, 10vw, 100px);
  height: auto;
  border-radius: 8px; /* Optional: rounded corners */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); /* Optional: drop shadow */
}

/* FEATURES Section */
.features {
  background-color: #000;
  padding: 60px 20px;
  text-align: center;
  padding-top: 12vh;
  padding-bottom: 12vh;
}
.features h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 30px;
  border-bottom: 1px solid white;
  display: inline-block;
  padding-bottom: 10px;
}
.features ul {
  list-style: none;
  padding-left: 0;
}
.features li {
  margin: 10px 0;
  font-size: 1.2rem;
}

/* CONTACT Section */
.contact {
  background-image: url('i-3.webp');
  background-size: cover;
  background-position: center;
  width: 100%;
  height: auto;
  position: relative;
}
.contact .overlay {
  background-color: rgba(0, 0, 0, 0.6);
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  padding-top: 20vh;
  padding-bottom: 20vh;
  text-align: center;
}
.contact h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 15px;
}
.contact p {
  font-size: 1rem;
  max-width: 600px;
}

/* ============================
   📱 Mobile Responsive Tweaks
   ============================ */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .features h2,
  .contact h2 {
    font-size: 1.6rem;
  }
  .features li {
    font-size: 1rem;
  }
  .btn {
    font-size: 0.95rem;
    padding: 10px 20px;
  }
  .contact {
    height: auto;
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .btn {
    font-size: 0.85rem;
    padding: 8px 16px;
  }
  .features {
    padding: 40px 15px;
  }
  .contact p {
    font-size: 0.9rem;
  }
}
