/* Tell-A-Friend Landscaping Landing Page Custom Stylesheet */

@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700&display=swap");

/* Color Variables */
:root {
  --primary-green: #2e7d32;
  --dark-green: #1b5e20;
  --accent-gold: #c8a951;
  --earth-brown: #6d4c41;
  --white: #ffffff;
  --light-gray: #f5f7f5;
  --text-dark: #212529;
  --text-muted: #555555;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Global Reset & Base Styles */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px; /* Sticky navbar offset */
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: var(--dark-green);
}

/* Scrollbar customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--light-gray);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-green);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--dark-green);
}

/* Utility Classes */
.bg-light-gray {
  background-color: var(--light-gray);
}
.text-primary-green {
  color: var(--primary-green);
}
.text-accent-gold {
  color: var(--accent-gold);
}
.content-width-650 {
  max-width: 650px;
}
.content-width-600 {
  max-width: 600px;
}
.content-width-700 {
  max-width: 700px;
}
.captcha-feedback {
  display: none;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 3px;
  box-shadow: 0 0 0 0.25rem rgba(200, 169, 81, 0.35);
}
.btn-primary-green {
  background-color: var(--primary-green);
  color: var(--white);
  border: 2px solid var(--primary-green);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  transition: var(--transition);
}
.btn-primary-green:hover,
.btn-primary-green:focus,
.btn-primary-green:focus-visible {
  background-color: var(--dark-green);
  border-color: var(--dark-green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.btn-accent-gold {
  background-color: var(--accent-gold);
  color: var(--white);
  border: 2px solid var(--accent-gold);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  transition: var(--transition);
}
.btn-accent-gold:hover,
.btn-accent-gold:focus,
.btn-accent-gold:focus-visible {
  background-color: #bfa14a;
  border-color: #bfa14a;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.btn-outline-custom {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  transition: var(--transition);
}
.btn-outline-custom:hover,
.btn-outline-custom:focus-visible {
  background-color: var(--white);
  color: var(--dark-green);
  transform: translateY(-2px);
}

/* Sticky Header & Navbar */
.sticky-navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: var(--white);
  transition: var(--transition);
  border-bottom: 2px solid rgba(46, 125, 50, 0.1);
}
.sticky-navbar .navbar {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.navbar-brand {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.sticky-navbar.scrolled {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
/* Mobile Default Brand Styles */
.navbar-brand img {
  height: 55px;
  display: block;
  transition: var(--transition);
}
.navbar-brand-text {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #e67e22; /* Vibrant orange matching logo circle accent */
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1;
  transition: var(--transition);
}
.navbar-brand-subtext {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  color: var(--primary-green); /* Deep green color matching the logo */
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
  transition: var(--transition);
}

/* Desktop Responsive Expansion */
@media (min-width: 992px) {
  .navbar-brand img {
    height: 80px;
  }
  .navbar-brand-text {
    font-size: 1.4rem;
    letter-spacing: 0.5px;
  }
  .navbar-brand-subtext {
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    margin-top: 4px;
  }

  /* Desktop Scrolled Transition */
  .sticky-navbar.scrolled .navbar-brand img {
    height: 60px;
  }
  .sticky-navbar.scrolled .navbar-brand-text {
    font-size: 1.1rem;
  }
  .sticky-navbar.scrolled .navbar-brand-subtext {
    font-size: 0.65rem;
  }
}
.nav-link {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background-color: var(--primary-green);
  transform: scaleX(0);
  transition: var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary-green) !important;
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  background-color: var(--dark-green);
  color: var(--white);
  padding: 120px 0 100px 0;
}
@media (min-width: 992px) {
  .hero-section {
    padding: 160px 0 140px 0;
  }
}
.hero-section .container {
  position: relative;
  z-index: 3;
}
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
.hero-video.is-playing {
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(27, 94, 32, 0.8), rgba(109, 76, 65, 0.65));
  z-index: 2;
}
.hero-title {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 3.8rem;
  }
}
.hero-subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  max-width: 800px;
}
@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.35rem;
  }
}
.trust-badge-container {
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 3.5rem;
}
.trust-badge-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}
.trust-badge-item i {
  font-size: 1.4rem;
  color: var(--accent-gold);
}

/* Feature Cards (Why Choose Us) */
.feature-card {
  border: none;
  border-radius: 15px;
  background-color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  overflow: hidden;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(46, 125, 50, 0.12);
}
.feature-icon-wrapper {
  width: 70px;
  height: 70px;
  background-color: rgba(46, 125, 50, 0.08);
  color: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem auto;
  transition: var(--transition);
}
.feature-card:hover .feature-icon-wrapper {
  background-color: var(--primary-green);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}

/* Services Section Background and Contrast */
#services {
  background-color: var(--accent-gold);
  color: var(--text-dark);
}
#services h2 {
  color: var(--dark-green);
}
#services .text-muted {
  color: var(--text-dark) !important;
  opacity: 0.9;
}
#services .text-primary-green {
  color: var(--dark-green) !important;
}
#services .service-card:hover {
  border-bottom-color: var(--primary-green);
}

/* Service Cards */
.service-card {
  border: none;
  border-radius: 15px;
  background-color: var(--white);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  height: 100%;
  border-bottom: 4px solid transparent;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border-bottom-color: var(--primary-green);
}
.service-card-body {
  padding: 2rem 1.8rem;
}
.service-icon-box {
  font-size: 2.5rem;
  color: var(--primary-green);
  margin-bottom: 1.25rem;
}
.service-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-green);
}
.service-btn {
  color: var(--primary-green);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 0.5rem;
  transition: var(--transition);
  white-space: nowrap;
}
.service-btn i {
  transition: var(--transition);
}
.service-btn:hover {
  color: var(--dark-green);
}
.service-btn:hover i {
  transform: translateX(4px);
}

/* About Section */
.about-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.about-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--dark-green);
  color: var(--white);
  border-left: 5px solid var(--accent-gold);
  padding: 1rem 1.5rem;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  max-width: 250px;
}
.tab-content-container {
  background-color: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(46, 125, 50, 0.1);
}
.nav-pills-custom .nav-link {
  background: none;
  border: 1px solid rgba(46, 125, 50, 0.2);
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark) !important;
  border-radius: 30px;
  font-weight: 600;
}
.nav-pills-custom .nav-link::after {
  display: none;
}
.nav-pills-custom .nav-link.active {
  background-color: var(--primary-green) !important;
  color: var(--white) !important;
  border-color: var(--primary-green);
}

/* Gallery Section */
.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-comparison {
  display: flex;
  width: 100%;
  height: 100%;
  gap: 2px;
}
.before-box,
.after-box {
  flex: 1;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.before-box img,
.after-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.badge-comparison {
  position: absolute;
  top: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  color: var(--white);
  z-index: 5;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.before-badge {
  left: 10px;
  background-color: var(--earth-brown);
}
.after-badge {
  right: 10px;
  background-color: var(--primary-green);
}
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(27, 94, 32, 0.9),
    rgba(46, 125, 50, 0.4)
  );
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
  padding: 1.5rem;
  text-align: center;
}
.gallery-item:hover .before-box img,
.gallery-item:hover .after-box img {
  transform: scale(1.08);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay i {
  font-size: 2.2rem;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.gallery-item:hover .gallery-overlay i {
  transform: translateY(0);
}
.gallery-overlay h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.gallery-overlay p {
  font-size: 0.85rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Testimonials Carousel */
.testimonials-section {
  background:
    linear-gradient(rgba(245, 247, 245, 0.93), rgba(245, 247, 245, 0.93)),
    url("../assests/img/tellafriend_watermark.png") no-repeat center center;
  background-size: contain;
}
.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 3rem 2rem;
  position: relative;
  border-top: 5px solid var(--accent-gold);
}
@media (min-width: 768px) {
  .testimonial-card {
    padding: 4rem 5rem;
  }
}
.testimonial-quote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .testimonial-quote {
    font-size: 1.35rem;
  }
}
.testimonial-avatar {
  width: 60px;
  height: 60px;
  background-color: var(--primary-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 1rem auto;
}
.testimonial-stars {
  color: var(--accent-gold);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* Service Area Map */
.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 2px solid rgba(46, 125, 50, 0.1);
}
.map-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}
.map-container:hover img {
  transform: scale(1.02);
}
.area-list-item {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
}
.area-list-item i {
  color: var(--primary-green);
}

/* Contact Lead Form */
.contact-section {
  position: relative;
  overflow: hidden;
}
.form-container {
  background-color: var(--white);
  border-radius: 20px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
  border-top: 6px solid var(--primary-green);
}
.form-control,
.form-select {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.25rem rgba(46, 125, 50, 0.2);
}
.form-label {
  font-weight: 600;
  color: var(--dark-green);
  font-size: 0.9rem;
  font-family: "Poppins", sans-serif;
}
.security-checkbox-label {
  font-size: 0.9rem;
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
  color: var(--white);
  border-top: 4px solid var(--accent-gold);
}

/* Footer styling */
.footer-section {
  background-color: var(--dark-green);
  color: rgba(255, 255, 255, 0.85);
  border-top: 5px solid var(--accent-gold);
}
.footer-section h4 {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}
.footer-section h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-gold);
}
.footer-logo {
  height: 21.21mm; /* Physical size of a US nickel */
  width: auto;
  margin-bottom: 1.5rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}
.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-radius: 50%;
  margin-right: 0.5rem;
  text-decoration: none;
  transition: var(--transition);
}
.footer-social-icon:hover {
  background-color: var(--accent-gold);
  color: var(--white);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}
.hover-underline:hover {
  text-decoration: underline !important;
}

/* Lightbox custom system */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 1080;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox-modal.show {
  display: flex;
  opacity: 1;
}
.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-comparison {
  display: flex;
  gap: 15px;
  width: 100%;
  max-width: 900px;
  justify-content: center;
}
.lightbox-before,
.lightbox-after {
  flex: 1;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border: 3px solid rgba(255, 255, 255, 0.1);
}
.lightbox-img-before,
.lightbox-img-after {
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: contain;
  display: block;
}
.lightbox-label {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  color: var(--white);
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.lightbox-before .lightbox-label {
  background-color: var(--earth-brown);
}
.lightbox-after .lightbox-label {
  background-color: var(--primary-green);
}
@media (max-width: 767px) {
  .lightbox-comparison {
    flex-direction: column;
    gap: 10px;
  }
  .lightbox-img-before,
  .lightbox-img-after {
    max-height: 30vh;
  }
}
.lightbox-caption {
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 1rem;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  color: var(--white);
  font-size: 2.2rem;
  cursor: pointer;
  background: none;
  border: none;
  transition: var(--transition);
}
.lightbox-close:hover {
  color: var(--accent-gold);
  transform: scale(1.1);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--white);
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox-nav:hover {
  background-color: var(--accent-gold);
  color: var(--white);
}
.lightbox-prev {
  left: -70px;
}
.lightbox-next {
  right: -70px;
}
@media (max-width: 767px) {
  .lightbox-prev {
    left: -15px;
    background: rgba(0, 0, 0, 0.5);
  }
  .lightbox-next {
    right: -15px;
    background: rgba(0, 0, 0, 0.5);
  }
}

/* Back to Top Button */
.btn-back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--primary-green);
  color: var(--white);
  border: 2px solid var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.btn-back-to-top:hover,
.btn-back-to-top:focus {
  background-color: var(--dark-green);
  border-color: var(--dark-green);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  outline: none;
}
.btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 576px) {
  .btn-back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}
