/* AB House Projects Landing Page Styles */
/* Superhero Theme Compliant Styling */

:root {
  --primary-color: #df691a;
  --secondary-color: #fd7e14;
  --accent-color: #ffc107;
  --success-color: #28a745;
  --dark-color: #495057;
  --light-color: #f8f9fa;
  --body-bg: #2b3035;
  --card-bg: #3a3f44;
  --text-light: #ffffff;
  --text-muted: #e2e6ea; /* Enhanced from #ced4da for better contrast */

  /* RGB color variables for rgba() functions */
  --primary-color-rgb: 223, 105, 26;
  --secondary-color-rgb: 253, 126, 20;
  --accent-color-rgb: 255, 193, 7;
  --card-bg-rgb: 58, 63, 68;
  --border-color-rgb: 73, 80, 87;
  --text-light-rgb: 255, 255, 255;
  --text-muted-rgb: 226, 230, 234;
}

/* Accessibility Enhancement: Text contrast improvements */
.accessibility-enhanced {
  --text-muted: #f1f3f4; /* Even higher contrast when needed */
}

/* Enhanced text readability with subtle shadows */
.hero-title,
.hero-subtitle,
.section-title,
.card-title,
.trust-label {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
/* Floating Portuguese Version Button Styles */
.floating-pt-btn {
  position: fixed;
  left: 2.2rem;
  bottom: 2.2rem;
  z-index: 1050;
  background: transparent;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  border: none;
  padding: 0.5rem 1.1rem 0.5rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.floating-pt-btn:hover {
  box-shadow: 0 8px 24px rgba(223,105,26,0.18);
  background: rgba(223,105,26,0.08);
}
.floating-pt-btn-flag {
  width: 40px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.floating-pt-btn-text {
  font-size: 1rem;
  color: #df691a;
  font-weight: 600;
}
.floating-pt-btn-tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  left: 110%;
  bottom: 50%;
  background: #222;
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: opacity 0.2s;
  pointer-events: none;
}
.floating-pt-btn:hover .floating-pt-btn-tooltip {
  visibility: visible;
  opacity: 1;
}
@media (max-width: 600px) {
  .floating-pt-btn { left: 1rem; bottom: 1rem; }
}

/* Ensure muted text has adequate contrast */
.text-muted,
.hero-subtitle,
.service-card p,
.trust-label {
  color: var(--text-muted);
  font-weight: 500; /* Slightly bolder for better readability */
}

/* Global Styles */
body {
  font-family:
    "Lato",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.6;
  background-color: var(--body-bg);
  color: var(--text-light);
  margin: 0;
  padding: 0;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(
    135deg,
    var(--body-bg) 0%,
    var(--dark-color) 100%
  );
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 15px 15px,
      rgba(223, 105, 26, 0.08) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 45px 45px,
      rgba(253, 126, 20, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(
      45deg,
      transparent 24px,
      rgba(223, 105, 26, 0.04) 25px,
      rgba(223, 105, 26, 0.04) 26px,
      transparent 27px
    ),
    linear-gradient(
      -45deg,
      transparent 24px,
      rgba(253, 126, 20, 0.03) 25px,
      rgba(253, 126, 20, 0.03) 26px,
      transparent 27px
    );
  background-size:
    30px 30px,
    60px 60px,
    50px 50px,
    50px 50px;
  background-position:
    0 0,
    15px 15px,
    0 0,
    25px 25px;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.1;
  color: var(--text-light);
}

.hero-location {
  font-size: 2.5rem;
  color: var(--primary-color);
  font-weight: 600;
  display: block;
  margin-top: 1rem;
  font-style: italic;
}

.hero-description {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 100%;
  line-height: 1.6;
}

.hero-buttons .btn {
  padding: 1.25rem 3rem;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 50px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-buttons .btn:hover {
  -webkit-transform: translateY(-3px);
  transform: translateY(-3px);
  -webkit-box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.hero-image {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-svg {
  width: 100%;
  max-width: 500px;
  height: auto;
  -webkit-filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.3));
  filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.3));
  -webkit-animation: float 6s ease-in-out infinite;
  animation: float 6s ease-in-out infinite;
}

@-webkit-keyframes float {
  0%,
  100% {
    -webkit-transform: translateY(0px) rotate(0deg);
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    -webkit-transform: translateY(-20px) rotate(2deg);
    transform: translateY(-20px) rotate(2deg);
  }
}

@keyframes float {
  0%,
  100% {
    -webkit-transform: translateY(0px) rotate(0deg);
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    -webkit-transform: translateY(-20px) rotate(2deg);
    transform: translateY(-20px) rotate(2deg);
  }
}

/* Section Styling */
/* Base section styles */
.services-section,
.process-section,
.benefits-section,
.service-areas-section {
  min-height: 100vh;
  padding: 8rem 0;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  overflow: hidden;
}

/* Alternating Section Backgrounds */
/* Dark sections (1st, 3rd, 5th...) */
.services-section,
.benefits-section {
  background: linear-gradient(45deg, var(--card-bg) 0%, var(--body-bg) 100%);
}

/* Light sections (2nd, 4th, 6th...) */
.process-section,
.service-areas-section {
  background: linear-gradient(45deg, var(--body-bg) 0%, var(--dark-color) 100%);
}

/* Ensure all section containers are above background patterns */
.services-section .container,
.process-section .container,
.benefits-section .container,
.service-areas-section .container {
  position: relative;
  z-index: 2;
}

/* Dark section patterns (services, benefits) */
.services-section::before,
.benefits-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 15px 15px,
      rgba(223, 105, 26, 0.08) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 45px 45px,
      rgba(253, 126, 20, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(
      45deg,
      transparent 24px,
      rgba(223, 105, 26, 0.04) 25px,
      rgba(223, 105, 26, 0.04) 26px,
      transparent 27px
    ),
    linear-gradient(
      -45deg,
      transparent 24px,
      rgba(253, 126, 20, 0.03) 25px,
      rgba(253, 126, 20, 0.03) 26px,
      transparent 27px
    );
  background-size:
    30px 30px,
    60px 60px,
    50px 50px,
    50px 50px;
  background-position:
    0 0,
    15px 15px,
    0 0,
    25px 25px;
  z-index: 1;
}

/* Light section patterns (process, service-areas) */
.process-section::before,
.service-areas-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20px 20px,
      rgba(255, 193, 7, 0.06) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 50px 50px,
      rgba(223, 105, 26, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(
      30deg,
      transparent 20px,
      rgba(255, 193, 7, 0.03) 21px,
      rgba(255, 193, 7, 0.03) 22px,
      transparent 23px
    ),
    linear-gradient(
      -30deg,
      transparent 20px,
      rgba(223, 105, 26, 0.04) 21px,
      rgba(223, 105, 26, 0.04) 22px,
      transparent 23px
    );
  background-size:
    40px 40px,
    70px 70px,
    60px 60px,
    60px 60px;
  background-position:
    0 0,
    20px 20px,
    0 0,
    30px 30px;
  z-index: 1;
}

/* Footer Section */
.footer-section {
  background: linear-gradient(
    135deg,
    var(--dark-color) 0%,
    var(--card-bg) 50%,
    var(--body-bg) 100%
  );
}

.service-areas-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 15px 15px,
      rgba(223, 105, 26, 0.15) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 45px 45px,
      rgba(253, 126, 20, 0.12) 1px,
      transparent 1px
    ),
    linear-gradient(
      45deg,
      transparent 24px,
      rgba(223, 105, 26, 0.08) 25px,
      rgba(223, 105, 26, 0.08) 26px,
      transparent 27px
    ),
    linear-gradient(
      -45deg,
      transparent 24px,
      rgba(253, 126, 20, 0.06) 25px,
      rgba(253, 126, 20, 0.06) 26px,
      transparent 27px
    );
  background-size:
    30px 30px,
    60px 60px,
    50px 50px,
    50px 50px;
  background-position:
    0 0,
    15px 15px,
    0 0,
    25px 25px;
  z-index: 1;
}

/* Ensure all section containers are above background patterns */
.services-section .container,
.journey-section .container,
.platform-section .container,
.team-section .container,
.testimonials-section .container,
.portfolio-section .container,
.footer-section .container {
  position: relative;
  z-index: 2;
}

.portfolio-section {
  background: linear-gradient(
    135deg,
    var(--dark-color) 0%,
    var(--card-bg) 100%
  );
  position: relative;
  overflow: hidden;
}

.portfolio-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 15px 15px,
      rgba(223, 105, 26, 0.08) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 45px 45px,
      rgba(253, 126, 20, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(
      45deg,
      transparent 24px,
      rgba(223, 105, 26, 0.04) 25px,
      rgba(223, 105, 26, 0.04) 26px,
      transparent 27px
    ),
    linear-gradient(
      -45deg,
      transparent 24px,
      rgba(253, 126, 20, 0.03) 25px,
      rgba(253, 126, 20, 0.03) 26px,
      transparent 27px
    );
  background-size:
    30px 30px,
    60px 60px,
    50px 50px,
    50px 50px;
  background-position:
    0 0,
    15px 15px,
    0 0,
    25px 25px;
  z-index: 1;
}

.journey-section {
  background: linear-gradient(
    135deg,
    var(--dark-color) 0%,
    var(--card-bg) 100%
  );
  position: relative;
  overflow: hidden;
}

.journey-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 15px 15px,
      rgba(223, 105, 26, 0.08) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 45px 45px,
      rgba(253, 126, 20, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(
      45deg,
      transparent 24px,
      rgba(223, 105, 26, 0.04) 25px,
      rgba(223, 105, 26, 0.04) 26px,
      transparent 27px
    ),
    linear-gradient(
      -45deg,
      transparent 24px,
      rgba(253, 126, 20, 0.03) 25px,
      rgba(253, 126, 20, 0.03) 26px,
      transparent 27px
    );
  background-size:
    30px 30px,
    60px 60px,
    50px 50px,
    50px 50px;
  background-position:
    0 0,
    15px 15px,
    0 0,
    25px 25px;
  z-index: 1;
}

.platform-section {
  background: linear-gradient(45deg, var(--body-bg) 0%, var(--dark-color) 100%);
  position: relative;
  overflow: hidden;
}

.platform-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 15px 15px,
      rgba(223, 105, 26, 0.08) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 45px 45px,
      rgba(253, 126, 20, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(
      45deg,
      transparent 24px,
      rgba(223, 105, 26, 0.04) 25px,
      rgba(223, 105, 26, 0.04) 26px,
      transparent 27px
    ),
    linear-gradient(
      -45deg,
      transparent 24px,
      rgba(253, 126, 20, 0.03) 25px,
      rgba(253, 126, 20, 0.03) 26px,
      transparent 27px
    );
  background-size:
    30px 30px,
    60px 60px,
    50px 50px,
    50px 50px;
  background-position:
    0 0,
    15px 15px,
    0 0,
    25px 25px;
  z-index: 1;
}

.section-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-light);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 100px;
  height: 6px;
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    from(var(--primary-color)),
    to(var(--secondary-color))
  );
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 3px;
}

.section-subtitle {
  font-size: 1.5rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Service Cards */
.service-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  min-height: 350px;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    from(transparent),
    color-stop(rgba(255, 255, 255, 0.05)),
    to(transparent)
  );
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  -webkit-transition: left 0.5s ease;
  transition: left 0.5s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  -webkit-transform: translateY(-15px);
  transform: translateY(-15px);
  -webkit-box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-color);
}

.service-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  -webkit-transform: scale(1.15) rotate(5deg);
  transform: scale(1.15) rotate(5deg);
}

.service-icon svg {
  width: 50px;
  height: 50px;
}

.service-card h4 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); /* Enhanced readability */
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 1.1rem;
  font-weight: 500; /* Slightly bolder for better contrast */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); /* Subtle shadow for readability */
}

/* Portfolio Cards */
.portfolio-card {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0;
  min-height: 400px;
}

.portfolio-card:hover {
  -webkit-transform: translateY(-10px);
  transform: translateY(-10px);
  -webkit-box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  height: 250px;
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 20px 20px 0 0;
}

.portfolio-image svg {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition:
    transform 0.3s ease,
    -webkit-transform 0.3s ease;
  display: block;
  margin: 0;
  padding: 0;
  border-radius: 20px 20px 0 0;
}

.portfolio-card:hover .portfolio-image svg {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.portfolio-content {
  padding: 2rem;
}

.portfolio-content h5 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.portfolio-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Contact Section */
.contact-item {
  padding: 2.5rem 1.5rem;
}

.contact-icon {
  margin-bottom: 1.5rem;
}

.contact-icon i {
  font-size: 3rem !important;
}

.contact-item h5 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.contact-item p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-item a {
  color: var(--primary-color);
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--secondary-color);
}

/* Footer Section */
.footer-section {
  background: linear-gradient(135deg, var(--dark-color) 0%, #1a1d20 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0;
  padding: 6rem 0 3rem 0;
  position: relative;
  overflow: hidden;
}

.footer-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 15px 15px,
      rgba(223, 105, 26, 0.08) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 45px 45px,
      rgba(253, 126, 20, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(
      45deg,
      transparent 24px,
      rgba(223, 105, 26, 0.04) 25px,
      rgba(223, 105, 26, 0.04) 26px,
      transparent 27px
    ),
    linear-gradient(
      -45deg,
      transparent 24px,
      rgba(253, 126, 20, 0.03) 25px,
      rgba(253, 126, 20, 0.03) 26px,
      transparent 27px
    );
  background-size:
    30px 30px,
    60px 60px,
    50px 50px,
    50px 50px;
  background-position:
    0 0,
    15px 15px,
    0 0,
    25px 25px;
  z-index: 1;
}

.footer-brand h4 {
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 1.1rem;
}

.social-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1.5rem;
}

.social-link {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border-radius: 50%;
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-link:hover {
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
  -webkit-box-shadow: 0 10px 25px rgba(223, 105, 26, 0.3);
  box-shadow: 0 10px 25px rgba(223, 105, 26, 0.3);
  color: white;
}

.footer-links h5 {
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 2rem;
  font-size: 1.4rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

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

.footer-links ul li a {
  color: var(--text-muted);
  text-decoration: none;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
  display: inline-block;
  position: relative;
  font-size: 1.1rem;
}

.footer-links ul li a:hover {
  color: var(--primary-color);
  -webkit-transform: translateX(8px);
  transform: translateX(8px);
}

.footer-links ul li a::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  -webkit-transition: width 0.3s ease;
  transition: width 0.3s ease;
}

.footer-links ul li a:hover::before {
  width: 100%;
}

.footer-contact h5 {
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 2rem;
  font-size: 1.4rem;
}

.contact-info-item {
  padding: 1rem 0;
}

.contact-info-item i {
  font-size: 1.5rem;
  width: 40px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.contact-info-item strong {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1.1rem;
}

.contact-info-item a {
  color: var(--primary-color);
  text-decoration: none;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
  font-size: 1.1rem;
}

.contact-info-item a:hover {
  color: var(--secondary-color);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 3rem 0 2rem 0;
}

.copyright {
  color: var(--text-muted);
  font-size: 1rem;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1rem;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--primary-color);
}

/* Button Overrides for Superhero Theme */

/* Global button rounded corners for modern appearance */
.btn,
button,
.accordion-button,
input[type="submit"],
input[type="button"] {
  border-radius: 12px !important;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border: none;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--accent-color)
  );
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-light {
  border-color: var(--text-light);
  color: var(--text-light);
}

.btn-outline-light:hover {
  background-color: var(--text-light);
  color: var(--dark-color);
}

/* Animations */
@-webkit-keyframes fadeInUp {
  from {
    opacity: 0.01;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0.01;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

.animate-on-scroll {
  -webkit-animation: fadeInUp 0.6s ease-out;
  animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-location {
    font-size: 1.8rem;
  }

  .hero-description {
    font-size: 1.2rem;
    max-width: 100%;
  }

  .section-title {
    font-size: 3rem;
  }

  .service-card {
    padding: 2.5rem 2rem;
    min-height: 320px;
  }

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

  .service-icon svg {
    width: 45px;
    height: 45px;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 1.5rem;
    padding: 1rem 2rem;
  }

  .hero-buttons .btn:last-child {
    margin-bottom: 0;
  }

  .services-section,
  .portfolio-section,
  .contact-section {
    min-height: auto;
    padding: 6rem 0;
  }

  .portfolio-image {
    height: 220px;
  }

  .contact-icon i {
    font-size: 2.5rem !important;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-location {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
    min-height: 300px;
  }

  .service-icon {
    width: 80px;
    height: 80px;
  }

  .service-icon svg {
    width: 40px;
    height: 40px;
  }

  .portfolio-image {
    height: 200px;
  }

  .contact-icon i {
    font-size: 2rem !important;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    -webkit-animation-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
    animation-iteration-count: 1 !important;
    -webkit-transition-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Focus styles for accessibility */
.btn:focus,
.service-card:focus,
.portfolio-card:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-card,
  .portfolio-card {
    border: 2px solid var(--text-light);
  }
}

/* Journey Section Styling */
.journey-section {
  overflow: hidden;
}

.journey-content .section-title {
  color: var(--text-color);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.journey-feature {
  padding: 1rem;
  border-radius: 10px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.journey-feature:hover {
  background: rgba(223, 105, 26, 0.1);
  -webkit-transform: translateX(10px);
  transform: translateX(10px);
}

.journey-feature .feature-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.journey-feature .feature-icon i {
  font-size: 1.5rem;
  color: white;
}

.journey-feature h5 {
  color: var(--text-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.journey-svg {
  width: 100%;
  height: 400px;
  -webkit-filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/* Construction Animation */
.construction-phase-1 {
  -webkit-animation: buildFoundation 2s ease-in-out;
  animation: buildFoundation 2s ease-in-out;
}

.construction-phase-2 {
  -webkit-animation: buildWalls 2s ease-in-out 0.5s both;
  animation: buildWalls 2s ease-in-out 0.5s both;
}

.construction-phase-3 {
  -webkit-animation: buildRoof 2s ease-in-out 1s both;
  animation: buildRoof 2s ease-in-out 1s both;
}

.construction-phase-4 {
  -webkit-animation: addDetails 2s ease-in-out 1.5s both;
  animation: addDetails 2s ease-in-out 1.5s both;
}

.construction-phase-5 {
  -webkit-animation: addLandscaping 2s ease-in-out 2s both;
  animation: addLandscaping 2s ease-in-out 2s both;
}

.crane-animation {
  -webkit-animation: craneSway 3s ease-in-out infinite;
  animation: craneSway 3s ease-in-out infinite;
}

.progress-dots circle {
  -webkit-animation: progressPulse 1s ease-in-out infinite;
  animation: progressPulse 1s ease-in-out infinite;
}

.progress-dot-1 {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}
.progress-dot-2 {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}
.progress-dot-3 {
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
}
.progress-dot-4 {
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
}
.progress-dot-5 {
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

@-webkit-keyframes buildFoundation {
  from {
    opacity: 0.01;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes buildFoundation {
  from {
    opacity: 0.01;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@-webkit-keyframes buildWalls {
  from {
    opacity: 0.01;
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
  }
  to {
    opacity: 1;
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
}

@keyframes buildWalls {
  from {
    opacity: 0.01;
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
  }
  to {
    opacity: 1;
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
}

@-webkit-keyframes buildRoof {
  from {
    opacity: 0.01;
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes buildRoof {
  from {
    opacity: 0.01;
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@-webkit-keyframes addDetails {
  from {
    opacity: 0.01;
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes addDetails {
  from {
    opacity: 0.01;
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@-webkit-keyframes addLandscaping {
  from {
    opacity: 0.01;
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes addLandscaping {
  from {
    opacity: 0.01;
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@-webkit-keyframes craneSway {
  0%,
  100% {
    -webkit-transform: rotate(-1deg);
    transform: rotate(-1deg);
  }
  50% {
    -webkit-transform: rotate(1deg);
    transform: rotate(1deg);
  }
}

@keyframes craneSway {
  0%,
  100% {
    -webkit-transform: rotate(-1deg);
    transform: rotate(-1deg);
  }
  50% {
    -webkit-transform: rotate(1deg);
    transform: rotate(1deg);
  }
}

@-webkit-keyframes progressPulse {
  0%,
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }
}

@keyframes progressPulse {
  0%,
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }
}

/* Platform Section Styling */
.platform-section {
  position: relative;
}

.platform-feature-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  height: 100%;
  border: 2px solid transparent;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.platform-feature-card:hover {
  border-color: var(--primary-color);
  -webkit-transform: translateY(-10px);
  transform: translateY(-10px);
  -webkit-box-shadow: 0 15px 40px rgba(223, 105, 26, 0.2);
  box-shadow: 0 15px 40px rgba(223, 105, 26, 0.2);
}

.platform-feature-card .feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
}

.platform-feature-card .feature-icon svg {
  width: 100%;
  height: 100%;
  -webkit-filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

.platform-feature-card h5 {
  color: var(--text-color);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.platform-highlight {
  margin-top: 3rem;
}

.highlight-card {
  background: var(--dark-color);
  border: 3px solid var(--primary-color);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  color: white;
  -webkit-box-shadow: 0 15px 40px rgba(223, 105, 26, 0.3);
  box-shadow: 0 15px 40px rgba(223, 105, 26, 0.3);
  position: relative;
}

.highlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(223, 105, 26, 0.1),
    rgba(253, 126, 20, 0.1)
  );
  border-radius: 17px;
  z-index: 1;
}

.highlight-card * {
  position: relative;
  z-index: 2;
}

.highlight-card h5 {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.highlight-card p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.feature-badges .badge {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  margin: 0.2rem;
  background-color: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.feature-badges .badge:hover {
  background-color: white;
  color: var(--primary-color);
  border-color: white;
  text-shadow: none;
}

.platform-svg {
  width: 100%;
  height: 450px;
  -webkit-filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

/* Platform Animations */
.kanban-column-1,
.kanban-column-2,
.kanban-column-3 {
  -webkit-animation: slideInUp 1s ease-out;
  animation: slideInUp 1s ease-out;
}

.kanban-column-2 {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}
.kanban-column-3 {
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.kanban-card-1,
.kanban-card-2,
.kanban-card-3,
.kanban-card-4 {
  -webkit-animation: cardSlideIn 1s ease-out;
  animation: cardSlideIn 1s ease-out;
}

.kanban-card-2 {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}
.kanban-card-3 {
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
}
.kanban-card-4 {
  -webkit-animation-delay: 0.9s;
  animation-delay: 0.9s;
}

.floating-icon-1,
.floating-icon-2 {
  -webkit-animation: float 3s ease-in-out infinite;
  animation: float 3s ease-in-out infinite;
}

.floating-icon-2 {
  -webkit-animation-delay: 1.5s;
  animation-delay: 1.5s;
}

@-webkit-keyframes slideInUp {
  from {
    opacity: 0.01;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0.01;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@-webkit-keyframes cardSlideIn {
  from {
    opacity: 0.01;
    -webkit-transform: translateX(-20px);
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes cardSlideIn {
  from {
    opacity: 0.01;
    -webkit-transform: translateX(-20px);
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes float {
  0%,
  100% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
  50% {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
  }
}

/* Responsive updates for new sections */
@media (max-width: 768px) {
  .services-section,
  .portfolio-section,
  .journey-section,
  .platform-section {
    min-height: auto;
    padding: 6rem 0;
  }

  .journey-content .section-title {
    font-size: 2.5rem;
  }

  .journey-svg {
    height: 300px;
  }

  .platform-svg {
    height: 350px;
  }

  .platform-feature-card {
    margin-bottom: 2rem;
  }

  .highlight-card {
    padding: 2rem;
  }

  .back-to-top-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    bottom: 20px;
    right: 20px;
  }
}

/* Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1000;
  opacity: 0.01;
  visibility: hidden;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-box-shadow: 0 4px 20px rgba(223, 105, 26, 0.3);
  box-shadow: 0 4px 20px rgba(223, 105, 26, 0.3);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--accent-color);
  -webkit-transform: translateY(-3px);
  transform: translateY(-3px);
  -webkit-box-shadow: 0 8px 25px rgba(223, 105, 26, 0.4);
  box-shadow: 0 8px 25px rgba(223, 105, 26, 0.4);
}

.back-to-top-btn:active {
  -webkit-transform: translateY(-1px);
  transform: translateY(-1px);
  -webkit-box-shadow: 0 4px 15px rgba(223, 105, 26, 0.3);
  box-shadow: 0 4px 15px rgba(223, 105, 26, 0.3);
}

.back-to-top-btn:focus {
  outline: 3px solid rgba(223, 105, 26, 0.5);
  outline-offset: 2px;
}

/* Back to Top Button Animation */
@-webkit-keyframes bounceIn {
  0% {
    opacity: 0.01;
    -webkit-transform: translateY(20px) scale(0.8);
    transform: translateY(20px) scale(0.8);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateY(-5px) scale(1.1);
    transform: translateY(-5px) scale(1.1);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0) scale(1);
    transform: translateY(0) scale(1);
  }
}
@keyframes bounceIn {
  0% {
    opacity: 0.01;
    -webkit-transform: translateY(20px) scale(0.8);
    transform: translateY(20px) scale(0.8);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateY(-5px) scale(1.1);
    transform: translateY(-5px) scale(1.1);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0) scale(1);
    transform: translateY(0) scale(1);
  }
}

.back-to-top-btn.bounce-in {
  -webkit-animation: bounceIn 0.5s ease-out;
  animation: bounceIn 0.5s ease-out;
}

/* =============================================================================
   Team Section Styles
   ============================================================================= */

.team-section {
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    var(--dark-color) 0%,
    var(--card-bg) 100%
  );
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.team-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 15px 15px,
      rgba(223, 105, 26, 0.08) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 45px 45px,
      rgba(253, 126, 20, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(
      45deg,
      transparent 24px,
      rgba(223, 105, 26, 0.04) 25px,
      rgba(223, 105, 26, 0.04) 26px,
      transparent 27px
    ),
    linear-gradient(
      -45deg,
      transparent 24px,
      rgba(253, 126, 20, 0.03) 25px,
      rgba(253, 126, 20, 0.03) 26px,
      transparent 27px
    );
  background-size:
    30px 30px,
    60px 60px,
    50px 50px,
    50px 50px;
  background-position:
    0 0,
    15px 15px,
    0 0,
    25px 25px;
  z-index: 1;
}

.team-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(var(--border-color-rgb), 0.1);
  -webkit-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    from(transparent),
    color-stop(rgba(255, 255, 255, 0.1)),
    to(transparent)
  );
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  -webkit-transition: left 0.6s ease;
  transition: left 0.6s ease;
}

.team-card:hover::before {
  left: 100%;
}

.team-card:hover {
  -webkit-transform: translateY(-10px);
  transform: translateY(-10px);
  -webkit-box-shadow: 0 30px 60px rgba(var(--primary-color-rgb), 0.2);
  box-shadow: 0 30px 60px rgba(var(--primary-color-rgb), 0.2);
  border-color: rgba(var(--primary-color-rgb), 0.3);
}

.team-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}

.team-image svg {
  width: 100%;
  height: 100%;
  -webkit-transition: -webkit-transform 0.4s ease;
  transition: -webkit-transform 0.4s ease;
  transition: transform 0.4s ease;
  transition:
    transform 0.4s ease,
    -webkit-transform 0.4s ease;
}

.team-card:hover .team-image svg {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.team-content h4 {
  color: var(--text-light);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

.team-role {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 1.5rem;
}

.team-social {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 1rem;
}

.team-social a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border-radius: 50%;
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.team-social a:hover {
  -webkit-transform: translateY(-3px) scale(1.1);
  transform: translateY(-3px) scale(1.1);
  -webkit-box-shadow: 0 10px 20px rgba(var(--primary-color-rgb), 0.4);
  box-shadow: 0 10px 20px rgba(var(--primary-color-rgb), 0.4);
}

/* Team animations */
@-webkit-keyframes teamCardFloat {
  0%,
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
  }
}
@keyframes teamCardFloat {
  0%,
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
  }
}

.team-card {
  -webkit-animation: teamCardFloat 6s ease-in-out infinite;
  animation: teamCardFloat 6s ease-in-out infinite;
}

.team-card:nth-child(2) {
  -webkit-animation-delay: -2s;
  animation-delay: -2s;
}

.team-card:nth-child(3) {
  -webkit-animation-delay: -4s;
  animation-delay: -4s;
}

/* =============================================================================
   Testimonials Section Styles
   ============================================================================= */

.testimonials-section {
  min-height: 100vh;
  background: linear-gradient(45deg, var(--card-bg) 0%, var(--body-bg) 100%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 15px 15px,
      rgba(223, 105, 26, 0.08) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 45px 45px,
      rgba(253, 126, 20, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(
      45deg,
      transparent 24px,
      rgba(223, 105, 26, 0.04) 25px,
      rgba(223, 105, 26, 0.04) 26px,
      transparent 27px
    ),
    linear-gradient(
      -45deg,
      transparent 24px,
      rgba(253, 126, 20, 0.03) 25px,
      rgba(253, 126, 20, 0.03) 26px,
      transparent 27px
    );
  background-size:
    30px 30px,
    60px 60px,
    50px 50px,
    50px 50px;
  background-position:
    0 0,
    15px 15px,
    0 0,
    25px 25px;
  z-index: 1;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: 25px;
  padding: 2.5rem;
  border: 1px solid rgba(var(--border-color-rgb), 0.1);
  -webkit-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(223, 105, 26, 0.1) 0%,
    transparent 70%
  );
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-transition: -webkit-transform 0.6s ease;
  transition: -webkit-transform 0.6s ease;
  transition: transform 0.6s ease;
  transition:
    transform 0.6s ease,
    -webkit-transform 0.6s ease;
}

.testimonial-card:hover::before {
  -webkit-transform: scale(1);
  transform: scale(1);
}

.testimonial-card:hover {
  -webkit-transform: translateY(-15px) rotateY(5deg);
  transform: translateY(-15px) rotateY(5deg);
  -webkit-box-shadow: 0 40px 80px rgba(var(--primary-color-rgb), 0.15);
  box-shadow: 0 40px 80px rgba(var(--primary-color-rgb), 0.15);
  border-color: rgba(var(--primary-color-rgb), 0.3);
}

.testimonial-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
}

.testimonial-icon svg {
  width: 100%;
  height: 100%;
  -webkit-filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
  -webkit-transition: -webkit-transform 0.4s ease;
  transition: -webkit-transform 0.4s ease;
  transition: transform 0.4s ease;
  transition:
    transform 0.4s ease,
    -webkit-transform 0.4s ease;
}

.testimonial-card:hover .testimonial-icon svg {
  -webkit-transform: scale(1.1) rotate(5deg);
  transform: scale(1.1) rotate(5deg);
}

.testimonial-stars {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.testimonial-stars i {
  color: #ffc107;
  font-size: 1.2rem;
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition:
    transform 0.2s ease,
    -webkit-transform 0.2s ease;
}

.testimonial-card:hover .testimonial-stars i {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
  -webkit-animation: starTwinkle 0.6s ease;
  animation: starTwinkle 0.6s ease;
}

@-webkit-keyframes starTwinkle {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
  }
}

@keyframes starTwinkle {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
  }
}

.testimonial-stars i:nth-child(1) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}
.testimonial-stars i:nth-child(2) {
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.1s;
}
.testimonial-stars i:nth-child(3) {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}
.testimonial-stars i:nth-child(4) {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}
.testimonial-stars i:nth-child(5) {
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.testimonial-content blockquote {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
  quotes: "" " " "" "'" "'";
}

.testimonial-content blockquote::before {
  content: open-quote;
  font-size: 3rem;
  color: var(--primary-color);
  position: absolute;
  top: -10px;
  left: -10px;
  line-height: 1;
  opacity: 0.7;
}

.testimonial-content blockquote::after {
  content: close-quote;
  font-size: 3rem;
  color: var(--primary-color);
  position: absolute;
  bottom: -30px;
  right: -10px;
  line-height: 1;
  opacity: 0.7;
}

.testimonial-author {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-color);
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition:
    transform 0.3s ease,
    -webkit-transform 0.3s ease;
}

.testimonial-card:hover .author-avatar {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.author-avatar svg {
  width: 100%;
  height: 100%;
}

.author-info h5 {
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.author-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Trust Indicators */
.trust-indicators {
  /* Clean, transparent background - let the trust-items provide the styling */
  padding: 3rem 2rem;
  position: relative;
}

.trust-item {
  padding: 1.5rem;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background: rgba(
    var(--card-bg-rgb),
    0.7
  ); /* Slightly more opaque for better contrast */
  border-radius: 15px;
  border: 1px solid rgba(var(--border-color-rgb), 0.2); /* More visible border */
  -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Slightly stronger shadow */
}

.trust-item:hover {
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
  -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
  background: rgba(var(--card-bg-rgb), 0.85); /* More opaque on hover */
}

.trust-number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.trust-label {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600; /* Increased from 500 for better readability */
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.25rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); /* Subtle shadow for better contrast */
}

/* Testimonial animations */
@-webkit-keyframes testimonialFloat {
  0%,
  100% {
    -webkit-transform: translateY(0) rotate(0deg);
    transform: translateY(0) rotate(0deg);
  }
  33% {
    -webkit-transform: translateY(-8px) rotate(1deg);
    transform: translateY(-8px) rotate(1deg);
  }
  66% {
    -webkit-transform: translateY(-4px) rotate(-1deg);
    transform: translateY(-4px) rotate(-1deg);
  }
}
@keyframes testimonialFloat {
  0%,
  100% {
    -webkit-transform: translateY(0) rotate(0deg);
    transform: translateY(0) rotate(0deg);
  }
  33% {
    -webkit-transform: translateY(-8px) rotate(1deg);
    transform: translateY(-8px) rotate(1deg);
  }
  66% {
    -webkit-transform: translateY(-4px) rotate(-1deg);
    transform: translateY(-4px) rotate(-1deg);
  }
}

.testimonial-card {
  -webkit-animation: testimonialFloat 8s ease-in-out infinite;
  animation: testimonialFloat 8s ease-in-out infinite;
}

.testimonial-card:nth-child(2) {
  -webkit-animation-delay: -2.5s;
  animation-delay: -2.5s;
}

.testimonial-card:nth-child(3) {
  -webkit-animation-delay: -5s;
  animation-delay: -5s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .team-card,
  .testimonial-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .team-image {
    width: 150px;
    height: 150px;
  }

  .trust-number {
    font-size: 2.5rem;
  }

  .testimonial-content blockquote {
    font-size: 1rem;
  }

  .trust-indicators {
    padding: 2rem 1rem;
  }
}

/* ===== ACCESSIBILITY: HIGH CONTRAST MODE ===== */
/* Optional high-contrast mode for users who need maximum readability */
/* Add class="high-contrast" to body element to activate */

.high-contrast {
  --text-muted: #f8f9fa !important; /* Even brighter muted text */
  --card-bg: #454a50 !important; /* Lighter card backgrounds */
}

.high-contrast .text-muted,
.high-contrast .hero-subtitle,
.high-contrast .service-card p,
.high-contrast .trust-label {
  color: var(--text-muted) !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8) !important;
}

.high-contrast .trust-item,
.high-contrast .service-card {
  background: rgba(var(--card-bg-rgb), 0.9) !important;
  border: 2px solid rgba(var(--border-color-rgb), 0.4) !important;
}

.high-contrast figure {
  background: transparent !important;
}

.high-contrast .trust-number {
  /* Keep the gradient but ensure high contrast */
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  text-shadow: none !important;
  /* Add a subtle glow for better visibility in high contrast */
  -webkit-filter: drop-shadow(0 0 8px var(--primary-color)) !important;
  filter: drop-shadow(0 0 8px var(--primary-color)) !important;
}

/* ===== ACCESSIBILITY TOGGLE BUTTON ===== */
.accessibility-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.accessibility-toggle button {
  background: rgba(var(--card-bg-rgb), 0.9);
  border: 2px solid rgba(var(--primary-color-rgb), 0.6);
  color: var(--text-light);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 1.2rem;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.accessibility-toggle button:hover {
  background: rgba(var(--primary-color-rgb), 0.9);
  border-color: var(--primary-color);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  -webkit-box-shadow: 0 6px 20px rgba(var(--primary-color-rgb), 0.3);
  box-shadow: 0 6px 20px rgba(var(--primary-color-rgb), 0.3);
}

.accessibility-toggle button:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

/* High contrast mode active state */
.high-contrast .accessibility-toggle button {
  background: var(--primary-color) !important;
  border-color: var(--accent-color) !important;
  color: #ffffff !important;
}

.high-contrast .accessibility-toggle button i {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .accessibility-toggle {
    top: 15px;
    right: 15px;
  }

  .accessibility-toggle button {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

/* ===== FAQ SECTION STYLING ===== */
.faq-section {
  background: linear-gradient(
    135deg,
    var(--body-bg) 0%,
    var(--dark-color) 100%
  );
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="faqPattern" x="0" y="0" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="rgba(223,105,26,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23faqPattern)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

.faq-section .container {
  position: relative;
  z-index: 2;
}

.faq-card {
  background: var(--card-bg);
  border-radius: 25px;
  padding: 2.5rem;
  border: 1px solid rgba(var(--border-color-rgb), 0.1);
  -webkit-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
}

.faq-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(223, 105, 26, 0.1) 0%,
    transparent 70%
  );
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-transition: -webkit-transform 0.6s ease;
  transition: -webkit-transform 0.6s ease;
  transition: transform 0.6s ease;
  transition:
    transform 0.6s ease,
    -webkit-transform 0.6s ease;
}

.faq-card:hover {
  -webkit-transform: translateY(-15px) rotateY(5deg);
  transform: translateY(-15px) rotateY(5deg);
  -webkit-box-shadow: 0 40px 80px rgba(var(--primary-color-rgb), 0.15);
  box-shadow: 0 40px 80px rgba(var(--primary-color-rgb), 0.15);
  border-color: rgba(var(--primary-color-rgb), 0.3);
}

.faq-card:hover::before {
  -webkit-transform: scale(1);
  transform: scale(1);
}

.faq-card > * {
  position: relative;
  z-index: 2;
}

.faq-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.faq-icon svg {
  width: 100%;
  height: 100%;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition:
    transform 0.3s ease,
    -webkit-transform 0.3s ease;
}

.faq-card:hover .faq-icon svg {
  -webkit-transform: scale(1.1) rotate(5deg);
  transform: scale(1.1) rotate(5deg);
}

.faq-content {
  text-align: center;
}

.faq-content .heading-sm {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-weight: 600;
}

.faq-content p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* High contrast mode support */
.high-contrast .faq-card {
  background: rgba(var(--card-bg-rgb), 0.9) !important;
  border: 2px solid rgba(var(--border-color-rgb), 0.4) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.high-contrast .faq-card .heading-sm,
.high-contrast .faq-card p {
  color: #ffffff !important;
}

/* Responsive design */
@media (max-width: 768px) {
  .faq-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .faq-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
}
