/* ========================================
     CSS VARIABLES - Color System (60-30-10)
     ======================================== */
:root {
  /* Primary Color - Professional Teal/Blue-Green (60%) */
  --primary-color: #0d7377;
  --primary-dark: #0a5558;
  --primary-light: #14a085;

  /* Secondary Color - Light Gray/Off-white (30%) */
  --secondary-color: #f5f7fa;
  --secondary-light: #ffffff;
  --secondary-dark: #e8ecf0;

  /* Accent Color - Vibrant Orange (10%) */
  --accent-color: #ff6b35;
  --accent-dark: #e55a28;
  --accent-light: #ff8c5a;

  /* Neutral Colors */
  --text-dark: #1a1a1a;
  --text-body: #4a5568;
  --text-light: #718096;
  --text-white: #ffffff;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Transitions */
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
    "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans",
    "Helvetica Neue", sans-serif;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--secondary-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
     HEADER & NAVIGATION
     ======================================== */
header {
  background: #ffffff;
  color: var(--primary-color);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  transition: var(--transition-base);
  backdrop-filter: blur(10px);
}

header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  padding: 0.9rem 0;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--spacing-md);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition-base);
}

.logo img {
  height: 55px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-base);
  /* Keep original logo colors - remove filter if logo has transparent background */
}

.logo:hover {
  transform: translateY(-2px);
}

.logo:hover img {
  transform: scale(1.08) rotate(2deg);
  filter: brightness(0) saturate(100%) invert(25%) sepia(50%) saturate(2500%) hue-rotate(160deg) brightness(0.95) contrast(1.2);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav li {
  position: relative;
}

nav a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.6rem 0;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  letter-spacing: 0.3px;
}

nav a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--accent-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

nav a:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

nav a:hover::before {
  width: 100%;
}

nav a:hover::after {
  width: 80%;
  opacity: 0.5;
}

nav a.active {
  color: var(--primary-color);
}

nav a.active::before {
  width: 100%;
  background: var(--accent-color);
}

nav a.active::after {
  width: 80%;
  opacity: 0.5;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: var(--transition-base);
}

.menu-toggle:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.05);
}

/* ========================================
     HERO SLIDER SECTION - NEW DESIGN
     ======================================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 90vh;
  max-height: 750px;
  min-height: 500px;
  background: linear-gradient(135deg, #0d7377 0%, #0a5558 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.slide-text-content {
  text-align: center;
  color: var(--text-white);
  animation: slideIn 0.8s ease-out;
}

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

.hero-slide h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-white);
  letter-spacing: -0.02em;
}

.slide-description {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  font-weight: 300;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.slide-cta-btn {
  display: inline-block;
  background: var(--accent-color);
  color: var(--text-white);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 8px;
  font-size: clamp(1rem, 2vw, 1.1rem);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  letter-spacing: 0.3px;
}

.slide-cta-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.slide-cta-btn:active {
  transform: translateY(0);
}

/* Slider Navigation Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  line-height: 1;
  opacity: 0.7;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  opacity: 1;
  transform: translateY(-50%) scale(1.05);
}

.slider-arrow-left {
  left: 1.5rem;
}

.slider-arrow-right {
  right: 1.5rem;
}

/* Slider Indicators */
.slider-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.slider-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  padding: 0;
}

.slider-indicator.active {
  background: var(--text-white);
  width: 24px;
  border-radius: 4px;
  opacity: 1;
}

.slider-indicator:hover {
  background: rgba(255, 255, 255, 0.6);
}

/* ========================================
     BUTTONS & CTAs
     ======================================== */
.cta-button,
.contact-button {
  display: inline-block;
  background: var(--accent-color);
  color: var(--text-white);
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition-base);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
  min-height: 48px; /* WCAG touch target size */
  min-width: 120px;
  text-align: center;
}

.cta-button:hover,
.cta-button:focus,
.contact-button:hover,
.contact-button:focus {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
  outline: none;
}

.cta-button:active,
.contact-button:active {
  transform: translateY(0);
}

.contact-button {
  background: var(--secondary-light);
  color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-button:hover,
.contact-button:focus {
  background: var(--secondary-dark);
  color: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ========================================
     CONTAINER & SECTIONS
     ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

section {
  padding: var(--spacing-lg) 0;
}

section h2 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--text-dark);
  line-height: 1.2;
}

/* ========================================
     SERVICES SECTION
     ======================================== */
.services {
  background: var(--secondary-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--secondary-light);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: var(--transition-base);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--accent-color)
  );
  transform: scaleX(0);
  transition: var(--transition-base);
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-light);
}

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

.service-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card:hover .service-icon-wrapper {
  transform: rotate(5deg) scale(1.1);
  background: linear-gradient(
    135deg,
    var(--accent-color),
    var(--accent-light)
  );
}

.service-icon-wrapper::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 70%
  );
  animation: iconShine 3s infinite;
}

@keyframes iconShine {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  50% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.service-icon {
  font-size: 2.5rem;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  font-weight: 700;
  transition: var(--transition-base);
}

.service-card:hover h3 {
  color: var(--accent-color);
}

.service-card p {
  color: var(--text-body);
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

/* ========================================
     ABOUT SECTION - Modern & Chic
     ======================================== */
.about {
  background: var(--secondary-light);
  position: relative;
  overflow: hidden;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  position: relative;
}

.about-text h3 {
  color: var(--primary-color);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.about-text p {
  margin-bottom: 1.25rem;
  color: var(--text-body);
  line-height: 1.7;
  font-size: 1rem;
}

.about-text p:last-of-type {
  margin-bottom: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--secondary-color);
  border-radius: 12px;
  transition: var(--transition-base);
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-body);
  font-weight: 500;
}

.about-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: var(--transition-base);
}

.about-image-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.about-image {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
  animation: imageFloat 6s ease-in-out infinite;
  position: relative;
}

@keyframes imageFloat {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-15px) scale(1.02);
  }
}

.about-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 115, 119, 0.1) 0%,
    rgba(255, 107, 53, 0.1) 100%
  );
  pointer-events: none;
  animation: overlayPulse 4s ease-in-out infinite;
}

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

.about-image-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  animation: shine 8s infinite;
  pointer-events: none;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

/* ========================================
     PHOTOS/GALLERY SECTION
     ======================================== */
.photos {
  background: var(--secondary-light);
}

.photos-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--text-body);
  font-size: 1.1rem;
  line-height: 1.8;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: var(--transition-base);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-base);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(26, 58, 92, 0.8) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  color: var(--text-white);
  font-weight: 600;
  font-size: 1.1rem;
  transform: translateY(10px);
  transition: var(--transition-base);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  position: relative;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  color: var(--text-white);
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.lightbox-close:hover {
  color: var(--accent-color);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  transition: var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav:hover {
  background: var(--accent-color);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

/* Blog Modal */
.blog-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow-y: auto;
}

.blog-modal.active {
  display: flex;
}

.blog-modal-content {
  background: var(--text-white);
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: modalFadeIn 0.3s ease-out;
}

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

.blog-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--text-body);
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.blog-modal-close:hover {
  background: var(--accent-color);
  color: var(--text-white);
  transform: rotate(90deg);
}

.blog-modal-body {
  padding: 3rem;
}

.blog-post-header {
  margin-bottom: 2rem;
}

.blog-post-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.blog-post-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.blog-post-date,
.blog-post-category {
  color: var(--text-body);
  font-size: 0.95rem;
  opacity: 0.8;
}

.blog-post-category {
  background: var(--accent-color);
  color: var(--text-white);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.blog-post-body {
  color: var(--text-body);
  line-height: 1.8;
}

.blog-post-body h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.blog-post-body h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.blog-post-body h4 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

.blog-post-body p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.blog-post-body ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.blog-post-body li {
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
}

.blog-post-body li strong {
  color: var(--primary-color);
}

/* Responsive Blog Modal */
@media (max-width: 768px) {
  .blog-modal-content {
    max-width: 95%;
    max-height: 95vh;
    margin: 1rem;
  }

  .blog-modal-body {
    padding: 2rem 1.5rem;
  }

  .blog-post-image {
    height: 250px;
  }

  .blog-post-body h2 {
    font-size: 1.5rem;
  }

  .blog-post-body h3 {
    font-size: 1.3rem;
  }

  .blog-modal-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 40px;
    height: 40px;
    font-size: 2rem;
  }
}

/* ========================================
     WHY CHOOSE US SECTION
     ======================================== */
.why-choose {
  background: var(--secondary-color);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.why-card {
  text-align: center;
  padding: 2rem;
  background: var(--secondary-light);
  border-radius: 12px;
  transition: var(--transition-base);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.why-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.why-card p {
  color: var(--text-body);
  line-height: 1.7;
}

/* ========================================
     TESTIMONIALS SECTION
     ======================================== */
.testimonials {
  background: var(--secondary-light);
  padding: var(--spacing-lg) 0;
}

.testimonials .container {
  overflow: visible;
}

.testimonials-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--text-body);
  font-size: 1.1rem;
  line-height: 1.8;
}

.testimonials-grid {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  margin-left: calc(-1 * var(--spacing-md));
  margin-right: calc(-1 * var(--spacing-md));
  padding: 0 var(--spacing-md) 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) transparent;
}

.testimonials-grid::-webkit-scrollbar {
  height: 8px;
}

.testimonials-grid::-webkit-scrollbar-track {
  background: var(--secondary-color);
  border-radius: 4px;
}

.testimonials-grid::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

.testimonials-grid::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

.testimonial-card {
  background: var(--secondary-light);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition-base);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  flex: 0 0 calc(50% - 1rem);
  min-width: calc(50% - 1rem);
  scroll-snap-align: start;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 8rem;
  color: var(--primary-color);
  opacity: 0.1;
  font-family: Georgia, serif;
  line-height: 1;
  z-index: 0;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-light);
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.testimonial-rating .star {
  color: #ffc107;
  font-size: 1.25rem;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
  color: var(--text-body);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
  padding-top: 1rem;
  border-top: 1px solid rgba(13, 115, 119, 0.1);
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(13, 115, 119, 0.3);
}

.author-info h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

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

/* ========================================
     BLOGS SECTION
     ======================================== */
.blogs {
  background: var(--secondary-color);
  padding: var(--spacing-lg) 0;
}

.blogs-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--text-body);
  font-size: 1.1rem;
  line-height: 1.8;
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--secondary-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition-base);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-light);
}

.blog-image-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.blog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-base);
}

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

.blog-date {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent-color);
  color: var(--text-white);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
  display: flex;
  flex-direction: column;
  min-width: 60px;
}

.blog-day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.blog-month {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.95;
  margin-top: 0.25rem;
}

.blog-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-content h3 {
  color: var(--primary-color);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
  transition: var(--transition-base);
}

.blog-card:hover .blog-content h3 {
  color: var(--accent-color);
}

.blog-excerpt {
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-size: 0.95rem;
}

.blog-read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.blog-read-more:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.blog-read-more::after {
  content: "→";
  transition: var(--transition-base);
}

.blog-read-more:hover::after {
  transform: translateX(5px);
}

/* ========================================
     CONTACT SECTION
     ======================================== */
/* ========================================
     QUOTE SECTION
     ======================================== */
.quote-section {
  background: var(--secondary-color);
  padding: var(--spacing-lg) var(--spacing-md);
}

.quote-form-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: var(--secondary-light);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-group .required {
  color: var(--accent-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  border: 2px solid var(--secondary-dark);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition-base);
  background: var(--secondary-light);
  color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(13, 115, 119, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
  opacity: 0.7;
}

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

.form-submit {
  margin-top: 1rem;
  text-align: center;
}

.submit-button {
  background: var(--accent-color);
  color: var(--text-white);
  padding: 1rem 3rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
  min-width: 200px;
}

.submit-button:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.submit-button:active {
  transform: translateY(0);
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Responsive Quote Form */
@media (max-width: 768px) {
  .quote-form-wrapper {
    padding: 2rem 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .submit-button {
    width: 100%;
    min-width: auto;
  }
}

.contact {
  background: var(--primary-color);
  color: var(--text-white);
  text-align: center;
  padding: var(--spacing-lg) var(--spacing-md);
}

.contact h2 {
  color: var(--text-white);
  margin-bottom: 1rem;
}

.contact p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

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

/* ========================================
     OUR TRUSTED CLIENTS
     ======================================== */
.clients {
  background: var(--secondary-color);
  padding: var(--spacing-lg) var(--spacing-md);
}

.clients h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.clients-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--text-body);
  font-size: 1.1rem;
  line-height: 1.8;
}

.clients-slider-wrapper {
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
}

.clients-slider {
  display: flex;
  gap: 2rem;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
}

.client-logo {
  background: var(--secondary-light);
  padding: 1.5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 120px;
  width: 180px;
  flex-shrink: 0;
  overflow: hidden;
}

.client-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(0%);
  opacity: 1;
  transition: var(--transition-base);
}

.client-logo:hover img {
  filter: grayscale(100%);
  opacity: 0.7;
}


/* ========================================
     FOOTER
     ======================================== */
footer {
  background: var(--primary-dark);
  color: var(--text-white);
  padding: 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem var(--spacing-md);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-section h3 {
  color: var(--text-white);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

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

.footer-about p {
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-base);
  font-size: 0.95rem;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.social-media {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  text-decoration: none;
  font-size: 1.3rem;
  transition: var(--transition-base);
  border: 2px solid transparent;
}

.social-icon:hover {
  background: var(--accent-color);
  transform: translateY(-5px);
  border-color: var(--accent-light);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.footer-map {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(20%) brightness(0.9);
  transition: var(--transition-base);
}

.footer-map:hover iframe {
  filter: grayscale(0%) brightness(1);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.5rem var(--spacing-md);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  opacity: 0.85;
  margin-bottom: 0.5rem;
  line-height: 1.8;
  font-size: 0.9rem;
}

.footer-bottom p:last-child {
  margin-bottom: 0;
}

/* ========================================
     RESPONSIVE DESIGN
     ======================================== */
/* Tablet and smaller screens */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-slider {
    height: 80vh;
    max-height: 700px;
  }

  .testimonial-card {
    flex: 0 0 calc(50% - 1rem);
    min-width: calc(50% - 1rem);
  }
}

/* Tablet portrait */
@media (max-width: 768px) and (min-width: 481px) {
  .hero-slider {
    height: 65vh;
    max-height: 600px;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
  }

  .menu-toggle {
    display: block;
    border-color: var(--primary-color);
  }

  .menu-toggle:hover {
    background: var(--primary-color);
    color: white;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: var(--spacing-md);
    gap: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-top: 2px solid var(--primary-color);
    margin-top: 0.5rem;
  }

  nav ul.active {
    display: flex;
    animation: slideDown 0.3s ease-out;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  nav li {
    width: 100%;
    border-bottom: 1px solid rgba(13, 115, 119, 0.1);
  }

  nav li:last-child {
    border-bottom: none;
  }

  nav a {
    display: block;
    padding: 1rem 0;
    width: 100%;
    color: var(--primary-color);
  }

  nav a:hover {
    transform: translateX(5px);
    color: var(--accent-color);
  }

  nav a::before {
    left: 0;
    transform: translateX(0);
    height: 2px;
  }

  .hero-slider {
    height: 75vh;
    max-height: 650px;
    min-height: 550px;
    padding: 3rem 0;
  }

  .slider-wrapper {
    padding: 0 1.5rem;
  }


  .slider-arrow {
    width: 44px;
    height: 44px;
    font-size: 1.75rem;
  }

  .slider-arrow-left {
    left: 1rem;
  }

  .slider-arrow-right {
    right: 1rem;
  }

  .slider-indicators {
    bottom: 2rem;
  }

  .slider-indicator {
    width: 10px;
    height: 10px;
  }

  .slider-indicator.active {
    width: 26px;
  }

  section h2 {
    font-size: 2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image-wrapper {
    transform: none;
  }

  .about-image-wrapper:hover {
    transform: scale(1.02);
  }

  .about-image {
    height: 350px;
  }

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

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

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

  .footer-map {
    height: 250px;
  }

  .why-grid,
  .blogs-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .client-logo {
    width: 150px;
    height: 100px;
    padding: 1rem;
  }

  .testimonials-grid {
    gap: 1.5rem;
    margin-left: calc(-1 * var(--spacing-sm));
    margin-right: calc(-1 * var(--spacing-sm));
    padding: 0 var(--spacing-sm) 1rem;
  }

  .testimonial-card {
    padding: 1.5rem;
    flex: 0 0 calc(100% - 0.75rem);
    min-width: calc(100% - 0.75rem);
  }

  .testimonial-card::before {
    font-size: 6rem;
    top: -5px;
    left: 15px;
  }

  .testimonial-text {
    font-size: 0.95rem;
  }

  .author-avatar {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  .author-info h4 {
    font-size: 1rem;
  }

  .author-info p {
    font-size: 0.85rem;
  }

  .lightbox-nav {
    position: relative;
    left: 0;
    right: 0;
    top: 20px;
    transform: none;
    margin: 0 auto 1rem;
  }

  .lightbox-prev,
  .lightbox-next {
    left: 0;
    right: 0;
    position: relative;
    display: inline-block;
    margin: 0 0.5rem;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }

  .contact-button,
  .cta-button {
    width: 100%;
    max-width: 300px;
  }

  .client-logo {
    width: 130px;
    height: 90px;
    padding: 0.8rem;
  }

  .clients-slider {
    gap: 1.5rem;
  }

  /* Ensure touch targets are at least 48px */
  .service-card,
  .why-card {
    min-height: 120px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 1rem 0;
  }

  .logo img {
    height: 45px;
  }

  nav {
    padding: 0 var(--spacing-sm);
  }

  nav ul {
    padding: 1rem;
  }

  nav a {
    font-size: 0.95rem;
    padding: 0.85rem 0;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }

  section {
    padding: var(--spacing-md) 0;
  }

  .hero-slider {
    height: 65vh;
    max-height: 550px;
    min-height: 450px;
    padding: 2.5rem 0;
  }

  .slider-wrapper {
    padding: 0 1rem;
  }

  .slide-description {
    margin-bottom: 2rem;
  }

  .slide-cta-btn {
    padding: 1rem 2.5rem;
    width: 100%;
    max-width: 300px;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .slider-arrow-left {
    left: 0.75rem;
  }

  .slider-arrow-right {
    right: 0.75rem;
  }

  .slider-indicators {
    bottom: 1.5rem;
    gap: 0.6rem;
  }

  .slider-indicator {
    width: 8px;
    height: 8px;
  }

  .slider-indicator.active {
    width: 22px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

/* ========================================
     ACCESSIBILITY IMPROVEMENTS
     ======================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for accessibility */
a:focus,
button:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --text-body: #2d3748;
    --text-dark: #000000;
  }
}

.footer-social a {
  color: white;
  text-decoration: none;
  font-size: 30px;
}