/* Custom logo styles */
.text-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 10px 15px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo-main {
  color: var(--color-1);
  font-family: var(--font-2);
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 1px;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
}

.logo-main:after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-1);
  transition: width 0.3s ease;
}

.text-logo:hover .logo-main:after {
  width: 100%;
}

.logo-sub {
  color: var(--color-2);
  font-family: var(--font-2);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* Alternating Sections and Global Styling */
.s-content section {
  padding: 8rem 0;
}

.s-content section:nth-of-type(even) {
  background-color: var(--color-white);
}

.s-content section:nth-of-type(odd) {
  background-color: #f5f8f7;
}

/* Introduction Section */
.s-intro {
  position: relative;
}

.s-intro::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(
    to bottom right,
    transparent 49%,
    var(--color-white) 50%
  );
  z-index: 1;
}

/* Section Headers */
.section-header {
  position: relative;
  margin-bottom: 4rem;
}

.section-header::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--color-1);
  margin-top: 1rem;
  border-radius: 2px;
}

.title-block .title {
  position: relative;
  display: inline-block;
}

/* Button Styling Improvements */
.btn {
  overflow: hidden;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  border-radius: 30px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  text-align: center;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%) rotate(45deg);
  transition: transform 0.5s ease;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.18);
}

.btn:hover:before {
  transform: translateX(100%) rotate(45deg);
}

.btn--primary {
  background-color: var(--color-1);
  color: var(--color-white);
  box-shadow: 0 4px 10px rgba(63, 136, 92, 0.25);
}

.btn--primary:hover {
  background-color: var(--color-1-dark);
  box-shadow: 0 6px 15px rgba(63, 136, 92, 0.4);
}

.btn--stroke {
  border: 2px solid var(--color-1);
  color: var(--color-1);
  background: transparent;
  transition: all 0.3s ease;
}

.btn--stroke:hover {
  background-color: var(--color-1);
  color: var(--color-white);
}

/* Service Cards Spacing & Styling */
.s-about__feature-item {
  margin-bottom: 2.5rem;
  padding: 1.8rem;
  background-color: var(--color-white);
  border-radius: 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.s-about__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Detailed Service Section */
.detailed-service {
  padding-bottom: 2.5rem !important;
  margin-bottom: 4rem !important;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.detailed-service-content {
  padding: 2.5rem 2.5rem 1.5rem !important;
}

.detailed-service:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 15px 30px rgba(63, 136, 92, 0.15) !important;
}

.detailed-service .service-icon {
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.detailed-service:hover .service-icon {
  transform: scale(1.1) rotate(5deg) !important;
}

/* FAQ Accordion Styles */
.faq-accordion {
  margin: 2rem 0;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  background-color: var(--color-white);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.faq-question {
  position: relative;
  padding: 1.8rem 3.5rem 1.8rem 1.8rem;
  cursor: pointer;
  border-left: 5px solid var(--color-1);
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(63, 136, 92, 0.05);
}

.faq-question h5 {
  margin: 0;
  color: var(--color-text-dark);
  font-weight: 600;
  transition: color 0.3s ease;
}

.faq-item:hover .faq-question h5 {
  color: var(--color-1-dark);
}

.faq-icon {
  position: absolute;
  right: 1.8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
}

.faq-icon:before,
.faq-icon:after {
  content: "";
  position: absolute;
  background-color: var(--color-1);
  transition: transform 0.3s ease;
}

.faq-icon:before {
  top: 11px;
  left: 0;
  width: 100%;
  height: 2px;
}

.faq-icon:after {
  top: 0;
  left: 11px;
  width: 2px;
  height: 100%;
}

.faq-item.active .faq-icon:after {
  transform: rotate(90deg);
}

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

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.8rem 1.8rem;
}

/* Testimonial Styles */
.s-testimonials__slide {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 2.5rem;
  position: relative;
  background-color: var(--color-white);
  border-top: 5px solid var(--color-1);
  transition: all 0.3s ease;
  opacity: 1;
  margin: 1rem;
  flex: 1;
  min-width: 280px;
}

.s-testimonials__slide:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
.s-footer {
  position: relative;
  padding-top: 6rem;
  background-color: #1a2a2e !important; /* Darker footer background */
}

.s-footer::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(
    to top left,
    #1a2a2e 49%,
    /* Match the footer color */ transparent 50%
  ) !important;
}

.footer__logo {
  margin-bottom: 2rem;
}

.s-footer__site-links {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.s-footer__site-links li {
  margin-right: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
}

.s-footer__site-links li a {
  color: rgba(
    255,
    255,
    255,
    0.8
  ) !important; /* Lighter text for better contrast */
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 5px;
}

.s-footer__site-links li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-1);
  transition: width 0.3s ease;
}

.s-footer__site-links li a:hover {
  color: var(--color-1) !important;
}

.s-footer__site-links li a:hover::after {
  width: 100%;
}

/* Responsive Styles */
@media screen and (max-width: 800px) {
  .logo-main {
    font-size: 1.6rem;
  }

  .logo-sub {
    font-size: 0.9rem;
  }

  .detailed-service-image {
    border-radius: 1rem 1rem 0 0;
  }

  .service-image {
    max-height: 180px;
  }

  .detailed-service {
    padding: 1.5rem;
  }

  .service-icon {
    width: 90px;
    height: 90px;
    padding: 20px;
  }
}

/* Why Choose Us Section */
.s-about {
  position: relative;
}

.s-about__stats {
  margin-bottom: 6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.s-about__stats-item {
  flex: 1;
  min-width: 200px;
  padding: 2.5rem;
  background: linear-gradient(
    135deg,
    rgba(63, 136, 92, 0.05),
    rgba(63, 136, 92, 0.1)
  );
  border-radius: 1rem;
  transition: all 0.3s ease;
  text-align: center;
}

.s-about__stats-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.s-about__stats-count {
  font-size: calc(var(--base-font-size) * 3.5);
  font-weight: 700;
  color: var(--color-1);
  margin-bottom: 1rem;
}

.s-about__stats-count span {
  font-size: calc(var(--base-font-size) * 2);
  color: var(--color-2);
}

.s-about__stats-item h5 {
  font-size: calc(var(--base-font-size) * 1.2);
  color: var(--color-text-dark);
}

/* About Info Section */
.s-about__info {
  margin-bottom: 6rem;
}

.section-header .title {
  font-size: calc(var(--base-font-size) * 3);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--color-1-dark);
}

.section-header .desc.lead {
  font-size: 2.2rem;
  line-height: 1.6;
  color: var(--color-text-dark);
}

/* Info Slider */
.s-about__info-slider-block {
  margin-top: 4rem;
}

.s-about__info-slide {
  padding: 3rem;
  background: var(--color-white);
  border-radius: 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.s-about__info-slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.s-about__info-slide h4 {
  font-size: 2.5rem;
  color: var(--color-1-dark);
  margin-bottom: 1.5rem;
}

.s-about__info-slide p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-dark);
}

/* This style will ensure consistent text size across all info cards */
.s-about__info-slide .card-text,
.s-about__info-slide .card-description {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-dark);
}

/* Swiper Pagination */
.swiper-pagination {
  position: relative;
  margin-top: 3rem;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--color-1);
  opacity: 0.3;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.2);
}

/* Responsive Adjustments */
@media screen and (max-width: 1000px) {
  .s-about__stats-item {
    min-width: calc(50% - 1rem);
  }
}

@media screen and (max-width: 600px) {
  .s-about__stats-item {
    min-width: 100%;
  }

  .section-header .title {
    font-size: calc(var(--base-font-size) * 2.5);
  }

  .s-about__info-slide {
    padding: 2rem;
  }
}

/* Font Size Overrides - Added with highest priority */
.s-about__stats-count {
  font-size: 4.5rem !important;
}

.s-about__stats-count span {
  font-size: 2.5rem !important;
}

.s-about__stats-item h5 {
  font-size: 1.5rem !important;
}

.section-header .title {
  font-size: 3.5rem !important;
}

.section-header .desc.lead {
  font-size: 2.2rem !important;
}

.s-about__info-slide h4 {
  font-size: 2.5rem !important;
}

.s-about__info-slide p,
.s-about__info-slide .card-text,
.s-about__info-slide .card-description {
  font-size: 17px !important;
}

/* Image Hover Effects */
.img-fluid {
  transition: all 0.5s ease !important;
}

a:hover .img-fluid,
.detailed-service:hover .img-fluid {
  transform: scale(1.05) !important;
  filter: brightness(1.05) !important;
}

/* Contact Info Card - Updated Padding */
.contact-info {
  padding: 2px !important;
  background-color: var(--color-white);
  border-radius: 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Detailed Service Icon Improvements */
.detailed-service .service-icon {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 2.5rem auto 2rem !important;
  width: 100px !important;
  height: 100px !important;
  background-color: rgba(63, 136, 92, 0.1) !important;
  border-radius: 50% !important;
  padding: 25px !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.detailed-service-content {
  text-align: center !important;
  padding: 0 2rem 2.5rem !important;
}

.detailed-service .service-icon svg {
  width: 100% !important;
  height: 100% !important;
  fill: var(--color-1) !important;
}

/* Contact Section Enhancements */
.s-contact .card,
.contact-card,
.s-contact .contact-info {
  padding: 3.5rem 3rem !important;
  border-radius: 1.5rem !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  margin-bottom: 2.5rem !important;
}

.s-contact .card:hover,
.contact-card:hover,
.s-contact .contact-info:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 20px 40px rgba(63, 136, 92, 0.2) !important;
}

/* Contact Form Inputs Enhancement */
.s-contact input,
.s-contact textarea,
.contact-form .form-control {
  border-radius: 10px !important;
  padding: 1.2rem 1.5rem !important;
  border: 2px solid rgba(63, 136, 92, 0.1) !important;
  transition: all 0.3s ease !important;
}

.s-contact input:focus,
.s-contact textarea:focus,
.contact-form .form-control:focus {
  border-color: var(--color-1) !important;
  box-shadow: 0 5px 15px rgba(63, 136, 92, 0.1) !important;
  transform: translateY(-2px) !important;
}

/* Modern Button Animations */
.btn {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  overflow: hidden !important;
}

.btn:hover {
  transform: translateY(-5px) scale(1.02) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.btn--primary:after {
  content: "" !important;
  position: absolute !important;
  width: 100% !important;
  height: 100% !important;
  top: 0 !important;
  left: 0 !important;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0) 70%
  ) !important;
  opacity: 0 !important;
  transform: scale(0.5) !important;
  transition: all 0.5s ease !important;
}

.btn--primary:hover:after {
  opacity: 1 !important;
  transform: scale(2) !important;
}

/* Enhanced Card Animations */
.card,
.s-about__info-slide,
.s-testimonials__slide {
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.card:hover,
.s-about__info-slide:hover,
.s-testimonials__slide:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 20px 40px rgba(63, 136, 92, 0.12) !important;
}

/* Image Hover Effects */
.img-fluid {
  transition: all 0.5s ease !important;
}

a:hover .img-fluid,
.detailed-service:hover .img-fluid {
  transform: scale(1.05) !important;
  filter: brightness(1.05) !important;
}

/* Darker Footer */
.s-footer {
  background-color: #1a2a2e !important; /* Darker footer background */
}

.s-footer::before {
  background: linear-gradient(
    to top left,
    #1a2a2e 49%,
    /* Match the footer color */ transparent 50%
  ) !important;
}

.s-footer__site-links li a {
  color: rgba(
    255,
    255,
    255,
    0.8
  ) !important; /* Lighter text for better contrast */
}

.s-footer__site-links li a:hover {
  color: var(--color-1) !important;
}
