/* ===== Base Styles ===== */
:root {
  --primary: #22364b;
  --primary-light: #3a526f;
  --secondary: #82e6f8;
  --accent: #2e7d32;
  --accent-light: #4caf50;
  --light-bg: #f9f9f9;
  --text-dark: #333333;
  --text-medium: #4e5e6f;
  --text-light: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Poppins", sans-serif;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
}

h3 {
  font-size: 1.75rem;
  font-weight: 500;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-medium);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--secondary);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--primary);
  color: var(--text-light);
}

.btn-secondary:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.highlight {
  color: #2e7d32;
}

/* ===== Header & Navigation ===== */
.top-bar {
  background: var(--primary-light);
  color: white;
  padding: 10px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  text-decoration: none;
}

.top-bar-item:hover {
  color: var(--secondary);
}

.top-bar-item i {
  color: var(--secondary);
  font-size: 0.9rem;
}

.top-bar-social {
  display: flex;
  gap: 10px;
}

.top-bar-social a {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.top-bar-social a:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ===== MAIN HEADER ===== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--primary);
  color: var(--text-light);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* When scrolled, hide top bar */
.header.scrolled .top-bar {
  max-height: 0;
  padding: 0;
  opacity: 0;
  overflow: hidden;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  transition: all 0.3s ease;
  padding: 0 40px;
}

.header.scrolled .container {
  height: 75px;
}

/* ===== LOGO ===== */

.logo {
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.logo img {
  height: 55px;
  transition: all 0.3s ease;
}

.header.scrolled .logo img {
  height: 45px;
}

/* ===== NAVIGATION ===== */

.navbar {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-items {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 5px;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  position: relative;
  padding: 10px 18px;
  display: block;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-link:hover::after,
.nav-link.current::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.current,
.nav-link.active {
  color: var(--secondary);
}

/* ===== DROPDOWN MENU ===== */

.has-dropdown .nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
}

.has-dropdown .nav-link i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.has-dropdown:hover .nav-link i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  list-style: none;
  top: calc(100% + 10px);
  left: 0;
  background: white;
  min-width: 240px;
  padding: 12px 0;
  margin: 0;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border-top: 3px solid var(--secondary);
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--text-dark);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
}

.dropdown-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--secondary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.dropdown-link:hover::before {
  transform: scaleY(1);
}

.dropdown-link:hover {
  background: rgba(130, 230, 248, 0.1);
  padding-left: 25px;
}

.dropdown-link i {
  color: var(--secondary);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

/* ===== CTA BUTTON ===== */

/* ===== MOBILE MENU TOGGLE ===== */

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-light);
  position: relative;
  transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--text-light);
  transition: all 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

/* Animated hamburger when menu open */
.mobile-menu-toggle.active .hamburger {
  background: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-menu-toggle.active .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* ===== MOBILE RESPONSIVE ===== */

@media (max-width: 968px) {
  /* Hide top bar on mobile */
  .top-bar {
    display: none;
  }

  .header .container {
    padding: 0 20px;
    height: 70px;
  }

  .header.scrolled .container {
    height: 70px;
  }

  .logo img {
    height: 45px;
  }

  .header.scrolled .logo img {
    height: 45px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  /* Mobile menu */
  .navbar {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }

  .navbar.active {
    transform: translateX(0);
  }

  .nav-items {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-link {
    display: block;
    padding: 15px 0;
    border-radius: 0;
  }

  .nav-link::after {
    left: 0;
    right: auto;
    width: 3px;
    height: 100%;
    bottom: 0;
    top: 0;
  }

  /* Mobile dropdown */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
    border-radius: 0;
    margin-top: 10px;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    border-top: none;
    transition:
      max-height 0.3s ease,
      padding 0.3s ease;
  }

  .has-dropdown.active .dropdown-menu {
    max-height: 500px;
    padding: 12px 0;
  }

  .dropdown-link {
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.9);
  }

  .dropdown-link:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 25px;
  }

  .dropdown-link i {
    color: var(--secondary);
  }

  }

@media (max-width: 640px) {
  .header .container {
    padding: 0 15px;
  }

  .logo img {
    height: 40px;
  }
}

/* ===== Hero Section ===== */
.hero {
  height: 100vh;
  min-height: 700px;
  background:
    linear-gradient(
      135deg,
      rgba(34, 54, 75, 0.85) 0%,
      rgba(34, 54, 75, 0.75) 50%,
      rgba(46, 125, 50, 0.65) 100%
    ),
    url("./img/Sustainability-Page-Header-2.jpg") no-repeat center center/cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  color: var(--text-light);
  position: relative;
  padding-top: 130px; /* Account for header with top bar */
  overflow: hidden;
}

/* Animated gradient shimmer overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(130, 230, 248, 0.1) 50%,
    transparent 100%
  );
  animation: shimmer 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes shimmer {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

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

/* ===== HERO CONTENT ===== */

.hero-content {
  max-width: 700px;
  position: relative;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  font-weight: 700;
  color: white;
}

/* Highlight text in title */
.hero-title .highlight {
  color: var(--secondary);
  position: relative;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
}

/* ===== TRUST INDICATORS LINE ===== */

.hero-trust {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.trust-item i {
  color: var(--secondary);
  font-size: 1.1rem;
}

/* ===== HERO BUTTONS ===== */

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 18px 40px;
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}

.hero-buttons .btn-primary {
  background: var(--secondary);
  color: var(--primary);
}

.hero-buttons .btn-primary:hover {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(130, 230, 248, 0.4);
  gap: 15px;
}

.hero-buttons .btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  transform: translateY(-3px);
  gap: 15px;
}

/* ===== FLOATING STATS CARDS ===== */

.hero-stats {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 20px;
  animation: fadeInRight 1s ease-out 0.3s both;
  z-index: 3;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px) translateY(-50%);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(-50%);
  }
}

.stat-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 25px 30px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.stat-card .number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
  display: block;
  margin-bottom: 5px;
  line-height: 1;
}

.stat-card .label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== SCROLL INDICATOR ===== */

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: bounce 2s infinite;
  cursor: pointer;
  z-index: 10;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.scroll-indicator span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.scroll-indicator i {
  font-size: 1.5rem;
  color: var(--secondary);
}

/* ===== DECORATIVE SHAPES ===== */

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(130, 230, 248, 0.2) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation: float 6s ease-in-out infinite;
}

.hero-shape-2 {
  width: 300px;
  height: 300px;
  bottom: -80px;
  left: -80px;
  animation: float 8s ease-in-out infinite reverse;
}

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

/* ===== BOTTOM GRADIENT OVERLAY ===== */

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  z-index: 1;
}

/* ===== MOBILE RESPONSIVE ===== */

@media (max-width: 1200px) {
  .hero-stats {
    right: 40px;
  }

  .stat-card {
    min-width: 180px;
    padding: 20px 25px;
  }

  .stat-card .number {
    font-size: 2.2rem;
  }

  .stat-card .label {
    font-size: 0.85rem;
  }
}

@media (max-width: 968px) {
  .hero {
    padding-top: 100px;
    min-height: 600px;
    background-attachment: scroll; /* Better performance on mobile */
  }

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

  .hero-subtitle {
    font-size: 1.1rem;
  }

  /* Move stats below content on mobile */
  .hero-stats {
    position: static;
    transform: none;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 40px;
    animation: fadeInUp 1s ease-out 0.5s both;
  }

  .stat-card {
    min-width: auto;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .scroll-indicator {
    display: none;
  }

  .hero-shape-1,
  .hero-shape-2 {
    display: none; /* Hide decorative shapes on mobile */
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 90px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-buttons .btn {
    padding: 16px 30px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .stat-card {
    padding: 20px;
  }

  .stat-card .number {
    font-size: 2rem;
  }
}

/* ===== About Section ===== */
.about-section {
  background: var(--light-bg);
  position: relative;
  overflow: hidden;
}

/* Decorative background element */
.about-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(130, 230, 248, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ===== TEXT CONTENT ===== */

.about-text {
  position: relative;
}

/* Subheading */
.about-subheading {
  color: var(--secondary);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-subheading::before {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--secondary);
}

.about-text .section-title {
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: var(--text-medium);
  font-size: 1rem;
}

/* ===== ENHANCED FEATURES ===== */

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 40px 0;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: white;
  border-radius: 12px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature:hover {
  border-left-color: var(--secondary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateX(5px);
}

.feature-icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(130, 230, 248, 0.3);
}

.feature:hover .feature-icon {
  transform: rotate(5deg) scale(1.1);
  box-shadow: 0 6px 20px rgba(130, 230, 248, 0.5);
}

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

.feature-content {
  flex: 1;
}

.feature-content h3 {
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.feature-content p {
  color: var(--text-medium);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.7;
}

/* ===== CTA BUTTON ===== */

.about-text .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.about-text .btn:hover {
  gap: 15px;
}

/* ===== IMAGE SIDE ===== */

.about-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Decorative gradient border frame */
.about-image::before {
  content: "";
  position: absolute;
  inset: -10px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  border-radius: 20px;
  z-index: -1;
}

/* Dark gradient overlay on hover */
.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(34, 54, 75, 0.7) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: all 0.5s ease;
}

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

/* ===== CERTIFICATIONS BADGE ===== */

.about-certifications {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 2;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image:hover .about-certifications {
  transform: translateY(0);
  opacity: 1;
}

.cert-icon {
  width: 50px;
  height: 50px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.cert-text {
  flex: 1;
}

.cert-text h4 {
  color: var(--primary);
  font-size: 1rem;
  margin: 0 0 5px 0;
  font-weight: 600;
}

.cert-text p {
  color: var(--text-medium);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
}

/* ===== VIDEO PLAY BUTTON (OPTIONAL) ===== */

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(130, 230, 248, 0.5);
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--accent);
  box-shadow: 0 10px 40px rgba(130, 230, 248, 0.6);
}

.video-play-btn i {
  color: white;
  font-size: 2rem;
  margin-left: 5px; /* Optical alignment for play icon */
}

/* Pulse animation ring */
.video-play-btn::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px solid var(--secondary);
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* ===== MOBILE RESPONSIVE ===== */

@media (max-width: 968px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-image {
    order: -1; /* Move image above text on mobile */
  }

  .about-certifications {
    position: static;
    transform: none;
    opacity: 1;
    margin-top: 20px;
  }

  .feature {
    padding: 20px;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
  }

  .feature-icon i {
    font-size: 1.4rem;
  }
}

@media (max-width: 640px) {
  .about-section::before {
    display: none; /* Hide decorative element on small screens */
  }

  .about-content {
    gap: 40px;
  }

  .about-features {
    gap: 15px;
    margin: 30px 0;
  }

  .feature {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 25px 20px;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
  }

  .feature-icon i {
    font-size: 1.6rem;
  }

  .video-play-btn {
    width: 60px;
    height: 60px;
  }

  .video-play-btn i {
    font-size: 1.5rem;
  }

  .about-certifications {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .about-subheading {
    font-size: 0.85rem;
  }

  .about-subheading::before {
    width: 30px;
  }
}

/* ===== STATS COUNTER SECTION ===== */

.stats-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, #1a2938 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(130,230,248,0.1)"/></svg>');
  opacity: 0.3;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(130, 230, 248, 0.2);
  transition: all 0.4s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--secondary);
  box-shadow: 0 10px 30px rgba(130, 230, 248, 0.3);
}

.stat-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(130, 230, 248, 0.4);
}

.stat-icon i {
  font-size: 2rem;
  color: white;
}

.stat-content {
  flex: 1;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  display: inline-block;
}

.stat-plus {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-left: 5px;
}

.stat-label {
  color: white;
  font-size: 1.1rem;
  margin: 10px 0 5px 0;
  font-weight: 600;
}

.stat-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

/* ===== CERTIFICATIONS SECTION ===== */

.certifications-section {
  padding: 80px 20px;
  background: #f8f9fa;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
}

.cert-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.cert-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.cert-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 15px;
  transition: all 0.3s ease;
}

.cert-card:hover .cert-logo {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  transform: scale(1.05);
}

.cert-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(0%);
  transition: filter 0.3s ease;
}

.cert-card h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin: 15px 0 10px 0;
  font-weight: 600;
}

.cert-card p {
  color: var(--text-medium);
  font-size: 0.9rem;
  margin-bottom: 15px;
  min-height: 40px;
}

.cert-badge {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: white;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cert-trust-statement {
  max-width: 800px;
  margin: 50px auto 0;
  padding: 30px;
  background: white;
  border-radius: 12px;
  border-left: 4px solid var(--secondary);
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.cert-trust-statement i {
  font-size: 2.5rem;
  color: var(--secondary);
  flex-shrink: 0;
}

.cert-trust-statement p {
  margin: 0;
  color: var(--text-medium);
  line-height: 1.7;
}

/* ===== TESTIMONIALS ABOUT SECTION ===== */

.testimonials-about-section {
  padding: 80px 20px;
  background: white;
}

.testimonials-about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
}

.testimonial-about-card {
  background: #f8f9fa;
  padding: 35px;
  border-radius: 16px;
  border-left: 4px solid var(--secondary);
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.testimonial-about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-left-color: var(--accent);
}

.testimonial-rating {
  margin-bottom: 20px;
}

.testimonial-rating i {
  color: #ffc107;
  font-size: 1rem;
  margin-right: 3px;
}

.testimonial-text {
  color: var(--text-medium);
  font-size: 1rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 25px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.author-info h4 {
  color: var(--primary);
  font-size: 1.1rem;
  margin: 0 0 5px 0;
  font-weight: 600;
}

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

.author-info .company {
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 600;
}

.testimonial-project {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  background: white;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-medium);
}

.testimonial-project i {
  color: var(--accent);
}

/* Trust Indicator */
.testimonials-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: 800px;
  margin: 50px auto 0;
  padding: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, #1a2938 100%);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.trust-stat {
  text-align: center;
}

.trust-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 10px;
}

.trust-label {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
}

/* ===== ENHANCED EXISTING SECTIONS ===== */

/* Enhanced Hero */
.about-hero {
  background:
    linear-gradient(
      135deg,
      rgba(34, 54, 75, 0.95) 0%,
      rgba(26, 41, 56, 0.95) 100%
    ),
    url("./img/Sustainability-Page-Header-2.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 150px 20px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 30% 50%,
      rgba(130, 230, 248, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 50%,
      rgba(46, 125, 50, 0.1) 0%,
      transparent 50%
    );
  animation: heroShimmer 8s ease-in-out infinite;
}

@keyframes heroShimmer {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.about-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.about-hero h1 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 20px;
  font-weight: 700;
}

.about-hero h1 .green {
  color: var(--secondary);
}

.about-hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* Enhanced Values Cards */
.value-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(130, 230, 248, 0.3);
}

.value-card:hover .value-icon {
  transform: rotate(360deg) scale(1.1);
}

.value-icon i {
  font-size: 2rem;
  color: white;
}

/* Enhanced Team Cards */
.team-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--secondary);
}

.team-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover img {
  transform: scale(1.05);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 968px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-item {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
  }

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

  .certifications-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .testimonials-about-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-trust {
    flex-direction: column;
    gap: 30px;
  }

  .trust-divider {
    width: 80%;
    height: 1px;
  }

  .about-hero h1 {
    font-size: 2.5rem;
  }

  .about-hero p {
    font-size: 1.1rem;
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .certifications-grid {
    grid-template-columns: 1fr;
  }

  .cert-trust-statement {
    flex-direction: column;
    text-align: center;
  }

  .about-hero {
    padding: 120px 20px 80px;
  }

  .about-hero h1 {
    font-size: 2rem;
  }
}

/* ===== Services Section ===== */
section {
  padding: 80px 0;
}
.services-section {
  background: white;
}

.section-header {
  max-width: 700px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-header h2 {
  margin-bottom: 1rem;
}

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

.service-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

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

.service-icon {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--secondary);
  font-size: 2rem;
}

.service-card h3 {
  padding: 20px;
  color: var(--primary);
}

.service-card p {
  padding: 0 25px 25px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 20px 20px;
  color: var(--primary);
  font-weight: 600;
}

.service-link i {
  transition: var(--transition);
}

.service-link:hover i {
  transform: translateX(5px);
}

/* ===== Specializations Section ===== */
.specializations-section {
  background: var(--light-bg);
  position: relative;
}

.section-header {
  margin-bottom: 50px;
}

/* ===== TAB BUTTONS ===== */

/* Tab Container with Sliding Indicator */
.specializations-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 60px;
  position: relative;
  background: white;
  padding: 8px;
  border-radius: 50px;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Individual Tab Buttons */
.tab {
  padding: 14px 32px;
  background: transparent;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-medium);
  position: relative;
  z-index: 1;
  white-space: nowrap;
  border: none;
}

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

/* Active/Current Tab State */
.tab.active,
.tab.current {
  color: white;
}

/* Sliding Background Indicator */
.specializations-tabs::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  height: calc(100% - 16px);
  width: calc(33.33% - 10px);
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

/* Move indicator based on which tab is active */
/* Commercial (first tab) */
.tab:nth-child(1).active ~ .specializations-tabs::before,
.tab:nth-child(1).current ~ .specializations-tabs::before,
.specializations-tabs:has(.tab:nth-child(1).active)::before,
.specializations-tabs:has(.tab:nth-child(1).current)::before {
  left: 8px;
}

/* Residential (second tab) */
.tab:nth-child(2).active ~ .specializations-tabs::before,
.tab:nth-child(2).current ~ .specializations-tabs::before,
.specializations-tabs:has(.tab:nth-child(2).active)::before,
.specializations-tabs:has(.tab:nth-child(2).current)::before {
  left: calc(33.33% + 2px);
}

/* Public Spaces (third tab) */
.tab:nth-child(3).active ~ .specializations-tabs::before,
.tab:nth-child(3).current ~ .specializations-tabs::before,
.specializations-tabs:has(.tab:nth-child(3).active)::before,
.specializations-tabs:has(.tab:nth-child(3).current)::before {
  left: calc(66.66% - 4px);
}

.tab i {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.tab.active i,
.tab.current i {
  transform: scale(1.1);
}

/* ===== TAB CONTENT ===== */

/* Content Container */
.specializations-content {
  position: relative;
  min-height: 500px;
}

/* Tab Content with Fade Animation */
.tab-content {
  display: none;
  opacity: 0;
}

.tab-content.active,
.tab-content.current {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  animation: fadeInContent 0.5s ease-out forwards;
}

@keyframes fadeInContent {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== CONTENT IMAGE ===== */

.content-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Gradient overlay on hover */
.content-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(34, 54, 75, 0.1) 0%,
    rgba(130, 230, 248, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.content-image:hover::before {
  opacity: 1;
}

.content-image img {
  border-radius: 16px;
  transition: transform 0.4s ease;
  display: block;
  width: 100%;
  height: auto;
}

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

/* ===== CONTENT TEXT ===== */

.content-text h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 15px;
  line-height: 1.3;
}

/* Accent underline on heading */
.content-text h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
  border-radius: 2px;
}

.content-text p {
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* ===== ENHANCED BENEFITS LIST ===== */

.benefits-list {
  margin: 2rem 0;
  list-style: none;
  padding: 0;
}

.benefits-list li {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 12px 12px 12px 20px;
  background: white;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.benefits-list li:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 15px rgba(130, 230, 248, 0.2);
}

/* Colored dot indicator */
.benefits-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
}

.benefits-list i {
  color: var(--accent);
  font-size: 1.25rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* CTA Button Enhancement */
.content-text .btn {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.content-text .btn:hover {
  gap: 15px;
}

/* ===== MOBILE RESPONSIVE ===== */

@media (max-width: 968px) {
  /* Convert to vertical tabs on mobile */
  .specializations-tabs {
    flex-direction: column;
    border-radius: 16px;
    padding: 10px;
    gap: 8px;
    max-width: 100%;
  }

  .specializations-tabs::before {
    width: calc(100% - 20px);
    height: 50px;
    top: 10px;
  }

  /* Position indicator for vertical tabs */
  .tab:nth-child(1).active ~ .specializations-tabs::before,
  .tab:nth-child(1).current ~ .specializations-tabs::before,
  .specializations-tabs:has(.tab:nth-child(1).active)::before,
  .specializations-tabs:has(.tab:nth-child(1).current)::before {
    top: 10px;
    left: 10px;
  }

  .tab:nth-child(2).active ~ .specializations-tabs::before,
  .tab:nth-child(2).current ~ .specializations-tabs::before,
  .specializations-tabs:has(.tab:nth-child(2).active)::before,
  .specializations-tabs:has(.tab:nth-child(2).current)::before {
    top: 68px;
    left: 10px;
  }

  .tab:nth-child(3).active ~ .specializations-tabs::before,
  .tab:nth-child(3).current ~ .specializations-tabs::before,
  .specializations-tabs:has(.tab:nth-child(3).active)::before,
  .specializations-tabs:has(.tab:nth-child(3).current)::before {
    top: 126px;
    left: 10px;
  }

  /* Single column content */
  .tab-content.active,
  .tab-content.current {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Image first on mobile */
  .content-image {
    order: 1;
  }

  .content-text {
    order: 2;
  }

  .content-text h3 {
    font-size: 1.75rem;
  }

  .benefits-list li {
    padding: 10px 10px 10px 18px;
  }
}

@media (max-width: 480px) {
  .specializations-tabs {
    padding: 8px;
  }

  .tab {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .tab i {
    font-size: 1.1rem;
  }

  .content-text h3 {
    font-size: 1.5rem;
    padding-bottom: 12px;
  }

  .content-text h3::after {
    width: 50px;
    height: 3px;
  }

  .content-text p {
    font-size: 0.95rem;
  }

  .benefits-list i {
    font-size: 1.1rem;
  }
}

/* ===== Projects Section ===== */
.projects-section {
  background: white;
  position: relative;
}

/* ===== PROJECTS GRID ===== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 35px;
  margin-bottom: 50px;
}

/* ===== PROJECT CARD ===== */

.project-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  height: 500px;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* ===== CATEGORY BADGE ===== */

.project-category {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(130, 230, 248, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(130, 230, 248, 0.3);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary);
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== PROJECT IMAGE ===== */

.project-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

/* Dark gradient overlay for better text contrast */
.project-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
  transition: opacity 0.4s ease;
}

.project-card:hover .project-image::before {
  opacity: 0.9;
  background: linear-gradient(
    to bottom,
    rgba(34, 54, 75, 0.7) 0%,
    rgba(34, 54, 75, 0.95) 100%
  );
}

/* ===== PROJECT OVERLAY (Always Visible) ===== */

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  color: white;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-overlay h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
  font-weight: 600;
  color: white;
  line-height: 1.3;
  transition: all 0.3s ease;
}

.project-overlay > p {
  font-size: 0.95rem;
  opacity: 0.95;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
  font-weight: 500;
}

.project-overlay i {
  font-size: 0.9rem;
}

/* Move overlay up when hovering */
.project-card:hover .project-overlay {
  transform: translateY(-180px);
}

/* ===== PROJECT DETAILS (Hidden, Slides Up on Hover) ===== */

.project-details {
  position: absolute;
  bottom: -100%;
  left: 0;
  right: 0;
  padding: 25px;
  background: rgba(34, 54, 75, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  z-index: 3;
  transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 2px solid var(--secondary);
}

.project-card:hover .project-details {
  bottom: 0;
}

.project-details p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

/* ===== PROJECT LINK/BUTTON ===== */

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-link:hover {
  background: var(--accent);
  gap: 12px;
  transform: translateX(5px);
}

.project-link i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.project-link:hover i {
  transform: translateX(3px);
}

/* ===== CTA SECTION ===== */

.projects-cta {
  text-align: center;
  margin-top: 60px;
}

.projects-cta .btn {
  padding: 16px 40px;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.projects-cta .btn:hover {
  gap: 15px;
}

/* ===== MOBILE RESPONSIVE ===== */

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .project-card {
    height: auto;
    min-height: 400px;
  }

  .project-overlay h3 {
    font-size: 1.5rem;
  }

  /* Show details by default on mobile (no hover state) */
  .project-image {
    height: 300px;
  }

  .project-details {
    position: relative;
    bottom: 0;
    background: white;
    color: var(--text-dark);
    border-top: none;
    padding: 20px;
  }

  .project-details p {
    color: var(--text-medium);
  }

  .project-card:hover .project-overlay {
    transform: translateY(0);
  }

  .project-category {
    top: 15px;
    right: 15px;
    font-size: 0.75rem;
    padding: 5px 12px;
  }
}

@media (max-width: 480px) {
  .project-overlay {
    padding: 20px;
  }

  .project-overlay h3 {
    font-size: 1.35rem;
  }

  .project-overlay > p {
    font-size: 0.85rem;
  }

  .project-details {
    padding: 20px;
  }

  .project-details p {
    font-size: 0.9rem;
  }

  .project-link {
    font-size: 0.85rem;
    padding: 9px 18px;
  }
}

/* ===== OPTIONAL: Add fade-in animation ===== */

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

.project-card {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
*/

/* ===== Accreditations Section ===== */
.accreditations-section {
  background: var(--light-bg);
  position: relative;
  overflow: hidden;
}

/* Optional: Decorative background element */
.accreditations-section::before {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(46, 125, 50, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.accreditations-section .container {
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: 50px;
}

/* ===== GRID LAYOUT ===== */

.accreditations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

/* ===== INDIVIDUAL ACCREDITATION CARD ===== */

.accreditation-item {
  background: white;
  padding: 35px 25px;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 140px;
  cursor: pointer;
  overflow: visible;
  border: 2px solid transparent;
}

/* Subtle gradient overlay */
.accreditation-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(130, 230, 248, 0.03) 0%,
    rgba(46, 125, 50, 0.03) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
}

.accreditation-item:hover::before {
  opacity: 1;
}

.accreditation-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--secondary);
}

/* ===== VERIFIED BADGE ===== */

/* Checkmark badge that appears on hover */
.accreditation-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.3);
}

.accreditation-item:hover .accreditation-badge {
  opacity: 1;
  transform: scale(1);
}

/* ===== LOGO IMAGE ===== */

.accreditation-item img {
  height: 70px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  filter: grayscale(20%) brightness(0.95);
}

.accreditation-item:hover img {
  filter: grayscale(0) brightness(1);
  transform: scale(1.05);
}

/* ===== TOOLTIP ===== */

.accreditation-tooltip {
  position: absolute;
  bottom: -65px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Tooltip arrow */
.accreditation-tooltip::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--primary);
}

.accreditation-item:hover .accreditation-tooltip {
  bottom: -75px;
  opacity: 1;
}

/* ===== MOBILE RESPONSIVE ===== */

@media (max-width: 768px) {
  .accreditations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .accreditation-item {
    padding: 25px 20px;
    min-height: 120px;
  }

  .accreditation-item img {
    height: 60px;
  }

  /* Hide tooltip on mobile (would overflow on small screens) */
  .accreditation-tooltip {
    display: none;
  }

  .accreditation-badge {
    width: 24px;
    height: 24px;
    font-size: 0.65rem;
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 480px) {
  .accreditations-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .accreditation-item {
    padding: 30px 25px;
  }
}

/* ===== OPTIONAL: Fade-in animation ===== */

/*
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.accreditation-item {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.accreditation-item:nth-child(1) { animation-delay: 0.1s; }
.accreditation-item:nth-child(2) { animation-delay: 0.2s; }
.accreditation-item:nth-child(3) { animation-delay: 0.3s; }
.accreditation-item:nth-child(4) { animation-delay: 0.4s; }
.accreditation-item:nth-child(5) { animation-delay: 0.5s; }
*/

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #1a2938 100%);
  color: white;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

/* Animated Background Pattern */
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(130, 230, 248, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(46, 125, 50, 0.1) 0%,
      transparent 50%
    );
  animation: ctaPulse 8s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

/* Floating Dots Pattern */
.cta-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  opacity: 0.3;
}

/* ===== HOMEPAGE VERSION (with image - .cta-content) ===== */

.cta-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-text {
  text-align: left;
}

.cta-text h2 {
  color: white;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.cta-features {
  display: flex;
  gap: 30px;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-feature i {
  font-size: 1.5rem;
  color: var(--secondary);
  flex-shrink: 0;
}

.cta-feature span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  padding: 16px 32px;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.cta-buttons .btn-light {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-light:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  gap: 15px;
}

.cta-buttons .btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: white;
  background: transparent;
}

.cta-buttons .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  transform: translateY(-3px);
  gap: 15px;
}

.cta-visual {
  position: relative;
}

.cta-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  position: relative;
}

.cta-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.cta-stats {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: white;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  min-width: 280px;
}

.stat-box {
  text-align: center;
}

.stat-box .number {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-box .label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* ===== ABOUT PAGE VERSION (centered - .cta-content-enhanced) ===== */

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

.cta-content-enhanced .cta-text {
  margin-bottom: 40px;
  text-align: center;
}

.cta-headline {
  font-size: 2.75rem;
  font-weight: 700;
  color: white;
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.cta-subheadline {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.6;
}

.cta-subheadline strong {
  color: var(--secondary);
  font-weight: 600;
}

/* Action Buttons (Enhanced Version) */
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 35px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.cta-btn i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.cta-btn:hover i {
  transform: scale(1.1);
}

.cta-btn-primary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--primary);
  box-shadow: 0 8px 25px rgba(130, 230, 248, 0.4);
}

.cta-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(130, 230, 248, 0.6);
}

.cta-btn-secondary {
  background: white;
  color: var(--primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta-btn-secondary:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--secondary);
  transform: translateY(-3px);
}

/* Quick Contact Info */
.cta-contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.contact-item i {
  font-size: 1.8rem;
  color: var(--secondary);
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(130, 230, 248, 0.15);
  border-radius: 50%;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.contact-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.contact-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Trust Badges */
.cta-trust-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.trust-badge:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--secondary);
  transform: translateY(-3px);
}

.trust-badge i {
  font-size: 1.4rem;
  color: var(--secondary);
}

.trust-badge span {
  font-size: 0.95rem;
  font-weight: 500;
  color: white;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 968px) {
  .cta-section {
    padding: 80px 20px;
  }

  /* Homepage version */
  .cta-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .cta-text {
    text-align: center;
  }

  .cta-text h2 {
    font-size: 2rem;
  }

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

  .cta-buttons {
    justify-content: center;
  }

  .cta-visual {
    order: -1;
  }

  .cta-stats {
    position: relative;
    left: 0;
    bottom: 0;
    margin-top: 20px;
    max-width: 100%;
    min-width: auto;
  }

  /* About page version */
  .cta-headline {
    font-size: 2.25rem;
  }

  .cta-subheadline {
    font-size: 1.1rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
  }

  .cta-contact-info {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }

  .cta-trust-badges {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .cta-section {
    padding: 60px 20px;
  }

  /* Homepage version */
  .cta-text h2 {
    font-size: 1.75rem;
  }

  .cta-text p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-features {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .cta-stats {
    padding: 20px;
    gap: 20px;
  }

  .stat-box .number {
    font-size: 1.5rem;
  }

  /* About page version */
  .cta-headline {
    font-size: 1.75rem;
  }

  .cta-subheadline {
    font-size: 1rem;
  }

  .cta-btn {
    padding: 16px 30px;
    font-size: 1rem;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
  }

  .contact-details {
    align-items: center;
    text-align: center;
  }

  .cta-trust-badges {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .cta-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* ===== ACCESSIBILITY ===== */

.cta-btn:focus,
.contact-value:focus,
.trust-badge:focus,
.cta-buttons .btn:focus {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .cta-section::before,
  .cta-btn,
  .contact-item,
  .trust-badge,
  .cta-buttons .btn {
    animation: none;
    transition: none;
  }

  .cta-btn:hover,
  .contact-item:hover,
  .trust-badge:hover,
  .cta-buttons .btn:hover {
    transform: none;
  }
}

/* ===== Footer ===== */
.footer {
  background: var(--primary);
  color: white;
  padding: 80px 0 0;
  position: relative;
}

/* Decorative top border */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
}

/* ===== FOOTER GRID ===== */

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
}

/* ===== FOOTER ABOUT ===== */

.footer-about {
  max-width: 350px;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 20px;
  display: block;
}

.footer-about > p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 25px;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ===== SOCIAL LINKS ===== */

.footer-social {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  color: white;
}

.footer-social a:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(130, 230, 248, 0.3);
}

/* ===== NEWSLETTER SIGNUP ===== */

.footer-newsletter {
  margin-top: 25px;
}

.newsletter-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 12px;
  display: block;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex: 1;
  padding: 12px 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--secondary);
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
  padding: 12px 20px;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-family: inherit;
}

.newsletter-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* ===== FOOTER LINKS SECTIONS ===== */

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
  color: var(--secondary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.footer-links li,
.footer-services li {
  margin-bottom: 12px;
}

.footer-links a,
.footer-services a {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.footer-links a::before,
.footer-services a::before {
  content: "→";
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-services a:hover {
  color: var(--secondary);
  padding-left: 0;
}

.footer-links a:hover::before,
.footer-services a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* ===== FOOTER CONTACT ===== */

.footer-contact address {
  font-style: normal;
}

.footer-contact address p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-contact i {
  color: var(--secondary);
  width: 20px;
  flex-shrink: 0;
  margin-top: 3px;
}

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

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

/* ===== BUSINESS HOURS ===== */

.footer-hours {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-hours h4 {
  color: var(--secondary);
  font-size: 0.9rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.footer-hours p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin-bottom: 5px;
}

/* ===== TRUST BADGES SECTION ===== */

.footer-trust {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}

.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.trust-badge:hover {
  color: var(--secondary);
}

.trust-badge i {
  font-size: 1.5rem;
  color: var(--secondary);
}

/* ===== FOOTER BOTTOM ===== */

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
  text-align: center;
}

.footer-legal {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.footer-copyright {
  text-align: center;
}

.footer-designer {
  text-align: right;
  color: rgba(255, 255, 255, 0.6);
}

.footer-designer a {
  color: var(--secondary);
  transition: all 0.3s ease;
}

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

.company-details {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
}

.company-details .reg-number {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* ===== BACK TO TOP BUTTON ===== */

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(130, 230, 248, 0.3);
  border: none;
}

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

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(130, 230, 248, 0.5);
}

.back-to-top i {
  font-size: 1.25rem;
}

/* ===== MOBILE RESPONSIVE ===== */

@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .footer-about {
    grid-column: span 2;
    max-width: 100%;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .footer-legal {
    justify-content: center;
  }

  .footer-designer {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 60px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-about {
    grid-column: span 1;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-btn {
    width: 100%;
  }

  .trust-badges {
    gap: 25px;
  }

  .trust-badge {
    font-size: 0.85rem;
  }

  .trust-badge i {
    font-size: 1.3rem;
  }

  .footer-legal {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

  .back-to-top i {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .footer-social {
    justify-content: center;
  }

  .footer-trust {
    padding: 30px 0;
  }

  .trust-badges {
    flex-direction: column;
    gap: 20px;
  }
}

.green {
  color: #4caf50;
}

.blue {
  color: #82e6f8;
}

.accreditations {
  padding-bottom: 50px;
}

.accreditation-title {
  text-align: center;
  margin-bottom: 30px;
}

.accreditation-badges {
  display: flex;
  justify-content: center;
  align-items: center;
}

.accreditations-img {
  width: 100px;
  margin-right: 50px;
}

/* === New Styles for JavaScript Elements === */
/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #22364b;
}

/* Form Styles */
#quote-form input,
#quote-form select,
#quote-form button {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: "Roboto", sans-serif;
}

#quote-form button {
  background: #22364b;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

#quote-form button:hover {
  background: #3a526f;
}

#quote-form textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: "Roboto", sans-serif;
  resize: vertical; /* Allows vertical resizing */
  min-height: 100px;
}

/* File Upload Styling */
.file-upload {
  margin: 15px 0;
}

.file-upload label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.file-upload input[type="file"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.file-hint {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
}

/* CSS */
.trust-banner {
  background: #f9f9f9;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 1.5rem 0;
  overflow: hidden;
  position: relative;
}

.trust-banner__container {
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 2.5rem;
}

.trust-banner__title {
  color: #333;
  font-size: 1.1rem;
  font-weight: 600;
  white-space: nowrap;
  margin: 0;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trust-banner__scroller {
  flex-grow: 1;
  overflow: hidden;
  position: relative;
  height: 80px;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

/* Container for all logos - will be animated by JavaScript */
.trust-banner__track {
  display: flex;
  align-items: center;
  gap: 4rem;
  position: absolute;
  left: 0;
  height: 100%;
  will-change: transform;
}

.trust-banner__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-badge-img {
  height: 70px;
  width: auto;
  max-width: 150px;
  display: block;
  opacity: 0.75;
  transition: all 0.3s ease;
  filter: grayscale(30%);
}

.trust-banner__item:hover .trust-badge-img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.08);
}

/* Mobile layout */
@media (max-width: 768px) {
  .trust-banner__container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
  }

  .trust-banner__title {
    white-space: normal;
  }

  .trust-banner__scroller {
    width: 100%;
    height: 60px;
  }

  .trust-badge-img {
    height: 55px;
  }

  .trust-banner__track {
    gap: 3rem;
  }
}

@media (max-width: 480px) {
  .trust-banner__track {
    gap: 2.5rem;
  }

  .trust-badge-img {
    height: 50px;
    max-width: 120px;
  }
}

.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  width: calc(100% + 1.3px);
  height: 80px;
  display: block;
}

.wave-divider path {
  fill: #22364b; /* Match your header color */
}

/* Projects Section */
/* Projects Section Enhancements */
.project-container {
  position: relative;
  overflow: hidden;
}

.project-arrows {
  position: absolute;
  width: calc(100% - 40px);
  display: flex;
  justify-content: space-between;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  z-index: 100;
  pointer-events: none;
}

.project-arrow {
  background: rgba(34, 54, 75, 0.9);
  color: #82e6f8;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
}

.project-arrow:hover {
  background: #22364b;
  color: #fff;
  transform: scale(1.1);
}

.project-arrow:focus {
  outline: 2px solid #82e6f8;
  outline-offset: 2px;
}

.project-dots {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 100;
}

.project-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.project-dot.active {
  background: #82e6f8;
  transform: scale(1.2);
}

.project-dot:hover {
  background: #82e6f8;
}

/* Auto-scroll Controls */
.auto-scroll-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 100;
}

.auto-scroll-progress {
  width: 100px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: #82e6f8;
  border-radius: 3px;
}

.auto-scroll-toggle {
  background: rgba(130, 230, 248, 0.1);
  border: none;
  color: #82e6f8;
  font-size: 16px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: all 0.3s ease;
  border-radius: 50%;
  padding: 0;
}

.auto-scroll-toggle:hover {
  opacity: 1;
  background: rgba(130, 230, 248, 0.2);
  transform: scale(1.2);
}

/* Project Modal */
.project-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.project-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.project-modal {
  background: white;
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.project-modal-overlay.active .project-modal {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 30px;
  cursor: pointer;
  color: #22364b;
  background: rgba(255, 255, 255, 0.8);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  border: none;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}

.modal-gallery {
  padding: 20px;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
}

.main-image {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.main-image img {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
}

.thumbnail-container {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0;
}

.thumbnail {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.thumbnail:hover {
  border-color: #82e6f8;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-details {
  padding: 30px;
  overflow-y: auto;
  max-height: 80vh;
}

.detail-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: #22364b;
}

.detail-item i {
  margin-right: 10px;
  color: #82e6f8;
}

.detail-section {
  margin-bottom: 25px;
}

.detail-section h3 {
  color: #22364b;
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}

.results-list {
  padding-left: 20px;
}

.results-list li {
  margin-bottom: 8px;
}

.modal-contact-btn {
  background: #22364b;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.modal-contact-btn:hover {
  background: #3a526f;
  transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .project-container {
    flex-direction: column;
    align-items: center;
  }

  .project-img,
  .project-text {
    width: 90%;
    height: auto;
    border-radius: 10px 10px 0 0;
  }

  .project-text {
    border-radius: 0 0 10px 10px;
  }

  .project-arrows {
    width: 100%;
    left: 0;
    padding: 0 20px;
  }

  .project-arrow {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .modal-grid {
    grid-template-columns: 1fr;
    max-height: 85vh;
  }

  .modal-gallery {
    max-height: 40vh;
  }

  .modal-details {
    max-height: 45vh;
  }
}

/* Transitions */
.project-img,
.project-text {
  transition: opacity 0.3s ease;
}

/* Contact Page Styles */
.contact-hero {
  background-image:
    linear-gradient(rgba(34, 54, 75, 0.8), rgba(34, 54, 75, 0.8)),
    url("./img/contact-hero-bg.jpg");
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.contact-hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: white;
}

.contact-hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* gap: 50px; */
}

.contact-info {
  background-color: #22364b;
  color: white;
  padding: 40px;
  border-radius: 10px 0 0 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-left: 40px;
  margin-top: 60px;
}

.contact-info h2 {
  color: #82e6f8;
  margin-bottom: 30px;
  font-size: 2rem;
  text-align: center;
}

.contact-img {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.info-item {
  display: flex;
  margin-bottom: 25px;
}

.info-item i {
  font-size: 16px;
  color: #82e6f8;
  margin-right: 20px;
  margin-top: 5px;
}

.info-item p {
  line-height: 1.6;
}

.contact-form-container {
  background-color: white;
  padding: 40px;
  border-radius: 0 10px 10px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
  color: #22364b;
  margin-bottom: 30px;
  font-size: 2rem;
  text-align: center;
}

/* Smart Form Styles */
.smart-form .form-group {
  margin-bottom: 25px;
}

.smart-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #22364b;
}

.smart-form input,
.smart-form textarea,
.smart-form select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.smart-form input:focus,
.smart-form textarea:focus,
.smart-form select:focus {
  border-color: #82e6f8;
  outline: none;
}

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

.smart-form .error-message {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.smart-form .error-message:not(:empty) {
  display: block;
}

.smart-form input:invalid,
.smart-form textarea:invalid {
  border-color: #22364b;
}

.smart-form input:valid,
.smart-form textarea:valid {
  border-color: #22364b;
}

.char-count {
  font-size: 0.85rem;
  color: #7f8c8d;
  text-align: right;
  margin-top: 5px;
}

.checkbox-container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 5px;
}

.checkbox-container:hover input ~ .checkmark {
  background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
  background-color: #22364b;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 11px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.submit-btn {
  background-color: #22364b;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  position: relative;
  width: 100%;
}

.submit-btn:hover {
  background-color: #3a526f;
}

.loading-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-feedback {
  margin-top: 20px;
  padding: 15px;
  border-radius: 5px;
  text-align: center;
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.error-message {
  background-color: #f8d7da;
  color: #721c24;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    height: 300px;
  }

  .contact-hero-content h1 {
    font-size: 2.5rem;
  }
}

/* About Page Styles */
.about-hero {
  background-image:
    linear-gradient(rgba(34, 54, 75, 0.8), rgba(34, 54, 75, 0.8)),
    url("./img/about-hero-bg.jpg");
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.about-hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: white;
}

.about-hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.about-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-content h2 {
  margin-bottom: 30px;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.mission,
.vision {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mission h3,
.vision h3 {
  color: #22364b;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.values-section {
  padding: 80px 20px;
  background-color: white;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-header p {
  color: #3a526f;
  font-size: 1.1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
}

.value-icon {
  width: 70px;
  height: 70px;
  background: #22364b;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
}

.team-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.team-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-card h3 {
  margin: 20px 0 5px;
  color: #22364b;
}

.position {
  color: #82e6f8;
  font-weight: 500;
  margin-bottom: 15px;
}

.bio {
  padding: 0 20px 30px;
  color: #3a526f;
}

.cta-content h2 {
  color: white;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  background: #82e6f8;
  color: #22364b;
  padding: 15px 40px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 30px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #a1e8af;
  transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }

  .about-hero-content h1 {
    font-size: 2.5rem;
  }
}

/* ===== SERVICES PAGE STYLES ===== */
.services-hero {
  background-image:
    linear-gradient(rgba(34, 54, 75, 0.8), rgba(34, 54, 75, 0.8));
  background-size: cover;
  background-position: center 70%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 90px;
}

.services-hero-content h1 {
  font-size: 3.5rem;
  /* margin-bottom: 20px; */
  line-height: 1.2;
}

.services-hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.services-intro {
  padding: 80px 20px;
  background: #f9f9f9;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.section-header h2 {
  margin-bottom: 15px;
}

.section-header p {
  color: #3a526f;
  font-size: 1.1rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.process-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: #82e6f8;
  color: #22364b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
  margin: -50px auto 20px;
  position: relative;
  z-index: 1;
}

.process-card h3 {
  color: #22364b;
  margin-bottom: 15px;
}

.services-grid {
  padding: 80px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.service-category {
  margin-bottom: 60px;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 15px;
  border-bottom: 2px solid #82e6f8;
}

.service-header img {
  width: 40px;
  height: 40px;
}

.service-header h2 {
  color: #22364b;
  margin: 0;
}

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

/* Services Section Background */
.services-section {
  background: white;
  position: relative;
  overflow: hidden;
}

/* Optional: Decorative background element */
.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(130, 230, 248, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

/* Grid Layout */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

/* Main Card Styling */
.service-card {
  background: white;
  border-radius: 16px;
  padding: 40px 30px 35px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  text-align: center;
}

/* Gradient Overlay (appears on hover) */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(130, 230, 248, 0.05) 0%,
    rgba(46, 125, 50, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

/* Hover State */
.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 40px rgba(34, 54, 75, 0.15);
  border-color: var(--secondary);
}

/* Floating Circular Icon */
.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--primary);
  font-size: 2rem;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(130, 230, 248, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(130, 230, 248, 0.4);
}

/* Pulse Ring Animation */
@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.service-icon::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid var(--secondary);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover .service-icon::after {
  animation: pulse-ring 1.5s ease-out infinite;
  opacity: 0.5;
}

/* Card Title */
.service-card h3 {
  padding: 0;
  margin-bottom: 15px;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  position: relative;
  z-index: 1;
  line-height: 1.3;
}

/* Card Description */
.service-card p {
  padding: 0;
  margin-bottom: 25px;
  color: var(--text-medium);
  line-height: 1.7;
  text-align: center;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

/* Call-to-Action Link/Button */
.service-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  color: white;
  background: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

.service-link:hover {
  background: var(--primary-light);
  transform: translateX(0);
  box-shadow: 0 4px 15px rgba(34, 54, 75, 0.3);
}

.service-link i {
  transition: transform 0.3s ease;
  font-size: 0.85rem;
}

.service-link:hover i {
  transform: translateX(5px);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-card {
    padding: 35px 25px 30px;
  }

  .service-icon {
    width: 70px;
    height: 70px;
    font-size: 1.75rem;
  }

  .service-card h3 {
    font-size: 1.35rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }

  .service-link {
    padding: 11px 24px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .service-card {
    padding: 30px 20px 25px;
  }

  .service-icon {
    width: 65px;
    height: 65px;
    font-size: 1.6rem;
    margin-bottom: 20px;
  }

  .service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }
}

/* ========================================
   OPTIONAL ENHANCEMENTS
   Uncomment these if you want fade-in animations
   ======================================== */

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

.service-card {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
*/

.technology-section {
  background: #22364b;
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.tech-content {
  max-width: 1200px;
  margin: 0 auto;
}

.tech-content h2 {
  color: white;
  margin-bottom: 20px;
}

.tech-content p {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
}

.tech-brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.tech-brands img {
  height: 60px;
  width: auto;
  /* filter: brightness(0) invert(1); */
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.tech-brands img:hover {
  opacity: 1;
}

.service-cta-section {
  background: #e8f4fc;
  padding: 60px 20px;
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cta-text h3 {
  color: #22364b;
  margin-bottom: 10px;
}

.cta-text p {
  color: #3a526f;
}

.cta-buttons {
  display: flex;
  gap: 20px;
}

.primary-cta {
  background: #22364b;
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.primary-cta:hover {
  background: #3a526f;
}

.secondary-cta {
  background: white;
  color: #22364b;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid #22364b;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.secondary-cta:hover {
  background: #22364b;
  color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .services-hero-content h1 {
    font-size: 2.5rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .cta-container {
    flex-direction: column;
    text-align: center;
  }

  .tech-brands {
    gap: 20px;
  }

  .tech-brands img {
    height: 40px;
  }
}

/* ===== DESIGN PAGE STYLES ===== */
.design-hero {
  background-image:
    linear-gradient(rgba(34, 54, 75, 0.8), rgba(34, 54, 75, 0.8)),
    url("./img/design-hero-bg.jpg");
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 90px;
}

.design-hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.design-hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.design-process {
  padding: 80px 20px;
  background: #f9f9f9;
}

.process-timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50px;
  height: 100%;
  width: 4px;
  background: #82e6f8;
  z-index: 1;
}

.process-phase {
  display: flex;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.phase-number {
  width: 100px;
  height: 100px;
  background: #22364b;
  color: #82e6f8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-right: 30px;
  border: 4px solid white;
  box-shadow: 0 0 0 4px #82e6f8;
}

.phase-content {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  flex-grow: 1;
}

.phase-content h3 {
  color: #2e7d32;
  margin-bottom: 15px;
}

.phase-content ul {
  margin-left: 20px;
}

.phase-content li {
  margin-bottom: 8px;
  color: #3a526f;
}

.design-software {
  padding: 80px 20px;
  background: white;
}

.software-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.software-content h2 {
  margin-bottom: 20px;
}

.software-content p {
  color: #3a526f;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.software-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.feature {
  margin-bottom: 30px;
}

.feature img {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
}

.feature h3 {
  color: #22364b;
  margin-bottom: 10px;
}

.software-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.design-portfolio {
  padding: 80px 20px;
  background: #f9f9f9;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 350px;
  text-align: center;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(34, 54, 75, 0.9);
  color: white;
  padding: 25px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-overlay h3 {
  color: #82e6f8;
  margin-bottom: 10px;
}

.portfolio-cta {
  display: inline-block;
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #82e6f8;
  padding-bottom: 3px;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.portfolio-cta:hover {
  color: #a1e8af;
  border-bottom-color: #a1e8af;
}

.design-cta {
  background: #3a526f;
  color: white;
  padding: 80px 20px;
  text-align: center;
}

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

.cta-design-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cta-content h2 {
  color: white;
  margin-bottom: 20px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.primary-cta {
  background: #82e6f8;
  color: #22364b;
  padding: 15px 40px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.primary-cta:hover {
  background: #a1e8af;
  transform: translateY(-3px);
}

.secondary-cta {
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid #22364b;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.secondary-cta:hover {
  background: rgba(130, 230, 248, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .software-container {
    grid-template-columns: 1fr;
  }

  .software-image {
    order: -1;
    max-width: 600px;
    margin: 0 auto 40px;
  }
}

@media (max-width: 768px) {
  .design-hero-content h1 {
    font-size: 2.5rem;
  }

  .process-timeline::before {
    left: 40px;
  }

  .phase-number {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
    margin-right: 20px;
  }

  .software-features {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== INSTALLATION PAGE STYLES ===== */
.installation-hero {
  background-image:
    linear-gradient(rgba(34, 54, 75, 0.8), rgba(34, 54, 75, 0.8)),
    url("./img/installation-hero-bg.jpg");
  background-size: cover;
  background-position: center 30%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 90px;
}

.installation-hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.installation-hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.installation-intro {
  padding: 80px 20px;
  background: #f9f9f9;
}

.intro-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.intro-text h2 {
  margin-bottom: 25px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 30px;
}

.benefits-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3a526f;
}

.benefits-grid i {
  color: #2e7d32;
}

.intro-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.installation-process {
  padding: 80px 20px;
  background: white;
}

.process-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.process-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  border-top: 4px solid #82e6f8;
  transition: transform 0.3s ease;
}

.process-card:hover {
  transform: translateY(-10px);
}

.card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.process-card h3 {
  color: #22364b;
  margin-bottom: 15px;
}

.process-card p {
  color: #3a526f;
}

.installation-methods {
  padding: 80px 20px;
  background: #f9f9f9;
}

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

.methods-header {
  text-align: center;
  margin-bottom: 40px;
}

.methods-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  justify-content: center;
}

.tab-button {
  background: #e8f4fc;
  color: #22364b;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tab-button:hover {
  background: #d0e9f7;
}

.tab-button.active {
  background: #22364b;
  color: white;
}

.tab-content {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.tab-content.active {
  display: grid;
}

.tab-text h3 {
  color: #2e7d32;
  margin-bottom: 20px;
}

.tab-text ul {
  margin-left: 20px;
  margin-bottom: 30px;
}

.tab-text li {
  margin-bottom: 10px;
  color: #3a526f;
}

.method-cta {
  display: inline-block;
  color: #22364b;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #82e6f8;
  padding-bottom: 3px;
  transition: all 0.3s ease;
}

.method-cta:hover {
  color: #2e7d32;
  border-bottom-color: #2e7d32;
}

.tab-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.installation-gallery {
  padding: 80px 20px;
  background: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 250px;
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(34, 54, 75, 0.8);
  color: white;
  padding: 15px;
  text-align: center;
}

.installation-cta {
  padding: 80px 20px;
  background: #3a526f;
}

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

.cta-card {
  background: white;
  padding: 50px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cta-card h3 {
  color: #22364b;
  margin-bottom: 15px;
}

.cta-card p {
  color: #3a526f;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.primary-cta {
  background: #82e6f8;
  color: #22364b;
  padding: 15px 40px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.primary-cta:hover {
  background: #a1e8af;
  transform: translateY(-3px);
}

.secondary-cta {
  background: #22364b;
  color: white;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;

  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.secondary-cta:hover {
  background: #3a526f;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .intro-container {
    grid-template-columns: 1fr;
  }

  .intro-image {
    order: -1;
    max-width: 600px;
    margin: 0 auto 40px;
  }

  .tab-content {
    grid-template-columns: 1fr;
  }

  .tab-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .installation-hero-content h1 {
    font-size: 2.5rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .methods-tabs {
    flex-direction: column;
  }

  .tab-button {
    width: 100%;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== MAINTENANCE PAGE STYLES ===== */
.maintenance-hero {
  background-image:
    linear-gradient(rgba(34, 54, 75, 0.8), rgba(34, 54, 75, 0.8)),
    url("./img/maintenance-hero-bg.jpg");
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.maintenance-hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.maintenance-hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.maintenance-intro {
  padding: 80px 20px;
  background: #f9f9f9;
}

.intro-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.intro-text h2 {
  margin-bottom: 25px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 30px;
}

.benefits-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3a526f;
}

.benefits-grid i {
  color: #2e7d32;
}

.intro-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.maintenance-plans {
  padding: 80px 20px;
  background: white;
}

.plan-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.plan-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  border-top: 4px solid #82e6f8;
  position: relative;
  transition: transform 0.3s ease;
}

.plan-card.featured {
  border-top-color: #2e7d32;
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.plan-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: #2e7d32;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.plan-header {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.plan-header h3 {
  color: #22364b;
  margin-bottom: 10px;
}

.plan-price {
  color: #2e7d32;
  font-size: 2.5rem;
  font-weight: bold;
}

.plan-price span {
  font-size: 1rem;
  font-weight: normal;
  color: #3a526f;
}

.plan-features {
  text-align: left;
  margin-bottom: 30px;
  color: #3a526f;
}

.plan-features li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features i {
  color: #2e7d32;
}

.plan-cta {
  display: inline-block;
  background: #22364b;
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.plan-card.featured .plan-cta {
  background: #2e7d32;
}

.plan-cta:hover {
  background: #3a526f;
  transform: translateY(-3px);
}

.plan-card:hover {
  transform: translateY(-10px);
}

.plan-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.maintenance-checklist {
  padding: 80px 20px;
  background: #f9f9f9;
}

.checklist-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.checklist-content h2 {
  margin-bottom: 25px;
}

.checklist-content p {
  color: #3a526f;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.checklist-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.checklist-column h3 {
  color: #22364b;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checklist-column ul {
  margin-left: 20px;
}

.checklist-column li {
  margin-bottom: 10px;
  color: #3a526f;
}

.checklist-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.maintenance-benefits {
  padding: 80px 20px;
  background: white;
}

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

.benefits-header {
  text-align: center;
  margin-bottom: 50px;
}

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

.benefit-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: #22364b;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
}

.benefit-card h3 {
  color: #22364b;
  margin-bottom: 15px;
}

.benefit-card p {
  color: #3a526f;
}

.maintenance-cta {
  padding: 80px 20px;
  background: #3a526f;
}

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

.cta-card {
  background: white;
  padding: 50px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cta-card h3 {
  color: #22364b;
  margin-bottom: 15px;
}

.cta-card p {
  color: #3a526f;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.primary-cta {
  background: #82e6f8;
  color: #22364b;
  padding: 15px 40px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.primary-cta:hover {
  background: #a1e8af;
  transform: translateY(-3px);
}

.secondary-cta {
  background: #22364b;
  color: white;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.secondary-cta:hover {
  background: #3a526f;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .checklist-container {
    grid-template-columns: 1fr;
  }

  .checklist-image {
    order: -1;
    max-width: 600px;
    margin: 0 auto 40px;
  }
}

@media (max-width: 768px) {
  .maintenance-hero-content h1 {
    font-size: 2.5rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }

  .checklist-columns {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== SOLUTIONS PAGE STYLES ===== */
.solutions-hero {
  background-image:
    linear-gradient(rgba(34, 54, 75, 0.8), rgba(34, 54, 75, 0.8)),
    url("./img/solutions-hero-bg.jpg");
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.solutions-hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.solutions-hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.solutions-intro {
  padding: 80px 20px;
  background: #f9f9f9;
}

.solutions-categories {
  padding: 80px 20px;
  background: white;
}

.solution-tabs {
  max-width: 1200px;
  margin: 0 auto;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-button {
  background: #e8f4fc;
  color: #22364b;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tab-button:hover {
  background: #d0e9f7;
}

.tab-button.active {
  background: #22364b;
  color: white;
}

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

.solution-card {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.solution-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.solution-content {
  padding: 25px;
}

.solution-content h3 {
  color: #22364b;
  margin-bottom: 15px;
}

.solution-content ul {
  margin-left: 20px;
  margin-bottom: 25px;
  color: #3a526f;
}

.solution-content li {
  margin-bottom: 8px;
}

.solution-cta {
  display: inline-block;
  background: #22364b;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.solution-cta:hover {
  background: #3a526f;
  transform: translateY(-2px);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.solution-benefits {
  padding: 80px 20px;
  background: #f9f9f9;
}

.solutions-cta {
  padding: 80px 20px;
  background: #3a526f;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .solutions-hero-content h1 {
    font-size: 2.5rem;
  }

  .tab-buttons {
    flex-direction: column;
  }

  .tab-button {
    width: 100%;
  }

  .solution-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CASE STUDIES PAGE STYLES ===== */
.case-studies-hero {
  background-image:
    linear-gradient(rgba(34, 54, 75, 0.8), rgba(34, 54, 75, 0.8)),
    url("./img/case-studies-hero-bg.jpg");
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.case-studies-hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.case-studies-hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.case-studies-intro {
  padding: 80px 20px;
  background: #f9f9f9;
}

.intro-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.intro-text h2 {
  margin-bottom: 25px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.stat-item {
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #2e7d32;
  margin-bottom: 5px;
}

.stat-label {
  color: #3a526f;
  font-size: 0.9rem;
}

.intro-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.case-studies-filter {
  padding: 30px 20px;
  background: white;
}

.filter-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.filter-container h3 {
  color: #22364b;
  margin: 0;
}

.filter-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #e8f4fc;
  color: #22364b;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: #d0e9f7;
}

.filter-btn.active {
  background: #22364b;
  color: white;
}

.case-studies-grid {
  padding: 80px 20px;
  background: #f9f9f9;
}

.studies-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.case-study-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

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

.case-study-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

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

.case-study-card:hover .case-study-image img {
  transform: scale(1.1);
}

.case-study-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #82e6f8;
  color: #22364b;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
}

.case-study-content {
  padding: 25px;
}

.case-study-content h3 {
  color: #22364b;
  margin-bottom: 10px;
}

.case-study-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  color: #3a526f;
  font-size: 0.9rem;
}

.case-study-meta i {
  margin-right: 5px;
  color: #82e6f8;
}

.case-study-content p {
  color: #3a526f;
  margin-bottom: 20px;
  line-height: 1.6;
}

.case-study-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #22364b;
}

.result-item i {
  color: #2e7d32;
}

.case-study-cta {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: #22364b;
  color: white;
  padding: 12px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.case-study-cta:hover {
  background: #3a526f;
}

.case-studies-cta {
  text-align: center;
  margin-top: 50px;
  padding: 20px;
}

.case-studies-cta p {
  color: #3a526f;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.testimonials-section {
  padding: 80px 20px;
  background: white;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.testimonial-card {
  background: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
  padding: 30px;
}

.rating {
  color: #ffc107;
  margin-bottom: 15px;
}

.testimonial-content p {
  color: #3a526f;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 30px;
  background: rgba(34, 54, 75, 0.05);
  border-top: 1px solid #eee;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  color: #22364b;
  margin-bottom: 5px;
}

.testimonial-author p {
  color: #3a526f;
  font-size: 0.9rem;
  margin: 0;
  font-style: normal;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .intro-container {
    grid-template-columns: 1fr;
  }

  .intro-image {
    order: -1;
    max-width: 600px;
    margin: 0 auto 40px;
  }
}

@media (max-width: 768px) {
  .case-studies-hero-content h1 {
    font-size: 2.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .filter-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .studies-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .case-study-results {
    grid-template-columns: 1fr;
  }
}

/* ===== CASE STUDY TEMPLATE STYLES ===== */
.case-study-hero {
  background-image:
    linear-gradient(rgba(34, 54, 75, 0.8), rgba(34, 54, 75, 0.8)),
    url("../img/case-studies-hero-bg.jpg");
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.case-study-hero .hero-content {
  max-width: 1200px;
  margin: 0 auto;
}

.case-study-hero .breadcrumb {
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.case-study-hero .breadcrumb a {
  color: #82e6f8;
  text-decoration: none;
}

.case-study-hero .breadcrumb span {
  margin: 0 10px;
}

.case-study-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
  color: white;
}

.case-study-hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.case-study-meta {
  background: #f9f9f9;
  padding: 30px 20px;
}

.meta-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.meta-item i {
  font-size: 1.5rem;
  color: #82e6f8;
}

.meta-item h4 {
  color: #3a526f;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.meta-item p {
  color: #22364b;
  font-weight: 600;
  margin: 0;
}

.case-study-overview {
  padding: 80px 20px;
  background: white;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.overview-content h2 {
  margin-bottom: 25px;
}

.overview-content p {
  color: #3a526f;
  margin-bottom: 25px;
  line-height: 1.6;
}

.challenge-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.challenge,
.solution {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
}

.challenge h3,
.solution h3 {
  color: #22364b;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.challenge h3 {
  color: #e74c3c;
}

.solution h3 {
  color: #2e7d32;
}

.challenge ul,
.solution ul {
  margin-left: 20px;
  color: #3a526f;
}

.challenge li,
.solution li {
  margin-bottom: 10px;
}

.overview-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.case-study-features {
  padding: 80px 20px;
  background: #f9f9f9;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: #22364b;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
}

.feature-card h3 {
  color: #22364b;
  margin-bottom: 15px;
}

.feature-card p {
  color: #3a526f;
  line-height: 1.6;
}

.case-study-gallery {
  padding: 80px 20px;
  background: white;
}

.gallery-container {
  max-width: 1200px;
  margin: 40px auto 0;
}

.main-gallery-image {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  height: 500px;
}

.main-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbnails {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 10px 0;
}

.gallery-thumbnails img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.gallery-thumbnails img:hover {
  border-color: #82e6f8;
}

.gallery-thumbnails img.active {
  border-color: #2e7d32;
}

.case-study-results {
  padding: 80px 20px;
  background: #f9f9f9;
}

.results-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.stat-item {
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: #2e7d32;
  margin-bottom: 5px;
}

.stat-label {
  color: #3a526f;
  font-size: 0.9rem;
}

.testimonial {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-top: 40px;
}

.testimonial-content {
  padding: 30px;
}

.testimonial .rating {
  color: #ffc107;
  margin-bottom: 15px;
}

.testimonial-content p {
  color: #3a526f;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 30px;
  background: rgba(34, 54, 75, 0.05);
  border-top: 1px solid #eee;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  color: #22364b;
  margin-bottom: 5px;
}

.testimonial-author p {
  color: #3a526f;
  font-size: 0.9rem;
  margin: 0;
  font-style: normal;
}

.results-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.case-study-cta {
  padding: 80px 20px;
  background: #3a526f;
  text-align: center;
}

.case-study-cta .cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.case-study-cta h2 {
  color: white;
  margin-bottom: 20px;
}

.case-study-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .section-container {
    grid-template-columns: 1fr;
  }

  .results-image {
    order: -1;
    max-width: 600px;
    margin: 0 auto 40px;
  }

  .main-gallery-image {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .case-study-hero h1 {
    font-size: 2.5rem;
  }

  .challenge-solution {
    grid-template-columns: 1fr;
  }

  .main-gallery-image {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .meta-container {
    grid-template-columns: 1fr;
  }

  .case-study-hero h1 {
    font-size: 2rem;
  }

  .main-gallery-image {
    height: 250px;
  }
}

/* Container for auto scroll controls */
.auto-scroll-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  gap: 15px;
}

/* Styling for the auto scroll toggle button */
.auto-scroll-toggle {
  background-color: #22364b; /* Dark background */
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.auto-scroll-toggle:hover {
  background-color: #3a526f;
  transform: scale(1.1);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color); /* Use your brand color */
  color: #4caf50;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  font-size: 20px;
}

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

.back-to-top:hover {
  background-color: var(
    --primary-dark
  ); /* Slightly darker shade of your brand color */
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.back-to-top:active {
  transform: translateY(0);
}

.back-to-top i {
  transition: transform 0.3s ease;
}

.back-to-top:hover i {
  transform: translateY(-2px);
}

/* For reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }

  .back-to-top:hover {
    transform: none;
  }

  .back-to-top i {
    transition: none;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
    font-size: 18px;
  }
}

.about-page-section {
  padding: 80px 20px;
  background: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.about-page-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start; /* Aligned to top - no centering issue */
}

.about-page-content {
  padding-top: 20px;
}

.about-page-content h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.2;
}

.about-page-content > p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-medium);
  margin-bottom: 35px;
}

.about-page-content .mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 40px;
}

.about-page-content .mission,
.about-page-content .vision {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

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

.about-page-content .mission h3,
.about-page-content .vision h3 {
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 1.2rem;
  font-weight: 600;
}

.about-page-content .mission h3 i,
.about-page-content .vision h3 i {
  color: var(--secondary);
  font-size: 1.3rem;
}

.about-page-content .mission p,
.about-page-content .vision p {
  color: var(--text-medium);
  line-height: 1.7;
  margin: 0;
}

.about-page-image {
  position: relative;
  display: flex;
  align-items: flex-start;
}

.about-page-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

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

/* Decorative border behind image */
.about-page-image::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--secondary);
  border-radius: 16px;
  z-index: -1;
  opacity: 0.3;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 968px) {
  .about-page-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-page-content {
    padding-top: 0;
  }

  .about-page-content h2 {
    font-size: 2rem;
    text-align: center;
  }

  .about-page-content > p {
    text-align: center;
  }

  .about-page-content .mission-vision {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-page-image {
    order: -1; /* Image first on mobile */
  }

  .about-page-image::before {
    display: none; /* Hide decorative border on mobile */
  }
}

@media (max-width: 640px) {
  .about-page-section {
    padding: 60px 20px;
  }

  .about-page-content h2 {
    font-size: 1.75rem;
  }

  .about-page-content > p {
    font-size: 1rem;
  }

  .about-page-content .mission,
  .about-page-content .vision {
    padding: 25px 20px;
  }
}

.services-grid-enhanced {
  padding: 80px 20px;
  background: #f8f9fa;
}

.services-grid-enhanced .container {
  max-width: 1400px;
  margin: 0 auto;
}

/* ===== SERVICE CATEGORY ===== */

.service-category-enhanced {
  margin-bottom: 80px;
}

.service-category-enhanced:last-child {
  margin-bottom: 0;
}

.service-header-enhanced {
  text-align: center;
  margin-bottom: 50px;
}

.service-icon-large {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  box-shadow: 0 8px 25px rgba(130, 230, 248, 0.3);
  transition: all 0.3s ease;
}

.service-icon-large:hover {
  transform: rotate(5deg) scale(1.05);
}

.service-icon-large i {
  font-size: 2.5rem;
  color: white;
}

.service-header-enhanced h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 700;
}

.category-description {
  font-size: 1.1rem;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== SERVICE CARDS GRID ===== */

.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 35px;
}

.service-card-enhanced {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card-enhanced::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card-enhanced:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  border-color: var(--secondary);
}

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

/* Service Card Icon */
.service-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-card-enhanced:hover .service-card-icon {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  transform: rotate(5deg) scale(1.1);
}

.service-card-icon i {
  font-size: 1.8rem;
  color: var(--primary);
  transition: color 0.3s ease;
}

.service-card-enhanced:hover .service-card-icon i {
  color: white;
}

/* Service Card Content */
.service-card-enhanced h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 600;
}

.service-description {
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 25px;
  font-size: 0.95rem;
}

/* Service Features List */
.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.service-features li {
  padding: 10px 0;
  color: var(--text-medium);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  border-bottom: 1px solid #f0f0f0;
}

.service-features li:last-child {
  border-bottom: none;
}

.service-features li i {
  color: var(--secondary);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Service Benefits Badges */
.service-benefits {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.benefit-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.benefit-badge i {
  font-size: 0.9rem;
}

/* Badge Colors */
.benefit-badge.water {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  color: #1565c0;
}

.benefit-badge.eco {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  color: #2e7d32;
}

.benefit-badge.efficient {
  background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
  color: #00838f;
}

.benefit-badge.smart {
  background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
  color: #6a1b9a;
}

.benefit-badge.aesthetic {
  background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
  color: #c2185b;
}

.benefit-badge.compact {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  color: #e65100;
}

.benefit-badge.urban {
  background: linear-gradient(135deg, #eceff1 0%, #cfd8dc 100%);
  color: #455a64;
}

.benefit-badge.innovative {
  background: linear-gradient(135deg, #fff9c4 0%, #fff59d 100%);
  color: #f57f17;
}

.benefit-badge.bespoke {
  background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
  color: #00695c;
}

.benefit-badge.professional {
  background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
  color: #ff6f00;
}

.benefit-badge.durable {
  background: linear-gradient(135deg, #efebe9 0%, #d7ccc8 100%);
  color: #4e342e;
}

.service-card-enhanced:hover .benefit-badge {
  transform: translateY(-2px);
}

/* Service Button */
.service-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-btn:hover {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--primary);
  gap: 15px;
  transform: translateX(5px);
}

.service-btn i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.service-btn:hover i {
  transform: translateX(5px);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
  .service-cards-grid {
    grid-template-columns: 1fr;
  }

  .service-card-enhanced {
    padding: 35px;
  }
}

@media (max-width: 768px) {
  .services-grid-enhanced {
    padding: 60px 20px;
  }

  .service-category-enhanced {
    margin-bottom: 60px;
  }

  .service-header-enhanced h2 {
    font-size: 2rem;
  }

  .service-icon-large {
    width: 70px;
    height: 70px;
  }

  .service-icon-large i {
    font-size: 2rem;
  }

  .service-card-enhanced {
    padding: 30px 25px;
  }

  .service-card-enhanced h3 {
    font-size: 1.3rem;
  }

  .service-benefits {
    gap: 8px;
  }

  .benefit-badge {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .service-header-enhanced h2 {
    font-size: 1.75rem;
  }

  .category-description {
    font-size: 1rem;
  }

  .service-card-enhanced {
    padding: 25px 20px;
  }

  .service-benefits {
    flex-direction: column;
    align-items: flex-start;
  }

  .benefit-badge {
    width: 100%;
    justify-content: center;
  }

  .service-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== ANIMATIONS ===== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card-enhanced {
  animation: fadeInUp 0.6s ease-out forwards;
}

.service-card-enhanced:nth-child(1) {
  animation-delay: 0.1s;
}

.service-card-enhanced:nth-child(2) {
  animation-delay: 0.2s;
}

/* ===== ACCESSIBILITY ===== */

.service-btn:focus {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .service-card-enhanced,
  .service-icon-large,
  .benefit-badge {
    animation: none;
    transition: none;
  }

  .service-card-enhanced:hover,
  .service-btn:hover {
    transform: none;
  }
}

.services-results-section {
  padding: 80px 20px;
  background: #f8f9fa;
}

.services-results-section .container {
  max-width: 1400px;
  margin: 0 auto;
}

.services-results-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-results-section .section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.services-results-section .section-header p {
  font-size: 1.1rem;
  color: var(--text-medium);
}

/* Results Grid */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

/* Result Card */
.result-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.result-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Before/After Image Comparison */
.before-after-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.image-comparison {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: ew-resize;
  user-select: none;
}

.before-image,
.after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.before-image img,
.after-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.after-image {
  overflow: hidden;
  clip-path: inset(0 0 0 0);
}

/* Image Labels */
.image-label {
  position: absolute;
  top: 20px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.image-label.before {
  left: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
}

.image-label.after {
  right: 20px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--primary);
}

/* Comparison Slider */
.comparison-slider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: white;
  transform: translateX(-50%);
  z-index: 3;
  transition: background 0.3s ease;
}

.image-comparison:hover .comparison-slider {
  background: var(--secondary);
  box-shadow: 0 0 20px rgba(130, 230, 248, 0.5);
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: white;
  border: 4px solid var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.image-comparison:hover .slider-button {
  transform: translate(-50%, -50%) scale(1.1);
  border-color: var(--accent);
}

.slider-button i {
  font-size: 1.2rem;
  color: var(--secondary);
}

/* Result Info */
.result-info {
  padding: 30px;
}

.result-category {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.result-info h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 600;
}

.result-info > p {
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 25px;
}

/* Result Stats */
.result-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.stat-item {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 5px;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Results CTA */
.results-cta {
  text-align: center;
  padding: 40px 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.results-cta p {
  font-size: 1.2rem;
  color: var(--text-medium);
  margin-bottom: 20px;
}

.btn-results {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--primary);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(130, 230, 248, 0.3);
}

.btn-results:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(130, 230, 248, 0.4);
  gap: 15px;
}

.btn-results i {
  transition: transform 0.3s ease;
}

.btn-results:hover i {
  transform: translateX(5px);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
  .results-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .services-results-section {
    padding: 60px 20px;
  }

  .services-results-section .section-header h2 {
    font-size: 2rem;
  }

  .results-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .result-info {
    padding: 25px;
  }

  .result-info h3 {
    font-size: 1.2rem;
  }

  .result-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .stat-value {
    font-size: 1.3rem;
  }

  .image-label {
    top: 15px;
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .image-label.before {
    left: 15px;
  }

  .image-label.after {
    right: 15px;
  }

  .slider-button {
    width: 40px;
    height: 40px;
  }

  .slider-button i {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .result-info h3 {
    font-size: 1.1rem;
  }

  .result-info > p {
    font-size: 0.9rem;
  }

  .results-cta {
    padding: 30px 20px;
  }

  .results-cta p {
    font-size: 1rem;
  }

  .btn-results {
    width: 100%;
    justify-content: center;
  }
}

/* ===== ACCESSIBILITY ===== */

.btn-results:focus {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .result-card,
  .slider-button,
  .btn-results {
    transition: none;
  }

  .result-card:hover,
  .btn-results:hover {
    transform: none;
  }
}

/* ========================================
   FAQ ACCORDION SECTION
   Add this to your style.css
   ======================================== */

.services-faq-section {
  padding: 80px 20px;
  background: white;
}

.services-faq-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.services-faq-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-faq-section .section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.services-faq-section .section-header p {
  font-size: 1.1rem;
  color: var(--text-medium);
}

/* FAQ Grid */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* FAQ Item */
.faq-item {
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.faq-item.active {
  border-color: var(--secondary);
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* FAQ Question Button */
.faq-question {
  width: 100%;
  padding: 25px 30px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
}

.faq-question span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  flex: 1;
}

.faq-question i {
  font-size: 1rem;
  color: var(--secondary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-question:hover {
  background: rgba(130, 230, 248, 0.05);
}

/* FAQ Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
}

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

.faq-answer p {
  color: var(--text-medium);
  line-height: 1.8;
  margin: 0;
  font-size: 0.95rem;
}

/* FAQ CTA */
.faq-cta {
  margin-top: 60px;
  text-align: center;
  padding: 50px 40px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
  border-radius: 16px;
  border-left: 4px solid var(--secondary);
}

.faq-cta h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.faq-cta p {
  font-size: 1.1rem;
  color: var(--text-medium);
  margin-bottom: 30px;
}

.faq-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-faq-primary,
.btn-faq-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-faq-primary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(130, 230, 248, 0.3);
}

.btn-faq-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(130, 230, 248, 0.4);
}

.btn-faq-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-faq-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
  .services-faq-section {
    padding: 60px 20px;
  }

  .services-faq-section .section-header h2 {
    font-size: 2rem;
  }

  .faq-question {
    padding: 20px;
  }

  .faq-question span {
    font-size: 1rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
  }

  .faq-answer p {
    font-size: 0.9rem;
  }

  .faq-cta {
    padding: 40px 25px;
  }

  .faq-cta h3 {
    font-size: 1.5rem;
  }

  .faq-cta p {
    font-size: 1rem;
  }

  .faq-cta-buttons {
    flex-direction: column;
  }

  .btn-faq-primary,
  .btn-faq-secondary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .faq-question {
    padding: 18px 15px;
    gap: 15px;
  }

  .faq-question span {
    font-size: 0.95rem;
  }
}

/* ===== ACCESSIBILITY ===== */

.faq-question:focus {
  outline: 3px solid var(--secondary);
  outline-offset: -3px;
}

@media (prefers-reduced-motion: reduce) {
  .faq-question i,
  .faq-answer {
    transition: none;
  }

  .btn-faq-primary:hover,
  .btn-faq-secondary:hover {
    transform: none;
  }
}

/* ========================================
   INTERACTIVE COVERAGE CALCULATOR
   Add this to your style.css
   ======================================== */

.design-calculator-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
}

.design-calculator-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.calculator-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background: white;
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ===== LEFT SIDE - CALCULATOR ===== */

.calculator-content {
  display: flex;
  flex-direction: column;
}

.calculator-header {
  text-align: center;
  margin-bottom: 35px;
}

.calculator-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 25px rgba(130, 230, 248, 0.3);
}

.calculator-icon i {
  font-size: 2rem;
  color: white;
}

.calculator-header h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 700;
}

.calculator-header p {
  color: var(--text-medium);
  font-size: 1rem;
}

/* Calculator Form */
.calculator-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group label i {
  color: var(--secondary);
  font-size: 0.9rem;
}

.form-group input,
.form-group select {
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(130, 230, 248, 0.1);
}

.form-group input::placeholder {
  color: #bbb;
}

/* Calculate Button */
.calc-btn {
  padding: 18px 35px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--primary);
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(130, 230, 248, 0.3);
  margin-top: 10px;
}

.calc-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(130, 230, 248, 0.4);
}

.calc-btn:active {
  transform: translateY(-1px);
}

.calc-btn i {
  font-size: 1.2rem;
}

/* ===== RIGHT SIDE - RESULTS ===== */

.calculator-results {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 16px;
  padding: 40px;
  min-height: 500px;
}

/* Results Placeholder */
.results-placeholder {
  text-align: center;
  color: var(--text-medium);
}

.results-placeholder i {
  font-size: 4rem;
  color: var(--secondary);
  margin-bottom: 20px;
  opacity: 0.3;
}

.results-placeholder h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.results-placeholder p {
  font-size: 1rem;
}

/* Results Content */
.results-content h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
}

.result-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  background: white;
  border-radius: 12px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  border-left: 4px solid var(--secondary);
}

.result-card:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.result-card.highlight {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border-left-color: var(--accent);
}

.result-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.result-icon i {
  font-size: 1.3rem;
  color: white;
}

.result-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.result-label {
  font-size: 0.85rem;
  color: var(--text-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.result-value {
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 700;
}

/* Results Disclaimer */
.results-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  background: #fff3cd;
  border-radius: 8px;
  margin: 20px 0;
  border-left: 3px solid #ffc107;
}

.results-disclaimer i {
  color: #ff9800;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.results-disclaimer p {
  margin: 0;
  font-size: 0.85rem;
  color: #856404;
  line-height: 1.5;
}

/* Results CTA */
.results-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.results-cta:hover {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.results-cta i {
  font-size: 1.1rem;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 968px) {
  .calculator-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .calculator-results {
    min-height: auto;
  }

  .results-placeholder i {
    font-size: 3rem;
  }
}

@media (max-width: 640px) {
  .design-calculator-section {
    padding: 60px 20px;
  }

  .calculator-wrapper {
    padding: 30px 20px;
  }

  .calculator-header h2 {
    font-size: 1.75rem;
  }

  .calculator-icon {
    width: 60px;
    height: 60px;
  }

  .calculator-icon i {
    font-size: 1.5rem;
  }

  .calc-btn {
    font-size: 1rem;
    padding: 16px 28px;
  }

  .calculator-results {
    padding: 30px 20px;
  }

  .result-card {
    padding: 15px;
  }

  .result-value {
    font-size: 1.2rem;
  }
}

/* ===== ANIMATIONS ===== */

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.results-content .result-card {
  animation: slideIn 0.4s ease-out forwards;
}

.results-content .result-card:nth-child(1) {
  animation-delay: 0.1s;
}
.results-content .result-card:nth-child(2) {
  animation-delay: 0.2s;
}
.results-content .result-card:nth-child(3) {
  animation-delay: 0.3s;
}
.results-content .result-card:nth-child(4) {
  animation-delay: 0.4s;
}
.results-content .result-card:nth-child(5) {
  animation-delay: 0.5s;
}

/* ===== ACCESSIBILITY ===== */

.calc-btn:focus,
.results-cta:focus,
.form-group input:focus,
.form-group select:focus {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .result-card,
  .calc-btn,
  .results-cta {
    animation: none;
    transition: none;
  }

  .result-card:hover,
  .calc-btn:hover,
  .results-cta:hover {
    transform: none;
  }
}

/* ========================================
   DESIGN FAQ SECTION
   Add this to your style.css
   ======================================== */

.design-faq-section {
  padding: 80px 20px;
  background: white;
}

.design-faq-section .container {
  max-width: 1000px;
  margin: 0 auto;
}

.design-faq-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.design-faq-section .section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 700;
}

.design-faq-section .section-header p {
  font-size: 1.1rem;
  color: var(--text-medium);
}

/* FAQ Grid */
.design-faq-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 60px;
}

/* FAQ Item */
.design-faq-item {
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.design-faq-item.active {
  border-color: var(--secondary);
  background: white;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

/* FAQ Question Button */
.design-faq-question {
  width: 100%;
  padding: 25px 30px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
}

.design-faq-question:hover {
  background: rgba(130, 230, 248, 0.05);
}

.design-faq-question span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  flex: 1;
  line-height: 1.4;
}

.design-faq-question i {
  font-size: 1rem;
  color: var(--secondary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.design-faq-item.active .design-faq-question i {
  transform: rotate(180deg);
}

/* FAQ Answer */
.design-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
}

.design-faq-item.active .design-faq-answer {
  max-height: 600px;
  padding: 0 30px 25px 30px;
}

.design-faq-answer p {
  color: var(--text-medium);
  line-height: 1.8;
  margin: 0;
  font-size: 0.95rem;
}

/* FAQ CTA */
.design-faq-cta {
  background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
  border-radius: 16px;
  padding: 50px 40px;
  border-left: 4px solid var(--secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.faq-cta-content {
  flex: 1;
}

.faq-cta-content h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
}

.faq-cta-content p {
  font-size: 1.05rem;
  color: var(--text-medium);
  margin: 0;
  line-height: 1.6;
}

.faq-cta-buttons {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.btn-design-faq-primary,
.btn-design-faq-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-design-faq-primary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--primary);
  box-shadow: 0 6px 20px rgba(130, 230, 248, 0.3);
}

.btn-design-faq-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(130, 230, 248, 0.4);
}

.btn-design-faq-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.btn-design-faq-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 968px) {
  .design-faq-section {
    padding: 60px 20px;
  }

  .design-faq-section .section-header h2 {
    font-size: 2rem;
  }

  .design-faq-cta {
    flex-direction: column;
    text-align: center;
    padding: 40px 30px;
    gap: 30px;
  }

  .faq-cta-buttons {
    width: 100%;
    flex-direction: column;
  }

  .btn-design-faq-primary,
  .btn-design-faq-secondary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .design-faq-question {
    padding: 20px;
  }

  .design-faq-question span {
    font-size: 1rem;
  }

  .design-faq-item.active .design-faq-answer {
    padding: 0 20px 20px 20px;
  }

  .design-faq-answer p {
    font-size: 0.9rem;
  }

  .design-faq-cta {
    padding: 35px 25px;
  }

  .faq-cta-content h3 {
    font-size: 1.5rem;
  }

  .faq-cta-content p {
    font-size: 1rem;
  }

  .btn-design-faq-primary,
  .btn-design-faq-secondary {
    padding: 14px 24px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .design-faq-question {
    padding: 18px 15px;
    gap: 15px;
  }

  .design-faq-question span {
    font-size: 0.95rem;
  }

  .btn-design-faq-primary i,
  .btn-design-faq-secondary i {
    font-size: 0.9rem;
  }
}

/* ===== ACCESSIBILITY ===== */

.design-faq-question:focus {
  outline: 3px solid var(--secondary);
  outline-offset: -3px;
}

.btn-design-faq-primary:focus,
.btn-design-faq-secondary:focus {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .design-faq-question i,
  .design-faq-answer {
    transition: none;
  }

  .btn-design-faq-primary:hover,
  .btn-design-faq-secondary:hover {
    transform: none;
  }
}

/* ========================================
   SAMPLE DELIVERABLES SECTION
   Add this to your style.css
   ======================================== */

.design-deliverables-section {
  padding: 80px 20px;
  background: #f8f9fa;
}

.design-deliverables-section .container {
  max-width: 1400px;
  margin: 0 auto;
}

.design-deliverables-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.design-deliverables-section .section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 700;
}

.design-deliverables-section .section-header p {
  font-size: 1.1rem;
  color: var(--text-medium);
}

/* Deliverables Grid */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 35px;
  margin-bottom: 60px;
}

/* Deliverable Card */
.deliverable-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 2px solid transparent;
  position: relative;
  display: flex;
  flex-direction: column;
}

.deliverable-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  border-color: var(--secondary);
}

/* Featured Badge */
.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.deliverable-card.featured {
  border-color: #ffc107;
}

.deliverable-card.featured:hover {
  border-color: #ff9800;
}

/* Deliverable Content */
.deliverable-card > * {
  padding: 0 30px;
}

.deliverable-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px 30px 20px 30px;
  box-shadow: 0 6px 20px rgba(130, 230, 248, 0.3);
  transition: all 0.3s ease;
}

.deliverable-card:hover .deliverable-icon {
  transform: rotate(5deg) scale(1.05);
}

.deliverable-icon i {
  font-size: 2rem;
  color: white;
}

.deliverable-content {
  flex: 1;
}

.deliverable-content h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 600;
}

.deliverable-content > p {
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* Deliverable Features List */
.deliverable-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.deliverable-features li {
  padding: 8px 0;
  color: var(--text-medium);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.deliverable-features li i {
  color: var(--accent);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Deliverable Format Badge */
.deliverable-format {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #e3f2fd;
  color: #1565c0;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.deliverable-format i {
  font-size: 1rem;
}

/* Deliverable Preview */
.deliverable-preview {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #f8f9fa;
  margin: 0;
  padding: 0;
}

.deliverable-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.deliverable-card:hover .deliverable-preview img {
  transform: scale(1.05);
}

.preview-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Deliverables Summary */
.deliverables-summary {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 40px 50px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  border-left: 5px solid var(--secondary);
}

.summary-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.summary-icon i {
  font-size: 2.5rem;
  color: #ff9800;
}

.summary-content {
  flex: 1;
}

.summary-content h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 700;
}

.summary-content p {
  color: var(--text-medium);
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}

.summary-cta {
  flex-shrink: 0;
}

.deliverables-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--primary);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(130, 230, 248, 0.3);
  white-space: nowrap;
}

.deliverables-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(130, 230, 248, 0.4);
}

.deliverables-btn i {
  font-size: 1.1rem;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1200px) {
  .deliverables-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 968px) {
  .design-deliverables-section {
    padding: 60px 20px;
  }

  .design-deliverables-section .section-header h2 {
    font-size: 2rem;
  }

  .deliverables-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .deliverable-card > * {
    padding: 0 25px;
  }

  .deliverable-icon {
    margin: 25px 25px 15px 25px;
    width: 60px;
    height: 60px;
  }

  .deliverable-icon i {
    font-size: 1.5rem;
  }

  .deliverable-content h3 {
    font-size: 1.3rem;
  }

  .deliverables-summary {
    flex-direction: column;
    text-align: center;
    padding: 35px 30px;
    gap: 25px;
  }

  .summary-cta {
    width: 100%;
  }

  .deliverables-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .deliverable-card > * {
    padding: 0 20px;
  }

  .deliverable-icon {
    margin: 20px 20px 15px 20px;
  }

  .deliverable-content h3 {
    font-size: 1.2rem;
  }

  .deliverable-content > p {
    font-size: 0.9rem;
  }

  .deliverable-features li {
    font-size: 0.85rem;
  }

  .deliverable-preview {
    height: 180px;
  }

  .deliverables-summary {
    padding: 30px 20px;
  }

  .summary-icon {
    width: 70px;
    height: 70px;
  }

  .summary-icon i {
    font-size: 2rem;
  }

  .summary-content h3 {
    font-size: 1.4rem;
  }

  .summary-content p {
    font-size: 0.9rem;
  }

  .featured-badge {
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    font-size: 0.7rem;
  }
}

/* ===== ANIMATIONS ===== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.deliverable-card {
  animation: fadeInUp 0.6s ease-out forwards;
}

.deliverable-card:nth-child(1) {
  animation-delay: 0.1s;
}
.deliverable-card:nth-child(2) {
  animation-delay: 0.2s;
}
.deliverable-card:nth-child(3) {
  animation-delay: 0.3s;
}
.deliverable-card:nth-child(4) {
  animation-delay: 0.4s;
}
.deliverable-card:nth-child(5) {
  animation-delay: 0.5s;
}
.deliverable-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* ===== ACCESSIBILITY ===== */

.deliverables-btn:focus {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .deliverable-card,
  .deliverable-icon,
  .deliverable-preview img,
  .deliverables-btn {
    animation: none;
    transition: none;
  }

  .deliverable-card:hover,
  .deliverables-btn:hover {
    transform: none;
  }
}

/* ========================================
   QUICK CONTACT ACTIONS
   Add this to your style.css
   ======================================== */

.quick-contact-actions {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
}

.quick-contact-actions .container {
  max-width: 1200px;
  margin: 0 auto;
}

.quick-actions-wrapper {
  background: white;
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Header */
.quick-actions-header {
  text-align: center;
  margin-bottom: 40px;
}

.quick-actions-header h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 700;
}

.quick-actions-header p {
  font-size: 1.1rem;
  color: var(--text-medium);
}

/* Quick Actions Grid */
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

/* Quick Action Card */
.quick-action-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 25px 20px;
  background: #f8f9fa;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.quick-action-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--secondary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.quick-action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: var(--secondary);
}

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

/* Action Icon */
.action-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.quick-action-card.call .action-icon {
  background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
}

.quick-action-card.email .action-icon {
  background: linear-gradient(135deg, #2196f3 0%, #1565c0 100%);
}

.quick-action-card.whatsapp .action-icon {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.quick-action-card.schedule .action-icon {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
}

.action-icon i {
  font-size: 1.8rem;
  color: white;
}

.quick-action-card:hover .action-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Action Content */
.action-content {
  flex: 1;
}

.action-content h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 5px;
  font-weight: 600;
}

.action-detail {
  font-size: 0.95rem;
  color: var(--text-medium);
  margin: 0 0 5px 0;
  font-weight: 500;
}

.action-status {
  font-size: 0.8rem;
  color: var(--text-medium);
  opacity: 0.8;
}

/* Action Arrow */
.action-arrow {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--secondary);
  transition: transform 0.3s ease;
}

.quick-action-card:hover .action-arrow {
  transform: translateX(5px);
}

/* Office Status Widget */
.office-status-widget {
  background: linear-gradient(135deg, #e3f2fd 0%, #e8f5e9 100%);
  border-radius: 12px;
  padding: 25px 30px;
  border-left: 4px solid var(--secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #4caf50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
  animation: pulse 2s infinite;
}

.status-dot.closed {
  background: #f44336;
  box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.2);
  animation: none;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(76, 175, 80, 0.1);
  }
}

.status-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.status-details {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-medium);
}

.status-item i {
  color: var(--secondary);
  font-size: 1rem;
}

.status-item strong {
  color: var(--primary);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 968px) {
  .quick-actions-wrapper {
    padding: 40px 30px;
  }

  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .office-status-widget {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .status-details {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .status-item {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .quick-contact-actions {
    padding: 40px 20px;
  }

  .quick-actions-wrapper {
    padding: 30px 20px;
  }

  .quick-actions-header h2 {
    font-size: 1.75rem;
  }

  .quick-actions-header p {
    font-size: 1rem;
  }

  .quick-actions-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .quick-action-card {
    padding: 20px 15px;
  }

  .action-icon {
    width: 50px;
    height: 50px;
  }

  .action-icon i {
    font-size: 1.5rem;
  }

  .action-content h3 {
    font-size: 1rem;
  }

  .action-detail {
    font-size: 0.9rem;
  }

  .action-status {
    font-size: 0.75rem;
  }

  .office-status-widget {
    padding: 20px;
  }

  .status-text {
    font-size: 1rem;
  }

  .status-item {
    font-size: 0.9rem;
  }
}

/* ===== ACCESSIBILITY ===== */

.quick-action-card:focus {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .quick-action-card,
  .action-icon,
  .action-arrow,
  .status-dot {
    animation: none;
    transition: none;
  }

  .quick-action-card:hover,
  .action-icon:hover,
  .action-arrow:hover {
    transform: none;
  }
}

/* ========================================
   INTERACTIVE MAP & SERVICE AREA
   Add this to your style.css
   ======================================== */

.contact-map-section {
  padding: 80px 20px;
  background: white;
}

.contact-map-section .container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Map Grid */
.map-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
}

/* ===== INTERACTIVE MAP ===== */

.map-container {
  background: #f8f9fa;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.map-header {
  padding: 30px 35px 20px;
  background: white;
}

.map-header h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 700;
}

.map-header p {
  color: var(--text-medium);
  font-size: 1rem;
  line-height: 1.6;
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  background: #e0e0e0;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* Map Actions */
.map-actions {
  display: flex;
  gap: 15px;
  padding: 25px 35px;
  background: white;
  border-top: 1px solid #e0e0e0;
}

.map-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.map-btn.primary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(130, 230, 248, 0.3);
}

.map-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(130, 230, 248, 0.4);
}

.map-btn.secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.map-btn.secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.map-btn i {
  font-size: 1.1rem;
}

/* Location Details */
.location-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 25px 35px;
  background: white;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.detail-item i {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-top: 3px;
  flex-shrink: 0;
}

.detail-item strong {
  display: block;
  color: var(--primary);
  font-size: 0.95rem;
  margin-bottom: 5px;
}

.detail-item p {
  color: var(--text-medium);
  font-size: 0.9rem;
  margin: 0;
}

/* ===== SERVICE AREA ===== */

.service-area-container {
  background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.service-area-header {
  text-align: center;
  margin-bottom: 30px;
}

.service-area-header h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 700;
}

.service-area-header p {
  color: var(--text-medium);
  font-size: 1rem;
}

/* Service Area Map Placeholder */
.service-area-map {
  background: white;
  border-radius: 12px;
  padding: 50px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
}

.uk-map-placeholder {
  text-align: center;
  color: var(--text-medium);
}

.uk-map-placeholder i {
  font-size: 4rem;
  color: var(--secondary);
  margin-bottom: 15px;
  opacity: 0.5;
}

.uk-map-placeholder p {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

/* Coverage List */
.coverage-list h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 700;
}

.area-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.area-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  background: white;
  border-radius: 10px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.area-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.area-list i {
  font-size: 1.2rem;
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.area-list strong {
  display: block;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 5px;
}

.area-list span {
  display: block;
  color: var(--text-medium);
  font-size: 0.85rem;
}

/* Service Area Note */
.service-area-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: #fff3cd;
  border-radius: 10px;
  border-left: 4px solid #ffc107;
  margin-bottom: 20px;
}

.service-area-note i {
  font-size: 1.3rem;
  color: #ff9800;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-area-note p {
  color: #856404;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.service-area-note strong {
  color: #7a5c00;
}

/* Service Area CTA */
.service-area-cta {
  margin-top: auto;
}

.area-check-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--primary);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(130, 230, 248, 0.3);
}

.area-check-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(130, 230, 248, 0.4);
}

.area-check-btn i {
  font-size: 1.1rem;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
  .map-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .location-details {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .contact-map-section {
    padding: 60px 20px;
  }

  .map-header {
    padding: 25px 25px 15px;
  }

  .map-header h2 {
    font-size: 1.5rem;
  }

  .map-wrapper {
    height: 300px;
  }

  .map-actions {
    flex-direction: column;
    padding: 20px 25px;
  }

  .map-btn {
    width: 100%;
  }

  .location-details {
    padding: 20px 25px;
  }

  .service-area-container {
    padding: 25px 20px;
  }

  .service-area-header h2 {
    font-size: 1.5rem;
  }

  .service-area-map {
    padding: 40px 20px;
    min-height: 200px;
  }

  .uk-map-placeholder i {
    font-size: 3rem;
  }

  .area-list li {
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .map-header h2 {
    font-size: 1.3rem;
  }

  .map-header p {
    font-size: 0.9rem;
  }

  .map-wrapper {
    height: 250px;
  }

  .service-area-note {
    padding: 15px;
  }

  .service-area-note p {
    font-size: 0.85rem;
  }

  .area-check-btn {
    padding: 14px 20px;
    font-size: 0.95rem;
  }
}

/* ===== ACCESSIBILITY ===== */

.map-btn:focus,
.area-check-btn:focus {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .map-btn,
  .area-check-btn,
  .area-list li {
    transition: none;
  }

  .map-btn:hover,
  .area-check-btn:hover,
  .area-list li:hover {
    transform: none;
  }
}

/* ========================================
   IMPROVED DESIGN SOFTWARE SECTION
   Add this to your style.css
   ======================================== */

.design-software-improved {
  padding: 80px 20px;
  background: #f8f9fa;
}

.design-software-improved .container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Section Header */
.software-header {
  text-align: center;
  margin-bottom: 60px;
}

.software-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 700;
}

.software-header p {
  font-size: 1.1rem;
  color: var(--text-medium);
}

/* Main Grid */
.software-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

/* ===== LEFT SIDE - SOFTWARE CARDS ===== */

.software-cards {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.software-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.software-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.software-card:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-color: var(--secondary);
}

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

/* Card Icon */
.card-icon {
  flex-shrink: 0;
}

.card-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

/* Card Content */
.card-content {
  flex: 1;
}

.card-content h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 600;
}

.card-content > p {
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

/* Card Features List */
.card-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-features li {
  padding: 6px 0;
  color: var(--text-medium);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-features i {
  color: var(--accent);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Card Badge */
.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(130, 230, 248, 0.3);
}

/* ===== RIGHT SIDE - SHOWCASE ===== */

.software-showcase {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Video Container */
.video-container {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-caption {
  margin-top: 15px;
  text-align: center;
  color: var(--text-medium);
  font-size: 0.9rem;
  font-weight: 500;
}

.video-caption i {
  color: var(--secondary);
  margin-right: 8px;
}

/* Stats Grid */
.software-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.stat-item {
  background: white;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #e3f2fd 0%, #e8f5e9 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon i {
  font-size: 1.5rem;
  color: var(--secondary);
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-medium);
  line-height: 1.2;
}

/* Software Brands */
.software-brands {
  background: white;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.software-brands h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 600;
}

.brands-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #f8f9fa;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 500;
  transition: all 0.3s ease;
}

.brand-tag:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: scale(1.05);
}

.brand-tag i {
  color: var(--accent);
  font-size: 0.8rem;
}

/* ===== BOTTOM CTA ===== */

.software-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #1a2633 100%);
  border-radius: 20px;
  padding: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.cta-content {
  flex: 1;
}

.cta-content h3 {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 10px;
  font-weight: 700;
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.btn-software-primary,
.btn-software-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-software-primary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--primary);
  box-shadow: 0 6px 20px rgba(130, 230, 248, 0.3);
}

.btn-software-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(130, 230, 248, 0.4);
}

.btn-software-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-software-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
  transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1200px) {
  .software-main-grid {
    gap: 40px;
  }

  .software-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 968px) {
  .design-software-improved {
    padding: 60px 20px;
  }

  .software-header h2 {
    font-size: 2rem;
  }

  .software-main-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .software-cta {
    flex-direction: column;
    text-align: center;
    padding: 40px 30px;
  }

  .cta-buttons {
    width: 100%;
    flex-direction: column;
  }

  .btn-software-primary,
  .btn-software-secondary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .software-card {
    flex-direction: column;
    padding: 25px 20px;
  }

  .card-badge {
    top: 15px;
    right: 15px;
    font-size: 0.7rem;
    padding: 5px 12px;
  }

  .card-content h3 {
    font-size: 1.2rem;
  }

  .software-stats {
    grid-template-columns: 1fr;
  }

  .stat-item {
    padding: 18px;
  }

  .software-cta {
    padding: 35px 20px;
  }

  .cta-content h3 {
    font-size: 1.5rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .video-caption {
    font-size: 0.85rem;
  }

  .brands-list {
    justify-content: center;
  }
}

/* ===== ANIMATIONS ===== */

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.software-card {
  animation: slideInLeft 0.6s ease-out forwards;
}

.software-card:nth-child(1) {
  animation-delay: 0.1s;
}
.software-card:nth-child(2) {
  animation-delay: 0.2s;
}
.software-card:nth-child(3) {
  animation-delay: 0.3s;
}

.software-showcase > * {
  animation: slideInRight 0.6s ease-out forwards;
}

.video-container {
  animation-delay: 0.2s;
}
.software-stats {
  animation-delay: 0.3s;
}
.software-brands {
  animation-delay: 0.4s;
}

/* ===== ACCESSIBILITY ===== */

.btn-software-primary:focus,
.btn-software-secondary:focus {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .software-card,
  .software-showcase > *,
  .stat-item,
  .brand-tag,
  .btn-software-primary,
  .btn-software-secondary {
    animation: none;
    transition: none;
  }

  .software-card:hover,
  .stat-item:hover,
  .brand-tag:hover,
  .btn-software-primary:hover,
  .btn-software-secondary:hover {
    transform: none;
  }
}

/* ========================================
   IMPROVED DESIGN CTA SECTION
   ======================================== */

.design-cta-improved {
  padding: 80px 20px;
  background: linear-gradient(135deg, #22364b 0%, #1a2633 100%);
  position: relative;
  overflow: hidden;
}

/* Decorative Background Elements */
.design-cta-improved::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(130, 230, 248, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.design-cta-improved::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(46, 125, 50, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.design-cta-improved .container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ===== MAIN CTA CARD ===== */

.cta-main-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  overflow: hidden;
  margin-bottom: 30px;
}

/* ===== LEFT SIDE - CONTENT ===== */

.cta-left {
  padding: 60px 50px;
  position: relative;
}

/* Badge */
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  color: #e65100;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(230, 81, 0, 0.2);
}

.cta-badge i {
  font-size: 1rem;
}

/* Heading */
.cta-left h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.highlight-cta {
  color: var(--secondary);
  position: relative;
}

/* Description */
.cta-description {
  font-size: 1.1rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 35px;
}

/* Benefits Section */
.cta-benefits {
  margin-bottom: 35px;
}

.cta-benefits h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 600;
}

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

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.benefits-list li:hover {
  background: #e3f2fd;
  transform: translateX(5px);
}

.benefits-list i {
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefits-list span {
  color: var(--text-medium);
  line-height: 1.5;
  font-size: 0.95rem;
}

.benefits-list strong {
  color: var(--primary);
  font-weight: 600;
}

/* Action Buttons */
.cta-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.btn-cta-primary,
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-cta-primary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--primary);
  box-shadow: 0 8px 25px rgba(130, 230, 248, 0.4);
  flex: 1;
  justify-content: center;
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(130, 230, 248, 0.5);
}

.btn-cta-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  justify-content: center;
}

.btn-cta-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* Trust Indicators */
.cta-trust {
  display: flex;
  gap: 25px;
  padding-top: 25px;
  border-top: 2px solid #e0e0e0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-medium);
  font-size: 0.9rem;
}

.trust-item i {
  color: var(--secondary);
  font-size: 1rem;
}

/* ===== RIGHT SIDE - FORM ===== */

.cta-right {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

/* Quick Contact Form */
.quick-contact-form {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
}

.quick-contact-form h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 700;
}

.quick-contact-form > p {
  color: var(--text-medium);
  font-size: 0.95rem;
  margin-bottom: 25px;
}

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

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(130, 230, 248, 0.1);
}

.form-row textarea {
  resize: vertical;
  min-height: 80px;
}

.form-submit-btn {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--primary) 0%, #1a2633 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 54, 75, 0.3);
}

.form-note {
  margin-top: 15px;
  font-size: 0.8rem;
  color: var(--text-medium);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.form-note i {
  color: var(--accent);
}

/* Stats Overlay */
.stats-overlay {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.stat-mini {
  background: white;
  border-radius: 12px;
  padding: 20px 15px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.stat-mini:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-lbl {
  display: block;
  font-size: 0.8rem;
  color: var(--text-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== BOTTOM STRIP ===== */

.cta-bottom-strip {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 25px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.strip-text {
  color: white;
  font-size: 1.05rem;
  margin: 0;
}

.strip-text strong {
  font-weight: 700;
}

.strip-methods {
  display: flex;
  gap: 15px;
}

.method-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.method-link:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-2px);
}

.method-link i {
  font-size: 1rem;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1200px) {
  .cta-main-card {
    grid-template-columns: 1fr;
  }

  .cta-left {
    padding: 50px 40px;
  }

  .cta-right {
    padding: 40px 30px;
  }
}

@media (max-width: 968px) {
  .design-cta-improved {
    padding: 60px 20px;
  }

  .cta-left {
    padding: 40px 30px;
  }

  .cta-left h2 {
    font-size: 2rem;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-trust {
    flex-direction: column;
    gap: 15px;
  }

  .cta-bottom-strip {
    flex-direction: column;
    text-align: center;
    padding: 30px 25px;
  }

  .strip-methods {
    width: 100%;
    flex-direction: column;
  }

  .method-link {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .cta-left {
    padding: 35px 25px;
  }

  .cta-left h2 {
    font-size: 1.75rem;
  }

  .cta-description {
    font-size: 1rem;
  }

  .benefits-list li {
    padding: 10px;
  }

  .cta-right {
    padding: 30px 20px;
  }

  .quick-contact-form {
    padding: 25px 20px;
  }

  .stats-overlay {
    grid-template-columns: 1fr;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    padding: 16px 24px;
    font-size: 0.95rem;
  }

  .cta-bottom-strip {
    padding: 25px 20px;
  }

  .strip-text {
    font-size: 0.95rem;
  }
}

/* ===== ACCESSIBILITY ===== */

.btn-cta-primary:focus,
.btn-cta-secondary:focus,
.form-submit-btn:focus,
.method-link:focus {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .benefits-list li,
  .stat-mini,
  .btn-cta-primary,
  .btn-cta-secondary,
  .form-submit-btn,
  .method-link {
    transition: none;
  }

  .benefits-list li:hover,
  .stat-mini:hover,
  .btn-cta-primary:hover,
  .btn-cta-secondary:hover,
  .form-submit-btn:hover,
  .method-link:hover {
    transform: none;
  }
}

/* ========================================
   INSTALLATION TIMELINE ESTIMATOR
   ======================================== */

.installation-timeline-section {
  padding: 80px 20px;
  background: #f8f9fa;
}

.installation-timeline-section .container {
  max-width: 1400px;
  margin: 0 auto;
}

.installation-timeline-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.installation-timeline-section .section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 700;
}

.installation-timeline-section .section-header p {
  font-size: 1.1rem;
  color: var(--text-medium);
}

/* Timeline Calculator Grid */
.timeline-calculator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

/* ===== INPUT SIDE ===== */

.timeline-inputs {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.timeline-inputs h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 700;
}

.timeline-inputs > p {
  color: var(--text-medium);
  margin-bottom: 30px;
  line-height: 1.6;
}

.timeline-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.input-group label i {
  color: var(--secondary);
  font-size: 1rem;
}

.input-group input,
.input-group select {
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(130, 230, 248, 0.1);
}

.input-hint {
  font-size: 0.85rem;
  color: var(--text-medium);
  font-style: italic;
}

.calculate-btn {
  padding: 18px 32px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--primary);
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  margin-top: 10px;
  box-shadow: 0 6px 20px rgba(130, 230, 248, 0.3);
}

.calculate-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(130, 230, 248, 0.4);
}

/* ===== RESULTS SIDE ===== */

.timeline-results {
  background: linear-gradient(135deg, var(--primary) 0%, #1a2633 100%);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  color: white;
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Results Placeholder */
.results-placeholder {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.results-placeholder i {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.5;
}

.results-placeholder h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: white;
}

.results-placeholder p {
  font-size: 1rem;
  opacity: 0.8;
}

/* Results Content */
.results-content {
  width: 100%;
}

/* Total Duration */
.total-duration {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
}

.duration-label {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
  margin-bottom: 10px;
}

.duration-value {
  display: block;
  font-size: 4rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 5px;
}

.duration-unit {
  display: block;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Phase Breakdown */
.phase-breakdown {
  margin-bottom: 30px;
}

.phase-breakdown h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.phase-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.phase-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.phase-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.phase-name {
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.phase-name i {
  color: var(--secondary);
  font-size: 0.9rem;
}

.phase-desc {
  font-size: 0.85rem;
  opacity: 0.7;
}

.phase-duration {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--secondary);
}

/* Timeline Visualization */
.timeline-visual {
  margin-bottom: 30px;
}

.timeline-bar {
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  margin-bottom: 10px;
}

.bar-segment {
  height: 100%;
  transition: width 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}

.bar-segment.prep {
  background: #4caf50;
}

.bar-segment.install {
  background: #2196f3;
}

.bar-segment.testing {
  background: #ff9800;
}

.bar-segment.cleanup {
  background: #9c27b0;
}

.timeline-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Timeline Notes */
.timeline-notes {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  background: rgba(255, 193, 7, 0.15);
  border-radius: 10px;
  margin-bottom: 25px;
  border-left: 4px solid #ffc107;
}

.timeline-notes i {
  color: #ffc107;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.timeline-notes div {
  font-size: 0.9rem;
  line-height: 1.6;
}

.timeline-notes strong {
  color: #ffc107;
}

/* Timeline CTA */
.timeline-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 32px;
  background: white;
  color: var(--primary);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.timeline-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* ===== STATS ===== */

.timeline-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-box {
  background: white;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.stat-box i {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 15px;
}

.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.3;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
  .timeline-calculator {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .timeline-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .installation-timeline-section {
    padding: 60px 20px;
  }

  .timeline-inputs,
  .timeline-results {
    padding: 30px 25px;
  }

  .timeline-inputs h3 {
    font-size: 1.5rem;
  }

  .duration-value {
    font-size: 3rem;
  }
}

@media (max-width: 640px) {
  .timeline-stats {
    grid-template-columns: 1fr;
  }

  .stat-box {
    padding: 25px 20px;
  }

  .duration-value {
    font-size: 2.5rem;
  }

  .phase-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ===== ANIMATIONS ===== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.results-content {
  animation: fadeIn 0.5s ease-out;
}

/* ===== ACCESSIBILITY ===== */

.calculate-btn:focus,
.timeline-cta-btn:focus {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .calculate-btn,
  .timeline-cta-btn,
  .phase-item,
  .stat-box,
  .bar-segment {
    transition: none;
    animation: none;
  }

  .calculate-btn:hover,
  .timeline-cta-btn:hover,
  .phase-item:hover,
  .stat-box:hover {
    transform: none;
  }
}

/* ========================================
   SOLUTION FINDER QUIZ
   Add this to your style.css
   ======================================== */

.solution-finder-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
}

.solution-finder-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.solution-finder-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.solution-finder-section .section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 700;
}

.solution-finder-section .section-header p {
  font-size: 1.1rem;
  color: var(--text-medium);
}

/* Quiz Container */
.quiz-container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 40px;
}

/* Progress Bar */
.quiz-progress {
  padding: 25px 30px;
  background: linear-gradient(135deg, var(--primary) 0%, #1a2633 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
  border-radius: 10px;
  transition: width 0.4s ease;
  width: 25%;
}

.progress-text {
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* Quiz Card */
.quiz-card {
  padding: 50px 40px;
  min-height: 400px;
  position: relative;
}

/* Quiz Steps */
.quiz-step {
  display: none;
  animation: fadeInSlide 0.5s ease-out;
}

.quiz-step.active {
  display: block;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Step Header */
.step-header {
  text-align: center;
  margin-bottom: 40px;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #e3f2fd 0%, #e8f5e9 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.step-icon i {
  font-size: 2.5rem;
  color: var(--secondary);
}

.step-header h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 700;
}

.step-header p {
  font-size: 1.05rem;
  color: var(--text-medium);
}

/* Options Grid */
.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.option-card {
  background: #f8f9fa;
  border: 3px solid transparent;
  border-radius: 16px;
  padding: 30px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.option-card:hover {
  background: white;
  border-color: var(--secondary);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(130, 230, 248, 0.3);
}

.option-card.selected {
  background: linear-gradient(135deg, #e3f2fd 0%, #e8f5e9 100%);
  border-color: var(--secondary);
  box-shadow: 0 8px 25px rgba(130, 230, 248, 0.4);
}

.option-card i {
  font-size: 2.5rem;
  color: var(--secondary);
  transition: all 0.3s ease;
}

.option-card:hover i {
  transform: scale(1.1);
  color: var(--accent);
}

.option-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.option-desc {
  font-size: 0.9rem;
  color: var(--text-medium);
  display: block;
}

/* Results Container */
.results-container {
  text-align: center;
  padding: 20px;
}

.results-header {
  margin-bottom: 40px;
}

.results-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.results-icon i {
  font-size: 3rem;
  color: var(--primary);
}

.results-header h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 700;
}

.results-subtitle {
  font-size: 1.1rem;
  color: var(--text-medium);
  margin-bottom: 30px;
}

.recommendation-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 30px;
  text-align: left;
}

.recommendation-card h4 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 700;
}

.recommendation-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-medium);
  margin-bottom: 25px;
}

.recommendation-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: white;
  border-radius: 10px;
}

.feature-item i {
  color: var(--accent);
  font-size: 1.1rem;
}

.feature-item span {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
}

.results-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.results-btn {
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

.results-btn.primary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--primary);
  box-shadow: 0 6px 20px rgba(130, 230, 248, 0.3);
}

.results-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(130, 230, 248, 0.4);
}

.results-btn.secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.results-note {
  margin-top: 30px;
  padding: 20px;
  background: rgba(255, 193, 7, 0.1);
  border-left: 4px solid #ffc107;
  border-radius: 8px;
  text-align: left;
}

.results-note i {
  color: #ffc107;
  margin-right: 10px;
}

.results-note p {
  font-size: 0.95rem;
  color: var(--text-medium);
  margin: 0;
}

/* Navigation */
.quiz-navigation {
  padding: 25px 40px;
  border-top: 2px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.quiz-btn {
  padding: 14px 28px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.back-btn {
  background: #f8f9fa;
  color: var(--primary);
}

.back-btn:hover {
  background: #e0e0e0;
}

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

.restart-btn:hover {
  background: #1a2633;
}

/* Trust Indicators */
.quiz-trust {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 500;
}

.trust-badge i {
  font-size: 1.5rem;
  color: var(--secondary);
}

/* Responsive */
@media (max-width: 768px) {
  .solution-finder-section {
    padding: 60px 20px;
  }

  .quiz-card {
    padding: 40px 25px;
  }

  .options-grid {
    grid-template-columns: 1fr;
  }

  .recommendation-features {
    grid-template-columns: 1fr;
  }

  .results-actions {
    flex-direction: column;
  }

  .results-btn {
    width: 100%;
    justify-content: center;
  }

  .quiz-trust {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .quiz-navigation {
    padding: 20px;
  }

  .step-header h3 {
    font-size: 1.5rem;
  }

  .option-card {
    padding: 25px 20px;
  }
}

@media (max-width: 480px) {
  .quiz-progress {
    padding: 20px;
  }

  .step-icon {
    width: 60px;
    height: 60px;
  }

  .step-icon i {
    font-size: 2rem;
  }

  .recommendation-card {
    padding: 30px 25px;
  }
}

/* Accessibility */
.quiz-btn:focus,
.option-card:focus,
.results-btn:focus {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .quiz-step,
  .option-card,
  .quiz-btn,
  .results-btn,
  .results-icon {
    animation: none;
    transition: none;
  }

  .option-card:hover,
  .results-btn:hover {
    transform: none;
  }
}

/* ========================================
   SERVICES RESULTS SECTION - IMPROVED
   ======================================== */

.services-results-section {
  padding: 80px 20px;
  background: #f8f9fa;
}

.services-results-section .container {
  max-width: 1400px;
  margin: 0 auto;
}

.services-results-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-results-section .section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 700;
}

.services-results-section .section-header p {
  font-size: 1.1rem;
  color: var(--text-medium);
}

/* Results Grid */
.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

/* Result Card */
.result-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.result-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Before/After Container - FIXED CUTOFF */
.before-after-container {
  position: relative;
  width: 100%;
  height: 400px; /* Fixed height */
  overflow: hidden;
}

.image-comparison {
  position: relative;
  width: 100%;
  height: 100%;
}

.before-image,
.after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.before-image img,
.after-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.after-image {
  clip-path: inset(0 50% 0 0);
}

/* Image Labels */
.image-label {
  position: absolute;
  top: 20px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.image-label.before {
  left: 20px;
}

.image-label.after {
  right: 20px;
}

/* Comparison Slider */
.comparison-slider {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--secondary);
  cursor: ew-resize;
  z-index: 3;
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(130, 230, 248, 0.4);
}

.slider-button i {
  color: var(--primary);
  font-size: 1.2rem;
}

/* Result Info */
.result-info {
  padding: 40px;
}

.result-category {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, #e3f2fd 0%, #e8f5e9 100%);
  color: var(--secondary);
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.result-info h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 700;
}

.result-info p {
  font-size: 1.05rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 25px;
}

/* Result Stats */
.result-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 25px;
  border-top: 2px solid #f0f0f0;
}

.stat-item {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Results CTA - IMPROVED */
.results-cta {
  text-align: center;
  padding: 50px 40px;
  background: linear-gradient(135deg, var(--primary) 0%, #1a2633 100%);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.results-cta p {
  font-size: 1.3rem;
  color: white;
  margin-bottom: 25px;
  font-weight: 600;
}

.btn-results {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--primary);
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(130, 230, 248, 0.3);
}

.btn-results:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(130, 230, 248, 0.4);
}

.btn-results i {
  transition: transform 0.3s ease;
}

.btn-results:hover i {
  transform: translateX(5px);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 968px) {
  .services-results-section {
    padding: 60px 20px;
  }

  .before-after-container {
    height: 350px;
  }

  .result-info {
    padding: 30px;
  }

  .result-info h3 {
    font-size: 1.5rem;
  }

  .result-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .stat-value {
    font-size: 1.6rem;
  }

  .results-cta {
    padding: 40px 30px;
  }

  .results-cta p {
    font-size: 1.1rem;
  }
}

@media (max-width: 640px) {
  .before-after-container {
    height: 300px;
  }

  .result-info {
    padding: 25px 20px;
  }

  .result-info h3 {
    font-size: 1.3rem;
  }

  .result-info p {
    font-size: 1rem;
  }

  .result-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-value {
    font-size: 1.8rem;
  }

  .image-label {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .results-cta {
    padding: 35px 20px;
  }

  .btn-results {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
  }
}

/* ===== ACCESSIBILITY ===== */

.btn-results:focus {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .result-card,
  .btn-results,
  .btn-results i {
    transition: none;
  }

  .result-card:hover,
  .btn-results:hover {
    transform: none;
  }

  .btn-results:hover i {
    transform: none;
  }
}

/* ========================================
   TECHNOLOGY SECTION - IMPROVED
   ======================================== */

.technology-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, #1a2633 100%);
  color: white;
}

.technology-section .container {
  max-width: 1400px;
  margin: 0 auto;
}

.technology-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.technology-section .section-header h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 15px;
  font-weight: 700;
}

.technology-section .section-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Technology Grid */
.technology-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.tech-feature {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px 30px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.tech-feature:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: 0 10px 30px rgba(130, 230, 248, 0.2);
}

.tech-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.tech-icon i {
  font-size: 2rem;
  color: var(--primary);
}

.tech-feature h3 {
  font-size: 1.4rem;
  color: white;
  margin-bottom: 15px;
  font-weight: 700;
}

.tech-feature p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.tech-list li {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tech-list li i {
  color: var(--secondary);
  font-size: 0.9rem;
}

/* Brand Partners Section */
.tech-brands-section {
  text-align: center;
  margin-bottom: 60px;
  padding: 50px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-brands-section h3 {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 10px;
  font-weight: 700;
}

.tech-brands-section > p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}

.tech-brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.brand-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
}

.brand-item img {
  max-width: 120px;
  height: 50px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.brand-item:hover img {
  opacity: 1;
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(130, 230, 248, 0.5));
}

.brand-name {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Technology Stats */
.tech-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--secondary);
  transform: translateY(-3px);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    rgba(130, 230, 248, 0.2) 0%,
    rgba(135, 255, 145, 0.2) 100%
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon i {
  font-size: 1.8rem;
  color: var(--secondary);
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1200px) {
  .technology-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 968px) {
  .technology-section {
    padding: 60px 20px;
  }

  .technology-grid {
    margin-bottom: 60px;
  }

  .tech-brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .technology-section .section-header h2 {
    font-size: 2rem;
  }

  .technology-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .tech-feature {
    padding: 30px 25px;
  }

  .tech-brands-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .brand-item img {
    max-width: 150px;
  }

  .tech-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-card {
    padding: 25px;
  }

  .stat-number {
    font-size: 1.8rem;
  }
}

/* ===== ACCESSIBILITY ===== */

.tech-feature:focus-within {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .tech-feature,
  .brand-item,
  .stat-card {
    transition: none;
  }

  .tech-feature:hover,
  .brand-item:hover,
  .stat-card:hover {
    transform: none;
  }
}

/* ===== Homepage content pass ===== */
[hidden] {
  display: none !important;
}

.hero-supporting {
  font-size: 1.05rem;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.6;
  max-width: 44rem;
}

.cta-text .cta-supporting {
  font-size: 1rem;
  margin-top: 0;
}

.specializations-tabs .tab span {
  text-align: center;
}

/* Equal-width tabs so the sliding indicator lines up with longer labels */
@media (min-width: 969px) {
  .specializations-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .specializations-tabs .tab {
    justify-content: center;
    padding: 14px 28px;
  }
}

/* ===== Homepage tab panels: stacked in one grid cell so the section never
   collapses or jumps, and the selected panel shows immediately ===== */
.specializations-content {
  display: grid;
  min-height: 0;
}

.specializations-content > .tab-content {
  display: grid;
  grid-area: 1 / 1;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transform: none;
  animation: none;
  transition: none;
}

.specializations-content > .tab-content.current,
.specializations-content > .tab-content.active {
  visibility: visible;
  opacity: 1;
  animation: none;
  transition: none;
}

@media (max-width: 968px) {
  .specializations-content > .tab-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


/* Selected-tab highlight drawn on the tab itself so it always matches the
   active tab, whatever the label width (replaces the sliding ::before) */
.specializations-tabs::before {
  display: none;
}
.specializations-tabs .tab.current,
.specializations-tabs .tab.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
}

/* ===== Services page content pass ===== */
.services-hero.services-hero--content {
  height: auto;
  min-height: 460px;
  padding: 80px 20px;
}

.services-hero--content .services-hero-content {
  max-width: 820px;
}

.services-hero--content .services-hero-content h1 {
  margin-bottom: 20px;
}

.services-hero--content .services-hero-content p {
  max-width: 760px;
  margin: 0 auto 16px;
  line-height: 1.6;
}

.services-hero--content .services-hero-content .services-hero-supporting {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 32px;
}

.services-hero--content .hero-buttons {
  justify-content: center;
}

/* Land below the fixed header when jumping to #service-scopes */
#service-scopes {
  scroll-margin-top: 100px;
}






.equipment-section {
  padding: 80px 20px;
  background: white;
}

.equipment-section .equipment-text {
  max-width: 800px;
  margin: 0 auto;
}

.equipment-section .equipment-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-medium);
  margin-bottom: 1.25rem;
}

.faq-heading {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.faq-question:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: -3px;
}

.faq-item.active .faq-answer {
  max-height: 800px;
}

.cta-content.cta-content--single {
  display: block;
  max-width: 760px;
  margin: 0 auto;
}

.services-hero--content .services-hero-content p {
  color: rgba(255, 255, 255, 0.95);
}
.services-hero--content .services-hero-content .services-hero-supporting {
  color: rgba(255, 255, 255, 0.85);
  opacity: 1;
}








.faq-question {
  font-family: inherit;
}
.cta-content--single .cta-text p {
  margin-bottom: 1.25rem;
}
.cta-content--single .cta-text .cta-buttons {
  margin-top: 1.75rem;
}
/* Hero runs behind the fixed header so no gap shows at any header height */
.services-hero.services-hero--content {
  margin-top: 0;
  padding-top: 150px;
  background-color: rgb(34, 54, 75);
}

/* ===== Services page: service rows and coordination (scoped to .page-services) ===== */
.page-services .scope-list {
  max-width: 1080px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(34, 54, 75, 0.15);
}

.page-services .scope-row {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  column-gap: 72px;
  padding: 48px 0;
  border-top: 1px solid rgba(34, 54, 75, 0.15);
  text-align: left;
}

.page-services .scope-row:first-child {
  border-top: 3px solid var(--primary);
}

.page-services .scope-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.page-services .scope-heading > i {
  font-size: 1.15rem;
  color: var(--accent);
}

.page-services .scope-heading h3 {
  margin: 0;
  padding: 0;
  font-size: 1.6rem;
  line-height: 1.25;
  color: var(--primary);
  text-align: left;
}

.page-services .scope-body > * {
  text-align: left;
}

.page-services .scope-body .scope-intro {
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-dark, #2b3a4a);
}

.page-services .scope-points {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 32px;
}

.page-services .scope-points li {
  position: relative;
  padding: 0 0 0 22px;
  margin: 0;
  background: none;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-medium);
  transform: none;
}

.page-services .scope-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 2px;
  background: var(--accent);
}

.page-services .scope-body .scope-closing {
  margin: 0 0 1rem;
  padding: 0.15rem 0 0.15rem 16px;
  border-left: 3px solid var(--secondary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--primary);
}

.page-services .scope-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin-top: 0.25rem;
  font-weight: 600;
  color: var(--primary);
  border-bottom: 2px solid var(--secondary);
  text-decoration: none;
  transition: gap 0.2s ease, border-color 0.2s ease;
}

.page-services .scope-link:hover,
.page-services .scope-link:focus-visible {
  gap: 12px;
  border-color: var(--primary);
}

.page-services .scope-link:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 4px;
}

/* Supporting section: quieter than the service rows */
.page-services .coordination-section {
  padding: 64px 20px;
  background: #eef3f6;
}

.page-services .coordination-layout {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 4fr) 7fr;
  column-gap: 72px;
  align-items: start;
}

.page-services .coordination-intro h2 {
  margin: 0 0 1rem;
  font-size: 1.6rem;
  line-height: 1.3;
  color: var(--primary);
  text-align: left;
}

.page-services .coordination-intro p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-medium);
  text-align: left;
}

.page-services .coordination-item {
  padding: 0 0 20px;
  margin: 0 0 20px;
  border-bottom: 1px solid rgba(34, 54, 75, 0.18);
}

.page-services .coordination-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.page-services .coordination-item h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: var(--primary);
  text-align: left;
}

.page-services .coordination-item p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-medium);
  text-align: left;
}

@media (max-width: 900px) {
  .page-services .scope-row {
    grid-template-columns: 1fr;
    row-gap: 16px;
    padding: 36px 0;
  }

  .page-services .scope-heading {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .page-services .scope-heading h3 {
    font-size: 1.4rem;
  }

  .page-services .coordination-layout {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }
}

@media (max-width: 600px) {
  .page-services .scope-points {
    grid-template-columns: 1fr;
  }

  .page-services .coordination-section {
    padding: 48px 20px;
  }
}
@media (max-width: 600px) {
  .page-services .coordination-section {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ===== Design page (scoped to .page-design) ===== */
.page-design .design-section {
  padding: 72px 20px;
  background: white;
}

.page-design .design-section--tint {
  background: #eef3f6;
}

.page-design .design-container,
.page-design .design-section > .container {
  max-width: 1080px;
  margin: 0 auto;
}

.page-design .design-heading {
  max-width: 760px;
  margin: 0 0 40px;
  text-align: left;
}

.page-design .design-heading--centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-design .design-heading h2 {
  margin: 0 0 1rem;
  font-size: 2rem;
  line-height: 1.25;
  color: var(--primary);
}

.page-design .design-heading p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-medium);
}

/* 2 x 2 considerations */
.page-design .design-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 64px;
}

.page-design .design-point {
  padding-top: 20px;
  border-top: 2px solid var(--secondary);
}

.page-design .design-point h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--primary);
}

.page-design .design-point p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-medium);
}

/* Split layout: heading left, content right */
.page-design .design-container--split {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  column-gap: 72px;
  align-items: start;
}

.page-design .design-container--split .design-heading {
  margin: 0;
}

.page-design .design-container--split .design-heading h2 {
  font-size: 1.6rem;
}

.page-design .design-container--split .design-heading p {
  font-size: 1rem;
}

.page-design .design-prose p {
  margin: 0 0 1.1rem;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-medium);
  text-align: left;
}

.page-design .design-prose p:last-child {
  margin-bottom: 0;
}



.page-design .design-note {
  max-width: 1080px;
  margin: 32px auto 0;
  padding: 0.2rem 0 0.2rem 16px;
  border-left: 3px solid var(--secondary);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--primary);
  text-align: left;
}

/* Process: vertical numbered steps */






/* Enquiry checklist */
.page-design .design-checklist {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-design .design-checklist li {
  position: relative;
  padding: 0 0 0 24px;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-medium);
}

.page-design .design-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 11px;
  height: 2px;
  background: var(--accent);
}

@media (max-width: 900px) {
  .page-design .design-section {
    padding: 56px 20px;
  }

  .page-design .design-points {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-design .design-container--split {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }

  .page-design .design-container--split .design-heading {
    max-width: none;
  }

  .page-design .design-heading h2 {
    font-size: 1.7rem;
  }
}
.cta-content--single .cta-text .cta-buttons {
  justify-content: flex-start;
}

/* ===== Design page: deliverables (dark feature band) ===== */
.page-design .design-deliverables {
  background: var(--primary);
  padding: 88px 20px;
}

.page-design .design-deliverables .design-heading h2 {
  color: #fff;
  font-size: 2.3rem;
}

.page-design .design-deliverables .design-heading p {
  color: rgba(255, 255, 255, 0.85);
}

.page-design .deliverables-list {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.page-design .dl-item {
  display: grid;
  grid-template-columns: 64px minmax(220px, 290px) 1fr;
  column-gap: 32px;
  align-items: center;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(130, 230, 248, 0.22);
  border-left: 4px solid var(--secondary);
  border-radius: 12px;
}

.page-design .dl-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: var(--primary);
  font-size: 1.6rem;
}

.page-design .dl-item h3 {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.3;
  color: #fff;
}

.page-design .dl-item p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.page-design .design-deliverables .design-note {
  max-width: 1080px;
  margin: 32px auto 0;
  border-left-color: var(--secondary);
  color: rgba(255, 255, 255, 0.92);
}

/* ===== Design page: process (horizontal sequence) ===== */
.page-design .design-process {
  padding: 88px 20px;
}

.page-design .design-process .design-heading {
  margin-bottom: 56px;
}

.page-design .design-steps {
  list-style: none;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}

.page-design .design-step {
  position: relative;
  counter-increment: step;
  padding-top: 72px;
  margin: 0;
}

.page-design .design-step::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 0 0 6px #fff;
}

/* connector to the next stage */
.page-design .design-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 23px;
  left: 60px;
  width: calc(100% - 28px);
  height: 2px;
  background: var(--secondary);
}

.page-design .design-step h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--primary);
}

.page-design .design-step p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-medium);
}

@media (max-width: 1000px) {
  .page-design .design-steps {
    grid-template-columns: 1fr 1fr;
    gap: 40px 40px;
  }

  .page-design .design-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .page-design .design-deliverables,
  .page-design .design-process {
    padding: 60px 20px;
  }

  .page-design .design-deliverables .design-heading h2 {
    font-size: 1.8rem;
  }

  .page-design .dl-item {
    grid-template-columns: 56px 1fr;
    column-gap: 18px;
    row-gap: 14px;
    padding: 22px 20px;
  }

  .page-design .dl-icon {
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
  }

  .page-design .dl-item h3 {
    font-size: 1.25rem;
  }

  .page-design .dl-item p {
    grid-column: 1 / -1;
  }
}

/* Mobile: compact vertical timeline */
@media (max-width: 600px) {
  .page-design .design-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .page-design .design-step {
    padding: 0 0 28px 68px;
    min-height: 48px;
  }

  .page-design .design-step:last-child {
    padding-bottom: 0;
  }

  .page-design .design-step:not(:last-child)::after {
    display: block;
    top: 52px;
    left: 23px;
    bottom: 4px;
    width: 2px;
    height: auto;
  }

  .page-design .design-step h3 {
    padding-top: 10px;
  }
}
@media (max-width: 600px) {
  .page-design .design-deliverables,
  .page-design .design-process {
    padding-left: 0;
    padding-right: 0;
  }

  .page-design .dl-item {
    grid-template-columns: 48px 1fr;
    column-gap: 14px;
    padding: 20px 16px;
  }

  .page-design .dl-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    border-radius: 12px;
  }

  .page-design .dl-item h3 {
    font-size: 1.15rem;
  }
}

/* ===== Installation page (scoped to .page-installation) ===== */
/* Scope: icon + text pairs in two columns */
.page-installation .inst-scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 64px;
}

.page-installation .inst-scope-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 20px;
  align-items: start;
}

.page-installation .inst-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--secondary);
  font-size: 1.25rem;
}

.page-installation .inst-scope-item h3 {
  margin: 4px 0 8px;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--primary);
}

.page-installation .inst-scope-item p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-medium);
}

/* Coordination: reuses the supporting-section pattern, with a closing note */
.page-installation .inst-note {
  margin: 28px 0 0;
  padding: 0.2rem 0 0.2rem 16px;
  border-left: 3px solid var(--secondary);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--primary);
}

/* Commissioning: dark band, checks as a vertical run */
.page-installation .inst-commission {
  background: var(--primary);
  padding: 88px 20px;
}

.page-installation .inst-commission .design-heading h2 {
  color: #fff;
}

.page-installation .inst-commission .design-heading p {
  color: rgba(255, 255, 255, 0.85);
}

.page-installation .inst-check {
  position: relative;
  padding: 0 0 28px 28px;
  margin: 0 0 28px;
  border-left: 2px solid rgba(130, 230, 248, 0.45);
}

.page-installation .inst-check::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--secondary);
}

.page-installation .inst-check h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: #fff;
}

.page-installation .inst-check p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.page-installation .inst-check-note {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

/* Handover: documents list in a pale panel */
.page-installation .inst-list-intro {
  margin: 0 0 12px;
  font-weight: 600;
  color: var(--primary);
}

.page-installation .inst-handover-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 22px 26px;
  display: grid;
  gap: 12px;
  background: #eef3f6;
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
}

.page-installation .inst-handover-list li {
  position: relative;
  padding-left: 30px;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--primary);
}

.page-installation .inst-handover-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--accent);
}

.page-installation .design-prose .scope-link {
  margin-top: 0.5rem;
}

/* Enquiry: dark closing band with light list */
.page-installation .inst-enquiry .cta-text p {
  color: rgba(255, 255, 255, 0.92);
}

.page-installation .inst-enquiry .inst-list-intro {
  margin: 1.5rem 0 12px;
  color: #fff;
}

.page-installation .inst-enquiry .design-checklist li {
  color: rgba(255, 255, 255, 0.92);
}

.page-installation .inst-enquiry .design-checklist li::before {
  background: var(--secondary);
}

@media (max-width: 900px) {
  .page-installation .inst-scope-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-installation .inst-commission {
    padding: 60px 20px;
  }
}

@media (max-width: 600px) {
  .page-installation .inst-scope-item {
    grid-template-columns: 44px 1fr;
    column-gap: 14px;
  }

  .page-installation .inst-icon {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
  }

  .page-installation .inst-commission {
    padding-left: 0;
    padding-right: 0;
  }

  .page-installation .inst-handover-list {
    padding: 18px 18px;
  }
}

/* ===== Shared navigation: keyboard-operable Services submenu ===== */
.has-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.has-dropdown.open .nav-link i {
  transform: rotate(180deg);
}

/* Esc dismisses the menu even while the pointer is still over it */
@media (max-width: 968px) {
  .has-dropdown.dismissed .dropdown-menu {
    visibility: hidden;
  }
}

.nav-link:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
  border-radius: 4px;
}

.dropdown-link:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: -3px;
  background: rgba(130, 230, 248, 0.25);
  padding-left: 25px;
}

@media (max-width: 968px) {
  /* Collapsed mobile submenu must not be tabbable */
  .dropdown-menu {
    visibility: hidden;
  }

  .has-dropdown.active .dropdown-menu {
    visibility: visible;
  }

  .has-dropdown.open:not(.active) .dropdown-menu {
    visibility: hidden;
    opacity: 1;
    transform: none;
  }

  .dropdown-link:focus-visible {
    outline-color: var(--secondary);
    background: rgba(255, 255, 255, 0.12);
  }
}

/* Desktop submenu: hidden by opacity only, so its links stay focusable and the
   menu opens as soon as focus reaches the Services link or any submenu link */
@media (min-width: 969px) {
  .dropdown-menu {
    visibility: visible;
    pointer-events: none;
    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  .has-dropdown:hover .dropdown-menu,
  .has-dropdown:focus-within .dropdown-menu,
  .has-dropdown.open .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .has-dropdown.dismissed .dropdown-menu {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
  }
}
@media (max-width: 900px) {
  .page-installation .inst-checks {
    margin-top: 12px;
  }
}

/* ===== Maintenance page (reuses design/installation patterns) ===== */
.page-maintenance .maint-callout {
  margin: 28px 0 0;
  padding: 0.2rem 0 0.2rem 16px;
  border-left: 3px solid var(--secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--primary);
}

.page-maintenance .design-steps.design-steps--three {
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.page-maintenance .maint-closing {
  margin-top: 48px;
}

@media (max-width: 900px) {
  /* three-step sequence becomes a compact vertical timeline */
  .page-maintenance .design-steps.design-steps--three {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .page-maintenance .design-steps--three .design-step {
    padding: 0 0 28px 68px;
    min-height: 48px;
  }

  .page-maintenance .design-steps--three .design-step:last-child {
    padding-bottom: 0;
  }

  .page-maintenance .design-steps--three .design-step:not(:last-child)::after {
    display: block;
    top: 52px;
    left: 23px;
    bottom: 4px;
    width: 2px;
    height: auto;
  }

  .page-maintenance .design-steps--three .design-step h3 {
    padding-top: 10px;
  }

  .page-maintenance .maint-closing {
    margin-top: 32px;
  }
}

@media (max-width: 600px) {
  .page-maintenance .maint-agree {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ===== Maintenance: feature section (scoped to .page-maintenance) ===== */
.page-maintenance .maint-support {
  padding: 88px 20px 96px;
  background: linear-gradient(180deg, #def4f9 0%, #f3fafc 100%);
}

.page-maintenance .maint-support .design-heading {
  max-width: 1080px;
  margin-bottom: 48px;
}

.page-maintenance .maint-support .design-heading h2 {
  position: relative;
  padding-bottom: 18px;
  font-size: 2.4rem;
  color: var(--primary);
}

.page-maintenance .maint-support .design-heading h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
}

/* Open two-column layout: no cards, a hairline above each topic */
.page-maintenance .maint-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px 72px;
}

.page-maintenance .maint-feature {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 16px;
  row-gap: 14px;
  align-items: center;
  padding: 28px 0 0;
  border-top: 1px solid rgba(34, 54, 75, 0.22);
}

.page-maintenance .maint-icon {
  grid-row: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--secondary);
  font-size: 1.3rem;
}

.page-maintenance .maint-feature h3 {
  grid-row: 1;
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--primary);
}

.page-maintenance .maint-feature p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #3f5163;
}

/* Quieter supporting sections */
.page-maintenance .maint-agree .design-step::before {
  box-shadow: 0 0 0 6px #eef3f6;
}

@media (max-width: 900px) {
  .page-maintenance .maint-support {
    padding: 60px 20px 64px;
  }

  .page-maintenance .maint-support .design-heading h2 {
    font-size: 1.9rem;
  }

  .page-maintenance .maint-features {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .page-maintenance .maint-support {
    padding-left: 0;
    padding-right: 0;
  }

  .page-maintenance .maint-feature {
    grid-template-columns: 46px 1fr;
    column-gap: 14px;
    padding-top: 22px;
  }

  .page-maintenance .maint-icon {
    width: 46px;
    height: 46px;
    font-size: 1.15rem;
  }

  .page-maintenance .maint-feature h3 {
    font-size: 1.2rem;
  }
}

/* ===== About page (scoped to .page-about) ===== */
/* Main editorial section */
.page-about .about-approach {
  padding: 104px 20px 96px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fa 100%);
}

.page-about .about-approach .design-heading {
  max-width: 900px;
  margin-bottom: 36px;
}

.page-about .about-approach .design-heading h2 {
  font-size: 2.8rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--primary);
}

.page-about .about-lead {
  max-width: 820px;
  margin: 0 0 56px;
  padding: 4px 0 4px 28px;
  border-left: 4px solid var(--secondary);
  font-size: 1.4rem;
  line-height: 1.65;
  color: var(--primary);
}

.page-about .about-approach-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 72px;
  padding-top: 32px;
  border-top: 1px solid rgba(34, 54, 75, 0.2);
}

.page-about .about-approach-body p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-medium);
}

/* Project team: easy-reading split with a closing note */
.page-about .about-team {
  padding: 72px 20px;
}

.page-about .about-note {
  padding: 0.2rem 0 0.2rem 16px;
  border-left: 3px solid var(--secondary);
  color: var(--primary);
}

/* Working principles: open text, hairline separation, no cards or numbers */
.page-about .about-principles {
  padding: 80px 20px 88px;
}

.page-about .about-principle-list {
  border-bottom: 1px solid rgba(34, 54, 75, 0.2);
}

.page-about .about-principle {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  column-gap: 72px;
  padding: 32px 0;
  border-top: 1px solid rgba(34, 54, 75, 0.2);
}

.page-about .about-principle h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--primary);
}

.page-about .about-principle p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-medium);
}

.page-about .about-enquiry .cta-text p {
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 900px) {
  .page-about .about-approach {
    padding: 64px 20px;
  }

  .page-about .about-approach .design-heading h2 {
    font-size: 2rem;
  }

  .page-about .about-lead {
    margin-bottom: 36px;
    padding-left: 18px;
    font-size: 1.2rem;
  }

  .page-about .about-approach-body {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 24px;
  }

  .page-about .about-team {
    padding: 56px 20px;
  }

  .page-about .about-principles {
    padding: 56px 20px 60px;
  }

  .page-about .about-principle {
    grid-template-columns: 1fr;
    row-gap: 10px;
    padding: 26px 0;
  }
}

@media (max-width: 600px) {
  .page-about .about-approach,
  .page-about .about-principles {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 600px) {
  .page-about .about-enquiry .cta-buttons .btn {
    width: 100%;
    justify-content: center;
    padding-left: 16px;
    padding-right: 16px;
    letter-spacing: 0.03em;
    white-space: nowrap;
  }
}

/* Footer address label (site-wide, confirmed correspondence address) */
.footer-contact-label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* ===== Contact page (scoped to .page-contact) ===== */
.page-contact .cd-section {
  padding: 64px 20px;
}

.page-contact .cd-section .design-heading {
  margin-bottom: 32px;
}

.page-contact .cd-list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.page-contact .cd-item {
  padding: 4px 32px 4px 32px;
  border-left: 1px solid rgba(34, 54, 75, 0.25);
}

.page-contact .cd-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.page-contact .cd-item dt {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.page-contact .cd-item dd {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--primary);
}

.page-contact .cd-item dd a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--secondary);
  overflow-wrap: anywhere;
}

.page-contact .cd-item dd a:hover,
.page-contact .cd-item dd a:focus-visible {
  border-bottom-color: var(--primary);
}

.page-contact .cd-item dd a:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 4px;
}

.page-contact .cd-item address {
  margin: 0;
  font-style: normal;
  font-size: 1.15rem;
  line-height: 1.6;
}

.page-contact .contact-guidance {
  padding: 80px 20px;
}

.page-contact .contact-topic {
  padding: 24px 0;
  border-top: 1px solid rgba(34, 54, 75, 0.2);
}

.page-contact .contact-topic:first-child {
  padding-top: 0;
  border-top: 0;
}

.page-contact .contact-topic h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  color: var(--primary);
}

.page-contact .contact-topic p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-medium);
}

.page-contact .contact-note {
  margin: 8px 0 0;
  padding: 0.2rem 0 0.2rem 16px;
  border-left: 3px solid var(--secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--primary);
}

.page-contact .contact-action {
  margin-top: 28px;
}

@media (max-width: 900px) {
  .page-contact .cd-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .page-contact .cd-item,
  .page-contact .cd-item:first-child {
    padding: 0 0 24px;
    border-left: 0;
    border-bottom: 1px solid rgba(34, 54, 75, 0.2);
  }

  .page-contact .cd-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .page-contact .contact-guidance {
    padding: 56px 20px;
  }
}

@media (max-width: 600px) {
  .page-contact .contact-action .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Footer copyright and company line: comfortable contrast on the navy footer */
.footer-copyright p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-copyright .company-details {
  color: rgba(255, 255, 255, 0.85);
}

/* ===== Projects overview (scoped to .page-projects) ===== */
.page-projects .prj-section {
  padding: 88px 20px 96px;
}

.page-projects .prj-section .design-heading {
  margin-bottom: 40px;
}

.page-projects .prj-figure {
  margin: 0;
}

.page-projects .prj-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  background: #e8eef2;
}

.page-projects .prj-figure figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #4d5f70;
}

.page-projects .prj-scope {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.page-projects .prj-text h3 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--primary);
}

.page-projects .prj-location {
  margin: 4px 0 0;
  font-size: 1rem;
  color: var(--text-medium);
}

.page-projects .prj-summary {
  margin: 12px 0 0;
  font-size: 1.03rem;
  line-height: 1.7;
  color: var(--text-medium);
}

/* Lead project: large image beside the scope summary */
.page-projects .prj-lead {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
  padding: 28px;
  background: linear-gradient(135deg, #def4f9 0%, #f3fafc 100%);
  border-radius: 14px;
}

.page-projects .prj-lead .prj-figure img {
  aspect-ratio: 16 / 11;
}

.page-projects .prj-lead .prj-text h3 {
  font-size: 2.2rem;
  line-height: 1.15;
}

.page-projects .prj-lead .prj-location {
  font-size: 1.1rem;
}

.page-projects .prj-lead .prj-summary {
  font-size: 1.12rem;
  color: var(--primary);
}

/* Remaining projects: image over concise text, two columns, open (no card chrome) */
.page-projects .prj-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 56px;
  align-items: start;
}

.page-projects .prj-entry .prj-figure img {
  aspect-ratio: 3 / 2;
}

.page-projects .prj-entry .prj-text {
  margin-top: 18px;
}

/* Photograph of a building: favour the upper facade when cropped */
.page-projects .prj-figure--photo-building img {
  object-position: 50% 30%;
}

/* Drawing excerpt: keep the whole crop visible on a white ground with a hairline */
.page-projects .prj-figure--drawing img {
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(34, 54, 75, 0.2);
}

@media (max-width: 900px) {
  .page-projects .prj-section {
    padding: 56px 20px 64px;
  }

  .page-projects .prj-lead {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 16px 16px 24px;
    margin-bottom: 44px;
  }

  .page-projects .prj-lead .prj-text h3 {
    font-size: 1.8rem;
  }

  .page-projects .prj-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 600px) {
  .page-projects .prj-section {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (min-width: 701px) and (max-width: 900px) {
  .page-projects .prj-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }
}

/* ===== Projects overview: link to the 2 Trafalgar Way case study ===== */
.page-projects .prj-figure-link {
  display: block;
}

.page-projects .prj-text h3 a {
  color: inherit;
  text-decoration: none;
}

.page-projects .prj-text h3 a:hover,
.page-projects .prj-text h3 a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--secondary);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.page-projects .prj-text a:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 4px;
}

.page-projects .prj-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 54, 75, 0.35);
}

.page-projects .prj-more:hover,
.page-projects .prj-more:focus-visible {
  border-bottom-color: var(--primary);
}

/* ===== Case study page (scoped to .page-casestudy) ===== */
.page-casestudy .cs-hero {
  padding: 120px 20px 64px;
  background: linear-gradient(135deg, #def4f9 0%, #f3fafc 100%);
}

.page-casestudy .cs-hero .container {
  max-width: 1080px;
}

.page-casestudy .cs-back {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 54, 75, 0.35);
}

.page-casestudy .cs-back:hover,
.page-casestudy .cs-back:focus-visible {
  border-bottom-color: var(--primary);
}

.page-casestudy .cs-back:focus-visible,
.page-casestudy .cs-thumb:focus-visible,
.page-casestudy .cs-nav:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.page-casestudy .cs-hero-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: center;
}

.page-casestudy .cs-location {
  margin: 0 0 10px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.page-casestudy .cs-hero h1 {
  margin: 0 0 20px;
  font-size: 3rem;
  line-height: 1.1;
  color: var(--primary);
}

.page-casestudy .cs-intro {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--primary);
}

.page-casestudy .cs-hero-figure {
  margin: 0;
}

.page-casestudy .cs-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 12px;
}

.page-casestudy .cs-hero-figure figcaption,
.page-casestudy .cs-viewer figcaption {
  margin-top: 10px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #43566a;
}

/* Setting, scope, coordination: heading left, content right */
.page-casestudy .cs-details {
  padding: 24px 20px 72px;
}

.page-casestudy .cs-row {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  column-gap: 72px;
  padding: 44px 0;
  border-top: 1px solid rgba(34, 54, 75, 0.2);
}

.page-casestudy .cs-row:first-child {
  border-top: 0;
}

.page-casestudy .cs-row h2 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--primary);
}

.page-casestudy .cs-row-body p {
  margin: 0 0 1.1rem;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-medium);
}

.page-casestudy .cs-row-body > :last-child {
  margin-bottom: 0;
}

.page-casestudy .cs-list-intro {
  margin: 0 0 12px;
  font-weight: 600;
  color: var(--primary);
}

.page-casestudy .cs-row-body .scope-link {
  margin-top: 0.5rem;
}

/* Gallery */
.page-casestudy .cs-gallery-section {
  padding: 72px 20px;
}

.page-casestudy .cs-viewer {
  margin: 0;
}

.page-casestudy .cs-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  background: #fff;
  border: 1px solid rgba(34, 54, 75, 0.15);
  border-radius: 12px;
  overflow: hidden;
}

.page-casestudy .cs-stage img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.page-casestudy .cs-stage--rendering {
  background: #dfe8ee;
}

.page-casestudy .cs-stage--rendering img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-casestudy .cs-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.page-casestudy .cs-thumbs {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.page-casestudy .cs-thumb {
  display: block;
  width: 100%;
  padding: 0;
  aspect-ratio: 16 / 10;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.page-casestudy .cs-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-casestudy .cs-thumb.is-active,
.page-casestudy .cs-thumb:hover {
  opacity: 1;
  border-color: var(--secondary);
}

.page-casestudy .cs-nav {
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
}

.page-casestudy .cs-nav:hover {
  background: #2f4a66;
}

.page-casestudy .cs-enquiry .cta-text p {
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 900px) {
  .page-casestudy .cs-hero {
    padding: 100px 20px 48px;
  }

  .page-casestudy .cs-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-casestudy .cs-hero h1 {
    font-size: 2.3rem;
  }

  .page-casestudy .cs-row {
    grid-template-columns: 1fr;
    row-gap: 14px;
    padding: 32px 0;
  }

  .page-casestudy .cs-gallery-section {
    padding: 56px 20px;
  }
}

@media (max-width: 600px) {
  .page-casestudy .cs-details,
  .page-casestudy .cs-gallery-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-casestudy .cs-thumbs {
    gap: 6px;
  }

  .page-casestudy .cs-nav {
    width: 40px;
    height: 40px;
  }
}

/* Case study: scope list, text link and gallery refinements */
.page-casestudy .inst-handover-list {
  list-style: none;
  margin: 0;
  padding: 22px 26px;
  display: grid;
  gap: 12px;
  background: #eef3f6;
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
}

.page-casestudy .inst-handover-list li {
  position: relative;
  margin: 0;
  padding-left: 30px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--primary);
}

.page-casestudy .inst-handover-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--accent);
}

.page-casestudy .scope-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 2px solid var(--secondary);
}

.page-casestudy .scope-link:hover,
.page-casestudy .scope-link:focus-visible {
  border-bottom-color: var(--primary);
}

.page-casestudy .scope-link:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 4px;
}

.page-casestudy .cs-stage--rendering img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

.page-casestudy .cs-thumb[data-kind="drawing"] img {
  object-fit: contain;
}

/* Case study: full-size drawing link beneath the caption */
.page-casestudy .cs-viewer figcaption .cs-cap {
  display: block;
}

.page-casestudy .cs-full {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 54, 75, 0.35);
}

.page-casestudy .cs-full[hidden] {
  display: none;
}

.page-casestudy .cs-full:hover,
.page-casestudy .cs-full:focus-visible {
  border-bottom-color: var(--primary);
}

.page-casestudy .cs-full:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.page-casestudy .cs-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Homepage: "Services to suit your project" (scoped to .home-services) ===== */
.home-services {
  padding: 80px 20px 88px;
  background: #fff;
}

.home-services::before {
  display: none;
}

.home-services .container {
  max-width: 1180px;
}

.home-services .hs-intro {
  max-width: 760px;
  margin: 0 0 40px;
  text-align: left;
}

.home-services .hs-intro .section-title {
  margin: 0 0 14px;
  text-align: left;
}

.home-services .hs-intro .section-subtitle {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.7;
  text-align: left;
  color: var(--text-medium);
}

.home-services .hs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 48px;
  align-items: start;
}

.home-services .hs-col {
  position: relative;
  padding-top: 28px;
  border-top: 1px solid rgba(34, 54, 75, 0.25);
}

.home-services .hs-col::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--secondary);
}

.home-services .hs-icon {
  display: block;
  margin-bottom: 14px;
  font-size: 1.3rem;
  color: var(--accent);
}

.home-services .hs-col h3 {
  margin: 0 0 10px;
  padding: 0;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--primary);
  text-align: left;
}

.home-services .hs-col p {
  margin: 0 0 16px;
  padding: 0;
  font-size: 1.03rem;
  line-height: 1.7;
  color: var(--text-medium);
  text-align: left;
}

.home-services .hs-link {
  display: inline-block;
  padding: 0;
  font-weight: 600;
  line-height: 1.4;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 2px solid var(--secondary);
}

.home-services .hs-link:hover {
  border-bottom-color: var(--primary);
}

.home-services .hs-link:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
  border-bottom-color: transparent;
}

@media (max-width: 900px) {
  .home-services {
    padding: 56px 20px 64px;
  }

  .home-services .hs-intro {
    margin-bottom: 28px;
  }

  .home-services .hs-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .home-services .hs-col {
    max-width: 680px;
  }
}

@media (max-width: 600px) {
  .home-services {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 600px) {
  .home-services .hs-intro .section-title {
    font-size: 2rem;
    line-height: 1.2;
  }
}

/* ===== Navigation: text-only links, restrained dropdown ===== */
.has-dropdown .nav-link i {
  font-size: 0.65rem;
  opacity: 0.85;
}

.has-dropdown:hover .nav-link i,
.has-dropdown.open .nav-link i {
  opacity: 1;
}

.dropdown-menu {
  min-width: 270px;
  padding: 8px 0;
  border-radius: 8px;
}

.dropdown-link {
  display: block;
  padding: 11px 22px;
  font-weight: 500;
  line-height: 1.4;
}

.dropdown-link:hover {
  padding-left: 22px;
  background: rgba(130, 230, 248, 0.16);
}

.dropdown-link[aria-current="page"] {
  font-weight: 700;
  color: var(--primary);
  background: rgba(130, 230, 248, 0.12);
}

.dropdown-link[aria-current="page"]::before {
  transform: scaleY(1);
}

@media (max-width: 968px) {
  .dropdown-link {
    padding: 12px 20px;
  }

  .dropdown-link:hover {
    padding-left: 20px;
  }

  .dropdown-link[aria-current="page"] {
    color: var(--secondary);
    background: rgba(255, 255, 255, 0.08);
  }
}

.dropdown-link:focus-visible {
  padding-left: 22px;
}

@media (max-width: 968px) {
  .dropdown-link:focus-visible {
    padding-left: 20px;
  }
}

/* ===== Services dropdown: continuous hover path (desktop) ===== */
@media (min-width: 969px) {
  /* Invisible bridge across the visual gap between the trigger and the panel.
     It only exists while the panel is open (a closed panel has pointer-events: none). */
  .dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    /* panel has a 3px top border; the bridge starts at the trigger's bottom edge */
    top: -13px;
    height: 13px;
  }

  /* Closing waits briefly so a diagonal or paused pointer does not lose the menu;
     opening has no delay. */
  .dropdown-menu {
    transition:
      opacity 0.2s ease 0.18s,
      transform 0.2s ease 0.18s;
  }

  .has-dropdown:hover .dropdown-menu,
  .has-dropdown:focus-within .dropdown-menu,
  .has-dropdown.open .dropdown-menu {
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }
}

/* Uno Golden Lane case study */
.page-casestudy .cs-hero-figure--drawing img {
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(34, 54, 75, 0.2);
}

.page-casestudy .cs-thumbs[style*="--n"] {
  grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  max-width: 420px;
  margin: 0 auto;
}

.page-casestudy .cs-hero-figure figcaption .cs-cap {
  display: block;
}

/* Bargate Quarter case study: single temporary image slot */
.page-casestudy .cs-single {
  margin: 0;
  max-width: 580px;
}

.page-casestudy .cs-single img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.page-casestudy .cs-single figcaption {
  margin-top: 10px;
  font-size: 0.92rem;
  color: #43566a;
}

/* Bargate Quarter photographs */
.page-casestudy .cs-stage--photo {
  aspect-ratio: 4 / 3;
  max-width: 880px;
  margin: 0 auto;
  background: #dfe8ee;
}

.page-casestudy .cs-stage--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-casestudy .cs-gallery--photos .cs-viewer figcaption {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.page-casestudy .cs-hero-figure--terrace img {
  object-position: 50% 78%;
}

.page-casestudy .cs-thumb[data-kind="photo"] img {
  object-fit: cover;
}

.page-casestudy .cs-thumbs[style*="--n:4"] {
  max-width: 640px;
}

.page-projects .prj-entry .prj-figure img[src*="roof-planters-seating"] {
  object-position: 50% 62%;
}

/* Uno Golden Lane photographs */
.page-casestudy .cs-hero-figure--wide img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 50% 50%;
}

.page-casestudy .cs-gallery--uniform .cs-stage {
  aspect-ratio: 4 / 3;
  max-width: 880px;
  margin: 0 auto;
}

.page-casestudy .cs-gallery--uniform .cs-viewer figcaption {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.page-casestudy .cs-stage--photo-contain {
  background: #dfe8ee;
}

.page-casestudy .cs-stage--photo-contain img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.page-casestudy .cs-thumb[data-kind="photo-contain"] img {
  object-fit: cover;
}

.page-casestudy .cs-thumbs[style*="--n:6"] {
  max-width: 760px;
  gap: 8px;
}

.page-projects .prj-entry .prj-figure img[src*="terrace-trees-planting"] {
  object-position: 45% 55%;
}

/* Case studies: clear separation between the scope list and the paragraph after it */
.page-casestudy .cs-row-body .inst-handover-list {
  margin-bottom: 0;
}

.page-casestudy .cs-row-body .inst-handover-list + p {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(34, 54, 75, 0.2);
}

.page-casestudy .cs-thumbs[style*="--n:3"] {
  max-width: 460px;
}

.page-casestudy .cs-thumbs[style*="--n:2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 340px;
  margin: 0 auto;
}

/* 2 Trafalgar Way: mixed photographs and drawings in one gallery */
.page-casestudy .cs-thumbs[style*="--n:8"],
.page-casestudy .cs-thumbs[style*="--n:9"] {
  max-width: 820px;
  gap: 6px;
}

/* Eight thumbnails on a phone: two rows of four so each stays a usable tap target */
@media (max-width: 600px) {
  .page-casestudy .cs-thumbs[style*="--n:8"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
}

.page-casestudy .cs-thumb[data-kind="photo-contain"] img {
  object-fit: cover;
}

.page-projects .prj-lead .prj-figure img[src*="ground-level-planting"] {
  object-position: 40% 55%;
}

/* Fulham Reach case study */
.page-casestudy .cs-place {
  margin: -8px 0 16px;
  font-size: 1rem;
  color: var(--text-medium);
}

.page-casestudy .cs-hero-figure--photo43 img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-projects .prj-entry .prj-figure img[src*="living-wall-1600"] {
  object-position: 50% 40%;
}

/* ===== Homepage: genuine project photographs ===== */
.hero {
  background:
    linear-gradient(
      100deg,
      rgba(34, 54, 75, 0.9) 0%,
      rgba(34, 54, 75, 0.78) 55%,
      rgba(34, 54, 75, 0.5) 100%
    ),
    url("./img/projects/bargate/hero-roof-planters-2200.jpg") no-repeat 50% 62% / cover;
  background-attachment: scroll;
}

@media (max-width: 700px) {
  .hero {
    background:
      linear-gradient(
        180deg,
        rgba(34, 54, 75, 0.88) 0%,
        rgba(34, 54, 75, 0.82) 100%
      ),
      url("./img/projects/bargate/hero-roof-planters-1000.jpg") no-repeat 45% 60% / cover;
  }
}

.hero-photo-caption {
  position: absolute;
  right: 24px;
  bottom: 74px;
  z-index: 3;
  margin: 0;
  max-width: 60%;
  font-size: 0.82rem;
  line-height: 1.4;
  text-align: right;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.photo-caption {
  margin: 10px 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #4d5f70;
}

.photo-caption--light {
  padding: 0 4px;
  color: rgba(255, 255, 255, 0.88);
}

.about-image--photo {
  margin: 0;
  max-width: 420px;
  justify-self: center;
  overflow: visible;
  box-shadow: none;
}

.about-image--photo::before,
.about-image--photo::after {
  display: none;
}

.about-image--photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 62%;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.content-figure {
  margin: 0;
}

.content-figure .content-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 42% 55%;
}

.cta-image--photo {
  margin: 0;
  overflow: visible;
  box-shadow: none;
}

.cta-image--photo img {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}
@media (max-width: 700px) {
  .hero-photo-caption {
    left: 20px;
    right: 20px;
    bottom: 12px;
    max-width: none;
    text-align: left;
  }
}

/* Homepage: 2 Trafalgar Way photograph starts level with the opening paragraph */
@media (min-width: 969px) {
  .about-section .about-content {
    column-gap: 80px;
    row-gap: 0;
    align-items: start;
  }

  .about-section .about-text {
    display: contents;
  }

  .about-section .about-text > * {
    grid-column: 1;
  }

  .about-section .about-text > p:nth-of-type(1) {
    grid-row: 3;
  }

  .about-section .about-image--photo {
    grid-column: 2;
    grid-row: 3 / span 4;
    align-self: start;
    margin-top: 0.4rem;
  }
}

/* Final enquiry: clear gap before the drawings paragraph */
.cta-text .cta-supporting {
  margin-top: 1.5rem;
}

/* Homepage project-type tabs: no transitions, so the selected tab, heading,
   photograph, caption and text all change in the same frame */
.specializations-tabs .tab,
.specializations-tabs .tab i,
.specializations-tabs .tab span,
.specializations-content .tab-content,
.specializations-content .tab-content *,
.specializations-content .content-image img {
  transition: none !important;
  animation: none !important;
}

/* Homepage tabs are real buttons: reset native styling, keep the accepted look */
button.tab {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  border: 0;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  background: transparent;
  cursor: pointer;
}

button.tab.current {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.specializations-tabs .tab:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--primary);
}

.specializations-content .tab-content[inert] {
  pointer-events: none;
}

/* Touch devices: no sticky hover tint on unselected tabs */
@media (hover: none) {
  button.tab:not(.current):hover {
    background: transparent;
    color: var(--text-medium);
  }
}

/* ===== Privacy and Cookies pages (scoped to .page-legal) ===== */
.page-legal .services-hero.legal-hero {
  min-height: 0;
  padding: 150px 20px 56px;
}
.page-legal .legal-hero .services-hero-content p.legal-updated {
  margin: 12px auto 0;
  font-size: 1rem;
  opacity: 0.85;
}
.page-legal .legal-main {
  background: #fff;
  padding: 64px 20px 88px;
}
.page-legal .legal-content {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.7;
}
.page-legal .legal-content h2 {
  color: var(--primary);
  font-size: 1.55rem;
  margin: 2.5rem 0 0.75rem;
}
.page-legal .legal-content h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin: 1.75rem 0 0.5rem;
}
.page-legal .legal-content > :first-child {
  margin-top: 0;
}
.page-legal .legal-content p,
.page-legal .legal-content ul {
  margin: 0 0 1rem;
}
.page-legal .legal-content ul {
  padding-left: 1.4rem;
}
.page-legal .legal-content li {
  margin-bottom: 0.6rem;
  padding-left: 0.2rem;
}
.page-legal .legal-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.page-legal .legal-content a:hover {
  color: var(--primary-light);
}
.page-legal .legal-content a:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 2px;
}
.page-legal .legal-contact {
  padding-left: 1rem;
  border-left: 3px solid var(--secondary);
}

/* Footer legal links (all pages) */
.footer-bottom .footer-legal {
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom .footer-legal a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  text-decoration: none;
}
.footer-bottom .footer-legal a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-bottom .footer-legal a:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (max-width: 640px) {
  .footer-bottom .footer-legal {
    flex-direction: row;
    gap: 28px;
    align-items: center;
  }
  .footer-bottom .footer-legal a {
    display: inline-block;
    padding: 6px 0;
  }
}

/* ===== Project figures on secondary pages (open figures, no cards) ===== */
.project-figure {
  margin: 0;
}
.project-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.project-figure figcaption {
  margin-top: 10px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-medium);
  text-align: left;
}
.pf-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Services: figure under the coordination intro */
.page-services .project-figure--coordination {
  margin-top: 28px;
}

/* Design: whole drawing excerpt beneath the deliverables */
.page-design .project-figure--drawing {
  max-width: 1080px;
  margin: 44px auto 0;
}
.page-design .project-figure--drawing img {
  background: #fff;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.page-design .project-figure--drawing figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 24px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.9);
}
.page-design .project-figure-link {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.page-design .project-figure-link:hover {
  color: var(--secondary);
}
.page-design .project-figure-link:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Installation: scope list beside the photograph */
.page-installation .inst-scope-layout {
  display: grid;
  grid-template-columns: 7fr 5fr;
  column-gap: 64px;
  align-items: start;
}
.page-installation .inst-scope-layout .inst-scope-grid {
  grid-template-columns: 1fr;
  gap: 32px;
}
.page-installation .inst-scope-layout .project-figure {
  position: sticky;
  top: 110px;
}
.page-installation .inst-commission .design-container--split {
  grid-template-columns: minmax(240px, 380px) 1fr;
}
.page-installation .project-figure--commission {
  margin-top: 28px;
}
.page-installation .project-figure--commission figcaption {
  color: rgba(255, 255, 255, 0.88);
}

/* Maintenance: portrait photograph alongside the explanation */
.page-maintenance .maint-system-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 260px);
  column-gap: 48px;
  align-items: start;
}

/* About: portrait photograph beside the introductory text */
.page-about .about-approach-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  column-gap: 64px;
  align-items: start;
}
.page-about .about-approach-layout .about-approach-body {
  grid-template-columns: 1fr;
  gap: 20px;
}
.page-about .about-approach-layout .about-lead {
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .page-installation .inst-scope-layout {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
  .page-installation .inst-scope-layout .project-figure {
    position: static;
    max-width: 520px;
  }
  .page-installation .inst-commission .design-container--split {
    grid-template-columns: 1fr;
  }
  .page-installation .project-figure--commission,
  .page-services .project-figure--coordination {
    max-width: 520px;
  }
  .page-maintenance .maint-system-body {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }
  .page-maintenance .project-figure--controller {
    max-width: 280px;
  }
  .page-about .about-approach-layout {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
  .page-about .project-figure--levels {
    max-width: 300px;
  }
}
@media (max-width: 600px) {
  .page-design .project-figure--drawing {
    margin-top: 32px;
  }
}

/* ===== Responsive refinement: stacked reading order, phone scope text, back-to-top ===== */
/* Desktop compositions are kept by explicit grid placement; DOM order is the stacked reading order. */
@media (min-width: 901px) {
  .page-installation .inst-scope-layout > .inst-scope-grid {
    grid-column: 1;
    grid-row: 1;
  }
  .page-installation .inst-scope-layout > .project-figure {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
  }

  .page-maintenance .maint-system .design-container--split {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) minmax(200px, 260px);
    column-gap: 48px;
  }
  .page-maintenance .maint-system .design-heading {
    grid-column: 1;
    grid-row: 1;
  }
  .page-maintenance .maint-system .design-prose {
    grid-column: 2;
    grid-row: 1;
    margin-left: 24px;
  }
  .page-maintenance .maint-system .project-figure {
    grid-column: 3;
    grid-row: 1;
  }

  .page-about .about-approach-layout {
    grid-template-rows: auto 1fr;
  }
  .page-about .about-approach-layout > .about-lead {
    grid-column: 1;
    grid-row: 1;
  }
  .page-about .about-approach-layout > .about-approach-body {
    grid-column: 1;
    grid-row: 2;
  }
  .page-about .about-approach-layout > .project-figure {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

/* Stacked layouts: lead paragraph, figure, then the supporting text */
@media (max-width: 900px) {
  .page-about .about-approach-layout > .about-lead {
    margin-bottom: 0;
  }
  .page-about .about-approach-layout > .about-approach-body {
    margin-top: 0;
  }
  .page-installation .inst-scope-layout > .project-figure {
    margin-bottom: 0;
  }
}

/* Phones: icon beside the topic heading, paragraph on the full content width */
@media (max-width: 600px) {
  .page-installation .inst-scope-item {
    grid-template-columns: 44px 1fr;
    column-gap: 14px;
    align-items: center;
  }
  .page-installation .inst-scope-item > div:not(.inst-icon) {
    display: contents;
  }
  .page-installation .inst-scope-item .inst-icon {
    grid-column: 1;
    grid-row: 1;
  }
  .page-installation .inst-scope-item h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }
  .page-installation .inst-scope-item p {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 14px 0 0;
  }

  /* The floating control would cover text, captions and links on phones */
  .back-to-top {
    display: none !important;
  }
}

/* Phones: scope section uses the same content width as the commissioning section */
@media (max-width: 600px) {
  .page-installation .inst-scope {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ===== Compact secondary-page heroes (Services, Design, Installation, Maintenance, Projects, About, Contact, case studies) ===== */
/* Height follows the content; top padding = fixed header (90px) + a short gap; no minimum height. */
.services-hero.services-hero--content:not(.legal-hero) {
  min-height: 0;
  height: auto;
  padding: 134px 20px 56px;
}
.services-hero--content:not(.legal-hero) .services-hero-content {
  max-width: 1000px;
}
.services-hero--content:not(.legal-hero) .services-hero-content h1 {
  margin-bottom: 16px;
}
.services-hero--content:not(.legal-hero) .services-hero-content p {
  max-width: 880px;
  margin: 0 auto 14px;
}
.services-hero--content:not(.legal-hero) .services-hero-content .services-hero-supporting {
  margin-bottom: 28px;
}
.services-hero--content:not(.legal-hero) .hero-buttons {
  gap: 16px;
}
.page-casestudy .cs-hero {
  padding: 116px 20px 44px;
}
.page-casestudy .cs-back {
  margin-bottom: 20px;
}

@media (max-width: 968px) {
  .services-hero.services-hero--content:not(.legal-hero) {
    padding: 106px 20px 44px;
  }
  .page-casestudy .cs-hero {
    padding: 94px 20px 36px;
  }
}
@media (max-width: 900px) {
  .page-casestudy .cs-hero-grid {
    gap: 24px;
  }
}
@media (max-width: 600px) {
  .services-hero--content:not(.legal-hero) .services-hero-content .services-hero-supporting {
    margin-bottom: 24px;
  }
  .services-hero--content:not(.legal-hero) .hero-buttons {
    gap: 12px;
  }
}

/* Single hero paragraph: same text size, standard gap before the buttons */
.services-hero--content:not(.legal-hero) .services-hero-content p:last-of-type {
  margin-bottom: 28px;
}
@media (max-width: 600px) {
  .services-hero--content:not(.legal-hero) .services-hero-content p:last-of-type {
    margin-bottom: 24px;
  }
}

/* Footer: single LinkedIn link with a visible label */
.footer-social a.footer-social-link {
  width: auto;
  height: auto;
  padding: 10px 18px;
  border-radius: 999px;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}
.footer-social a.footer-social-link i {
  font-size: 1.1rem;
}
.footer-social a.footer-social-link:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

/* ===== Performance and accessibility refinement ===== */
/* Homepage hero content is visible immediately: no entrance animation */
.page-home .hero-content {
  animation: none;
}

/* Logos keep their displayed size now that the files carry intrinsic dimensions */
.logo img,
.footer-logo {
  width: auto;
}

/* Contrast: dark navy label text on the light About section; the cyan line is unchanged */
.about-section .about-subheading {
  color: var(--primary);
}

/* Skip link and main landmark */
.skip-link {
  position: fixed;
  transition: none;
  top: -120px;
  left: 16px;
  z-index: 3000;
  padding: 12px 18px;
  border-radius: 6px;
  background: #ffffff;
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 12px;
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
}
main:focus {
  outline: none;
}

/* ===== Analytics consent notice, footer control and cookies table ===== */
.consent-live {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.consent-notice[hidden] {
  display: none;
}
.consent-notice {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 1500;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 20px 22px;
  background: #ffffff;
  color: var(--text-dark);
  border: 2px solid var(--primary);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  font-size: 0.98rem;
  line-height: 1.55;
}
.consent-notice h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: var(--primary);
}
.consent-notice h2:focus {
  outline: none;
}
.consent-notice p {
  margin: 0 0 12px;
}
.consent-status {
  font-weight: 600;
  color: var(--primary);
}
.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 4px 0 14px;
}
.consent-btn {
  min-height: 46px;
  padding: 10px 20px;
  border: 2px solid var(--primary);
  border-radius: 6px;
  background: var(--primary);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.consent-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
}
.consent-btn:focus-visible,
.consent-close:focus-visible,
.consent-notice a:focus-visible,
.cookie-settings-link:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #ffffff;
}
.consent-close {
  min-height: 46px;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: var(--primary);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
.consent-close[hidden] {
  display: none;
}
.consent-support {
  font-size: 0.92rem;
  color: var(--text-medium);
}
.consent-links {
  margin-bottom: 0;
  font-size: 0.92rem;
}
.consent-links a {
  margin-right: 14px;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom .cookie-settings-link {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.85);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}
.footer-bottom .cookie-settings-link[hidden] {
  display: none;
}
.footer-bottom .cookie-settings-link:hover {
  color: #ffffff;
  text-decoration: underline;
}
.footer-bottom .cookie-settings-link:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
  box-shadow: none;
  border-radius: 2px;
}

.page-legal .legal-cookie-settings[hidden] {
  display: none;
}
.page-legal .storage-table-wrap {
  margin: 0 0 1.25rem;
}
.page-legal .storage-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.5;
}
.page-legal .storage-table th,
.page-legal .storage-table td {
  padding: 10px 12px;
  border: 1px solid rgba(34, 54, 75, 0.25);
  text-align: left;
  vertical-align: top;
}
.page-legal .storage-table thead th {
  background: #eef3f6;
  color: var(--primary);
}
.page-legal .storage-table tbody th {
  font-weight: 700;
  color: var(--primary);
  word-break: break-word;
}

@media (max-width: 700px) {
  .consent-notice {
    left: 8px;
    bottom: 8px;
    width: calc(100vw - 16px);
    max-height: 75vh;
    padding: 16px;
  }
  .consent-actions .consent-btn {
    flex: 1 1 100%;
  }
  .page-legal .storage-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .page-legal .storage-table,
  .page-legal .storage-table tbody,
  .page-legal .storage-table tr,
  .page-legal .storage-table th,
  .page-legal .storage-table td {
    display: block;
    width: 100%;
  }
  .page-legal .storage-table tr {
    margin-bottom: 14px;
    border: 1px solid rgba(34, 54, 75, 0.25);
  }
  .page-legal .storage-table th,
  .page-legal .storage-table td {
    border: 0;
    border-bottom: 1px solid rgba(34, 54, 75, 0.15);
  }
  .page-legal .storage-table td::before,
  .page-legal .storage-table tbody th::before {
    content: attr(data-label);
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-medium);
  }
}

/* Analytics unavailable (browser cannot save a choice) */
.consent-unavailable {
  padding: 8px 0 8px 12px;
  border-left: 4px solid var(--primary);
  font-weight: 600;
  color: var(--primary);
}
.consent-unavailable[hidden] {
  display: none;
}
.consent-btn[aria-disabled="true"] {
  background: #5d6e80;
  border-color: #5d6e80;
  cursor: not-allowed;
}
.consent-btn[aria-disabled="true"]:hover {
  background: #5d6e80;
  border-color: #5d6e80;
}
