@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  --font-primary: 'Plus Jakarta Sans', Arial, Helvetica, sans-serif;
  
  /* Color Palette */
  --primary-main: #d95a2b;
  --primary-hover: #b84a22;
  --primary-light: #fef1ea;
  
  --secondary-main: #1a1a1a;
  --secondary-hover: #000000;
  --secondary-light: #333333;
  
  --accent-cream: #f5f2eb;
  --accent-dark-brown: #3c2f24;
  
  --bg-white: #ffffff;
  --bg-off-white: #f9f6f0;
  --bg-dark-section: #1c1c1c;
  --bg-gallery-section: #1a1a1a;
  
  --text-dark: #1a1a1a;
  --text-medium: #4a4a4a;
  --text-white: #ffffff;
  --text-muted: #777777;
  
  /* Spacing */
  --spacing-base: 16px;
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;
  --section-padding: 80px;
  --container-max-width: 1170px;
  --grid-gap: 30px;
  
  /* Focus Indicators */
  --focus-outline: 2px solid #d95a2b;
  --focus-halo: 0 0 0 4px rgba(217, 90, 43, 0.25);
}

/* Reset and Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-white);
  color: var(--text-medium);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

/* Typography styles */
.h1-style {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.05;
  color: var(--text-dark);
}

.h2-style {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

.h3-style {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}

.section-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-main);
  margin-bottom: var(--spacing-sm);
  display: inline-block;
}

.body-large {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-medium);
}

.body-base {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #555555;
}

.body-small {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-muted);
}

.badge-number {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-main);
}

/* Margin Utilities */
.mb-xs { margin-bottom: var(--spacing-xs); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.mb-xxl { margin-bottom: var(--spacing-xxl); }
.mt-xxl { margin-top: var(--spacing-xxl); }

/* Text Utilities */
.text-white { color: var(--text-white) !important; }
.text-medium { color: var(--text-medium) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-primary { color: var(--primary-main) !important; }
.font-semibold { font-weight: 600; }
.italic { font-style: italic; }

/* Structural Helper Classes */
.flex-grow { flex-grow: 1; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.d-flex { display: flex; }
.flex-col { flex-direction: column; }
.align-center { align-items: center; }
.inline-flex { display: inline-flex; }
.gap-xs { gap: 4px; }
.gap-sm { gap: 8px; }
.p-xl { padding: var(--spacing-xl); }
.p-lg { padding: var(--spacing-lg); }
.p-md { padding: var(--spacing-md); }
.m-0 { margin: 0; }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-60 { margin-top: 60px; }
.mt-80 { margin-top: var(--section-padding); }
.max-w-600 { max-width: 600px; }
.max-w-650 { max-width: 650px; }
.max-w-700 { max-width: 700px; }
.max-w-800 { max-width: 800px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.display-img {
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--spacing-xxl);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-main);
  flex-shrink: 0;
}

.contact-promo {
  margin-top: var(--spacing-xxl);
  padding: var(--spacing-xl);
  text-align: center;
  background-color: var(--bg-off-white);
}

.gap-md { gap: var(--spacing-md); }
.gap-xl { gap: var(--spacing-xl); }
.mt-sm { margin-top: var(--spacing-sm); }
.step-number {
  background-color: var(--primary-light);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.step-desc {
  padding-left: 44px;
}
.stat-number {
  font-size: 48px;
  line-height: 1;
}
.fs-16 { font-size: 16px; }
.fs-18 { font-size: 18px; }

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--spacing-lg);
  padding-left: var(--spacing-lg);
}

.grid {
  display: grid;
  gap: var(--grid-gap);
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.flex {
  display: flex;
}

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

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.py-section {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

/* Layout backgrounds */
.bg-cream {
  background-color: var(--accent-cream);
}

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

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

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 {
  color: var(--text-white);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.nav-container {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-weight: 800;
  font-size: 22px;
  color: var(--text-dark);
  text-transform: capitalize;
}

.logo-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

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

.nav-list {
  display: flex;
  list-style: none;
  gap: var(--spacing-xl);
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-main);
  transition: width 0.3s ease;
}

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

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-sm);
  color: var(--text-dark);
}

.mobile-menu-wrapper {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background-color: var(--bg-white);
  border-bottom: 2px solid var(--accent-cream);
  padding: var(--spacing-lg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  z-index: 999;
}

.mobile-menu-wrapper.active {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.mobile-nav-link {
  display: block;
  font-size: 18px;
  font-weight: 600;
  padding: var(--spacing-sm) 0;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--primary-main);
}

/* Page spacing top offset for sticky header */
.main-content {
  margin-top: 80px;
}

/* Button Component Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-main);
  color: var(--text-white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(217, 90, 43, 0.35);
}

.btn-primary:active {
  transform: scale(0.96);
}

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

.btn-outline-dark:hover {
  background-color: var(--secondary-main);
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(26, 26, 26, 0.15);
}

.btn-outline-dark:active {
  transform: scale(0.96);
}

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

.btn-outline-white:hover {
  background-color: var(--text-white);
  color: var(--secondary-main);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

.btn-outline-white:active {
  transform: scale(0.96);
}

/* Card Component Styles */
.card-default {
  background-color: var(--bg-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-default:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.card-dark {
  background-color: #2a2a2a;
  border-radius: 12px;
  color: var(--text-white);
  padding: var(--spacing-xl);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-dark:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Form Styles */
.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

.input-default {
  background: var(--bg-white);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 14px 18px;
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-dark);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.input-default:focus {
  border-color: var(--primary-main);
  outline: none;
  box-shadow: 0 0 0 4px rgba(217, 90, 43, 0.1);
}

.input-default:disabled {
  background: #f5f5f5;
  opacity: 0.6;
  cursor: not-allowed;
}

textarea.input-default {
  resize: vertical;
  min-height: 120px;
}

/* Hero Section Styles */
.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: var(--spacing-xxl);
}

.hero-image-wrapper {
  position: relative;
}

.hero-image {
  border-radius: 20px;
  width: 100%;
  height: 500px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

/* User Specific Layout Requirement: hero buttons */
.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

/* Philosophy overlap stack design */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: var(--spacing-xxl);
}

.overlapping-collage {
  position: relative;
  height: 480px;
  width: 100%;
}

.collage-img {
  position: absolute;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border: 4px solid var(--bg-white);
  object-fit: cover;
}

.collage-img-1 {
  width: 60%;
  height: 280px;
  top: 0;
  left: 0;
  z-index: 3;
}

.collage-img-2 {
  width: 60%;
  height: 280px;
  bottom: 0;
  right: 0;
  z-index: 2;
}

.collage-img-3 {
  width: 50%;
  height: 220px;
  top: 15%;
  right: 15%;
  z-index: 1;
  opacity: 0.8;
}

.pill-badge {
  display: inline-block;
  padding: 8px 18px;
  background-color: var(--primary-light);
  color: var(--primary-main);
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  margin-right: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

/* Services section header grid */
.grid-header-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  margin-bottom: 60px;
  align-items: flex-end;
}

/* Metrics grid */
.metrics-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--spacing-xxl);
  align-items: center;
}

/* Testimonials elements */
.stars {
  color: var(--primary-main);
  font-size: 24px;
  margin-bottom: var(--spacing-md);
}

.testimonial-quote {
  margin-bottom: var(--spacing-lg);
}

.testimonial-author {
  font-weight: 600;
}

/* CTA Banner elements */
.cta-banner {
  background-color: var(--accent-cream);
  border-radius: 24px;
  margin: 0 var(--spacing-lg) var(--spacing-xxl);
  padding: var(--section-padding) 0;
}

/* FAQ Accordion Styles */
.accordion-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.accordion-item:hover {
  background-color: var(--bg-off-white);
  padding-left: 12px;
  padding-right: 12px;
}

.accordion-item.expanded {
  background-color: var(--primary-light);
  border-left: 3px solid var(--primary-main);
  padding-left: 16px;
  padding-right: 16px;
}

/* Step Timeline Styles */
.timeline {
  position: relative;
  padding-left: 40px;
  border-left: 2px solid var(--accent-cream);
}

.timeline-step {
  position: relative;
  margin-bottom: var(--spacing-xxl);
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -53px;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--primary-main);
  border: 4px solid var(--bg-white);
  box-shadow: 0 0 0 2px var(--primary-main);
}

/* Modal Popup Styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(26, 26, 26, 0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
}

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

.modal-content {
  background-color: var(--bg-white);
  border-radius: 20px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-header {
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: var(--text-dark);
  font-weight: bold;
}

.modal-body {
  padding: var(--spacing-xl);
}

.modal-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.modal-text {
  line-height: 1.8;
  color: var(--text-medium);
}

.modal-text p {
  margin-bottom: 12px;
}

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

/* Footer Section */
.footer {
  background-color: var(--secondary-main);
  color: var(--text-white);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.footer-watermark {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 150px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.02);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--spacing-xxl);
  margin-bottom: var(--spacing-xxl);
}

.footer-brand-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.footer-socials {
  display: flex;
  gap: var(--spacing-md);
}

.social-icon-link svg {
  fill: var(--text-white);
  width: 20px;
  height: 20px;
  transition: fill 0.3s;
}

.social-icon-link:hover svg {
  fill: var(--primary-main);
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: var(--spacing-lg);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-link {
  color: #b0b0b0;
  font-size: 15px;
}

.footer-link:hover {
  color: var(--primary-main);
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--spacing-xl);
  text-align: center;
  color: #888888;
  font-size: 14px;
}

/* Accessibility settings */
*:focus-visible {
  outline: var(--focus-outline);
  box-shadow: var(--focus-halo);
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .container {
    padding-right: var(--spacing-xl);
    padding-left: var(--spacing-xl);
  }
}

@media (max-width: 992px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-xl);
  }
  
  .h1-style {
    font-size: 42px;
  }
  
  .hero-layout, .philosophy-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .hero-image {
    height: 380px;
  }
  
  .overlapping-collage {
    height: 380px;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .collage-img-1, .collage-img-2 {
    height: 220px;
  }
  
  .collage-img-3 {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .py-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  
  .h1-style {
    font-size: 32px;
  }
  
  .h2-style {
    font-size: 28px;
  }
  
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .nav-list {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .logo-wrapper {
    font-size: 20px;
  }
  
  /* User requirements: flex direction column on mobile */
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  /* User requirements: grid header and metrics layout 1fr on mobile */
  .grid-header-2col {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .metrics-layout {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
}
