/* custom.css */


@charset "UTF-8";

/* Enable CORS for Cloudinary images */
img[src*="res.cloudinary.com"] {
  cross-origin: anonymous;
}


body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
   border: 4px solid #3B5C3B;
}

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

.site-header {
  background-color: #fff;
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
}



.main-nav a {
  text-decoration: none;
  color: #333;
}


/* Tablet (≥768px) */
@media (min-width: 768px) {
  .hero-title {
    font-size: 2rem;
    letter-spacing: 3px;
  }
  .hero .btn {
    font-size: 1rem;
    padding: 12px 24px;
  }
}

/* Desktop (≥1024px) */
@media (min-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero .btn {
    font-size: 1.1rem;
    padding: 14px 28px;
  }
}

/* Mobile (default) */
@media (max-width: 767px) {
  .hero {
    max-width: 500px;
    min-height: 200px;
  }
}

/* Tablet & larger */
@media (min-width: 768px) {
  .hero {
    max-width: 100%;
    min-height: 70vh; /* tall desktop hero */
    border-radius: 0;
  }
}

/* Fade-in content */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Overlay fade-in */
@keyframes overlayFade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideUpPop {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  text-decoration: none;
  border-radius: 4px;
}

#services {
  position: relative;
  background-color: #f9faf9;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 40c5-10-5-20 0-40 5 20-5 30 0 40z' fill='%23c8e5d2' fill-opacity='0.15'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 80px 80px;
  padding: 80px 20px;
}


.services {
  padding: 60px 20px;
  background: #f7f9f7; /* soft neutral background for contrast */
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border-top: 6px solid transparent; /* accent goes here */
}

/* Initial hidden state */
.service-card {
  position: relative;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  overflow: hidden;
}

/* Accent border layer */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 6px;
  width: 0; /* start hidden */
  transition: width 0.6s ease;
}

/* Active state when in view */

.service-card.visible {
  animation: fadeSlideUpPop 0.9s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Hover lift */
.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

/* Service images */
.service-image {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.95) contrast(1.1);
  transition: filter 0.3s ease;
}

.service-card:hover .service-image {
  filter: brightness(1.1) contrast(1.2) saturate(1.15);
}

/* Service text */
.service-text {
  padding: 15px 10px;
  font-weight: 600;
  font-size: 1.1rem;
  color: #3B5C3B;
  background: linear-gradient(90deg, rgba(242,244,245,1) 0%, rgba(87,199,133,0.1) 100%);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (min-width: 768px) {
  .service-card:nth-child(3n+1) { transform: translateY(25px); }
  .service-card:nth-child(3n+2) { transform: translateY(-15px); }
  .service-card:nth-child(3n+3) { transform: translateY(10px); }
}

/* Accent colors */
.service-card:nth-child(1) { border-top-color: #57c785; } /* Garden Installation */
.service-card:nth-child(2) { border-top-color: #4cc3f1; } /* Hardscape */
.service-card:nth-child(3) { border-top-color: #f5a623; } /* Decks */
.service-card:nth-child(4) { border-top-color: #e94e77; } /* Fences */



#signup .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  
  background: linear-gradient(
    135deg,
    rgba(242, 244, 245, 1) 0%,
    rgba(223, 245, 234, 1) 50%,
    rgba(200, 235, 218, 1) 100%
  );
  padding: 80px 20px;
}

/* Card wrapper */
.signup-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  padding: 30px 25px;
  max-width: 420px;
  width: 100%;
  margin-top: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.signup-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input,
form textarea {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: #4CAF50;
  box-shadow: 0 0 6px rgba(76, 175, 80, 0.3);
}

form textarea {
  resize: vertical;
  min-height: 120px;
}

form button {
  padding: 15px;
  border: none;
  border-radius: 8px;
  background: #4CAF50;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

form button:hover {
  background: #43a047;
  transform: translateY(-2px);
}

#form-status,
#cta-status {
  margin-top: 15px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 1;
  transition: opacity 1s ease-in-out;
}

.checkmark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  background: #4CAF50;
  transform: scale(0);
  animation: pop 0.3s ease forwards;
}

.checkmark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

@keyframes pop {
  to {
    transform: scale(1);
  }
}


.about {
  margin-top: 40px;
}

.site-footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px 0;
}

/* Inline styles moved from HTML */
.logo-link {
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#heading {
  line-height: 60px;
  text-align: center;
}

.utility-page-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.div-block-4 {
  text-align: center;
}

.about-section {
  background: #f9faf9;
  padding: 60px 20px;
}

.about-section .container {
  max-width: 800px;
  margin: 0 auto 40px auto;
  padding: 20px 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-section .container:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.about-section h2, 
.about-section h3 {
  color: #2e6b3b;
  margin-bottom: 12px;
}

.about-section p {
  line-height: 1.7;
  font-size: 1.1rem;
  color: #333;
}

.social-links {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #2e6b3b;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  background: #1f4a29;
  transform: translateY(-3px);
}

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

footer .social-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2e6b3b;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

footer .social-links a:hover {
  background: #1f4a29;
  transform: translateY(-3px);
}

footer .social-links svg {
  width: 18px;
  height: 18px;
}

.faq-section {
  padding: 60px 20px;
  background: #f9f9f9;
}

.faq-section .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
}

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

.faq-item {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 15px;
  background: #fff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: #4CAF50;
  color: #fff;
  padding: 15px 20px;
  font-size: 1.1rem;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #45a049;
}

.faq-answer {
  display: none;
  padding: 15px 20px;
  background: #fff;
  color: #333;
}

.faq-item.active .faq-answer {
  display: block;
}

