/* Bear Loft Storage - Modern CSS Variables and Styles */
:root {
  --primary-brown: #6b4e31;
  --accent-copper: #d4a373;
  --cream-bg: #f8f1e9;
  --dark-gray: #2d2d2d;
  --white: #ffffff;
  
  /* Enhanced color palette */
  --primary-brown-light: #8b6649;
  --primary-brown-dark: #4d3721;
  --accent-copper-light: #e2b48a;
  --accent-copper-dark: #c69960;
  --cream-bg-light: #faf7f2;
  --cream-bg-dark: #f0e8dc;
  
  /* Typography */
  --font-primary: 'Montserrat', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Border radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
}

/* Base styles */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  color: var(--dark-gray);
  background-color: var(--cream-bg);
  line-height: 1.7;
  margin: 0;
  overflow-x: hidden;
  font-size: var(--font-size-base);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: var(--spacing-md);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

/* Utility classes */
.text-primary { color: var(--primary-brown); }
.text-accent { color: var(--accent-copper); }
.text-dark { color: var(--dark-gray); }
.text-white { color: var(--white); }

.bg-primary { background-color: var(--primary-brown); }
.bg-accent { background-color: var(--accent-copper); }
.bg-cream { background-color: var(--cream-bg); }
.bg-white { background-color: var(--white); }

.gradient-primary {
  background: linear-gradient(135deg, var(--primary-brown), var(--primary-brown-light));
}

.gradient-accent {
  background: linear-gradient(135deg, var(--accent-copper), var(--accent-copper-light));
}

.gradient-hero {
  background: linear-gradient(135deg, var(--primary-brown), var(--accent-copper));
}

/* Enhanced Universal Button Styles */
.btn,
.btn-primary,
.btn-accent {
  display: inline-block;
  padding: var(--spacing-md) var(--spacing-xl);
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn::before,
.btn-primary::before,
.btn-accent::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 var(--transition-slow);
}

.btn:hover::before,
.btn-primary:hover::before,
.btn-accent:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary-brown), var(--accent-copper));
  color: var(--white);
}

.btn-primary:hover {
  background: linear-gradient(90deg, var(--accent-copper), #f4d03f);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.btn-accent {
  background: linear-gradient(90deg, var(--accent-copper), var(--accent-copper-light));
  color: var(--white);
}

.btn-accent:hover {
  background: linear-gradient(90deg, var(--accent-copper-light), #f4d03f);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-accent:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Enhanced card styles */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 163, 115, 0.1), rgba(107, 78, 49, 0.1));
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

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

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

/* Enhanced navigation */
.nav {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.nav.scrolled {
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.95);
}

/* Enhanced mobile navigation animations */
.animate-slide-in {
  animation: slideInFromRight 0.3s ease-out forwards;
}

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

/* Floating action button */
.fab-btn {
  position: relative;
  overflow: hidden;
}

.fab-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

.fab-btn:active::before {
  width: 100px;
  height: 100px;
}

/* Quick actions styling */
.quick-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 500;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  transition: all 0.2s;
}

.quick-actions a:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Navigation auto-hide on scroll */
nav {
  transition: transform 0.3s ease;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .animate-slide-in {
    animation: none;
  }
  
  .fab-btn {
    transition: none;
  }
  
  nav {
    transition: none;
  }
}

/* Enhanced touch targets for mobile */
@media (max-width: 1279px) {
  .mobile-nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
  }
  
  .loft-menu-btn {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Mobile navigation adjustments for new menu items */
@media (max-width: 1279px) {
  .nav-links {
    max-width: 320px;
    padding: 2rem 1rem;
  }
  
  .nav-links a {
    padding: 0.8rem 0;
    font-size: 1rem;
  }
}

/* Address form styling */
.address-section {
  background: var(--cream-bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--accent-copper-light);
}

.address-section h3 {
  color: var(--primary-brown);
  font-weight: 600;
}

/* Postcode loading animation */
#postcode-loading {
  opacity: 0;
  transition: opacity var(--transition-base);
}

#postcode-loading:not(.hidden) {
  opacity: 1;
}

/* Disabled select styling */
select:disabled {
  background-color: var(--cream-bg-dark);
  cursor: not-allowed;
  opacity: 0.6;
}

/* Address dropdown styling */
#address-street option {
  padding: var(--spacing-sm);
}

.nav-link {
  font-weight: 500;
  color: var(--dark-gray);
  padding: var(--spacing-sm) var(--spacing-md);
  text-decoration: none;
  position: relative;
  transition: all var(--transition-base);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-copper);
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--accent-copper);
}

/* Hero section enhancements */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(107, 78, 49, 0.3), rgba(212, 163, 115, 0.2));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 800px;
  padding: var(--spacing-xl);
}

.hero-logo {
  width: 180px;
  height: 180px;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin: 0 auto var(--spacing-lg);
  box-shadow: var(--shadow-xl);
  border: 3px solid var(--accent-copper);
}

/* Section dividers */
.section-divider {
  height: 3rem;
  background: linear-gradient(135deg, rgba(212, 163, 115, 0.1), var(--cream-bg));
  position: relative;
  overflow: hidden;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 163, 115, 0.3), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Enhanced forms */
.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-label {
  display: block;
  font-weight: 500;
  color: var(--dark-gray);
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-sm);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--spacing-md);
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  transition: all var(--transition-base);
  background: var(--white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-copper);
  box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.1);
  transform: translateY(-2px);
}

.form-input.is-valid {
  border-color: #10b981;
}

.form-input.is-invalid {
  border-color: #ef4444;
}

.invalid-feedback {
  color: #ef4444;
  font-size: var(--font-size-sm);
  margin-top: var(--spacing-xs);
}

/* Enhanced carousel */
.carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.carousel {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item {
  flex: 0 0 100%;
  padding: var(--spacing-xl);
}



.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-lg);
  gap: var(--spacing-sm);
}

.carousel-dot {
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background: #d1d5db;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.carousel-dot:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left var(--transition-slow);
}

.carousel-dot:hover {
  background: linear-gradient(135deg, var(--accent-copper), var(--accent-copper-dark));
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-dot:hover:before {
  left: 100%;
}

.carousel-dot.active {
  background: linear-gradient(135deg, var(--accent-copper), var(--accent-copper-dark));
  transform: scale(1.3);
  box-shadow: 0 4px 12px rgba(212, 163, 115, 0.3);
}

/* Loading animation */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cream-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity var(--transition-slow);
}

.loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--accent-copper);
  border-top: 4px solid var(--primary-brown);
  border-radius: var(--radius-full);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 768px) {
  :root {
    --font-size-5xl: 2.5rem;
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.5rem;
  }
  
  .hero-logo {
    width: 140px;
    height: 140px;
  }
  
  .hero-content {
    padding: var(--spacing-md);
  }
  

}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent-copper);
  outline-offset: 2px;
}

/* ===================================
   ADDITIONAL STYLES FROM INLINE CSS
   =================================== */

/* Override body styles */
body {
  font-family: "Montserrat", sans-serif;
  color: var(--dark-gray);
  background-color: var(--cream-bg);
  line-height: 1.7;
  margin: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--dark-gray);
}

/* ===================================
   OPTIMIZED HERO VIDEO - NO PARALLAX
   =================================== */

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
  text-align: center;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: none !important; /* Disable any parallax transforms to ensure full container coverage */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 2rem;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.25rem;
  font-weight: 400;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
}

.hero-logo {
  max-width: 180px;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1/1;
  margin: 0 auto 1.5rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--accent-copper);
  cursor: pointer;
  transition: all 0.3s ease;
  animation: logoFloat 3s ease-in-out infinite;
  transform-origin: center;
}

.hero-logo:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  border-color: var(--white);
}

.hero-logo:active {
  transform: scale(0.95) rotate(-5deg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

.hero-logo.clicked {
  animation: logoSpin 1s ease-in-out;
}

@keyframes logoSpin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(90deg) scale(1.2);
  }
  50% {
    transform: rotate(180deg) scale(1.1);
  }
  75% {
    transform: rotate(270deg) scale(1.2);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

/* Enhanced Universal Button Styles */
.btn-primary,
.hero-btn {
  background: linear-gradient(90deg, var(--primary-brown), var(--accent-copper));
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary:before,
.hero-btn: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 ease;
}

.btn-primary:hover,
.hero-btn:hover {
  background: linear-gradient(90deg, var(--accent-copper), #f4d03f);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover:before,
.hero-btn:hover:before {
  left: 100%;
}

.btn-primary:active,
.hero-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* ===================================
   NAVIGATION ENHANCED STYLES
   =================================== */

nav {
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

nav.scrolled {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.nav-links a {
  font-weight: 500;
  font-size: 1rem;
  color: var(--dark-gray);
  padding: 0.75rem 1.25rem;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-copper);
  border-bottom: 2px solid var(--accent-copper);
}

/* Loft Menu Button Animation */
.loft-menu-btn.open .beam-1 {
  transform: rotate(45deg) translate(6px, 6px);
}

.loft-menu-btn.open .beam-2 {
  opacity: 0;
  transform: translateX(-20px);
}

.loft-menu-btn.open .beam-3 {
  transform: rotate(-45deg) translate(6px, -6px);
}

.loft-menu-btn.open {
  background: linear-gradient(135deg, var(--accent-copper), #d4a373) !important;
}

/* Mobile Navigation States */
.nav-links.open {
  transform: translateX(0) !important;
}

.nav-backdrop.show {
  opacity: 1 !important;
  pointer-events: all !important;
}

/* Mobile Menu Specific Styles */
.mobile-nav-link {
  min-height: 60px;
  position: relative;
  overflow: hidden;
}

.mobile-nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-brown), var(--accent-copper));
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.mobile-nav-link.active::before,
.mobile-nav-link:hover::before {
  transform: scaleY(1);
}

.mobile-nav-link.active {
  background: linear-gradient(to right, rgba(107, 78, 49, 0.05), rgba(212, 163, 115, 0.05));
  color: var(--primary-brown);
}

.mobile-menu-close {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.mobile-menu-close:active {
  transform: scale(0.95);
}

/* Smooth menu slide animation */
.nav-links {
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Touch-friendly spacing */
.mobile-nav-link i {
  min-width: 24px;
  text-align: center;
}

/* Scrollbar styling for mobile menu */
.mobile-menu-content::-webkit-scrollbar {
  width: 4px;
}

.mobile-menu-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

.mobile-menu-content::-webkit-scrollbar-thumb {
  background: var(--accent-copper);
  border-radius: 2px;
}

.mobile-menu-content::-webkit-scrollbar-thumb:hover {
  background: var(--primary-brown);
}

@media (min-width: 1280px) {
  .loft-menu-btn {
    display: none;
  }
}

/* Section Divider */
.section-divider {
  background: linear-gradient(180deg, rgba(212, 163, 115, 0.1), var(--cream-bg));
  height: 3rem;
}

/* Cards */
.service-card,
.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.service-card:hover,
.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Testimonial Carousel */
.carousel-container {
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  flex: 0 0 100%;
  padding: 1.5rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

/* Enhanced Carousel Dots */
.carousel-dot {
  width: 14px;
  height: 14px;
  background: #d1d5db;
  border-radius: 50%;
  margin: 0 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

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

.carousel-dot:hover {
  background: linear-gradient(135deg, var(--accent-copper), #c8965a);
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-dot:hover:before {
  left: 100%;
}

.carousel-dot.active {
  background: linear-gradient(135deg, var(--accent-copper), #c8965a);
  transform: scale(1.3);
  box-shadow: 0 4px 12px rgba(212, 163, 115, 0.3);
}

/* Form Styling */
.quote-form input,
.quote-form select,
.quote-form textarea {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.875rem;
  background: var(--white);
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--accent-copper);
  box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.1);
  outline: none;
}

.quote-form label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
  display: block;
}

/* Enhanced Form Button Styles */
.quote-form button,
.quote-form a {
  border-radius: 12px;
  padding: 1rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quote-form button {
  background: linear-gradient(90deg, var(--primary-brown), var(--accent-copper));
  color: var(--white);
}

.quote-form button: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 ease;
}

.quote-form button:hover {
  background: linear-gradient(90deg, var(--accent-copper), #f4d03f);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.quote-form button:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* ===== Transformation Modal Styles ===== */
#transformation-modal {
  z-index: 9999;
}

#transformation-modal .bg-white {
  max-height: 95vh;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

#transformation-modal.show .bg-white {
  transform: scale(1);
}

#transformation-modal img {
  transition: transform 0.3s ease;
}

#transformation-modal .hover\:scale-110:hover {
  transform: scale(1.1);
}

/* Responsive adjustments for modal */
@media (max-width: 768px) {
  #transformation-modal .bg-white {
    margin: 1rem;
    max-height: 90vh;
  }
  
  #transformation-modal .p-8 {
    padding: 1.5rem;
  }
  
  #transformation-modal .grid-cols-1.lg\:grid-cols-2 {
    grid-template-columns: 1fr;
  }
}

/* Footer Styling */
footer {
  background: linear-gradient(180deg, var(--primary-brown), var(--dark-gray));
  color: var(--cream-bg);
  padding: 4rem 2rem 2rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 2rem;
}

.footer-logo {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-copper);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.footer-logo:hover {
  color: #c8965a;
}

.footer-logo-img {
  max-width: 100px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  border: 3px solid var(--accent-copper);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.footer-logo-img:hover {
  transform: scale(1.05);
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-copper);
  margin-bottom: 1.5rem;
}

.footer-links a,
.footer-contact a {
  color: var(--cream-bg);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  display: block;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--accent-copper);
  transform: translateY(-2px);
}

.footer-social a {
  font-size: 1.75rem;
  color: var(--cream-bg);
  margin: 0 0.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  color: var(--accent-copper);
  transform: scale(1.1);
}

.footer-divider {
  border-top: 2px solid var(--accent-copper);
  margin: 3rem 0;
  opacity: 0.3;
}

.footer-credit {
  font-size: 0.9rem;
  text-align: center;
  color: var(--cream-bg);
}

.footer-credit a {
  color: var(--accent-copper);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-credit a:hover {
  color: #c8965a;
}

/* FAQ Accordion */
details {
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

details summary {
  padding: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

details summary:hover {
  background: var(--cream-bg);
}

details[open] summary {
  background: var(--cream-bg);
}

/* Loading Animation */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--cream-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity 0.5s ease;
}

.loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  border: 4px solid var(--accent-copper);
  border-top: 4px solid var(--primary-brown);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Deals Section */
.deal-card {
  position: relative;
  overflow: hidden;
}

.deal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 163, 115, 0.1) 0%, rgba(107, 78, 49, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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

.deal-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(45deg, #f59e0b, #eab308);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.deal-card button {
  background: linear-gradient(90deg, var(--primary-brown), var(--accent-copper));
  transition: all 0.3s ease;
}

.deal-card button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Enhanced animations */
.animate-pulse-slow {
  animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .5;
  }
}

/* AI Chatbot Styles */
.chat-toggle-btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-brown), var(--accent-copper));
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-toggle-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.chat-notification-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 12px;
  height: 12px;
  background: #ef4444;
  border-radius: 50%;
  border: 2px solid white;
  animation: pulse 2s infinite;
}

.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 500px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 163, 115, 0.2);
}

.chat-window.show {
  transform: translateY(0);
  opacity: 1;
}

.chat-header {
  background: linear-gradient(135deg, var(--primary-brown), var(--accent-copper));
  color: white;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid white;
}

.chat-title h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.chat-title p {
  margin: 0;
  font-size: 0.75rem;
  opacity: 0.9;
}

.chat-close-btn {
  margin-left: auto;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.chat-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-message {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.bot-message {
  justify-content: flex-start;
}

.user-message {
  justify-content: flex-end;
}

.message-content {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.bot-message .message-content {
  background: var(--cream-bg);
  color: var(--dark-gray);
  border-bottom-left-radius: 4px;
}

.user-message .message-content {
  background: linear-gradient(135deg, var(--primary-brown), var(--accent-copper));
  color: white;
  border-bottom-right-radius: 4px;
}

.chat-input-container {
  padding: 16px;
  border-top: 1px solid rgba(212, 163, 115, 0.2);
  display: flex;
  gap: 8px;
}

.chat-input-container input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(212, 163, 115, 0.3);
  border-radius: 24px;
  outline: none;
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
}

.chat-input-container input:focus {
  border-color: var(--accent-copper);
}

.chat-input-container button {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-brown), var(--accent-copper));
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-input-container button:hover {
  transform: scale(1.1);
}

.chat-input-container button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  background: var(--cream-bg);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  max-width: 80%;
}

.typing-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-copper);
  border-radius: 50%;
  animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

/* Responsive enhancements */
@media (max-width: 768px) {
  .hero-video {
    /* Ensure video fills on mobile devices with proper aspect ratio handling */
    min-width: 100vw;
    min-height: 100vh;
    width: 100vw;
    height: 100vh;
    /* Handle landscape mobile devices */
    max-width: none;
    max-height: none;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-logo {
    max-width: 140px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .deal-card {
    padding: 1.5rem;
  }
  
  .deal-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
  
  .chat-window {
    width: 300px;
    height: 450px;
    /* Force desktop styling consistency */
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(212, 163, 115, 0.2);
  }
  
  .chat-toggle-btn {
    width: 56px;
    height: 56px;
    font-size: 1.3rem;
    /* Force desktop styling consistency */
    background: linear-gradient(135deg, var(--primary-brown), var(--accent-copper));
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
  }
  
  .chat-header {
    /* Force desktop styling consistency */
    background: linear-gradient(135deg, var(--primary-brown), var(--accent-copper));
    color: white;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .bot-message .message-content {
    /* Force desktop styling consistency */
    background: var(--cream-bg);
    color: var(--dark-gray);
    border-bottom-left-radius: 4px;
  }
  
  .user-message .message-content {
    /* Force desktop styling consistency */
    background: linear-gradient(135deg, var(--primary-brown), var(--accent-copper));
    color: white;
    border-bottom-right-radius: 4px;
  }
  
  .chat-input-container button {
    /* Force desktop styling consistency */
    background: linear-gradient(135deg, var(--primary-brown), var(--accent-copper));
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  /* Service cards mobile consistency */
  .service-card {
    /* Force desktop styling consistency */
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }
  
  .service-card:hover {
    /* Force desktop styling consistency */
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }
  
  /* Process cards mobile consistency */
  .process-card {
    /* Force desktop styling consistency */
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
  }
  
  .process-card:hover {
    /* Force desktop styling consistency */
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
  }
  
  /* Deal badge mobile consistency */
  .deal-badge {
    /* Force desktop styling consistency */
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-weight: 600;
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .hero-video {
    /* Optimise video display for tablets */
    width: 100vw;
    height: 100vh;
    min-width: 100vw;
    min-height: 100vh;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-video {
    /* Ensure video scales properly on large screens */
    width: 100vw;
    height: 100vh;
    min-width: 100vw;
    min-height: 100vh;
  }
  
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile text consistency fixes */
@media (max-width: 768px) {
  /* Force font rendering consistency on mobile */
  * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* Fix any blank font issues */
  .deal-badge,
  .chat-header,
  .chat-message,
  .service-card,
  .process-card,
  .testimonial-card {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: inherit;
  }
  
  /* Ensure text is visible on mobile */
  .chat-header h3,
  .chat-header p {
    color: white !important;
  }
  
  .bot-message .message-content {
    color: var(--dark-gray) !important;
  }
  
  .user-message .message-content {
    color: white !important;
  }
  
  .deal-badge {
    color: white !important;
    font-weight: 600 !important;
  }
  
  /* Fix any invisible text issues */
  .service-card h3,
  .service-card p,
  .process-card h3,
  .process-card p {
    color: var(--dark-gray) !important;
  }
}

/* Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent-copper);
  outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
  }
} 

/* Process Section Styles */
.process-step {
  position: relative;
  overflow: visible;
}

.process-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: visible;
}

.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-brown), var(--accent-copper));
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 1;
}

.process-card:hover::before {
  opacity: 0.05;
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.process-number {
  background: linear-gradient(135deg, var(--primary-brown), var(--accent-copper));
  color: var(--white);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-size-sm);
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  box-shadow: var(--shadow-md);
}

.lottie-container {
  position: relative;
  z-index: 2;
}

.lottie-container > div {
  background: linear-gradient(135deg, var(--primary-brown), var(--accent-copper));
  border-radius: 50%;
  transition: all var(--transition-base);
}

.lottie-container:hover > div {
  transform: scale(1.1);
}

.process-features {
  position: relative;
  z-index: 2;
}

.process-features .fas {
  color: var(--accent-copper);
  margin-right: 0.5rem;
}

.process-arrow {
  background: linear-gradient(135deg, var(--primary-brown), var(--accent-copper));
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-sm);
  box-shadow: var(--shadow-md);
  animation: pulse 2s infinite;
}

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

.process-card.animate-in {
  animation: processCardSlide 0.6s ease-out;
}

/* Mobile responsiveness for process section */
@media (max-width: 768px) {
  .process-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .process-number {
    width: 1.5rem;
    height: 1.5rem;
    font-size: var(--font-size-xs);
  }
  
  .lottie-container {
    height: 6rem;
  }
  
  .lottie-container > div {
    width: 4rem;
    height: 4rem;
  }
  
  .process-features {
    text-align: center;
  }
}

/* 3D Model Viewer Styles */
.model-viewer-container {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

#model-viewer {
  position: relative;
  width: 100%;
  height: 24rem;
  background: linear-gradient(135deg, var(--cream-bg-light), var(--cream-bg-dark));
  border-radius: var(--radius-lg);
  cursor: grab;
}

#model-viewer:active {
  cursor: grabbing;
}

#model-viewer canvas {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
}

/* Model Loading States */
.model-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.loading-spinner {
  width: 3rem;
  height: 3rem;
  border: 4px solid var(--accent-copper);
  border-top: 4px solid var(--primary-brown);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

.loading-progress {
  width: 200px;
  height: 4px;
  background: var(--cream-bg-dark);
  border-radius: 2px;
  overflow: hidden;
  margin: 1rem auto 0;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-brown), var(--accent-copper));
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.model-error {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--dark-gray);
}

.model-error i {
  font-size: 2rem;
  color: var(--accent-copper);
  margin-bottom: 1rem;
}

.error-subtitle {
  font-size: var(--font-size-sm);
  color: var(--dark-gray);
  opacity: 0.8;
  margin-top: 0.5rem;
}

/* Interaction Hints */
.model-hints {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  z-index: 20;
  transition: opacity 0.3s ease;
}

.hint-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.hint-item:last-child {
  margin-bottom: 0;
}

.hint-item i {
  width: 1rem;
  text-align: center;
  opacity: 0.8;
}

/* Model Features */
.model-features {
  margin-top: 2rem;
}

.feature-item {
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
}

.feature-icon {
  background: linear-gradient(135deg, var(--primary-brown), var(--accent-copper));
  color: var(--white);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.05);
}

.feature-item h4 {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: var(--font-size-lg);
  color: var(--primary-brown);
  margin-bottom: 0.5rem;
}

.feature-item p {
  font-size: var(--font-size-sm);
  color: var(--dark-gray);
  opacity: 0.8;
  line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #model-viewer {
    height: 20rem;
  }
  
  .model-hints {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: var(--font-size-xs);
    padding: 0.5rem 0.75rem;
  }
  
  .hint-item {
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
  }
  
  .hint-item span {
    font-size: var(--font-size-xs);
  }
  
  .feature-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .feature-item h4 {
    font-size: var(--font-size-base);
  }
  
  .loading-spinner {
    width: 2rem;
    height: 2rem;
  }
  
  .model-loading,
  .model-error {
    padding: 1.5rem;
  }
}

@media (min-width: 769px) {
  #model-viewer {
    height: 31.25rem; /* 500px */
  }
} 