/* Luxury Premium Styles for Time General Construction */

/* Premium Color Variables */
:root {
  --gold-primary: #d4af37;
  --gold-light: #f4e4c1;
  --gold-dark: #b8941e;
  --black-primary: #0a0a0a;
  --black-secondary: #1a1a1a;
  --gray-elegant: #2d2d2d;
  --white-pure: #ffffff;
  --white-soft: #fafafa;
}



/* Gallery Items - Uniform Sizing (4:3 aspect ratio) */
.gallery-item {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 58, 138, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

/* Modern Navigation */
.nav-link {
  position: relative;
  transition: all 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #c9a961;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Luxury Service Cards */
.service-card {
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  border: 2px solid #f0f0f0;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d4af37, #f4e4c1, #d4af37);
  background-size: 200% auto;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
  transition: left 0.6s ease;
}

.service-card:hover::before {
  opacity: 1;
}

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

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(212, 175, 55, 0.15), 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: #d4af37;
}

.service-icon {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.service-card:hover .service-icon {
  transform: translateY(-8px) scale(1.1);
  color: #d4af37;
  filter: drop-shadow(0 8px 16px rgba(212, 175, 55, 0.3));
}

/* Luxury CTA Button */
.cta-button {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.875rem;
  background: linear-gradient(135deg, #d4af37 0%, #b8941e 100%);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4), 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Luxury Hero Section */
.hero-overlay {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.85) 0%, rgba(26, 26, 26, 0.75) 50%, rgba(45, 45, 45, 0.65) 100%);
  backdrop-filter: blur(2px);
}

.hero-section {
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}



/* Luxury Portfolio Image Sections */
.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 26, 0.6) 50%, rgba(45, 45, 45, 0.4) 100%);
  opacity: 0.7;
  transition: opacity 0.6s ease;
}

.image-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.image-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(212, 175, 55, 0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.image-section {
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 10;
}

.image-section img {
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
  filter: brightness(0.92) contrast(1.08) saturate(0.95);
}

.image-section:hover {
  box-shadow: 0 30px 80px rgba(212, 175, 55, 0.25), 0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-8px);
}

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

.image-section:hover .image-overlay {
  opacity: 0.9;
}

.image-section:hover .image-overlay::before,
.image-section:hover .image-overlay::after {
  opacity: 1;
}

.image-section:hover img {
  transform: scale(1.12);
  filter: brightness(1) contrast(1.15) saturate(1.05);
}

/* Portfolio Project Card Enhancements */
.project-badge {
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
  transition: all 0.4s ease;
}

.project-info-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
  backdrop-filter: blur(8px);
}

.project-title {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.project-description {
}

.project-link {
}

/* Luxury Stats Counter */
.counter {
  font-weight: 800;
  background: linear-gradient(135deg, #d4af37 0%, #f4e4c1 50%, #d4af37 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

/* Contact Form Styles */
.contact-form input,
.contact-form textarea {
  border: 2px solid #e5e5e5;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #c9a961;
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.contact-form button {
  background: #1a1a1a;
  color: white;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: #c9a961;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(201, 169, 97, 0.3);
}

/* Header Scroll Effect - neutralized to keep nav readable on dark background */
header.scrolled {
  background: inherit !important;
  backdrop-filter: none;
  box-shadow: none;
}

header.scrolled .nav-link {
  color: inherit;
}

header.scrolled .nav-link:hover {
  color: inherit;
}

/* Luxury Section Divider */
.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  margin: 0 auto 2.5rem;
  position: relative;
}

.section-divider::before,
.section-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #d4af37;
  border-radius: 50%;
}

.section-divider::before {
  left: -15px;
}

.section-divider::after {
  right: -15px;
}

/* Luxury Typography */
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  color: #0a0a0a;
  letter-spacing: -1px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.section-subtitle {
  color: #6b6b6b;
  font-size: 1.125rem;
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.luxury-text {
  position: relative;
  display: inline-block;
}

.luxury-text::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #d4af37, transparent);
}

/* Luxury Accent Line */
.accent-line {
  position: relative;
  padding-left: 2.5rem;
}

.accent-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #d4af37 0%, #f4e4c1 50%, #d4af37 100%);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Parallax Effect */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Luxury Footer Styles */
footer {
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
  color: #e5e5e5;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

footer a {
  transition: all 0.3s ease;
  position: relative;
}

footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #d4af37;
  transition: width 0.3s ease;
}

footer a:hover {
  color: #d4af37;
}

footer a:hover::after {
  width: 100%;
}

/* Responsive Image */
.responsive-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Luxurious Horizontal Split Service Sections */
.service-split {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  border-radius: 1.5rem;
  box-shadow: 
    0 2px 8px rgba(30, 58, 138, 0.04),
    0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(30, 58, 138, 0.06);
}

.service-split:hover {
  box-shadow: 
    0 12px 40px rgba(30, 58, 138, 0.1),
    0 4px 16px rgba(0, 0, 0, 0.06);
  border-color: rgba(30, 58, 138, 0.12);
  transform: translateY(-2px);
}

.service-split-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 1.25rem;
  box-shadow: 
    0 8px 24px rgba(30, 58, 138, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 0 0 1px rgba(30, 58, 138, 0.05);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  padding: 12px;
  margin: 1.5rem;
}

.service-split-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.03), rgba(59, 130, 246, 0.02));
  opacity: 1;
  pointer-events: none;
}

.service-split-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  padding: 1px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.12), rgba(220, 38, 38, 0.06));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.service-split:hover .service-split-image::after {
  opacity: 1;
}

.service-split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 1rem;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.98) contrast(1.02);
}

.service-split:hover .service-split-image {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 
    0 20px 60px rgba(30, 58, 138, 0.15),
    0 10px 25px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: rgba(30, 58, 138, 0.15);
}

.service-split:hover .service-split-image img {
  transform: scale(1.04);
  filter: brightness(1) contrast(1.05);
}

.service-image-overlay {
  position: absolute;
  inset: 10px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.7) 0%, rgba(30, 64, 175, 0.6) 100%);
  opacity: 0.2;
  transition: opacity 0.6s ease;
  border-radius: 1rem;
  pointer-events: none;
}

.service-split:hover .service-image-overlay {
  opacity: 0.35;
}

.service-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2.75rem;
  position: relative;
}

.service-content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #dc2626, transparent);
  opacity: 0;
  transition: opacity 0.6s ease 0.2s;
}

.service-split:hover .service-content::before {
  opacity: 0.6;
}

/* Red CTA Buttons */
.btn-red {
  background: #dc2626;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-red:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.btn-red svg {
  transition: transform 0.3s ease;
}

.btn-red:hover svg {
  transform: translateX(4px);
}

/* Service Feature List */
.service-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.service-features li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  color: #4b5563;
  line-height: 1.6;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Service Title Accent */
.service-title-accent {
  display: inline-block;
  width: 60px;
  height: 4px;
  background: #dc2626;
  margin-bottom: 1.5rem;
}

/* Key Differentiators Section */
.differentiator-item {
}

.differentiator-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.differentiator-icon-container {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 50%;
  box-shadow: 
    0 10px 30px rgba(30, 58, 138, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(30, 58, 138, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.differentiator-icon-container::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(220, 38, 38, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.differentiator-icon-wrapper:hover .differentiator-icon-container {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 
    0 20px 50px rgba(30, 58, 138, 0.25),
    0 8px 20px rgba(0, 0, 0, 0.12),
    inset 0 0 0 1px rgba(30, 58, 138, 0.15);
}

.differentiator-icon-wrapper:hover .differentiator-icon-container::before {
  opacity: 1;
}

.differentiator-icon-container svg {
  filter: drop-shadow(0 2px 4px rgba(30, 58, 138, 0.2));
}

.differentiator-icon-wrapper:hover .differentiator-icon-container svg {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 4px 8px rgba(30, 58, 138, 0.3));
}

.differentiator-content {
}

.differentiator-content h3 {
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.differentiator-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #dc2626 0%, #1e3a8a 100%);
  border-radius: 2px;
}

.differentiator-content p {
  line-height: 1.8;
}

/* Responsive adjustments for services */
@media (max-width: 1024px) {
  .service-split-image {
    margin: 1rem;
    padding: 10px;
  }
  
  .service-content {
    padding: 2.5rem 2rem;
  }
  
  .service-content h3 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .service-split {
    border-radius: 1rem;
  }
  
  .service-split-image {
    margin: 1rem;
    padding: 8px;
    border-radius: 1rem;
  }
  
  .service-content {
    padding: 2rem 1.5rem;
  }
  
  .service-content h3 {
    font-size: 1.75rem;
  }
}

/* Responsive adjustments for differentiators */
@media (max-width: 1024px) {
  .differentiator-icon-container {
    width: 120px;
    height: 120px;
  }
  
  .differentiator-icon-container svg {
    width: 70px;
    height: 70px;
  }
  
  .differentiator-content h3 {
    font-size: 1.75rem;
  }
}

@media (max-width: 640px) {
  .differentiator-icon-container {
    width: 100px;
    height: 100px;
  }
  
  .differentiator-icon-container svg {
    width: 60px;
    height: 60px;
  }
  
  .differentiator-content h3 {
    font-size: 1.5rem;
    text-align: center;
  }
  
  .differentiator-content h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .differentiator-content p {
    text-align: center;
    font-size: 1rem;
  }
  
  .differentiator-icon-wrapper {
    margin-bottom: 1rem;
  }
}

/* Scroll Animations for Services */
.service-text-animate {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-text-animate.revealed {
  opacity: 1;
  transform: translateX(0);
}

.service-text-animate-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-text-animate-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.service-image-animate {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-image-animate.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Quality Excellence Visual Section - Cinematic */
.quality-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
}

.quality-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(30, 58, 138, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.quality-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 
    0 30px 90px rgba(30, 58, 138, 0.25),
    0 15px 40px rgba(0, 0, 0, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  width: 100%;
  aspect-ratio: 4 / 3;
  transform: perspective(1000px) rotateY(-2deg);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.quality-image-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-10px);
  box-shadow: 
    0 40px 120px rgba(30, 58, 138, 0.35),
    0 20px 60px rgba(0, 0, 0, 0.2);
}

.quality-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.9) contrast(1.1) saturate(1.05);
  transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.quality-image-wrapper.revealed img {
  transform: scale(1.15);
  filter: brightness(1) contrast(1.15) saturate(1.1);
}

.quality-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg, 
    rgba(30, 58, 138, 0.75) 0%, 
    rgba(30, 64, 175, 0.6) 40%,
    rgba(59, 130, 246, 0.4) 100%
  );
  border-radius: 1.5rem;
  opacity: 0.8;
  transition: opacity 0.8s ease;
}

.quality-image-wrapper:hover .quality-image-overlay {
  opacity: 0.6;
}

.quality-image-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(220, 38, 38, 0.2) 0%, transparent 60%);
  mix-blend-mode: overlay;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.quality-image-wrapper:hover .quality-image-overlay::before {
  opacity: 1;
}

.quality-image-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
}

.quality-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  min-height: 600px;
  position: relative;
}

.quality-content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 120px;
  background: linear-gradient(to bottom, #dc2626, #b91c1c);
  opacity: 0;
  transition: opacity 0.8s ease 0.3s;
}

.quality-content-animate.revealed::before {
  opacity: 1;
}

.quality-content-animate {
  opacity: 0;
  transform: translateX(60px) translateY(20px);
  transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.quality-content-animate.revealed {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

.quality-headline {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
  color: #1e3a8a;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: relative;
}

.quality-headline::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #dc2626, transparent);
  transition: width 0.8s ease 0.5s;
}

.quality-content-animate.revealed .quality-headline::after {
  width: 100px;
}

.quality-divider {
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, #dc2626 0%, #b91c1c 50%, transparent 100%);
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}



.quality-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 2rem;
  font-weight: 400;
}

.quality-text-highlight {
  font-size: 1.375rem;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.quality-cta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .quality-cta-wrapper {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.quality-btn-secondary {
  position: relative;
  overflow: hidden;
}

.quality-btn-secondary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: #1e3a8a;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.quality-btn-secondary:hover::before {
  width: 400px;
  height: 400px;
}

.quality-btn-secondary span {
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .quality-headline {
    font-size: 2.75rem;
  }
  
  .quality-image-wrapper {
    transform: perspective(1000px) rotateY(0deg);
  }
  
  .quality-content {
    min-height: auto;
    padding: 3rem 2rem;
  }
  
  .quality-text {
    font-size: 1.125rem;
  }
  
  .quality-text-highlight {
    font-size: 1.25rem;
  }
}

@media (max-width: 640px) {
  .quality-headline {
    font-size: 2.25rem;
  }
  
  
  .quality-content {
    padding: 2rem 1.5rem;
  }
}

/* Testimonial Cards - Premium Styling */
.testimonial-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(30, 58, 138, 0.08);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1e3a8a, #3b82f6);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(30, 58, 138, 0.15);
  border-color: rgba(30, 58, 138, 0.2);
}

.testimonial-card:hover::before {
  opacity: 1;
}

/* Testimonial Carousel Navigation */
.testimonials-carousel {
  position: relative;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: #1e3a8a;
  width: 32px;
  border-radius: 6px;
}

.carousel-dot:hover {
  background: #64748b;
}

/* Responsive Google Maps Container */
.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Adjust map height on larger screens */
@media (min-width: 768px) {
  .map-container {
    padding-bottom: 50%; /* Slightly shorter on tablets */
  }
}

@media (min-width: 1024px) {
  .map-container {
    padding-bottom: 45%; /* Even shorter on desktop for better proportions */
  }
}
