@import url("https://fonts.googleapis.com/css2?family=Abel&family=Abhaya+Libre&display=swap");
@import url("https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Abel&display=swap");

/* Colors */
:root {
  --primary: #006838; /* Deep Green */
  --secondary: #fbb040; /* Golden Yellow */
  --accent: #007acc; /* Fresh Blue */
  --neutral-dark: #1c1c1c;
  --neutral-light: #f8f9fa;
}

/* Base */
body {
  font-family: "Abel", sans-serif;
  background-color: var(--neutral-light);
  color: var(--neutral-dark);
  line-height: 1.6;
}

/* Headings & Navbar */
h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.hero-overlay h1,
.hero-overlay h4 {
  font-family: "League Spartan", sans-serif;
  font-weight: 600; /* bold for impact */
}

.nav-link {
  font-family: "League Spartan", sans-serif;
  font-size: 18px;
}

/* Optional: For more formal sections */
blockquote,
.section-title {
  font-family: "Abhaya Libre", serif;
}

/* Fade-up animation */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply animation to overlay children */
.hero-overlay p,
.hero-overlay h1,
.hero-overlay h4,
.hero-overlay .btn {
  opacity: 0;
  animation: fadeUp 1s ease-out forwards;
}

.hero-overlay p {
  animation-delay: 0.2s;
}
.hero-overlay h1 {
  animation-delay: 0.4s;
}
.hero-overlay h4 {
  animation-delay: 0.6s;
}
.hero-overlay .btn {
  animation-delay: 0.8s;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Navbar */
.navbar {
  background-color: transparent !important;
  padding: 1rem 0;
  transition: background-color 0.3s ease;
}

.navbar.scrolled {
  background-color: var(--primary) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Carousel */
.hero-carousel .carousel-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
}

/* Slides */
.slide-1 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("images/slide-1.jpg");
  background-position: top center !important;
}
.slide-2 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("images/slide-2.jpg");
  background-position: top center !important;
}
.slide-3 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("images/slide-3.jpg");
  background-position: top center !important;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  top: 40%; /* default for large screens */
  left: 0;
  width: 100%;
  height: 100%;
  padding-left: 8%;
  display: flex;
  align-items: flex-start;
  z-index: 10;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-overlay h1,
.hero-overlay h4 {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  transition: transform 0.2s ease, background 0.3s ease;
}

/* Buttons */
.hero-overlay .btn {
  min-width: 200px;
}

hero-overlay .btn:hover {
  transform: translateY(-3px);
}

.btn-success {
  background-color: var(--primary);
  border-color: var(--primary);
}
.btn-success:hover {
  background-color: #00552b;
}

.btn-outline-light:hover {
  background-color: var(--secondary);
  color: var(--neutral-dark);
  border-color: var(--secondary);
}

.btn-warning {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--neutral-dark);
}

.btn-warning:hover {
  background-color: #e19a2d;
  color: white;
}

.btn-accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: white;
}

.btn-accent:hover {
  background-color: #0062a6;
}

/* Cards */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* --- Tablet (md screens: 768px–991px) --- */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-overlay {
    top: 70%; /* move lower on tablets */
    transform: translateY(-30%); /* balance better visually */
    padding-left: 5%; /* reduce padding for smaller width */
  }
  .hero-overlay h1 {
    font-size: 2.4rem;
  }
  .hero-overlay h4 {
    font-size: 1.3rem;
  }
}

/* --- Mobile (sm and below) --- */
@media (max-width: 767px) {
  .hero-overlay {
    top: 25%; /* lower than desktop but higher than tablet */
    transform: none;
    justify-content: flex-start;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
  }
  .hero-overlay h1 {
    font-size: 2rem;
    line-height: 1.3;
  }
  .hero-overlay h4 {
    font-size: 1.1rem;
  }
  .hero-overlay .btn {
    width: 100%;
  }
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.icon-circle i {
  font-size: 1.3rem;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: white;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.whatsapp-float {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  font-size: 28px;
  /* padding: 15px; */
  width: 60px;
  height: 60px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: transform 0.2s ease-in-out;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}
