@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

body {
  font-family: 'Poppins', sans-serif !important;
}

/* Colors */
:root {
  --primary: #176a35;
  --secondary: #e5c532;
  --accent: #a98d0e;
  --light-gray: #f8f9fa;
  --dark-gray: #343a40;
}

/* Override Bootstrap colors */
.bg-primary {
  background-color: var(--primary) !important;
}

.bg-warning {
  background-color: var(--secondary) !important;
}

.bg-info {
  background-color: var(--accent) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.text-warning {
  color: var(--secondary) !important;
}

.text-info {
  color: var(--accent) !important;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--accent);
  border-color: var(--accent);
}

.btn-warning {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.btn-warning:hover {
  background-color: #e5c532;
  border-color: #e5c532;
}

.btn-outline-warning:hover {
  color: #fff;
}

.btn-info {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-info:hover {
  background-color: #247697;
  border-color: #247697;
  color: #fff;
}

/* Navbar */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
  position: relative;
  font-weight: 500;
  color: var(--primary);
  transition: color 0.3s ease;
}

/* Hover color */
.navbar-nav .nav-link:hover {
  color: var(--accent);
}

/* Active state color */
.navbar-nav .nav-link.active {
  color: var(--accent) !important;
}

/* Common underline setup */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
  border-radius: 2px;
}

/* Hover underline grow to 50% */
.navbar-nav .nav-link:hover::after {
  width: 50%;
}

/* Keep active underline always visible */
.navbar-nav .nav-link.active::after {
  width: 50%;
}

/* Hero Section */
.hero-section {
  position: relative;
}

/* Create an images folder and placeholder.svg for images */
.create-folder-placeholder {
  display: none;
}


/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate__fadeIn {
  animation: fadeIn 0.5s ease-out forwards;
}

/* Card hover effects */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer links hover effect */
footer a:hover {
  color: var(--secondary) !important;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .hero-section {
    height: 400px !important;
  }

  .display-4 {
    font-size: 2.5rem;
  }

  .lead {
    font-size: 1rem;
  }
}

/* <!-- WhatsApp Floating Button --> */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background-color: #127338;
  color: white;
  border-radius: 30px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  font-size: 16px;
  gap: 10px;
  direction: ltr;
}
 
.whatsapp-button:hover {
  transform: scale(1.05);
}

.whatsapp-icon {
  font-size: 22px;
}

.whatsapp-text {
  font-weight: 500;
}



/* Galleries */
/* Gallery Images */
.gallery img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* Modal Image */
#modalImage {
  border-radius: 8px;
  object-fit: contain;
}

/* Modal close button overrides for better visibility */
.btn-close {
  width: 32px;
  height: 32px;
  opacity: 1;
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.5));
}

.btn-close:hover {
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.7));
}

/* Optional: modal background */
.modal-content.bg-transparent {
  background: transparent !important;
  box-shadow: none !important;
}