/* ============== RESET & GLOBALS ============== */
:root {
  --primary-color: #0c4a6e; /* Deep sky blue */
  --secondary-color: #0284c7; /* Sky blue */
  --accent-color: #10b981; /* Emerald green */
  --text-dark: #0f172a;
  --text-light: #f8fafc;
  --text-muted: #64748b;
  --bg-light: #f4f4f5;
  --bg-white: #ffffff;
  --bg-dark: #1e293b;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --section-padding: 5rem 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ============== REUSABLE COMPONENTS ============== */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.section-title p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--bg-white);
  box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
  background-color: #059669;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.btn-secondary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--bg-white);
  border: 2px solid var(--bg-white);
}

.btn-outline:hover {
  background-color: var(--bg-white);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.grid {
  display: grid;
  gap: 2rem;
}

/* ============== NAVBAR ============== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 1001;
}

/* Crop the logo out to adjust for the navbar */
.logo img {
  height: 50px;
  width: 180px;
  object-fit: cover;
  object-position: center; /* Adjusts where we crop from */
}

/* Alternate approach if image doesn't look right: object-fit contain */
.logo.contain img {
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

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

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-color);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============== HERO SECTION ============== */
.hero {
  min-height: 100vh;
  padding-top: 80px;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--bg-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(12, 74, 110, 0.95), rgba(12, 74, 110, 0.7));
  z-index: -1;
}

.hero-content {
  max-width: 600px;
  animation: fadeUp 1s ease-out;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-btns {
  display: flex;
  gap: 1rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============== CARDS REUSABLE ============== */
.card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* ============== FEATURES SECTION ============== */
.features {
  padding: var(--section-padding);
  background-color: var(--bg-white);
}

.features-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.feature-img-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 250px;
  margin-bottom: 1.5rem;
}
.feature-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .feature-img-wrapper img {
  transform: scale(1.05);
}

/* ============== ABOUT SNIPPET SECTION ============== */
.about-snippet {
  padding: var(--section-padding);
  background-color: var(--bg-light);
}

.about-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.about-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.about-experience {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-experience h4 {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--accent-color);
}

.about-content h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.about-list {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.about-list li svg {
  color: var(--accent-color);
}

/* ============== CTA BANNER ============== */
.cta-banner {
  background: linear-gradient(rgba(2, 132, 199, 0.9), rgba(12, 74, 110, 0.9)), url('Images/person-in-hazmat-suit-disinfecting-street-with-sprayer-surface-treatment-during-coronavirus-pandemic-a-guy-from-the-pest-control-service-in-a-mask-and-a-white-protective-suit-sprays-poisonous-gas-photo.jpg') center/cover fixed;
  padding: 6rem 0;
  text-align: center;
  color: var(--bg-white);
}

.cta-banner h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ============== PROCESS SECTION ============== */
.process {
  padding: var(--section-padding);
  background-color: var(--bg-white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
}

.step-card {
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 1;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.step-num {
  width: 50px;
  height: 50px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.2);
}

/* ============== TESTIMONIALS ============== */
.testimonials {
  padding: var(--section-padding);
  background-color: var(--bg-light);
}

.testimonial-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.testimonial-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.stars {
  color: #fbbf24;
  margin-bottom: 1rem;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.client-initial {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* ============== FAQ SECTION ============== */
.faq {
  padding: var(--section-padding);
  background-color: var(--bg-white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 1.5rem 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-muted);
  margin-top: 0;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  margin-top: 1rem;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-icon {
  transition: transform 0.3s ease;
}

/* ============== PESTS WE TREAT BADGES ============== */
.pests-treat {
  padding: var(--section-padding);
  background-color: var(--bg-light);
}

.pests-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.pest-badge {
  background: var(--bg-white);
  padding: 1rem 2rem;
  border-radius: 2rem;
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  color: var(--primary-color);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}
.pest-badge:hover {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

/* ============== REPUTATION / METRICS ============== */
.metrics {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}
.metric-item h3 {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

/* ============== FOOTER ============== */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  color: var(--bg-white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-text {
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  color: #94a3b8;
}
.footer-contact svg {
  color: var(--accent-color);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 2rem;
  text-align: center;
  color: #94a3b8;
}

/* ============== INNER PAGES HEADER ============== */
.page-header {
  padding: 10rem 0 6rem;
  background: linear-gradient(to right, rgba(12, 74, 110, 0.95), rgba(12, 74, 110, 0.8)), url('Images/images (1).jpg') center/cover;
  color: white;
  text-align: center;
}
.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* ============== ABOUT PAGE SPECS ============== */
.team {
  padding: var(--section-padding);
}
.promise {
  background-color: var(--accent-color);
  color: white;
  padding: 5rem 0;
  text-align: center;
}
.promise h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* ============== CONTACT PAGE SPECS ============== */
.contact-wrapper {
  padding: var(--section-padding);
}
.contact-grid {
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-info-boxes {
  display: grid;
  gap: 1.5rem;
}
.info-box {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.info-box svg {
  color: var(--accent-color);
  width: 40px;
  height: 40px;
}
.contact-form {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}
.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* ============== MAP SECTION ============== */
.map-section iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ============== SERVICES CARDS EXTENDED ============== */
.service-details {
  padding: var(--section-padding);
  background: var(--bg-white);
}
.service-details-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* ============== RESPONSIVE DESIGN ============== */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-white);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 3rem;
    gap: 2rem;
    transition: var(--transition);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .about-experience {
    bottom: 0;
    right: 0;
    width: 100%;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }
  .section-padding {
    padding: 3.5rem 0;
  }
}
