body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ecf0f1;
  color: #2c3e50;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 5px solid #18bc9c;
  border-top: 5px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

body.loaded #preloader {
  opacity: 0;
  visibility: hidden;
}

/* Navbar Container */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Navbar */
.navbar {
  background-color: #2c3e50;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  flex-wrap: wrap;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo */
.logo {
  font-size: 1.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  text-decoration: none;
  color: white;
}

.logo:hover {
  color: #18bc9c;
}

/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #18bc9c;
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.hamburger .bar {
  width: 100%;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animation when active */
.hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Responsive Dropdown Nav */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    background-color: #2c3e50;
    margin: 0;
    padding: 0.5rem 0;
    z-index: 999;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .nav-links.show {
    display: flex;
    opacity: 1;
    visibility: visible;
    animation: slideDropdown 0.35s ease forwards;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 14px 20px;
    width: 100%;
    text-align: center;
    font-size: 1.05rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .nav-links a:hover {
    background-color: #18bc9c;
    transform: scale(1.02);
  }

  .hamburger {
    display: flex;
  }
}

/* Slide down animation */
@keyframes slideDropdown {
  0% {
    transform: translate(-50%, -10%);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}





/* Footer */
footer {
  background-color: #2c3e50;
  color: white;
  padding: 2rem 2rem 1.2rem;
  font-size: 0.95rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-info, .footer-contact {
  flex: 1 1 300px;
}

.footer-info h4,
.footer-contact h4 {
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
  color: #18bc9c;
}

.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: #f9f9f9;
  text-decoration: none;
  font-weight: 500;
}

.footer-contact a i {
  margin-right: 8px;
  color: #18bc9c;
}

.footer-contact a:hover {
  color: #18bc9c;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 1.5rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: #ccc;
}

.footer-bottom .signature {
  margin-top: 0.3rem;
  font-style: italic;
}


/* Floating Call Button */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.call-button,
.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.call-button {
  background-color: #28a745;
}

.whatsapp-button {
  background-color: #25d366;
}

.call-button:hover,
.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}


.map-section {
  width: 100%;
  background-color: #f9fbfc;
  padding: 2px 0;
  text-align: center;
}

.map-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.map-wrapper {
  width: 100%;
  max-width: 100%;
  height: 450px; /* reduced height */
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

