/* ============================================
   CSS Variables & Reset
============================================ */
:root {
  --color-white: #ffffff;
  --color-black: #000000;
  --color-gray-100: #f7f7f7;
  --color-gray-200: #e5e5e5;
  --color-gray-600: #525252;
  --color-gray-800: #262626;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.2s ease;
  --font-family:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-white);
  color: var(--color-black);
  overflow-x: hidden;
}

/* ============================================
   Navigation Bar
============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(-100%);
  transition: var(--transition-smooth);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0);
}

.navbar.visible {
  opacity: 1;
  transform: translateY(0);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 48px;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-gray-800);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding: 8px 0;
  transition: var(--transition-fast);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-black);
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--color-black);
}

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

/* ============================================
   Hero Section
============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--color-white);
  position: relative;
}

.logo-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main-logo {
  width: 60%;
  max-width: 600px;
  min-width: 280px;
  height: auto;
  fill: var(--color-black);
  opacity: 0;
  animation: flyInLeft 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.3s;
}

/* Taglines */
.taglines {
  text-align: center;
  margin-top: 32px;
  opacity: 0;
  animation: fadeInTaglines 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 1.5s;
}

.tagline-bold {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-black);
  margin-bottom: 8px;
}

.tagline-italic {
  font-size: clamp(14px, 2vw, 18px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--color-gray-600);
}

@keyframes fadeInTaglines {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-logo {
  width: 60%;
  max-width: 600px;
  min-width: 280px;
  height: auto;
  fill: var(--color-black);
}

@keyframes flyInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLogo {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeInIndicator 1s ease forwards;
  animation-delay: 2s;
}

.scroll-indicator span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gray-600);
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--color-gray-600);
  border-bottom: 2px solid var(--color-gray-600);
  transform: rotate(45deg);
  animation: bounceArrow 2s ease-in-out infinite;
}

@keyframes fadeInIndicator {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes bounceArrow {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }
  50% {
    transform: rotate(45deg) translateY(8px);
  }
}

/* ============================================
   Content Sections
============================================ */
.section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px 40px;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-gray-200);
  /* Shrink/Expand animation support */
  will-change: transform, opacity, border-radius;
  transform-origin: center center;
  transition: border-radius 0.1s ease-out;
  overflow: hidden;
  position: relative;
}

.section:nth-child(even) {
  background-color: var(--color-gray-100);
}

.section-content {
  max-width: 800px;
  text-align: center;
}

.section-content h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: var(--color-black);
}

.section-content p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-gray-600);
  font-weight: 400;
}

/* ============================================
   Responsive Design
============================================ */
@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
    height: 70px;
  }

  .nav-links {
    gap: 24px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .nav-logo img {
    height: 24px;
  }

  .main-logo {
    width: 80%;
  }

  .section {
    padding: 80px 20px;
  }
}

@media (max-width: 480px) {
  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 10px;
    letter-spacing: 0.3px;
  }
}

/* ============================================
   Framer-Style Scroll Animations
============================================ */

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #000000, #333333);
  z-index: 1001;
  width: 0%;
  transition: width 0.1s ease-out;
}

/* Base animation state - elements start hidden */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(100px) scale(0.95);
  transition: 
    opacity 0.9s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Animated in state */
.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Child elements for staggered animations */
.animate-child {
  opacity: 0;
  transform: translateY(50px) scale(0.96);
  transition: 
    opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.animate-child.animate-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Parallax container styling */
.logo-container {
  will-change: transform, opacity;
  transition: none;
}

/* Section content enhancements */
.section-content h2 {
  will-change: transform, opacity;
}

.section-content p {
  will-change: transform, opacity;
}

/* Hover effects for sections */
.section-content h2 {
  transition: 
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-content:hover h2 {
  transform: translateY(-4px);
}

/* Smooth fade for nav links when scrolling */
.nav-links li {
  opacity: 0;
  animation: fadeInNav 0.5s ease forwards;
}

.navbar.visible .nav-links li:nth-child(1) { animation-delay: 0.1s; }
.navbar.visible .nav-links li:nth-child(2) { animation-delay: 0.15s; }
.navbar.visible .nav-links li:nth-child(3) { animation-delay: 0.2s; }
.navbar.visible .nav-links li:nth-child(4) { animation-delay: 0.25s; }

@keyframes fadeInNav {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hide nav items when navbar is not visible */
.navbar:not(.visible) .nav-links li {
  animation: none;
  opacity: 0;
}

/* ============================================
   Services Section - Interactive Card Layout
============================================ */
.services-section {
  min-height: auto;
  padding: 100px 40px 120px;
  background: linear-gradient(180deg, var(--color-white) 0%, #f8f9fa 100%);
}

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

.services-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -1.5px;
  color: var(--color-black);
  margin-bottom: 16px;
}

.services-subtitle {
  font-size: 18px;
  color: var(--color-gray-600);
  font-weight: 400;
  max-width: 500px;
  margin: 0 auto;
}

/* Services Grid - Responsive 3-2-1 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start; /* Prevent cards from stretching to match expanded card height */
}

/* Service Card Base */
.service-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  /* Entrance animation */
  opacity: 0;
  transform: translateY(30px);
  transition: 
    opacity 0.5s ease-out,
    transform 0.5s ease-out,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  box-shadow: 
    0 2px 12px rgba(0, 0, 0, 0.04),
    0 1px 3px rgba(0, 0, 0, 0.02);
}

/* Animated in state */
.service-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays */
.service-card:nth-child(1) { transition-delay: 0s; }
.service-card:nth-child(2) { transition-delay: 0.05s; }
.service-card:nth-child(3) { transition-delay: 0.1s; }
.service-card:nth-child(4) { transition-delay: 0.15s; }
.service-card:nth-child(5) { transition-delay: 0.2s; }
.service-card:nth-child(6) { transition-delay: 0.25s; }
.service-card:nth-child(7) { transition-delay: 0.3s; }
.service-card:nth-child(8) { transition-delay: 0.35s; }

/* Card Glow Effect - Removed for performance */
.service-card-glow {
  display: none;
}

/* Card Shine Effect - Removed for performance */
.service-card-shine {
  display: none;
}

/* Hover States - Only when NOT expanded */
.service-card:not(.expanded):hover {
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
}

/* Card Header */
.service-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  position: relative;
  z-index: 2;
}

/* Service Icon */
.service-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.08) 100%);
  border-radius: 14px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: #1a1a1a;
  transition: color 0.3s ease;
}

.service-card:not(.expanded):hover .service-icon {
  transform: scale(1.05);
}

/* Service Info */
.service-info {
  flex: 1;
  min-width: 0;
}

.service-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--color-black);
  margin-bottom: 4px;
  line-height: 1.3;
}

.service-tagline {
  font-size: 13px;
  color: var(--color-gray-600);
  line-height: 1.4;
  margin: 0;
}

/* Expand Icon */
.service-expand-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  transition: 
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.3s ease;
}

.service-expand-icon svg {
  width: 16px;
  height: 16px;
  color: var(--color-gray-600);
  transition: 
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    color 0.3s ease;
}

.service-card:not(.expanded):hover .service-expand-icon {
  background: rgba(0, 0, 0, 0.1);
}

.service-card:not(.expanded):hover .service-expand-icon svg {
  color: var(--color-black);
}

/* Expanded State - Icon rotates to minus */
.service-card.expanded .service-expand-icon svg {
  transform: rotate(45deg);
}

.service-card.expanded .service-expand-icon {
  background: var(--color-black);
}

.service-card.expanded .service-expand-icon svg {
  color: #fff;
}

/* Service Card Content - Accordion */
.service-card-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 24px;
  transition: 
    max-height 0.4s ease-out,
    opacity 0.3s ease-out,
    padding 0.4s ease-out;
}

.service-card.expanded .service-card-content {
  max-height: 500px;
  opacity: 1;
  padding: 0 24px 24px;
}

/* Service List */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 16px;
}

.service-list li {
  position: relative;
  padding: 10px 0 10px 24px;
  font-size: 14px;
  color: var(--color-gray-800);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: 
    color 0.3s ease,
    transform 0.3s ease,
    padding-left 0.3s ease;
}

.service-list li:last-child {
  border-bottom: none;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #333 0%, #666 100%);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.service-list li:hover {
  color: var(--color-black);
  padding-left: 28px;
}

.service-list li:hover::before {
  transform: translateY(-50%) rotate(45deg);
}

/* Expanded card styling */
.service-card.expanded {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 
    0 12px 32px rgba(0, 0, 0, 0.08),
    0 6px 16px rgba(0, 0, 0, 0.04);
}

/* Request a Quote CTA */
.services-cta {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

.quote-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: var(--color-black);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 100px;
  transition: 
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s ease,
    background 0.3s ease;
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.1);
}

.quote-button svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.quote-button:hover {
  transform: translateY(-4px) scale(1.02);
  background: #222;
  box-shadow: 
    0 16px 40px rgba(0, 0, 0, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.15);
}

.quote-button:hover svg {
  transform: translateX(4px);
}

.quote-button:active {
  transform: translateY(-2px) scale(1);
}

/* ============================================
   Responsive - Services Grid
============================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 80px 20px 100px;
  }

  .services-header {
    margin-bottom: 48px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .service-card {
    border-radius: 16px;
  }
  
  .service-card:hover {
    transform: translateY(-4px) scale(1.01);
  }
  
  .service-card-header {
    padding: 20px;
  }
  
  .service-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
  }
  
  .service-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .service-title {
    font-size: 15px;
  }
  
  .service-tagline {
    font-size: 12px;
  }
  
  .service-card-content {
    padding: 0 20px;
  }
  
  .service-card.expanded .service-card-content {
    padding: 0 20px 20px;
  }
  
  .services-cta {
    margin-top: 40px;
  }
  
  .quote-button {
    padding: 16px 28px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .services-section {
    padding: 60px 16px 80px;
  }
  
  .service-card-header {
    padding: 16px;
    gap: 12px;
  }
  
  .service-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }
  
  .service-expand-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }
  
  .service-expand-icon svg {
    width: 14px;
    height: 14px;
  }
  
  .service-list li {
    font-size: 13px;
    padding: 8px 0 8px 20px;
  }
  
  .quote-button {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }
}

/* ============================================
   About Section - Luxury Framer Style
============================================ */
.about-section {
  position: relative;
  min-height: 100vh;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.about-bg-texture {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 80% 50%, rgba(0, 0, 0, 0.02) 0%, transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  pointer-events: none;
}

.about-bg-texture::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.015;
  pointer-events: none;
}

.about-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  align-items: center;
}

/* Photo Container */
.about-photo-container {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  border-radius: 16px;
}

.about-photo-inner {
  width: 100%;
  height: 100%;
  position: relative;
  filter: blur(4px) saturate(0.5);
  transform: scale(1.05);
  transition: 
    filter 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-photo-container.in-view .about-photo-inner {
  filter: blur(0px) saturate(1);
  transform: scale(1);
}

/* Photo Placeholder - CSS Generated Visual */
.photo-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0d0d0d 100%);
  overflow: hidden;
}

.photo-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 60%, rgba(60, 60, 60, 0.4) 0%, transparent 40%),
    radial-gradient(ellipse at 70% 40%, rgba(80, 80, 80, 0.3) 0%, transparent 35%),
    radial-gradient(ellipse at 50% 80%, rgba(40, 40, 40, 0.5) 0%, transparent 50%);
}

.photo-texture {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.02) 50%, transparent 60%),
    linear-gradient(-45deg, transparent 40%, rgba(255, 255, 255, 0.015) 50%, transparent 60%);
  background-size: 100px 100px;
}

.photo-highlight {
  position: absolute;
  top: 30%;
  left: 20%;
  width: 60%;
  height: 40%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  filter: blur(20px);
  opacity: 0;
  transition: opacity 0.8s ease 0.6s;
}

.about-photo-container.in-view .photo-highlight {
  opacity: 1;
}

/* Dust Particles */
.photo-dust-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.photo-dust-particles span {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  opacity: 0;
  animation: dustFloat 8s infinite ease-in-out;
}

.about-photo-container.in-view .photo-dust-particles span {
  opacity: 1;
}

.photo-dust-particles span:nth-child(1) { left: 20%; top: 30%; animation-delay: 0s; }
.photo-dust-particles span:nth-child(2) { left: 40%; top: 50%; animation-delay: 0.5s; }
.photo-dust-particles span:nth-child(3) { left: 60%; top: 35%; animation-delay: 1s; }
.photo-dust-particles span:nth-child(4) { left: 25%; top: 60%; animation-delay: 1.5s; }
.photo-dust-particles span:nth-child(5) { left: 70%; top: 55%; animation-delay: 2s; }
.photo-dust-particles span:nth-child(6) { left: 35%; top: 40%; animation-delay: 2.5s; }
.photo-dust-particles span:nth-child(7) { left: 55%; top: 65%; animation-delay: 3s; }
.photo-dust-particles span:nth-child(8) { left: 45%; top: 25%; animation-delay: 3.5s; }
.photo-dust-particles span:nth-child(9) { left: 65%; top: 45%; animation-delay: 4s; }
.photo-dust-particles span:nth-child(10) { left: 30%; top: 55%; animation-delay: 4.5s; }

@keyframes dustFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  25% {
    transform: translate(10px, -15px) scale(1.2);
    opacity: 0.6;
  }
  50% {
    transform: translate(5px, -30px) scale(0.8);
    opacity: 0.4;
  }
  75% {
    transform: translate(-5px, -20px) scale(1.1);
    opacity: 0.5;
  }
}

/* Photo Shimmer Effect */
.photo-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255, 255, 255, 0.15) 40%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.15) 60%,
    transparent 80%
  );
  transform: translateX(-150%);
  transition: none;
}

.about-photo-container.in-view .photo-shimmer {
  animation: photoShimmer 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@keyframes photoShimmer {
  0% {
    transform: translateX(-150%);
  }
  100% {
    transform: translateX(150%);
  }
}

/* Glassmorphism Card - Light Theme */
.about-glass-card {
  position: relative;
  margin-left: -80px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 56px 48px;
  /* More dramatic entrance */
  transform: translateX(120px) scale(0.9) rotateY(-8deg);
  opacity: 0;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
  transition: 
    transform 1s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

.about-glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%
  );
  pointer-events: none;
}

.about-glass-card.in-view {
  transform: translateX(0) scale(1) rotateY(0deg);
  opacity: 1;
}

.about-glass-card.in-view {
  transform: translateX(0);
  opacity: 1;
}

.glass-card-inner {
  position: relative;
  z-index: 1;
}

/* Typography - Light Theme with dramatic animations */
.about-headline {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: 2px;
  color: #000000;
  margin-bottom: 24px;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: 
    opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-glass-card.in-view .about-headline {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.2s;
}

.about-subheadline {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 400;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.6;
  margin-bottom: 32px;
  font-style: italic;
  opacity: 0;
  transform: translateY(50px) scale(0.96);
  transition: 
    opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-glass-card.in-view .about-subheadline {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.35s;
}

.about-body {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: 
    opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-glass-card.in-view .about-body {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.5s;
}

.about-paragraph {
  font-size: 15px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.8;
  margin: 0;
}

.about-divider {
  width: 60px;
  height: 1px;
  background: rgba(0, 0, 0, 0.15);
  margin: 24px 0;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: 
    opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-glass-card.in-view .about-signature {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.65s;
}

.signature-icon {
  width: 24px;
  height: 24px;
  color: rgba(0, 0, 0, 0.4);
}

.signature-icon svg {
  width: 100%;
  height: 100%;
}

.signature-text {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.4);
}

/* ============================================
   About Section - Responsive
============================================ */
@media (max-width: 1024px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 40px;
  }
  
  .about-photo-container {
    height: 400px;
    border-radius: 16px 16px 0 0;
  }
  
  .about-glass-card {
    margin-left: 0;
    margin-top: -40px;
    border-radius: 24px;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 60px 0;
  }
  
  .about-container {
    padding: 0 20px;
  }
  
  .about-photo-container {
    height: 300px;
  }
  
  .about-glass-card {
    padding: 40px 28px;
    margin-top: -30px;
  }
  
  .about-headline {
    letter-spacing: 1px;
    margin-bottom: 20px;
  }
  
  .about-subheadline {
    margin-bottom: 24px;
  }
  
  .about-paragraph {
    font-size: 14px;
  }
  
  .about-divider {
    margin: 20px 0;
  }
  
  .about-signature {
    margin-top: 32px;
    padding-top: 20px;
  }
}

@media (max-width: 480px) {
  .about-glass-card {
    padding: 32px 24px;
    border-radius: 20px;
  }
  
  .about-headline {
    font-size: 22px;
  }
  
  .signature-text {
    font-size: 10px;
    letter-spacing: 1.5px;
  }
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
  position: relative;
  min-height: 100vh;
  background: #ffffff;
  padding: 120px 0;
  overflow: hidden;
}

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

.contact-info-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 32px;
  padding: 48px;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.04),
    0 1px 3px rgba(0, 0, 0, 0.02);
  opacity: 0;
  transform: translateX(-50px);
  cursor: pointer;
  transition: 
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease;
}

.contact-section.in-view .contact-info-card {
  opacity: 1;
  transform: translateX(0);
}

.contact-header {
  margin-bottom: 40px;
}

.contact-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.contact-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: #000;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.method-icon {
  width: 48px;
  height: 48px;
  background: #f8f9fa;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #000;
}

.method-icon svg {
  width: 24px;
  height: 24px;
}

.method-details h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #000;
}

.method-details p, .method-details a {
  font-size: 15px;
  color: #666;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.method-details a:hover {
  color: #000;
}

.map-container {
  width: 100%;
  height: 600px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateX(50px);
  cursor: pointer;
  transition: 
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-section.in-view .map-container {
  opacity: 1;
  transform: translateX(0);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .map-container {
    height: 450px;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 80px 0;
  }
  
  .contact-container {
    padding: 0 20px;
  }
  
  .contact-info-card {
    padding: 32px;
  }
}

/* ============================================
   Contact Section - Refactored Layout
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: stretch;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Contact Form Card */
.contact-form-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 32px;
  padding: 48px;
  box-shadow: 
    0 24px 48px rgba(0, 0, 0, 0.06),
    0 4px 12px rgba(0, 0, 0, 0.02);
  opacity: 0;
  transform: translateX(50px);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: 
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease;
}

.contact-section.in-view .contact-form-card {
  opacity: 1;
  transform: translateX(0);
}

.form-header {
  margin-bottom: 32px;
}

.form-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
}

.form-header p {
  font-size: 15px;
  color: #666;
  line-height: 1.5;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-grow: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.form-group label span {
  color: #999;
  font-size: 12px;
  font-weight: 400;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  color: #000;
  transition: all 0.3s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  background: #fff;
  border-color: #000;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.phone-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.phone-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: #666;
}

.phone-input-wrapper input {
  padding-left: 44px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.form-textarea-group {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.form-textarea {
  min-height: 120px;
  flex-grow: 1;
  resize: vertical;
}

.submit-button {
  margin-top: 12px;
  padding: 16px 32px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.submit-button:hover {
  background: #222;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

/* Hover Animation for Contact Cards */
.contact-info-card:hover,
.map-container:hover,
.contact-form-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 
    0 32px 64px rgba(0, 0, 0, 0.12),
    0 16px 32px rgba(0, 0, 0, 0.08),
    0 8px 16px rgba(0, 0, 0, 0.04),
    inset 0 1px 1px rgba(255, 255, 255, 1);
}

/* Override existing scroll animations with hover state */
.contact-section.in-view .contact-info-card:hover,
.contact-section.in-view .map-container:hover,
.contact-section.in-view .contact-form-card:hover {
  transform: translateY(-12px) scale(1.02);
}

/* Override existing map/info styles for sidebar */
.contact-sidebar .contact-info-card {
  width: 100%;
  margin: 0;
  transform: translateX(-50px);
}

.contact-sidebar .map-container {
  height: 350px;
  width: 100%;
  transform: translateX(-50px);
  margin-top: 0;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Form Success Message */
.form-success-message {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 40px;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: 
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.form-success-message.visible {
  display: flex;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  animation: successPulse 2s ease-in-out infinite;
}

.success-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

@keyframes successPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(16, 185, 129, 0);
  }
}

.form-success-message h3 {
  font-size: 28px;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
}

.form-success-message p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  max-width: 320px;
}

/* Contact form fade-out transition */
.contact-form {
  transition: 
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* Loading spinner animation */
.submit-button .spinner {
  animation: spin 1s linear infinite;
}

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

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

/* ============================================
   Reviews Section - Modern Glass Cards
============================================ */
.reviews-section {
  padding: 120px 40px;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
  /* Framing Scroll Animation Support */
  will-change: transform, opacity, border-radius;
  transform-origin: center center;
  transition: border-radius 0.1s ease-out;
}

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

.reviews-header {
  text-align: center;
  margin-bottom: 60px;
}

.reviews-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--color-black);
}

.reviews-subtitle {
  font-size: 18px;
  color: var(--color-gray-600);
  max-width: 600px;
  margin: 0 auto;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.review-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: 
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  opacity: 0;
  transform: translateY(40px);
}

.review-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.review-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.04);
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
}

.star {
  color: #ffb800;
  font-size: 18px;
}

.review-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-gray-800);
  margin-bottom: 32px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
}

.author-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 2px;
}

.author-status {
  font-size: 12px;
  color: var(--color-gray-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .reviews-section {
    padding: 80px 20px;
  }
  
  .review-card {
    padding: 30px;
  }
}
