/* ====== Base Styles ====== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Manrope:wght@400;500;600&display=swap');

* {
  
  font-family: "Manrope", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", serif;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 60px;
  background-color: #f9f9f9;
  overflow: hidden;
  position: relative;
}

/* TEXT LEFT SIDE */
.hero-content {
  width: 30%;
  z-index: 2;
}

.hero-text {
  transition: opacity 1s ease, transform 1s ease;
  color: #003366;
}

.hero-text h1 {
 
  font-size: 2.4rem;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.1rem;
  color: #003366;
  margin-bottom: 30px;
  line-height: 1.6;
}

.cta-btn {
  background-color: #003366;
  color: #fff;
  border: none;
  padding: 12px 26px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
   text-decoration: none;
}

.cta-btn:hover {
  background-color: #003366;
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
}



/* IMAGE RIGHT SIDE */
.hero-image {
  position: relative;
  width: 70%;
  height: 480px;
  overflow: hidden;
}

.hero-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  filter: brightness(0.95);
  /* 🌊 Organic curved shape */
  clip-path: polygon(
    10% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 30%
  );
}

.hero-image img.active {
  opacity: 1;
  z-index: 2;
}

/* MOBILE */
@media (max-width: 900px) {
  .hero {
    flex-direction: column-reverse;
    padding: 0;
  }

  .hero-content {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 25px 20px;
    background: linear-gradient(to top, rgba(0, 51, 102, 0.85), rgba(0, 51, 102, 0.3));
    color: #fff;
    z-index: 3;
  }

  .hero-text h1 {
    font-size: 1.6rem;
    color: #fff;
  }

  .hero-text p {
    font-size: 1rem;
    color: #e0e0e0;
  }

  .cta-btn {
    background-color: #fff;
    color: #003366;
    font-weight: 700;
  }

  .hero-image {
    width: 100%;
    height: 400px;
  }

  .hero-image img {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
  }
}


