.portfolio-overlay h3 {
  color: white;
  margin-bottom: 10px;
  font-size: 20px;
  text-align: center;
}

.portfolio-overlay p {
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin-bottom: 15px;
}

.portfolio-btn {
  background-color: var(--primary);
  color: white;
  padding: 8px 15px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
}

.portfolio-btn:hover {
  background-color: white;
  color: var(--primary);
}

/* Testimonials Section */
.testimonials {
  background-color: var(--bg-color);
  position: relative;
  overflow: hidden;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  transition: var(--transition);
  height: 100%;
  position: relative;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.testimonial-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-xl);
}

.testimonial-quote {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-content {
  position: relative;
  margin-bottom: 2.5rem;
  color: var(--gray-600);
  font-size: 1.125rem;
  line-height: 1.8;
  font-style: italic;
  font-weight: 300;
}

.testimonial-rating {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: var(--copper);
  font-size: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.testimonial-author-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}

.testimonial-author-info h4 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  color: var(--text-color);
}

.testimonial-author-info span {
  color: var(--gray-600);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, #8f1414 0%, #c41e1e 48%, #a11616 100%);
  color: var(--light);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  background-image:
    url("data:image/svg+xml,%3Csvg width='56' height='56' viewBox='0 0 56 56' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' fill-opacity='0.14' d='M0 56L56 0H28L0 28m56 28V28L28 56'/%3E%3C/svg%3E"),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.16), transparent 42%),
    radial-gradient(circle at 80% 80%, rgba(0,0,0,0.18), transparent 45%);
  background-size: 56px 56px, 100% 100%, 100% 100%;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.18));
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-title {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  color: var(--light);
  text-transform: uppercase;
  line-height: 1;
}

.cta-text {
  margin-bottom: 3rem;
  opacity: 0.9;
  font-size: 1.25rem;
  line-height: 1.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* Contact Section */
.contact {
  background-color: var(--bg-color);
  position: relative;
  overflow: hidden;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  position: relative;
}

.contact-info-content {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.contact-text {
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  font-size: 1.125rem;
  line-height: 1.8;
  font-weight: 300;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-details h4 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  color: var(--text-color);
}

.contact-details p,
.contact-details a {
  color: var(--gray-600);
  font-size: 1rem;
}

.contact-details a:hover {
  color: var(--primary);
}

.contact-form-wrapper {
  position: relative;
}

.contact-form {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.contact-form h3 {
  margin-bottom: 2rem;
  font-size: 2.5rem;
  color: var(--text-color);
  text-transform: uppercase;
}

/* Footer */
.footer {
  background-color: var(--secondary);
  color: var(--gray-400);
  padding: 6rem 0 0;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-widget h3 {
  color: var(--light);
  margin-bottom: 2rem;
  position: relative;
  font-size: 2.5rem;
  padding-bottom: 1rem;
  text-transform: uppercase;
}

.footer-widget h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

.footer-widget p {
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1rem;
  font-weight: 300;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.25rem;
  border-radius: 50%;
}

.footer-social a:hover {
  background-color: var(--primary);
  transform: translateY(-5px);
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  transition: var(--transition);
  display: inline-block;
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
  color: var(--gray-400);
  font-weight: 300;
}

.footer-links a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  transform: translateY(-50%);
  transition: var(--transition);
  border-radius: 50%;
}

.footer-links a:hover {
  color: var(--light);
  padding-left: 2rem;
}

.footer-links a:hover::before {
  left: 0.5rem;
  background-color: var(--light);
}

.footer-contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  font-weight: 300;
}

.footer-contact-icon {
  color: var(--primary);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 300;
}

/* Dripping Faucet Easter Egg */
.faucet-container {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 100px;
  height: 100px;
  z-index: 999;
  cursor: pointer;
  transition: var(--transition);
}

.faucet {
  width: 100%;
  height: 100%;
  position: relative;
}

.faucet-head {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 15px;
  background-color: var(--copper);
  border-radius: 5px 5px 0 0;
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.3);
}

.faucet-neck {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 30px;
  background-color: var(--copper-light);
  box-shadow: inset -2px 0 3px rgba(0, 0, 0, 0.2);
}

.faucet-body {
  position: absolute;
  top: 55px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 25px;
  background-color: var(--copper-dark);
  border-radius: 3px;
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.3);
}

.faucet-handle {
  position: absolute;
  top: 60px;
  right: 25px;
  width: 30px;
  height: 10px;
  background-color: var(--copper);
  border-radius: 5px;
  transform: rotate(-10deg);
  transform-origin: left center;
  transition: transform 0.3s ease;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.faucet-handle.active {
  transform: rotate(-40deg);
}

.faucet-base {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 15px;
  background-color: var(--copper);
  border-radius: 0 0 5px 5px;
  box-shadow: inset 0 -2px 3px rgba(0, 0, 0, 0.3);
}

.faucet-connector {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 15px;
  background-color: var(--copper-light);
  box-shadow: inset 0 -2px 3px rgba(0, 0, 0, 0.2);
}

.faucet-shine {
  position: absolute;
  top: 15px;
  left: 60%;
  width: 8px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  transform: rotate(30deg);
}

.water-drop {
  position: absolute;
  top: 55px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 12px;
  background-color: var(--water-blue);
  border-radius: 5px 5px 10px 10px;
  opacity: 0;
  animation: drip 3s infinite;
}

.water-drop.active {
  animation: drip 0.5s infinite;
}

.water-splash {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 5px;
  background-color: rgba(52, 152, 219, 0.5);
  border-radius: 50%;
  opacity: 0;
}

.water-splash.active {
  animation: splash 0.5s infinite;
}

.faucet-contact-btn {
  position: absolute;
  bottom: -70px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: var(--light);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-full);
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.faucet-contact-btn.active {
  opacity: 1;
  visibility: visible;
  bottom: -60px;
}

@keyframes drip {
  0% {
    top: 55px;
    opacity: 0;
    height: 12px;
    width: 8px;
  }
  10% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    top: 100px;
    opacity: 0;
    height: 15px;
    width: 6px;
  }
}

@keyframes splash {
  0% {
    opacity: 0;
    width: 0;
    height: 0;
  }
  50% {
    opacity: 0.5;
    width: 20px;
    height: 5px;
  }
  100% {
    opacity: 0;
    width: 30px;
    height: 2px;
  }
}

/* Scroll To Top */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 100;
  box-shadow: 0 10px 20px rgba(196, 30, 30, 0.3);
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(196, 30, 30, 0.4);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 5rem;
  }

  .section-title,
  .cta-title {
    font-size: 4rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    order: 1;
  }

  .hero-form-wrapper {
    order: 2;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-features {
    justify-content: center;
  }

  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
  }

  .mobile-toggle:hover {
    color: var(--primary);
  }

  .header-actions {
    display: none;
  }

  .brand-logo .logo-text {
    font-size: 2.15rem;
  }

  .brand-logo .logo-tagline {
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }

  .hero-years-kicker {
    margin-left: auto;
    margin-right: auto;
  }

  .about-years-callout {
    justify-content: center;
  }

  .about-container,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image {
    order: 1;
  }

  .about-content {
    order: 2;
    text-align: center;
  }

  .about-badge {
    justify-content: center;
  }
}

