/* ================= CSS VARIABLES ================= */
:root {
  /* Colors */
  --bg-primary: #faf8f5;
  --bg-soft: #ffffff;
  --bg-dark: #2b2b2b;
  --accent-primary: #7a8f72;
  --accent-secondary: #9db08e;
  --accent-dark: #5a6f52;
  --text-primary: #2b2b2b;
  --text-secondary: #5a5a5a;
  --text-light: #8a8a8a;
  --border-color: #e5e5e5;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;
}

/* ================= RESET & BASE ================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ================= TYPOGRAPHY ================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-secondary);
}

/* ================= CONTAINER ================= */
.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ================= SECTIONS ================= */
.section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

.section-soft {
  background: var(--bg-soft);
}

.section-dark {
  background: var(--bg-dark);
  color: white;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: white;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.8);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-lg);
}

.section-title {
  margin-bottom: var(--spacing-sm);
  position: relative;
  display: inline-block;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* ================= HEADER ================= */
.header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  position: relative;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: var(--transition-base);
  z-index: 1100;
}

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

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

.nav a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  position: relative;
  padding: 0.5rem 0;
}

.nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width var(--transition-base);
}

.nav a:not(.btn):hover::after {
  width: 100%;
}

.nav a:not(.btn):hover {
  color: var(--accent-primary);
}

/* Hamburger Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 1100;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  width: 28px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 3px;
  transition: all var(--transition-base);
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

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

.hamburger::after {
  top: 8px;
}

.nav-toggle.active .hamburger {
  background: transparent;
}

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

.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--accent-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(122, 143, 114, 0.4);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(122, 143, 114, 0.5);
}

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

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

.btn-small {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
}

.btn-large {
  padding: 1.125rem 2.5rem;
  font-size: 1.05rem;
}

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

.btn-arrow {
  transition: transform var(--transition-base);
}

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

/* Button Loading State */
.btn .btn-loader {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

.btn.loading .btn-text {
  display: none;
}

.btn.loading .btn-loader {
  display: block;
}

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

/* ================= HERO ================= */
.hero {
  position: relative;
  height: 92vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 700px;
}

.hero-text-wrapper {
  animation: heroFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title-line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: lineSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-title-line:nth-child(1) {
  animation-delay: 0.2s;
}

.hero-title-line:nth-child(2) {
  animation-delay: 0.4s;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

/* Hero Animations */
@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: white;
  opacity: 0.8;
  animation: bounce 2s infinite;
}

.scroll-text {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-arrow {
  stroke: white;
}

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

/* Hero Pagination */
.hero-pagination {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  z-index: 2;
  display: flex;
  gap: 0.75rem;
}

.pagination-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  transition: all var(--transition-base);
  cursor: pointer;
}

.pagination-dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.pagination-dot.active {
  background: white;
  border-color: white;
  width: 32px;
  border-radius: var(--radius-full);
}

/* ================= TRUST BADGES ================= */
.trust-section {
  padding: 3rem 0;
  background: linear-gradient(to bottom, var(--bg-soft), var(--bg-primary));
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.trust-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.trust-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border-radius: var(--radius-md);
  color: white;
}

.trust-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.trust-text strong {
  font-size: 1.25rem;
  font-family: var(--font-heading);
  color: var(--text-primary);
}

.trust-text span {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* ================= PORTFOLIO ================= */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
}

.portfolio-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 1;
}

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

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

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-tag {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ================= LIGHTBOX ================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity var(--transition-base);
  padding: 2rem;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  animation: zoomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: all var(--transition-base);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all var(--transition-base);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

/* ================= WHY CHOOSE US ================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.why-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

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

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

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.why-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border-radius: var(--radius-md);
  color: white;
  transition: transform var(--transition-base);
}

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

.why-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.why-card p {
  font-size: 1rem;
  line-height: 1.7;
}

/* ================= EXPERIENCE STEPS ================= */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  position: relative;
  padding: 2rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
}

.step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  position: absolute;
  top: -1.5rem;
  left: 2rem;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-heading);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(122, 143, 114, 0.3);
}

.step-content h4 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  color: var(--accent-primary);
}

.step-content p {
  font-size: 1rem;
  line-height: 1.7;
}

.step-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  position: relative;
}

.step-connector::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid var(--accent-secondary);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* ================= PRICING ================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.price-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
  position: relative;
  border: 2px solid transparent;
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-primary);
}

.price-card.featured {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-md);
  transform: scale(1.05);
}

.price-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(122, 143, 114, 0.3);
}

.price-header {
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 2rem;
}

.price-header h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent-primary);
  line-height: 1;
}

.price-features {
  list-style: none;
  margin-bottom: 2rem;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--text-secondary);
}

.check-icon {
  flex-shrink: 0;
  stroke: var(--accent-primary);
  stroke-width: 2.5;
}

.reassure {
  text-align: center;
  margin-top: 3rem;
  font-size: 1.125rem;
  color: var(--text-secondary);
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* ================= ABOUT ================= */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 4rem;
  align-items: center;
}

.about-content {
  max-width: 550px;
}

.about-label {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.about-content h2 {
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.about-intro {
  font-size: 1.375rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.about-content p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.about-cta {
  margin-top: 2rem;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-badge {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
}

.about-badge svg {
  color: var(--accent-primary);
}

.about-badge span {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

/* ================= TESTIMONIALS ================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 6rem;
  font-family: var(--font-heading);
  color: var(--accent-primary);
  opacity: 0.1;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  color: #fbbf24;
}

.testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--border-color);
}

.testimonial-author strong {
  font-size: 1.125rem;
  color: var(--text-primary);
}

.testimonial-author span {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* ================= CONTACT FORM ================= */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.form-group label {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: white;
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition-base);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(122, 143, 114, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 20px;
  padding-right: 3rem;
}

.contact-form select option {
  background: var(--bg-dark);
  color: white;
}

.contact-form button[type="submit"] {
  margin-top: 1rem;
  width: 100%;
}

.form-success {
  display: none;
  text-align: center;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  margin-top: 2rem;
  backdrop-filter: blur(10px);
}

.form-success.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.form-success svg {
  margin: 0 auto 1.5rem;
  stroke: var(--accent-primary);
}

.form-success h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.form-success p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
}

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

/* ================= FOOTER ================= */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 800px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin: 0 0 0.5rem 0;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.social-link {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--accent-primary);
  transform: translateY(-4px);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.footer-credit p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  margin: 0.25rem 0;
}

.portfolio-credit {
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-credit a {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-base);
}

.portfolio-credit a:hover {
  color: var(--accent-primary);
}

.credit-logo {
  width: 32px;
  height: 32px;
  border-radius: 4px;
}
.credit-logo {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  margin-right: 0.5rem; 
  margin-left: 0.5rem;
  vertical-align: middle; 
  transition: all 0.3s ease;
}


/* ================= BACK TO TOP ================= */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-primary);
  color: white;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 999;
}

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

.back-to-top:hover {
  background: var(--accent-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ================= REVEAL ANIMATIONS ================= */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .step-connector {
    display: none;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

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

  .nav-toggle {
    display: flex;
  }

  .nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: min(300px, 80%);
    background: white;
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-base);
    gap: 1.5rem;
    z-index: 1000;
  }

  .nav ul.open {
    right: 0;
  }

  .nav a {
    font-size: 1.125rem;
  }

  .hero {
    height: 85vh;
  }

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

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

  .scroll-indicator {
    display: none;
  }

  .hero-pagination {
    bottom: 2rem;
    right: 50%;
    transform: translateX(50%);
  }

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

  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
  }

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

  .price-card.featured {
    transform: scale(1);
  }

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

  .about-image {
    order: -1;
  }

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

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev {
    left: 1rem;
  }

  .lightbox-next {
    right: 1rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

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

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

  .section-header {
    margin-bottom: var(--spacing-md);
  }

  .why-card,
  .step,
  .testimonial-card {
    padding: 1.5rem;
  }

  .lightbox {
    padding: 1rem;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
  }
}

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

/* Focus Styles */
:focus-visible {
  outline: 3px solid var(--accent-primary);
  outline-offset: 3px;
}

/* Print Styles */
@media print {
  .header,
  .nav-toggle,
  .hero-pagination,
  .scroll-indicator,
  .back-to-top,
  .lightbox {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .why-card:nth-child(3) {
    grid-column: 1 / -1 !important;   
    justify-self: center !important; 
    max-width: 400px !important;      
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .testimonial-card:nth-child(3) {
    grid-column: 1 / -1 !important;   /* make it span the full row */
    justify-self: center !important;  /* center it horizontally */
    max-width: 400px !important;      /* optional: match your grid sizing */
  }
}

/* ================= PRICING GRID RESPONSIVE ================= */

/* Mobile & small tablets (iPad Mini, Air, Pro) */
@media (max-width: 1024px) {
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 2rem;
    justify-items: stretch;               
  }

  .pricing-grid .price-card:nth-child(3) {
    grid-column: 1 / -1;   
    justify-self: center;  
    width: 50%;           
  }
  .pricing-grid .price-card .btn {
    background-color: var(--accent-primary) !important; 
    color: #ffffff !important;                           
    border: 1px solid var(--accent-dark) !important;   
  }

  .pricing-grid .price-card .btn:hover {
    background-color: var(--accent-secondary) !important; 
    color: #ffffff !important;
  }
}

/* Extra small devices (mobile portrait <768px) */
@media (max-width: 767px) {
  .pricing-grid {
    grid-template-columns: 1fr;  
    gap: 1.5rem;
    justify-items: center;
  }

  .pricing-grid .price-card {
    width: 100%;                 
  }

  /* Keep buttons visible on mobile */
  .pricing-grid .price-card .btn {
    width: 100%;
  }
   .pricing-grid .price-card:nth-child(3) {
    width: 100%;
   }
}