/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Updated to use Figtree font */
body {
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

ul {
  margin-left: 1.5rem;
  margin-bottom: 0.75rem;
}

li {
  margin-bottom: 0.4rem;
}

/* Improved header with vertically centered menu items */
/* Header & Navigation */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 0.75rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Updated logo height for new logo file */
.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #076454;
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}

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

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

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.nav-links a:hover {
  /* Updated to official brand color #076454 */
  color: #076454;
}

.nav-links .cta-button {
  /* Updated to official brand color #076454 */
  background-color: #076454;
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

/* Updated contact button hover to match other buttons */
.nav-links .cta-button:hover {
  /* Updated hover to darker official color #006351 */
  background-color: #006351;
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  text-decoration: none;
  border-radius: 50px; /* Changed from 5px to 50px for more pill-shaped buttons */
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  text-align: center;
}

.btn-primary {
  /* Updated to official brand color #076454 */
  background-color: #076454;
  color: #fff;
}

.btn-primary:hover {
  /* Updated hover to darker official color #006351 */
  background-color: #006351;
}

.btn-secondary {
  background-color: transparent;
  /* Updated to official brand color #076454 */
  color: #076454;
  border: 2px solid #076454;
}

.btn-secondary:hover {
  /* Updated to official brand color #076454 */
  background-color: #076454;
  color: #fff;
}

/* Hero Section */
/* Added background image with gradient overlay for text legibility */
#hero {
  /* Updated gradient to official brand colors #076454 and #006351 */
  background: linear-gradient(rgba(7, 100, 84, 0.7), rgba(0, 99, 81, 0.7)), url("images/hero.jpeg") no-repeat center
    center;
  background-size: cover;
  color: #fff;
  padding: 10rem 0;
  text-align: center;
  position: relative;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
}

#hero .container {
  position: relative;
  z-index: 2;
}

#hero h1 {
  color: #fff;
}

.hero-subtext {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Added styling for trust icons */
/* Trust Section */
#trust {
  padding: 2.5rem 0;
  background-color: #fff;
}

.trust-items {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 2rem;
  text-align: center;
  flex-wrap: wrap;
}

.trust-item {
  flex: 1;
  min-width: 200px;
  /* Added to ensure proper centering */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-icon {
  /* Updated to official brand color #076454 */
  color: #076454;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.trust-icon svg {
  width: 48px;
  height: 48px;
}

.trust-item h3 {
  /* Updated to official brand color #076454 */
  color: #076454;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.trust-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Services Section */
#services {
  scroll-margin-top: 40px;
  padding: 3.5rem 0;
  background-color: #f8f9fa;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  padding: 0;
  background-color: #fff;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  /* Updated shadow to official brand color #076454 */
  box-shadow: 0 8px 20px rgba(7, 100, 84, 0.15);
}

.service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.service-card h3 {
  /* Updated to official brand color #076454 */
  color: #076454;
  margin-bottom: 0.75rem;
  padding: 1.5rem 1.75rem 0;
}

.service-card p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  padding: 0 1.75rem;
}

.service-card ul {
  margin-left: 1.25rem;
  padding: 0 1.75rem 1.75rem;
}

.service-card li {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

/* Featured Service Section */
/* Updated background to match CTA section */
#featured-service {
  padding: 3.5rem 0;
  /* Updated to official brand color #076454 */
  background-color: #076454;
  color: #fff;
}

.featured-content {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.featured-text {
  flex: 1;
}

.featured-text h2 {
  text-align: left;
  margin-bottom: 1rem;
  color: #fff;
}

.featured-text p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #fff;
}

/* Added to ensure button centering on mobile */
.featured-text .btn {
  display: inline-block;
}

/* Updated button styles for featured section with green background */
.featured-text .btn-primary {
  background-color: #fff;
  /* Updated to official brand color #076454 */
  color: #076454;
}

.featured-text .btn-primary:hover {
  /* Updated hover to light official color #d5ede9 */
  background-color: #d5ede9;
  /* Updated hover text to darker official color #006351 */
  color: #006351;
}

.featured-image {
  flex: 1;
}

.featured-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Gallery Section */
#gallery {
  scroll-margin-top: 40px;
  padding: 3.5rem 0;
  background-color: #f8f9fa;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 4 / 3;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Testimonials Section */
#testimonials {
  scroll-margin-top: 40px;
  padding: 3.5rem 0;
  background-color: #fff;
}

/* Simplified to 2x2 grid layout */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial-card {
  background-color: #f8f9fa;
  padding: 1.75rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.stars {
  color: #ffc107;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.customer-name {
  font-weight: 600;
  /* Updated to official brand color #076454 */
  color: #076454;
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.9rem;
}

/* Added styling for reviews link under testimonials */
.reviews-link {
  text-align: center;
  margin-top: 2rem;
}

.reviews-link a {
  /* Updated to official brand color #076454 */
  color: #076454;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  /* Updated border to official brand color #076454 */
  border-bottom: 2px solid #076454;
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.reviews-link a:hover {
  /* Updated hover to darker official color #006351 */
  color: #006351;
  border-color: #006351;
}

/* Updated areas section styling with list layout */
/* Areas Section */
#areas {
  padding: 3.5rem 0;
  text-align: center;
  background-color: #f8f9fa;
}

.coverage-info {
  margin-top: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.coverage-main {
  font-size: 1.2rem;
  /* Updated to official brand color #076454 */
  color: #076454;
  margin-bottom: 1rem;
}

.coverage-info > p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.areas-list {
  margin: 2rem 0;
}

.areas-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem 1.5rem;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.areas-list li {
  padding: 0.5rem 0.75rem;
  background-color: #fff;
  /* Updated border to official brand color #076454 */
  border-left: 3px solid #076454;
  border-radius: 4px;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.coverage-note {
  margin-top: 1.5rem;
  font-style: italic;
  color: #666;
  font-size: 0.95rem;
}

/* Pricing / How It Works Section */
#pricing {
  padding: 3.5rem 0;
  background-color: #fff;
}

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

.step {
  text-align: center;
  padding: 1.5rem;
}

.step-number {
  width: 55px;
  height: 55px;
  /* Updated to official brand color #076454 */
  background-color: #076454;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* About Section */
#about {
  padding: 3.5rem 0;
  background-color: #f8f9fa;
}

#about .container {
  max-width: 900px;
}

#about p {
  font-size: 1rem;
  text-align: center;
  line-height: 1.7;
}

/* Updated FAQ styling for accordion functionality */
/* FAQs Section */
#faqs {
  padding: 3.5rem 0;
  background-color: #fff;
}

.faq-list {
  max-width: 850px;
  margin: 2rem auto 0;
}

.faq-item {
  background-color: #f8f9fa;
  margin-bottom: 1rem;
  border-radius: 8px;
  /* Updated border to official brand color #076454 */
  border-left: 4px solid #076454;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 44px 12px rgba(0, 0, 0, 0.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  /* Updated to official brand color #076454 */
  color: #076454;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  /* Updated hover background to official brand color #076454 with transparency */
  background-color: rgba(7, 100, 84, 0.05);
}

/* Removed duplicate +/- icon - keeping only the ::after pseudo-element */
.faq-toggle {
  display: none;
}

/* Changed + to - when FAQ is active */
.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: bold;
  color: #076454;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question::after {
  content: "-";
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  /* Added top padding to FAQ answers */
  padding: 1rem 1.5rem 1.25rem;
}

.faq-answer p {
  line-height: 1.7;
  margin-bottom: 0;
  font-size: 0.95rem;
  color: #333;
}

/* CTA Section */
#cta {
  scroll-margin-top: 40px;
  padding: 3.5rem 0;
  /* Updated to official brand color #076454 */
  background-color: #076454;
  color: #fff;
  text-align: center;
}

#cta h2 {
  color: #fff;
}

#cta p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.contact-options {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

#cta .btn-primary {
  background-color: #fff;
  /* Updated to official brand color #076454 */
  color: #076454;
}

#cta .btn-primary:hover {
  /* Updated hover to light official color #d5ede9 */
  background-color: #d5ede9;
  /* Updated hover text to darker official color #006351 */
  color: #006351;
}

#cta .btn-secondary {
  border-color: #fff;
  color: #fff;
}

#cta .btn-secondary:hover {
  background-color: #fff;
  /* Updated to official brand color #076454 */
  color: #076454;
}

/* Improved footer with vertically centered privacy policy link */
/* Footer */
footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 2.5rem 0 1rem;
}

.footer-content {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-section {
  min-width: 200px;
}

/* Added footer logo styling with white filter */
.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-section h3 {
  /* Updated to lighter official brand color #326357 for better contrast on dark background */
  color: #326357;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.footer-section p {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Social Media Icons */
.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #326357;
  color: #fff;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  background-color: #076454;
  transform: translateY(-3px);
}

.social-icons svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  /* Updated to lighter official brand color #326357 */
  color: #326357;
  text-decoration: none;
  transition: color 0.3s ease;
  align-items: center;
}

.footer-bottom a:hover {
  /* Updated to official brand color #076454 */
  color: #076454;
}

/* Added floating WhatsApp button styling */
/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  /* Added shake animation that repeats every 3 seconds */
  animation: shake 3s linear infinite;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  4% {
    transform: translateX(-4px);
  }
  8% {
    transform: translateX(4px);
  }
  12% {
    transform: translateX(-4px);
  }
  16% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(0);
  }
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  /* Pause animation on hover */
  animation-play-state: paused;
}

.whatsapp-float img {
  display: block;
  height: 50px;
  width: auto;
  border-radius: 25px;
}

/* Added privacy policy page styling */
/* Privacy Policy Page */
#privacy-policy {
  padding: 3.5rem 0;
  background-color: #fff;
}

#privacy-policy h1 {
  text-align: center;
  color: #076454;
  margin-bottom: 0.5rem;
}

.last-updated {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
  font-style: italic;
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
}

.policy-content h2 {
  color: #076454;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: left;
}

.policy-content h3 {
  color: #006351;
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.policy-content p {
  line-height: 1.7;
  margin-bottom: 1rem;
  color: #333;
}

.policy-content ul {
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.policy-content li {
  margin-bottom: 0.5rem;
}

.policy-content a {
  color: #076454;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.policy-content a:hover {
  color: #006351;
}

/* Added cookie banner styling */
/* Cookie Banner */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1a1a1a;
  color: #fff;
  padding: 1.5rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  z-index: 2000;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-content p {
  flex: 1;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  min-width: 280px;
}

.cookie-content a {
  color: #326357;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.cookie-content a:hover {
  color: #076454;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-buttons .btn {
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 968px) {
  h2 {
    font-size: 1.75rem;
  }

  .featured-content {
    flex-direction: column;
    gap: 2rem;
  }

  .featured-text h2 {
    text-align: center;
  }

  /* Center the learn more button on mobile */
  .featured-text {
    text-align: center;
  }
}

/* Added comprehensive mobile styles for hamburger menu and testimonials */
@media (max-width: 768px) {
  /* Show hamburger menu on mobile */
  .mobile-menu-toggle {
    display: flex;
  }

  /* Mobile navigation styles */
  .nav-links {
    position: fixed;
    top: 0;
    left: -100%; /* Initially hide off-screen */
    width: 70%;
    max-width: 300px; /* Limit menu width */
    height: 100vh;
    background-color: #fff;
    flex-direction: column;
    padding-top: 5rem;
    align-items: center;
    justify-content: flex-start;
    transition: left 0.3s ease, box-shadow 0.3s ease;
    z-index: 999;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    left: 0; /* Slide in when active */
  }

  /* Add an overlay when the menu is active */
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }

  .mobile-menu-overlay.active {
    display: block;
  }

  .nav-links li {
    margin: 1rem 0; /* Space out menu items */
  }

  .nav-links a {
    padding: 0.75rem 0;
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
  }

  .nav-links .cta-button {
    width: auto; /* Reset width for mobile button */
    margin-top: 1rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr; /* Stack testimonials on smaller screens */
  }

  .trust-items {
    flex-direction: column;
    align-items: center;
  }

  .trust-item {
    min-width: unset;
    width: 80%; /* Adjust width for better appearance on small screens */
    max-width: 300px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
    width: 100%;
  }

  .btn {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
  }
}
