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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #FFFFFF;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.top-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header {
  background-color: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 15px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.logo-text h1 {
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo-text p {
  font-size: 0.75rem;
  color: #666;
}

.nav {
  display: flex;
  gap: 20px;
  transition: all 0.3s ease;
}

.nav-link {
  text-decoration: none;
  color: #666;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #1A3C34;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: #1A3C34;
  font-weight: bold;
}

.nav-link:hover {
  color: #1A3C34;
}

.menu-toggle-checkbox {
  display: none;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  border: none;
  background: none;
  cursor: pointer;
  color: #1A3C34;
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: rotate(90deg);
}

/* Products Dropdown */
.nav .nav-link.products-link {
  position: relative;
}

.nav .nav-link.products-link:hover .dropdown {
  display: block;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1A3C34;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  padding: 0.5rem 0;
}

.dropdown a {
  color: #fff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  display: block;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.dropdown a:hover {
  background-color: #A9C9A4;
}

/* Animations for Navbar */
[data-animate="fade-in"] {
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.footer {
  background-color: #1A3C34;
  color: #bbb;
  padding: 40px 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.footer-section h4 {
  font-weight: bold;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.footer-section p {
  font-size: 0.875rem;
}

.footer-section a {
  color: #bbb;
  text-decoration: none;
}

.footer-section a:hover {
  color: #FFFFFF;
}

.footer-text {
  font-size: 0.75rem;
  border-top: 1px solid #666;
  padding-top: 10px;
  text-align: center;
}

.footer-section img {
  width: 80px;
  height: 84px;
  margin-right: 10px;
}

/* About Section */
.about-section {
  background: #fff;
  padding: 6rem 0;
}

.content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.text-content {
  flex: 1;
  max-width: 500px;
}

.text-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1A3C34;
}

.text-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.image-parent {
  flex: 1;
  position: relative;
}

.image-content {
  position: relative;
  width: 100%;
}

.image-content img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.overlay {
  position: relative;
  margin: 0.5rem auto;
  text-align: center;
}

.overlay img {
  display: none;
}

/* Contact Form Section */
.contact-form-section {
  background-color: #e9e9e7;
  padding: 4rem 0;
}

.contact-form-section .section-title {
  font-size: 2.5rem;
  color: #1A3C34;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: bold;
}

#eft-form {
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #1A3C34;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1A3C34;
  box-shadow: 0 0 5px rgba(26, 60, 52, 0.3);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #e74c3c;
}

.form-group textarea {
  resize: vertical;
}

.submit-button {
  background: #A9C9A4;
  border: none;
  padding: 10px 20px;
  color: #fff;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: transform 0.3s, background 0.3s;
  width: 100%;
  max-width: 200px;
  align-self: center;
}

.submit-button:hover {
  transform: scale(1.05);
  background: #1A3C34;
}

.eft-note {
  font-size: 0.9rem;
  color: #666;
  margin-top: 1rem;
  text-align: center;
}

#status-message {
  font-size: 1rem;
  text-align: center;
  margin-top: 1rem;
}

#status-message.success {
  color: #1A3C34;
  font-weight: bold;
}

#status-message.error {
  color: #e74c3c;
  font-weight: bold;
}

/* Map Section */
.map-section {
  padding: 4rem 0;
}

.map-section .section-title {
  font-size: 2.5rem;
  color: #1A3C34;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: bold;
}

.map-container {
  width: 100%;
  overflow: hidden;
}

.map-container img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 40;
    padding: 1rem 0;
  }

  .menu-toggle-checkbox:checked ~ .nav {
    display: flex;
  }

  .nav-link {
    margin: 0;
    padding: 0.75rem 1rem;
    text-align: center;
    border-bottom: 1px solid #e9e9e7;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav .nav-link.products-link .dropdown {
    display: none !important;
  }

  .content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .image-parent {
    order: -1;
    max-width: 100%;
  }

  .contact-form-section .section-title {
    font-size: 2rem;
  }

  #eft-form {
    max-width: 100%;
    padding: 0 1rem;
  }

  .map-section .section-title {
    font-size: 2rem;
  }

  .map-container img {
    height: 300px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .contact-form-section .section-title {
    font-size: 1.8rem;
  }

  .submit-button {
    max-width: 180px;
  }

  .map-section .section-title {
    font-size: 1.8rem;
  }

  .map-container img {
    height: 250px;
  }
}

/* Popup Styles */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: #FFFFFF;
  padding: 2rem;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
}

.popup-content p {
  font-size: 1.1rem;
  color: #1A3C34;
  margin-bottom: 1.5rem;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}

.close:hover {
  color: #1A3C34;
}

@media (max-width: 768px) {
  .popup-content {
    width: 95%;
    padding: 1.5rem;
  }
  .popup-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .popup-content {
    padding: 1rem;
  }
  .popup-content p {
    font-size: 0.9rem;
  }
}