/* ===================== */
/* RESET & BASE */
/* ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #0A1D37;
  color: #f5f5f5;
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}

/* LIGHT MODE */
body.light-mode {
  background: #ffffff;
  color: #222;
}

/* ===================== */
/* NAVIGATION */
/* ===================== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0B3D2E;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #F7C04A;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.2s;
}

nav ul li a:hover {
  color: #F7C04A;
}

/* ===================== */
/* NAV TOGGLE (Hamburger) */
/* ===================== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  cursor: pointer;
  position: relative;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #F7C04A;
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 6px rgba(247, 192, 74, 0.8);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ===================== */
/* HERO SLIDER */
/* ===================== */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slides {
  position: absolute;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  color: #fff;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(11, 61, 46, 0.5);
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-content {
  z-index: 2;
  text-align: center;
}

.hero-content h1,
.hero-content p {
  color: #F7C04A;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  animation: fadeInDown 1s ease-out;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out;
}

/* Text animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================== */
/* BUTTONS */
/* ===================== */
.btn {
  background: #F7C04A;
  color: #0A1D37;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background: #e6b045;
}

.btn.dark {
  background: #0B3D2E;
  color: #fff;
}

/* ===================== */
/* SECTIONS */
/* ===================== */
.section {
  padding: 4rem 2rem;
  text-align: center;
  color: #F7C04A;
}

.section:nth-child(even) {
  background: #13294B;
}

.section:nth-child(odd) {
  background: #0A1D37;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #F7C04A;
  text-shadow: 0 0 10px rgba(247, 192, 74, 0.8);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from { text-shadow: 0 0 8px rgba(247, 192, 74, 0.7); }
  to { text-shadow: 0 0 15px rgba(247, 192, 74, 1); }
}

/* ===================== */
/* PEST GRID */
/* ===================== */
.pest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  justify-items: center;
}

.pest-box {
  background: #1C355E;
  padding: 1rem;
  border-radius: 50%;
  width: 180px;
  height: 180px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.pest-box img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #F7C04A;
}

.pest-box:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(247, 192, 74, 0.6);
}

/* ===================== */
/* TEAM */
/* ===================== */
#team {
  padding: 60px 20px;
  background-color: #0A1A2F;
  text-align: center;
}

#team h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #F7C04A;
  animation: glow 2s ease-in-out infinite alternate;
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.team-member {
  background-color: #112244;
  border-radius: 20px;
  padding: 20px;
  width: 250px;
  color: #F7C04A;
  text-align: center;
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #F7C04A;
}

/* ===================== */
/* PROJECTS */
/* ===================== */
.project-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.project-card {
  min-width: 220px;
  background: #1C355E;
  border-radius: 20px;
  padding: 1rem;
  text-align: center;
  color: #F7C04A;
}

/* ===================== */
/* CONTACT */
/* ===================== */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  background: linear-gradient(to right, #0A1D37, #13294B);
  padding: 2rem;
  border-radius: 12px;
}

.contact-info,
.contact-form-box {
  flex: 1;
  min-width: 300px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background-color: #1C355E;
  color: #fff;
  border-radius: 6px;
}

.contact-form button {
  background: #F7C04A;
  color: #0A1D37;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: none;
  font-weight: bold;
}

/* ===================== */
/* FOOTER */
/* ===================== */
footer {
  background: #0B3D2E;
  color: #fff;
  text-align: center;
  padding: 1rem;
}

/* ===================== */
/* WHATSAPP BUTTON */
/* ===================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  z-index: 1000;
}

.whatsapp-float img {
  width: 100%;
  border-radius: 50%;
  border: 2px solid #F7C04A;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===================== */
/* RESPONSIVE */
/* ===================== */
@media (max-width: 1024px) {
  .pest-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
    background: #0B3D2E;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 1rem 0;
    border-radius: 0 0 8px 8px;
    display: none;
  }
  nav ul.show {
    display: flex;
  }
  .pest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}
