/* Google Fonts */
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

p {
  line-height: 1.8;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

/* Wood Color Palette */
:root {
  --wood-50: #faf8f5;
  --wood-100: #f5f0e8;
  --wood-200: #e8ddd0;
  --wood-300: #d4c2a8;
  --wood-400: #b89d7a;
  --wood-500: #9d7a5c;
  --wood-600: #8b6b4f;
  --wood-700: #735844;
  --wood-800: #5f4a3c;
  --wood-900: #4f3f33;
  --wood-950: #2a2119;
  
  /* Light Mode Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #faf8f5;
  --bg-tertiary: #f5f0e8;
  --text-primary: var(--wood-900);
  --text-secondary: var(--wood-700);
  --text-muted: var(--wood-600);
  --border-color: var(--wood-200);
  --shadow-color: rgba(95, 74, 60, 0.1);
}

/* Dark Mode Colors */
[data-theme="dark"] {
  --bg-primary: #1a1612;
  --bg-secondary: #25201a;
  --bg-tertiary: #2f2820;
  --text-primary: #f5f0e8;
  --text-secondary: #d4c2a8;
  --text-muted: #b89d7a;
  --border-color: #3d3329;
  --shadow-color: rgba(0, 0, 0, 0.5);
}

/* Text Colors */
.text-wood-50 { color: var(--wood-50) !important; }
.text-wood-100 { color: var(--wood-100) !important; }
.text-wood-200 { color: var(--wood-200) !important; }
.text-wood-300 { color: var(--wood-300) !important; }
.text-wood-400 { color: var(--wood-400) !important; }
.text-wood-500 { color: var(--wood-500) !important; }
.text-wood-600 { color: var(--wood-600) !important; }
.text-wood-700 { color: var(--wood-700) !important; }
.text-wood-800 { color: var(--wood-800) !important; }
.text-wood-900 { color: var(--wood-900) !important; }

/* Background Colors */
.bg-wood-50 { background-color: var(--wood-50) !important; }
.bg-wood-100 { background-color: var(--wood-100) !important; }
.bg-wood-200 { background-color: var(--wood-200) !important; }
.bg-wood-300 { background-color: var(--wood-300) !important; }
.bg-wood-400 { background-color: var(--wood-400) !important; }
.bg-wood-500 { background-color: var(--wood-500) !important; }
.bg-wood-600 { background-color: var(--wood-600) !important; }
.bg-wood-700 { background-color: var(--wood-700) !important; }
.bg-wood-800 { background-color: var(--wood-800) !important; }
.bg-wood-900 { background-color: var(--wood-900) !important; }

/* Border Colors */
.border-wood-200 { border-color: var(--wood-200) !important; }
.border-wood-300 { border-color: var(--wood-300) !important; }
.border-wood-800 { border-color: var(--wood-800) !important; }

/* Buttons */
.btn-wood {
  background: linear-gradient(135deg, var(--wood-800), var(--wood-900));
  border: none;
  color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-wood::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-wood:hover::before {
  left: 100%;
}

.btn-wood:hover {
  background: linear-gradient(135deg, var(--wood-900), var(--wood-800));
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(95, 74, 60, 0.3);
  color: white;
}

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

.btn-outline-wood {
  border: 2px solid var(--wood-800);
  color: var(--wood-800);
  background: transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-outline-wood::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--wood-800);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn-outline-wood:hover::before {
  width: 100%;
}

.btn-outline-wood:hover {
  border-color: var(--wood-800);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(95, 74, 60, 0.2);
}

.btn-outline-wood:active {
  transform: translateY(0);
}

[data-theme="dark"] .btn-outline-wood {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

[data-theme="dark"] .btn-outline-wood::before {
  background: var(--text-primary);
}

[data-theme="dark"] .btn-outline-wood:hover {
  border-color: var(--text-primary);
  color: var(--bg-primary);
}

/* Navigation */
.navbar {
  padding: 1.25rem 0;
  backdrop-filter: blur(20px);
  background: var(--bg-primary) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid var(--border-color);
}

.navbar.navbar-light {
  background: var(--bg-primary) !important;
}

.navbar .container {
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}

.navbar-collapse {
  background: transparent !important;
}

#navbarNav {
  background: transparent !important;
}

.navbar-nav {
  background: transparent !important;
}

[data-theme="dark"] .navbar {
  background: rgba(26, 22, 18, 0.98) !important;
  border-bottom-color: var(--border-color);
}

.navbar.scrolled {
  padding: 0.75rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
  border-bottom-color: rgba(95, 74, 60, 0.12);
}

.nav-link {
  color: var(--wood-800) !important;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.5rem 0.75rem !important;
  margin: 0 0.25rem;
  letter-spacing: 0.01em;
}

[data-theme="dark"] .nav-link {
  color: var(--text-primary) !important;
}

.nav-link:hover {
  color: var(--wood-600) !important;
}

[data-theme="dark"] .nav-link:hover {
  color: var(--text-secondary) !important;
}

[data-theme="dark"] .nav-link:hover {
  color: var(--text-secondary) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--wood-800);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: calc(100% - 1.5rem);
}

/* Logo */
.logo-circle {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
  flex-shrink: 0;
}

.logo-circle:hover {
  opacity: 0.8;
}

.logo-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  transition: filter 0.3s ease;
}

[data-theme="dark"] .logo-icon {
  filter: brightness(0) invert(1);
}

.navbar-brand {
  align-items: center !important;
  gap: 0.75rem;
  background: transparent !important;
  padding: 0 !important;
  flex: 1;
  min-width: 0;
}

.navbar-brand .fw-bold {
  font-size: clamp(0.875rem, 2.5vw, 1.5rem) !important;
  line-height: 1.2;
  display: flex;
  align-items: center;
  height: auto;
  min-height: 56px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.navbar-brand .fw-bold.fs-4 {
  font-size: clamp(0.875rem, 2.5vw, 1.5rem) !important;
}

[data-theme="dark"] .navbar-brand .fw-bold {
  color: var(--text-primary) !important;
}

/* Navbar Toggler (Menu Hamburguer) */
.navbar-toggler {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
}

.navbar-toggler:hover {
  border-color: var(--wood-600);
  background: var(--wood-50);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(95, 74, 60, 0.15);
  border-color: var(--wood-600);
  outline: none;
}

.navbar-toggler-icon {
  width: 24px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath stroke='%235f4a3c' stroke-linecap='round' stroke-width='4' d='M3 6h18M3 12h18M3 18h18'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: block;
  margin: 0 auto;
}

[data-theme="dark"] .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3) !important;
  background: transparent;
}

[data-theme="dark"] .navbar-toggler:hover {
  border-color: rgba(255, 255, 255, 0.6) !important;
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .navbar-toggler:focus {
  border-color: rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-width='4' d='M3 6h18M3 12h18M3 18h18'/%3e%3c/svg%3e") !important;
}

/* Theme Toggle Button */
.theme-toggle {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.25rem;
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.theme-toggle:hover {
  background: var(--bg-tertiary);
  transform: rotate(15deg);
  color: var(--wood-800);
}

[data-theme="dark"] .theme-toggle:hover {
  background: var(--bg-tertiary);
  color: var(--wood-300);
}

.theme-icon {
  transition: transform 0.3s ease;
}

.logo-circle-footer {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon-footer {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Hero Section */
.hero-section {
  padding: 140px 0 100px;
  background: linear-gradient(135deg, var(--wood-50) 0%, white 45%, var(--wood-100) 100%);
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
  transition: background 0.3s ease;
}

[data-theme="dark"] .hero-section {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 45%, var(--bg-tertiary) 100%);
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(95, 74, 60, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-badge:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.hero-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-badge-text {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--wood-900);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .hero-badge {
    padding: 0.625rem 1.25rem;
    gap: 0.625rem;
  }
  
  .hero-badge-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .hero-badge-text {
    font-size: 0.75rem;
  }
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 80px;
  left: 40px;
  width: 288px;
  height: 288px;
  background: radial-gradient(circle, var(--wood-800), transparent);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
  animation: float 6s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 80px;
  right: 40px;
  width: 384px;
  height: 384px;
  background: radial-gradient(circle, var(--wood-600), transparent);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  animation: fadeInUp 0.8s ease-out;
}

.hero-section p {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-section .btn {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

/* Service Cards */
.service-card {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-color) !important;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(95, 74, 60, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.service-card:nth-child(1) {
  animation-delay: 0.1s;
}

.service-card:nth-child(2) {
  animation-delay: 0.2s;
}

.service-card:nth-child(3) {
  animation-delay: 0.3s;
}

.service-number {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  font-size: 4rem;
  font-weight: 800;
  color: #d4c2a8;
  line-height: 1;
  z-index: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.08em;
  opacity: 0.6;
  font-family: 'Inter', sans-serif;
  pointer-events: none;
  user-select: none;
}

.service-card:hover .service-number {
  color: #c4a280;
  opacity: 0.75;
  transform: scale(1.02);
}

.service-footer {
  margin-top: auto;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(95, 74, 60, 0.03), rgba(95, 74, 60, 0.01));
  opacity: 0;
  transition: opacity 0.5s;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--wood-800), var(--wood-600));
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 28px 56px -16px rgba(95, 74, 60, 0.28) !important;
  border-color: var(--wood-300) !important;
}

.service-icon {
  width: 88px;
  height: 88px;
  background: linear-gradient(135deg, var(--wood-800) 0%, var(--wood-900) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 12px 28px rgba(95, 74, 60, 0.2);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

[data-theme="dark"] .service-icon {
  background: linear-gradient(135deg, var(--wood-700), var(--wood-800));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  color: var(--text-primary);
}

.service-icon::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  -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.5s;
}

.service-card:hover .service-icon {
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 16px 36px rgba(95, 74, 60, 0.35);
}

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

.service-card .card-body {
  padding: 3rem !important;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.service-card h3 {
  font-size: 1.625rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--wood-900);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--wood-800);
  flex-grow: 1;
  font-weight: 400;
}

.service-card .list-unstyled {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--wood-100);
}

.service-card .list-unstyled li {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 1rem;
  color: var(--wood-800);
  display: flex;
  align-items: flex-start;
  font-weight: 500;
  transition: color 0.3s;
}

.service-card:hover .list-unstyled li {
  color: var(--wood-900);
}

.service-card .list-unstyled li:last-child {
  margin-bottom: 0;
}

.service-card .list-unstyled li i {
  margin-top: 0.35rem;
  flex-shrink: 0;
  font-size: 1.125rem;
  transition: transform 0.3s;
}

.service-card:hover .list-unstyled li i {
  transform: scale(1.1);
}

.service-footer .btn {
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-footer .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(95, 74, 60, 0.15);
}

.service-footer .btn i {
  transition: transform 0.3s;
}

.service-footer .btn:hover i {
  transform: translateX(4px);
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, var(--wood-800), var(--wood-900));
  color: white;
  position: relative;
  overflow: hidden;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.stat-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.stat-icon {
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.4s ease;
}

.stat-card:hover .stat-icon {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.1) rotate(5deg);
}

.stat-number {
  color: white;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.stat-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Portfolio Cards */
.portfolio-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  border: none !important;
  border-radius: 16px;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2) !important;
}

.portfolio-image {
  height: 224px;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, var(--wood-200), var(--wood-400));
  position: relative;
  overflow: hidden;
}

.portfolio-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(95, 74, 60, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

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

.portfolio-card:hover .portfolio-image::after {
  opacity: 1;
}

.portfolio-card:hover .bi-box-arrow-up-right {
  transform: translate(5px, -5px);
  color: var(--wood-800) !important;
}

.portfolio-card .bi-box-arrow-up-right {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Testimonials Section */
.testimonials-section {
  background: var(--wood-50);
  position: relative;
  overflow: hidden;
}

.testimonials-carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 2rem 0;
}

.testimonials-track {
  display: flex;
  width: fit-content;
  animation: scroll-testimonials 40s linear infinite;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

.testimonials-slide {
  display: flex;
  gap: 2rem;
  align-items: stretch;
  padding: 0 1rem;
}

.testimonial-item {
  flex-shrink: 0;
  width: 380px;
  max-width: 100%;
}

.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--wood-200);
  box-shadow: 0 4px 16px rgba(95, 74, 60, 0.08);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: var(--wood-300);
  box-shadow: 0 20px 40px rgba(95, 74, 60, 0.15);
}

.testimonial-quote {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 3rem;
  color: var(--wood-200);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-quote i {
  font-size: 3rem;
  opacity: 0.3;
}

.testimonial-text {
  color: var(--wood-800);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  padding-top: 1rem;
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  border: 2px solid var(--wood-200);
}

.testimonial-avatar-1 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.testimonial-avatar-2 {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.testimonial-avatar-3 {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.testimonial-avatar-4 {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.testimonial-avatar-5 {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.testimonial-avatar-6 {
  background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  color: var(--wood-900);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.testimonial-role {
  color: var(--wood-600);
  font-size: 0.875rem;
}

#testimonialsCarousel {
  padding: 2rem 0;
}

#testimonialsCarousel .carousel-item {
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#testimonialsCarousel .carousel-item.active {
  display: block;
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 2rem;
  }
  
  .testimonial-text {
    font-size: 0.95rem;
  }
  
  .testimonial-avatar {
    width: 48px;
    height: 48px;
  }
  
  .testimonial-item {
    width: 320px;
  }
  
  .testimonials-slide {
    gap: 1.5rem;
    padding: 0 0.5rem;
  }
  
  .testimonials-track {
    animation-duration: 35s;
  }
}

/* Logos Section - dentro de testimonials */
.logos-section {
  background: var(--wood-50);
  position: relative;
  overflow: hidden;
}

.logos-carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logos-track {
  display: flex;
  width: fit-content;
  animation: scroll-logos 30s linear infinite;
}

.logos-track:hover {
  animation-play-state: paused;
}

.logos-slide {
  display: flex;
  gap: 5rem;
  align-items: center;
  padding: 0 2rem;
}

.logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.logo-item:hover {
  opacity: 1;
}

.logo-placeholder {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--wood-500);
  white-space: nowrap;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  min-width: 140px;
  text-align: center;
  opacity: 0.6;
  filter: grayscale(100%);
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-placeholder img {
  max-height: 28px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: all 0.3s ease;
}

.logo-item:hover .logo-placeholder {
  color: var(--wood-800);
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

.logo-item:hover .logo-placeholder img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

.logo-1 {
  color: var(--wood-700);
}

.logo-2 {
  color: var(--wood-700);
}

.logo-3 {
  color: var(--wood-700);
}

.logo-4 {
  color: var(--wood-700);
}

.logo-5 {
  color: var(--wood-700);
}

.logo-6 {
  color: var(--wood-700);
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-testimonials {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .logos-slide {
    gap: 2rem;
    padding: 0 1rem;
  }
  
  .logo-placeholder {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    min-width: 120px;
  }
}

/* Why Choose Us Section */
.why-choose-section {
  background: white;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

[data-theme="dark"] .why-choose-section {
  background: var(--bg-primary);
}

.why-badge {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  padding: 0.625rem 2rem;
  border-radius: 50px;
}

.why-choose-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--wood-200), transparent);
}

.why-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  height: 100%;
  border: 1px solid var(--wood-200);
  box-shadow: 0 4px 16px rgba(95, 74, 60, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--wood-800), var(--wood-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.why-card:hover {
  transform: translateY(-8px);
  border-color: var(--wood-300);
  box-shadow: 0 20px 40px rgba(95, 74, 60, 0.12);
}

.why-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--wood-800), var(--wood-600));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: white;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(95, 74, 60, 0.2);
}

.why-card:hover .why-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 28px rgba(95, 74, 60, 0.3);
}

.why-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.why-card p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--wood-700);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .why-card {
    padding: 2rem;
  }
  
  .why-icon {
    width: 64px;
    height: 64px;
    font-size: 1.75rem;
  }
  
  .why-card h3 {
    font-size: 1.25rem;
  }
  
  .why-card p {
    font-size: 1rem;
  }
}

/* Contact Section */
#contact-form {
  border-radius: 20px;
  background: white;
  border: 1px solid var(--wood-200);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(95, 74, 60, 0.06);
}

[data-theme="dark"] #contact-form {
  background: var(--bg-secondary);
  border-color: var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#contact-form:hover {
  border-color: var(--wood-300);
  box-shadow: 0 4px 16px rgba(95, 74, 60, 0.1) !important;
}

[data-theme="dark"] #contact-form:hover {
  border-color: var(--border-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

#contact-form .card-body {
  padding: 2.5rem;
}

@media (min-width: 768px) {
  #contact-form .card-body {
    padding: 3.5rem;
  }
}

#contact-form .input-group {
  border: 1.5px solid var(--wood-200);
  border-radius: 12px;
  background: white;
  transition: all 0.3s ease;
  overflow: hidden;
}

#contact-form .input-group:focus-within {
  border-color: var(--wood-600);
  box-shadow: 0 0 0 4px rgba(95, 74, 60, 0.1);
}

#contact-form .input-group-text {
  border: none;
  border-right: 1.5px solid var(--wood-200);
  padding: 0.875rem 1rem;
  color: var(--wood-600);
  background: white;
  transition: all 0.3s ease;
  font-size: 1.125rem;
}

#contact-form .input-group:focus-within .input-group-text {
  border-right-color: var(--wood-600);
  color: var(--wood-800);
}

[data-theme="dark"] #contact-form .input-group {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
}

[data-theme="dark"] #contact-form .input-group:focus-within {
  border-color: var(--wood-400);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] #contact-form .input-group-text {
  background: var(--bg-tertiary);
  border-right-color: var(--border-color);
  color: var(--text-secondary);
}

[data-theme="dark"] #contact-form .input-group:focus-within .input-group-text {
  border-right-color: var(--wood-400);
  color: var(--text-primary);
}

#contact-form .form-control,
#contact-form .form-select {
  border: none;
  padding: 0.875rem 1.125rem;
  font-size: 1rem;
  background: transparent;
  color: var(--wood-900);
  transition: all 0.3s ease;
}

#contact-form .form-control:focus,
#contact-form .form-select:focus {
  border: none;
  box-shadow: none;
  background: transparent;
  outline: none;
}

[data-theme="dark"] #contact-form .form-control,
[data-theme="dark"] #contact-form .form-select {
  background: transparent;
  color: var(--text-primary);
}

[data-theme="dark"] #contact-form .form-control:focus,
[data-theme="dark"] #contact-form .form-select:focus {
  background: transparent;
}


#contact-form .form-label {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
  color: var(--wood-800);
  letter-spacing: -0.01em;
  display: block;
}

[data-theme="dark"] #contact-form .form-label {
  color: var(--text-primary) !important;
}

#contact-form .form-label .text-danger {
  color: #dc3545 !important;
  font-weight: 700;
}

#contact-form textarea {
  resize: vertical;
  min-height: 140px;
  font-size: 1rem;
  line-height: 1.6;
  font-family: inherit;
}

#contact-form textarea.form-control {
  padding-top: 0.875rem;
  min-height: 120px;
}

#contact-form .input-group:has(textarea) {
  align-items: stretch;
}

#contact-form .input-group:has(textarea) .input-group-text {
  align-items: flex-start;
  padding-top: 0.875rem;
  border-right: 1.5px solid var(--wood-200);
}

#contact-form .input-group:has(textarea):focus-within .input-group-text {
  border-right-color: var(--wood-600);
}

[data-theme="dark"] #contact-form .input-group:has(textarea) .input-group-text {
  border-right-color: var(--border-color);
}

[data-theme="dark"] #contact-form .input-group:has(textarea):focus-within .input-group-text {
  border-right-color: var(--wood-400);
}

#contact-form .form-control::placeholder,
#contact-form .form-select::placeholder,
#contact-form textarea::placeholder {
  color: var(--wood-400);
  opacity: 0.7;
  font-weight: 400;
}

[data-theme="dark"] #contact-form .form-control::placeholder,
[data-theme="dark"] #contact-form .form-select::placeholder,
[data-theme="dark"] #contact-form textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

#contact-form .btn-wood-submit {
  background: linear-gradient(135deg, var(--wood-800) 0%, var(--wood-900) 100%);
  border: none;
  color: white;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(95, 74, 60, 0.25);
  border-radius: 12px;
  margin-top: 0.5rem;
}

#contact-form .btn-wood-submit:hover {
  background: linear-gradient(135deg, var(--wood-900) 0%, var(--wood-800) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(95, 74, 60, 0.4);
  color: white;
}

#contact-form .btn-wood-submit:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(95, 74, 60, 0.3);
}

#contact-form .btn-wood-submit:focus {
  color: white;
  box-shadow: 0 8px 24px rgba(95, 74, 60, 0.4), 0 0 0 4px rgba(95, 74, 60, 0.15);
}

#contact-form .btn-wood-submit i {
  font-size: 1.125rem;
}

/* Contact Icons */
.contact-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--wood-800), var(--wood-900));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin: 0 auto;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px rgba(95, 74, 60, 0.2);
}

.contact-icon:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 35px rgba(95, 74, 60, 0.3);
}

.card:hover .contact-icon {
  transform: translateY(-5px) scale(1.1);
}

/* Value Icons */
.value-icon {
  width: 48px;
  height: 48px;
  background: var(--wood-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--wood-800);
  flex-shrink: 0;
}

/* Social Icons */
.social-icon {
  width: 40px;
  height: 40px;
  background: var(--wood-800);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover {
  background: var(--wood-700);
  color: white;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 5px 15px rgba(95, 74, 60, 0.3);
}

/* Accordion */
.accordion-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-item:hover {
  border-color: var(--wood-300) !important;
  box-shadow: 0 4px 16px rgba(95, 74, 60, 0.08);
}

.accordion-button {
  color: var(--wood-900);
  font-weight: 700;
  font-size: 1.125rem;
  background-color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
}

.accordion-button:not(.collapsed) {
  color: var(--wood-900);
  background-color: var(--wood-50);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 4px rgba(95, 74, 60, 0.1);
  border-color: var(--wood-200);
}

.accordion-button:hover {
  background-color: var(--wood-50);
}

.accordion-body {
  padding: 1.5rem;
  font-size: 1rem;
  line-height: 1.75;
}

/* Form Controls */
.form-control,
.form-select {
  border: 1.5px solid var(--wood-200);
  border-radius: 12px;
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  color: var(--wood-900);
}

.form-control-lg,
.form-select-lg {
  padding: 1rem 1.5rem;
  font-size: 1.0625rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--wood-800);
  box-shadow: 0 0 0 4px rgba(95, 74, 60, 0.1);
  outline: none;
  background: white;
  color: var(--wood-900);
}

.form-control:not(:focus):hover,
.form-select:not(:focus):hover {
  border-color: var(--wood-300);
}

.form-control::placeholder {
  color: var(--wood-400);
  opacity: 0.7;
}

.form-label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: var(--wood-900);
  letter-spacing: 0.01em;
}

/* Scroll to Top Button */
.scroll-to-top-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wood-800), var(--wood-900));
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(95, 74, 60, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.scroll-to-top-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.scroll-to-top-btn:hover::before {
  width: 100%;
  height: 100%;
}

.scroll-to-top-btn.show {
  opacity: 1 !important;
  visibility: visible !important;
}

.scroll-to-top-btn:hover {
  transform: translateY(-6px) scale(1.08);
  background: linear-gradient(135deg, var(--wood-900), var(--wood-800));
  box-shadow: 0 10px 28px rgba(95, 74, 60, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.scroll-to-top-btn:active {
  transform: translateY(-4px) scale(1.05);
}

.scroll-to-top-btn i {
  transition: transform 0.3s ease;
}

.scroll-to-top-btn:hover i {
  transform: translateY(-2px);
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

/* Global improvements */
body {
  overflow-x: hidden;
}

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

/* Consistent border radius */
.card,
.btn,
.badge,
.accordion-item,
.form-control,
.form-select {
  border-radius: 12px;
}

/* Improved shadows */
.shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.shadow {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}

.shadow-lg {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

/* Better focus states */
*:focus-visible {
  outline: 2px solid var(--wood-800);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Section Padding - Consistent spacing */
section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}

#services {
  background: linear-gradient(to bottom, white 0%, var(--wood-50) 100%);
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

[data-theme="dark"] #services {
  background: linear-gradient(to bottom, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

#services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--wood-200), transparent);
}

#services::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(95, 74, 60, 0.03), transparent);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

@media (max-width: 768px) {
  section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

/* Section Headers - Consistent styling */
section .text-center {
  margin-bottom: 4rem;
}

section .badge {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  margin-bottom: 1rem;
}

section h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

section .lead {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.75;
  max-width: 700px;
  margin: 0 auto;
}

/* Badge Animations */
.badge {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(95, 74, 60, 0.15);
}

/* Card Hover Effects */
.card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
}

.card:hover {
  border-color: var(--wood-300) !important;
}

.card-body {
  padding: 2rem;
}

@media (max-width: 768px) {
  .card-body {
    padding: 1.5rem;
  }
}

/* Stats Numbers Animation */
.stats-section [data-count] {
  transition: all 0.3s ease;
}

/* Smooth Transitions */
* {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Improved spacing consistency */
.container {
  max-width: 1200px;
}

.row {
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 2rem;
}

@media (max-width: 768px) {
  .row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
  }
}

/* Better card spacing */
.card-body p {
  margin-bottom: 1rem;
}

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

/* Improved list styling */
.list-unstyled li {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.list-unstyled li:last-child {
  margin-bottom: 0;
}

/* Consistent button sizing */
.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 12px;
}

.btn {
  border-radius: 10px;
  font-weight: 500;
  padding: 0.625rem 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading States */
.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Form Focus States */
.form-control:focus,
.form-select:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(95, 74, 60, 0.15) !important;
}

/* Testimonials Cards */
.testimonials-section .card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
  height: 100%;
}

.testimonials-section .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(95, 74, 60, 0.12) !important;
  border-color: var(--wood-300) !important;
}

/* Stats Section Enhancement */
.stats-section {
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
  animation: rotate 20s linear infinite;
}

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

.stats-section .container {
  position: relative;
  z-index: 1;
}

/* Products Section */
.products-section {
  background: linear-gradient(135deg, var(--wood-900) 0%, var(--wood-800) 50%, var(--wood-900) 100%);
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}

.products-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.04), transparent 60%),
    radial-gradient(circle at 85% 70%, rgba(255, 255, 255, 0.03), transparent 60%);
  pointer-events: none;
}

.products-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.products-section .container {
  position: relative;
  z-index: 1;
}

.product-card {
  position: relative;
  height: 520px;
  border-radius: 28px;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUpProduct 0.8s ease-out forwards;
}

.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.product-card:hover::after {
  opacity: 1;
}

.product-card:nth-child(1) {
  animation-delay: 0.1s;
}

.product-card:nth-child(2) {
  animation-delay: 0.2s;
}

.product-card:nth-child(3) {
  animation-delay: 0.3s;
}

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

.product-card:hover {
  transform: translateY(-16px) scale(1.02);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.product-card:hover .product-image {
  transform: scale(1.15);
  filter: blur(0px) brightness(0.6);
}

.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(0px) brightness(0.3);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.8s, opacity 0.8s;
  opacity: 1;
  z-index: 0;
}

.product-image-1 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 30%, #4a148c 60%, #1a237e 100%);
  position: relative;
}

.product-image-1::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

.product-image-2 {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 30%, #1b5e20 60%, #004d40 100%);
  position: relative;
}

.product-image-2::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite reverse;
}

.product-image-3 {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 30%, #1a1a1a 60%, #000000 100%);
  position: relative;
}

.product-image-3::before {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -30%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  animation: float 7s ease-in-out infinite;
}

.product-image-4 {
  background: linear-gradient(135deg, #0d47a1 0%, #01579b 50%, #000000 100%);
}

.product-image-5 {
  background: linear-gradient(135deg, #880e4f 0%, #4a148c 50%, #000000 100%);
}


.product-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 0.4rem 0.875rem;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: white;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s ease;
}

.product-badge i {
  font-size: 0.8125rem;
}

.product-card:hover .product-badge {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.product-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.4s ease;
  margin-bottom: 1.25rem;
}

.product-card:hover .product-icon {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}

.product-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 60%, rgba(0, 0, 0, 0.4) 100%);
  backdrop-filter: blur(1px);
  pointer-events: auto;
}

.product-content * {
  opacity: 1 !important;
  visibility: visible !important;
  color: white !important;
}

.product-content::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  opacity: 0.5;
  z-index: 0;
}

.product-content > * {
  position: relative;
  z-index: 1;
}

.product-content h3 {
  font-size: 1.625rem;
  margin-bottom: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: #ffffff !important;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.9), 0 0 25px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 11;
  transition: transform 0.4s ease, text-shadow 0.4s ease;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.product-card:hover .product-content h3 {
  transform: translateY(-2px);
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 0, 0, 0.4);
}

.product-content p {
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  color: #ffffff !important;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 11;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.product-content p::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), transparent);
  border-radius: 2px;
}

.carousel-controls .btn {
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  color: white;
}

.carousel-controls .btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.carousel-controls .btn:active {
  transform: scale(0.95);
}

.carousel-controls .btn i {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Carousel Indicators Custom */
.products-section .carousel-indicators {
  margin-top: 3rem !important;
  margin-bottom: 0;
}

.products-section .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  margin: 0 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.6;
}

.products-section .carousel-indicators button.active {
  width: 36px;
  border-radius: 5px;
  background-color: white;
  opacity: 1;
}

.products-section .carousel-indicators button:hover {
  background-color: rgba(255, 255, 255, 0.7);
  opacity: 1;
  transform: scale(1.2);
}

/* Text White Utilities */
.text-white-50 {
  color: rgba(255, 255, 255, 0.75) !important;
}

.hover-white {
  transition: color 0.3s ease;
}

.hover-white:hover {
  color: white !important;
}

.btn-product {
  border-radius: 10px;
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: white !important;
  background: transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 2;
}

.btn-product span,
.btn-product i {
  opacity: 1 !important;
  color: white !important;
}

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

.btn-product::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: 0;
}

.btn-product:hover::before {
  left: 100%;
}

.btn-product:hover::after {
  width: 300px;
  height: 300px;
}

.btn-product:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.btn-product span,
.btn-product i {
  position: relative;
  z-index: 2;
}

.btn-product {
  position: relative;
  z-index: 2;
}

.btn-product i {
  transition: transform 0.4s ease;
}

.btn-product:hover i {
  transform: translateX(8px);
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  position: relative;
  z-index: 2;
  margin-bottom: 1.75rem;
}

.feature-item {
  display: flex !important;
  align-items: center;
  gap: 0.625rem;
  color: #ffffff !important;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  line-height: 1.5;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative;
  z-index: 11;
}

.feature-item span {
  color: #ffffff !important;
}

.feature-item i {
  color: #ffffff !important;
  font-size: 0.875rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
}

.product-card:hover .feature-item {
  transform: translateX(4px);
  color: white;
}

.product-card:hover .feature-item i {
  color: white;
  transform: scale(1.1);
}

/* Consistent spacing utilities */
.mb-section {
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .mb-section {
    margin-bottom: 3rem;
  }
}

/* Improved typography hierarchy */
.display-1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.display-3 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.display-4 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.lead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.75;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 120px 0 80px;
    min-height: auto;
  }
  
  .service-card:hover,
  .portfolio-card:hover {
    transform: translateY(-6px);
  }
  
  .service-card .card-body {
    padding: 2.25rem !important;
  }
  
  .service-icon {
    width: 72px;
    height: 72px;
    font-size: 2rem;
    margin-bottom: 1.75rem;
  }
  
  .service-card h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
  }
  
  .service-card p {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }
  
  #services .text-center {
    margin-bottom: 3.5rem !important;
  }
  
  .btn-wood:hover,
  .btn-outline-wood:hover {
    transform: translateY(-1px);
  }
  
  .products-section {
    padding: 60px 0;
  }
  
  .products-section .row.align-items-center {
    text-align: center;
  }
  
  .products-section .col-lg-4.text-end {
    text-align: center !important;
    margin-top: 2rem;
  }
  
  .product-card {
    height: 450px;
  }
  
  .product-content {
    padding: 2rem 1.5rem;
  }
  
  .product-content h3 {
    font-size: 1.375rem;
  }
  
  .product-content p {
    font-size: 0.875rem;
  }

  .product-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    top: 1rem;
    right: 1rem;
  }

  .feature-item {
    font-size: 0.875rem;
  }

  .btn-product {
    padding: 0.75rem 1.25rem;
    font-size: 0.8125rem;
  }
  
  .stats-section {
    padding: 60px 0;
  }

  .stat-card {
    padding: 2rem 1rem;
  }

  .stat-icon {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
  }

  .stat-label {
    font-size: 0.875rem;
  }
}

/* Dark Mode Styles */
[data-theme="dark"] {
  background-color: var(--bg-primary);
}

[data-theme="dark"] .card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .why-card,
[data-theme="dark"] .stat-card {
  background: var(--bg-secondary);
  border-color: var(--border-color);
  color: var(--text-primary);
}

[data-theme="dark"] .testimonial-card {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
}

[data-theme="dark"] .testimonial-text {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .testimonial-name {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .testimonial-role {
  color: var(--text-secondary) !important;
}

[data-theme="dark"] .testimonial-quote {
  color: var(--border-color) !important;
  opacity: 0.4;
}

[data-theme="dark"] .testimonial-quote i {
  opacity: 0.3;
}

[data-theme="dark"] .testimonial-avatar {
  border-color: var(--border-color);
}

[data-theme="dark"] .service-card h3 {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .service-card p {
  color: var(--text-secondary) !important;
}

[data-theme="dark"] .service-card .list-unstyled li {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .service-card .list-unstyled li i {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .service-card .list-unstyled {
  border-top-color: var(--border-color) !important;
}

[data-theme="dark"] .service-number {
  color: var(--wood-300) !important;
  opacity: 0.4;
}

[data-theme="dark"] .service-card:hover .service-number {
  color: var(--wood-200) !important;
  opacity: 0.6;
}

[data-theme="dark"] .bg-light,
[data-theme="dark"] .bg-white {
  background-color: var(--bg-secondary) !important;
}

[data-theme="dark"] .text-wood-700,
[data-theme="dark"] .text-wood-800,
[data-theme="dark"] .text-wood-900 {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .badge.bg-wood-100 {
  background-color: var(--bg-tertiary) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .badge.bg-white {
  background-color: var(--bg-secondary) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .text-wood-600 {
  color: var(--text-secondary) !important;
}

[data-theme="dark"] .hero-badge {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .hero-badge-text {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .hero-badge-icon svg path {
  fill: var(--text-primary);
  opacity: 1;
}

[data-theme="dark"] .input-group-text,
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
  background: var(--bg-secondary);
  border-color: var(--border-color);
  color: var(--text-primary);
}

[data-theme="dark"] .form-select option {
  background: white;
  color: #1a1a1a;
}

[data-theme="dark"] .form-select option:hover,
[data-theme="dark"] .form-select option:checked {
  background: var(--wood-800);
  color: white;
}

[data-theme="dark"] #contact-form .form-control,
[data-theme="dark"] #contact-form .form-select {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
  color: var(--text-primary);
}

[data-theme="dark"] #contact-form .form-control::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

[data-theme="dark"] .form-control::placeholder {
  color: var(--text-muted);
}

[data-theme="dark"] footer {
  background: var(--bg-tertiary) !important;
  border-top-color: var(--border-color);
}

[data-theme="dark"] .services-section {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

[data-theme="dark"] #services .text-center h2,
[data-theme="dark"] #services .text-center .display-4 {
  color: var(--text-primary) !important;
}

[data-theme="dark"] #services .text-center p,
[data-theme="dark"] #services .text-center .lead {
  color: var(--text-secondary) !important;
}

[data-theme="dark"] #services .badge.bg-wood-100 {
  background-color: var(--wood-900) !important;
  color: var(--wood-100) !important;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .testimonials-section {
  background: var(--bg-secondary);
}

[data-theme="dark"] #testimonials .text-center h2,
[data-theme="dark"] #testimonials .text-center .display-4 {
  color: var(--text-primary) !important;
}

[data-theme="dark"] #testimonials .text-center p,
[data-theme="dark"] #testimonials .text-center .lead {
  color: var(--text-secondary) !important;
}

[data-theme="dark"] #why-us,
[data-theme="dark"] #why-choose-us {
  background: var(--bg-primary);
}

[data-theme="dark"] #why-choose-us .text-center h2,
[data-theme="dark"] #why-choose-us .text-center .display-4 {
  color: var(--text-primary) !important;
}

[data-theme="dark"] #why-choose-us .text-center p,
[data-theme="dark"] #why-choose-us .text-center .lead {
  color: var(--text-secondary) !important;
}

[data-theme="dark"] #why-choose-us .badge.bg-wood-100 {
  background-color: var(--wood-900) !important;
  color: var(--wood-100) !important;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .why-card h3 {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .why-card p {
  color: var(--text-secondary) !important;
}

[data-theme="dark"] #contact {
  background: var(--bg-secondary);
}

[data-theme="dark"] #about {
  background: var(--bg-primary);
}

[data-theme="dark"] .accordion-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color) !important;
}

[data-theme="dark"] .accordion-button {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: none !important;
}

[data-theme="dark"] .accordion-button::after {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .accordion-button:not(.collapsed) {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: none !important;
}

[data-theme="dark"] .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .accordion-body {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: none !important;
}

[data-theme="dark"] #contact .text-center h2,
[data-theme="dark"] #contact .text-center .display-4 {
  color: var(--text-primary) !important;
}

[data-theme="dark"] #contact .text-center p,
[data-theme="dark"] #contact .text-center .lead {
  color: var(--text-secondary) !important;
}

[data-theme="dark"] #contact .badge.bg-wood-100 {
  background-color: var(--wood-900) !important;
  color: var(--wood-100) !important;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] #contact .card {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
}

[data-theme="dark"] #contact .card h3 {
  color: var(--text-primary) !important;
}

[data-theme="dark"] #contact .card p {
  color: var(--text-secondary) !important;
}

[data-theme="dark"] #contact-form .form-control,
[data-theme="dark"] #contact-form .form-select {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
  color: var(--text-primary);
}

[data-theme="dark"] #contact-form .form-select option {
  background: white;
  color: #1a1a1a;
}

[data-theme="dark"] #contact-form .form-select option:hover,
[data-theme="dark"] #contact-form .form-select option:checked {
  background: var(--wood-800);
  color: white;
}

[data-theme="dark"] #contact-form .form-control::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

/* Tablet Responsive */
@media (max-width: 992px) and (min-width: 769px) {
  .navbar-brand .fw-bold {
    font-size: clamp(1rem, 2vw, 1.25rem);
  }
  
  .logo-icon,
  .logo-circle {
    width: 48px;
    height: 48px;
  }
}

/* Mobile Improvements */
@media (max-width: 768px) {
  /* Navbar Mobile */
  .navbar {
    padding: 0.875rem 0;
    background: var(--bg-primary) !important;
  }
  
  .navbar.scrolled {
    padding: 0.5rem 0;
    background: var(--bg-primary) !important;
  }
  
  [data-theme="dark"] .navbar {
    background: rgba(26, 22, 18, 0.98) !important;
  }
  
  [data-theme="dark"] .navbar.scrolled {
    background: rgba(26, 22, 18, 0.98) !important;
  }
  
  .logo-icon,
  .logo-circle {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }
  
  .navbar-brand {
    gap: 0;
    flex: 0;
  }
  
  .navbar-brand .fw-bold {
    display: none !important;
  }
  
  .navbar-toggler {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    padding: 0.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .navbar-toggler-icon {
    width: 20px;
    height: 18px;
  }
  
  .navbar .container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }
  
  .theme-toggle {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

/* Extra Small Devices */
@media (max-width: 480px) {
  .navbar {
    padding: 0.75rem 0;
  }
  
  .logo-icon,
  .logo-circle {
    width: 36px;
    height: 36px;
  }
  
  .navbar-brand {
    gap: 0.375rem;
  }
  
  .navbar-brand .fw-bold {
    font-size: clamp(0.7rem, 4vw, 0.85rem);
    min-height: 36px;
  }
  
  .navbar-toggler {
    width: 40px;
    height: 40px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .navbar-toggler-icon {
    width: 18px;
    height: 16px;
  }
  
  .navbar .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    gap: 0.5rem;
  }
}

/* Mobile Improvements */
@media (max-width: 768px) {
  /* Hero Section Mobile */
  .hero-section {
    padding: 100px 0 60px;
  }
  
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }
  
  .hero-section h1 {
    font-size: clamp(1.875rem, 8vw, 2.5rem);
    margin-bottom: 1.25rem;
  }
  
  .hero-section .lead {
    font-size: clamp(0.9375rem, 3vw, 1.125rem);
    margin-bottom: 2rem;
  }
  
  .btn-wood,
  .btn-outline-wood {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
  }
  
  /* Services Section Mobile */
  .service-card .card-body {
    padding: 2rem 1.5rem !important;
  }
  
  .service-number {
    font-size: 3rem;
  }
  
  .service-footer {
    padding-top: 1.25rem;
  }
  
  .service-footer .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
  
  /* Products Section Mobile */
  .products-section {
    padding: 50px 0;
  }
  
  .products-section .text-center h2 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    margin-bottom: 1rem;
  }
  
  .products-section .text-center .lead {
    font-size: clamp(0.9375rem, 3vw, 1.0625rem);
    margin-bottom: 1.5rem;
  }
  
  .carousel-controls .btn {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
  
  .product-card {
    margin-bottom: 1.5rem;
  }
  
  /* Stats Section Mobile */
  .stat-card {
    padding: 1.5rem 0.75rem;
  }
  
  /* Testimonials Mobile */
  .testimonials-section {
    padding: 50px 0;
  }
  
  .testimonials-section .text-center h2 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }
  
  .testimonials-section .text-center .lead {
    font-size: clamp(0.9375rem, 3vw, 1.0625rem);
  }
  
  /* Why Choose Us Mobile */
  #why-us {
    padding: 50px 0;
  }
  
  #why-us .text-center h2 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }
  
  #why-us .text-center .lead {
    font-size: clamp(0.9375rem, 3vw, 1.0625rem);
  }
  
  /* Contact Section Mobile */
  #contact {
    padding: 50px 0;
  }
  
  #contact .text-center h2 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }
  
  #contact .text-center .lead {
    font-size: clamp(0.9375rem, 3vw, 1.0625rem);
  }
  
  #contact-form {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }
  
  #contact-form .card-body {
    padding: 2rem 1.5rem !important;
  }
  
  #contact-form .input-group {
    border-radius: 10px;
  }
  
  #contact-form .form-control,
  #contact-form .form-select {
    padding: 0.75rem 0.875rem;
    font-size: 0.9375rem;
  }
  
  #contact-form .form-label {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }
  
  #contact-form .input-group-text {
    padding: 0.75rem 0.875rem;
    font-size: 1rem;
  }
  
  #contact-form textarea.form-control {
    padding-top: 0.75rem;
    min-height: 100px;
  }
  
  #contact-form .input-group:has(textarea) .input-group-text {
    padding-top: 0.75rem;
  }
  
  #contact-form .input-group:focus-within {
    box-shadow: 0 0 0 3px rgba(95, 74, 60, 0.1);
  }
  
  [data-theme="dark"] #contact-form .input-group:focus-within {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
  }
  
  #contact-form .input-group-lg .form-control,
  #contact-form .input-group-lg .form-select,
  #contact-form .input-group-lg .input-group-text {
    padding: 0.75rem 1rem;
  }
  
  /* FAQ Mobile */
  .accordion-button {
    padding: 1rem;
    font-size: 0.9375rem;
  }
  
  .accordion-body {
    padding: 1rem;
    font-size: 0.9375rem;
  }
  
  /* Footer Mobile */
  footer {
    padding: 3rem 0 2rem;
  }
  
  footer h5 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  footer p,
  footer a {
    font-size: 0.875rem;
  }
  
  /* Scroll to Top Mobile */
  #scroll-to-top {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
    bottom: 20px;
    right: 20px;
  }
  
  /* Section Titles Mobile */
  .section-title,
  .display-4 {
    font-size: clamp(1.75rem, 8vw, 2.5rem) !important;
  }
  
  /* Badge Mobile */
  .badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }
  
  .why-badge {
    font-size: 0.65rem !important;
    padding: 0.5rem 0.875rem !important;
    letter-spacing: 0.05em !important;
    max-width: 90%;
    text-align: center;
    line-height: 1.4;
    white-space: normal !important;
    word-break: break-word;
  }
  
  /* Container Padding Mobile */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* General Spacing Mobile */
  .mb-5 {
    margin-bottom: 3rem !important;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}
