.btn {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--light-color);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(14, 102, 85, 0.2);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  transition: all 0.4s ease;
  z-index: -1;
  border-radius: 50px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(14, 102, 85, 0.3);
}

.btn:hover::before {
  width: 100%;
}

.service-card {
  background-color: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
  transform: scaleY(0);
  transition: transform 0.4s ease;
  transform-origin: bottom;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
  transform: scaleY(1);
}

.service-card .icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(14, 102, 85, 0.1), rgba(22, 160, 133, 0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.4s ease;
}

.service-card:hover .icon {
  transform: rotateY(180deg);
}

.service-card .icon i {
  font-size: 32px;
  color: var(--primary-color);
  transition: transform 0.6s ease;
}

.service-card:hover .icon i {
  color: var(--accent-color);
  transform: rotateY(180deg);
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--primary-color);
  z-index: 1001;
  width: 0%;
  transition: width 0.3s ease;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--accent-color);
  transform: translateY(-5px);
}

.form-group {
  margin-bottom: 20px;
  width: 100%;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-color);
  transition: all 0.3s ease;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border-radius: 5px;
  border: 1px solid var(--light-gray);
  font-family: inherit;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-group.focused label {
  color: var(--primary-color);
}

.form-group.focused input,
.form-group.focused textarea {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.1);
}

.form-group.has-error label {
  color: #e74c3c;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #e74c3c;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1);
}

.testimonial {
  flex: 0 0 auto;
  width: 400px;
  opacity: 1;
  transition: all 0.5s ease;
  background-color: white;
  border-radius: 15px;
  padding: 30px;
  margin: 0 15px;
  min-width: 300px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimonial:hover {
  transform: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.quote {
  background-color: white;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.quote i {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 15px;
  display: block;
}

.client {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.client h4 {
  margin-bottom: 5px;
  color: var(--primary-color);
}

.video-container {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-container iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

.video-container h3 {
  padding: 1rem;
  text-align: center;
  color: var(--primary-color);
  font-size: 1.2rem;
  margin: 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 40px;
  background-color: var(--primary-color);
  color: white;
}

.contact-header {
  margin-bottom: 20px;
}

.contact-header h3 {
  color: white;
  font-size: 24px;
  margin-bottom: 10px;
}

.contact-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-item i {
  font-size: 22px;
  color: white;
  background-color: rgba(255, 255, 255, 0.15);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.contact-item:hover i {
  background-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.contact-item h3 {
  margin-bottom: 5px;
  color: white;
  font-size: 18px;
}

.contact-item p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

.contact-item a {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.contact-item a:hover {
  color: white;
  text-decoration: underline;
}

.contractor-credentials {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contractor-credentials h3 {
  color: white;
  font-size: 20px;
  margin-bottom: 15px;
}

.credentials-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.credential-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 10px 15px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.credential-badge:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.credential-badge i {
  color: var(--accent-color);
  font-size: 16px;
}

.credential-badge span {
  color: white;
  font-weight: 500;
  font-size: 14px;
}

.emergency-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 50px;
  background-color: #fff9e6;
  border-left: 4px solid #ffc107;
  padding: 20px 30px;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.emergency-contact:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.emergency-icon {
  font-size: 30px;
  color: #ffc107;
  background-color: rgba(255, 193, 7, 0.1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.emergency-text h3 {
  color: var(--dark-color);
  margin-bottom: 5px;
  font-size: 18px;
}

.emergency-text p {
  margin: 0;
  color: var(--gray-color);
}

.emergency-text a {
  color: var(--primary-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

.emergency-text a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.about-text-container {
  background-color: rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  padding: 2.25rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  border-top: 4px solid var(--primary-color);
  transition: all 0.3s ease;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.about-text-container:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.about-paragraphs p {
  line-height: 1.8;
  color: var(--dark-color);
  margin: 0;
  font-size: 1.05rem;
  font-family: var(--body-font);
  font-weight: 400;
  letter-spacing: 0.2px;
  position: relative;
  padding-left: 0;
}

.about-paragraphs p:first-child {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem auto;
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  border-left: 3px solid var(--accent-color);
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  background-color: white;
}

.feature i {
  color: var(--accent-color);
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.feature:hover i {
  transform: scale(1.2);
}

.feature span {
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--dark-color);
  letter-spacing: 0.2px;
}

.about-mission-vision {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2rem auto;
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.mission, .vision {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-align: left;
  border-top: 4px solid var(--primary-color);
}

.mission::before, .vision::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
  transform: scaleY(0);
  transition: transform 0.4s ease;
  transform-origin: bottom;
  z-index: -1;
}

.mission:hover::before, .vision:hover::before {
  transform: scaleY(1);
}

.mission:hover, .vision:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.mission h3, .vision h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-family: var(--heading-font);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.mission i, .vision i {
  color: var(--accent-color);
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.mission:hover i, .vision:hover i {
  transform: rotate(360deg);
}

.mission p, .vision p {
  line-height: 1.8;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  color: var(--dark-color);
  letter-spacing: 0.2px;
}

.mission p:last-child, .vision p:last-child {
  margin-bottom: 0;
}

.about-image {
  position: relative;
  height: 48%;
  flex: 1;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  max-width: 100%;
  background-color: #f5f5f5;
  opacity: 1;
  transition: all 0.4s ease;
  margin-bottom: 0;
}

.about-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.3));
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-image:hover::after {
  opacity: 1;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-image-secondary {
  margin-top: 0;
  height: 48%;
  flex: 1;
  min-height: 350px;
  display: block;
}

@media (max-width: 992px) {
  .about-image-secondary {
    display: none;
  }
}

.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color 0.3s ease;
  text-decoration: none;
  margin-top: 1rem;
}

.powered-by:hover {
  color: var(--accent-color);
}

.powered-by i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.powered-by:hover i {
  transform: rotate(360deg);
}

.footer-contact {
  margin: 1rem 0;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact a {
  color: var(--light-color);
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--accent-color);
}

.footer-logo h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
  position: relative;
  transition: transform 0.3s ease;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  transform-origin: center;
}

.mobile-menu-btn.active {
  transform: rotate(180deg);
}

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

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

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

body.mobile-menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

@media (max-width: 992px) {
  body.mobile-menu-open {
    overflow: hidden;
    overscroll-behavior: none;
  }
}

header .container {
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
}

.service-card-content {
  margin-bottom: 1.5rem;
}

.service-card-buttons {
  margin-top: 20px;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(var(--light-gray-rgb), 0.3);
  padding-bottom: 12px;
}

.service-list li:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.service-list a {
  color: var(--dark-color);
  font-weight: 500;
  transition: all 0.3s ease;
  display: block;
  padding: 5px 0;
  position: relative;
  padding-left: 20px;
}

.service-list a::before {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.service-list a:hover {
  color: var(--primary-color);
  padding-left: 25px;
}

.service-list a:hover::before {
  color: var(--accent-color);
  left: 5px;
}

.ttkm-highlight {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.ttkm-highlight:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.ttkm-text {
  margin-left: 8px;
}

.ttkm-text strong {
  font-weight: 700;
  font-size: 1.1em;
  color: #ffdd00;
}

@media (max-width: 768px) {
  .service-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  .service-card:hover {
    transform: none !important;
  }
  
  .testimonial {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  .contact-form-container,
  .contact-info {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  .form-group input,
  .form-group textarea {
    transition: border-color 0.2s ease;
  }
  
  .btn:hover {
    transform: none !important;
  }
} 