/* Main content is always visible */
.main-content {
  display: block;
  opacity: 1;
}

/* CSS Custom Properties */
:root {
  /* Colors - Official Brand Palette */
  --primary-color: #0f141d;
  --primary-dark: #0a0f16;
  --secondary-color: #f2efe5;
  --secondary-dark: #e8e4d8;
  --accent-color: #0f141d;
  --text-color: #0f141d;
  --text-light: #6a6a6a;
  --white: #ffffff;
  --cream: #f2efe5;
  --light-beige: #f8f6f3;
  --medium-beige: #f2efe5;
  --warm-beige: #f2efe5;
  --success: #0f141d;
  --error: #d64545;
  --border-color: #e8e4d8;
  
  /* Typography */
  --font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-family-heading: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 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-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Layout */
  --header-height: 70px;
  --container-max-width: 1200px;
  --border-radius: 6px;
  --border-radius-lg: 10px;
  --box-shadow: 0 2px 12px rgba(45, 74, 62, 0.08);
  --box-shadow-lg: 0 8px 24px rgba(45, 74, 62, 0.12);
  --box-shadow-subtle: 0 1px 3px rgba(45, 74, 62, 0.05);
  
  /* Transitions */
  --transition: all 0.3s ease;
  --transition-fast: all 0.2s ease;
}

/* Mobile Scrolling Performance Optimizations */
* {
  /* Better touch scrolling on all elements */
  -webkit-overflow-scrolling: touch;
}

/* Optimize sections for smooth mobile scrolling */
.section {
  transform: translateZ(0); /* Force GPU acceleration */
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Smooth scrolling container optimizations */
.main {
  transform: translateZ(0);
  will-change: scroll-position;
}

/* Enhanced Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile animation optimizations */
@media screen and (max-width: 768px) {
  .animate-on-scroll {
    /* Simpler animations on mobile */
    transform: translateY(15px);
    transition: all 0.4s ease;
  }
  
  /* Reduce animation delays on mobile */
  .fade-up {
    animation-delay: 0.05s;
  }
  
  .fade-up:nth-child(2) {
    animation-delay: 0.1s;
  }
  
  .fade-up:nth-child(3) {
    animation-delay: 0.15s;
  }
  
  .fade-up:nth-child(4) {
    animation-delay: 0.2s;
  }
  
  .fade-up:nth-child(5) {
    animation-delay: 0.25s;
  }
  
  .fade-up:nth-child(6) {
    animation-delay: 0.3s;
  }
}

.fade-up {
  animation-delay: 0.1s;
}

.fade-up:nth-child(2) {
  animation-delay: 0.2s;
}

.fade-up:nth-child(3) {
  animation-delay: 0.3s;
}

.fade-up:nth-child(4) {
  animation-delay: 0.4s;
}

.fade-up:nth-child(5) {
  animation-delay: 0.5s;
}

.fade-up:nth-child(6) {
  animation-delay: 0.6s;
}

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

/* Mobile performance optimizations */
@media screen and (max-width: 768px) {
  * {
    /* Hardware acceleration for smooth scrolling */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* Disable tap highlights */
    -webkit-tap-highlight-color: transparent;
  }
  
  body {
    /* Ultra-smooth mobile scrolling performance */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
    scroll-snap-type: none;
    /* Prevent zoom on input focus */
    -webkit-text-size-adjust: none;
    /* Enhanced touch response and momentum */
    touch-action: manipulation;
    -webkit-touch-callout: none;
    /* Advanced momentum scrolling for all browsers */
    -webkit-scroll-behavior: smooth;
    -moz-scroll-behavior: smooth;
    scroll-behavior: smooth;
    /* Better scroll inertia */
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: none;
    /* Optimize scroll performance */
    contain: layout style paint;
    content-visibility: auto;
  }
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* Ultra-smooth mobile scrolling */
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: none;
  scroll-padding-top: var(--header-height);
  /* Advanced mobile optimizations */
  -webkit-scroll-snap-type: none;
  scroll-snap-type: none;
  /* Smooth momentum on all mobile browsers */
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  /* Ultra-smooth mobile touch scrolling */
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: none;
  scroll-padding-top: var(--header-height);
  /* Enhanced touch responsiveness */
  touch-action: manipulation;
  /* Advanced scroll performance */
  will-change: scroll-position;
  /* Prevent scroll chaining */
  overscroll-behavior-y: contain;
  /* Smoother momentum physics */
  -webkit-scroll-behavior: smooth;
  -moz-scroll-behavior: smooth;
  scroll-timeline: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

/* Mobile typography optimizations */
@media screen and (max-width: 768px) {
  h1, h2, h3 {
    /* Prevent iOS text size adjust */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
}

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

p {
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

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

/* Utility Classes */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 var(--space-xs);
  }
}

.section {
  padding: var(--space-3xl) 0;
}

@media screen and (min-width: 768px) {
  .section {
    padding: var(--space-3xl) 0;
  }
}

@media screen and (max-width: 480px) {
  .section {
    padding: var(--space-xl) 0;
  }
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section__title {
  font-family: var(--font-family-heading);
  color: var(--accent-color);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.section__subtitle {
  font-size: var(--font-size-xl);
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Button Styles */
.btn {
  font-family: var(--font-family-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  min-height: 48px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color), #f7f4e9);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
  font-weight: var(--font-weight-bold);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(242, 239, 229, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary::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-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f7f4e9, var(--white));
  border-color: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), 0 8px 25px rgba(242, 239, 229, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:active {
  transform: translateY(0);
  transition: all 0.1s ease;
}

@media (max-width: 768px) {
  .btn {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    font-size: var(--font-size-lg);
    /* Simplify button effects on mobile */
    transition: all 0.2s ease;
  }
  
  .btn-primary {
    /* Simplify gradients on mobile for performance */
    background: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(242, 239, 229, 0.3);
  }
  
  .btn-primary:hover,
  .btn-primary:active,
  .btn-primary:focus {
    background: var(--white);
    transform: translateY(-1px); /* Subtle mobile transform */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(242, 239, 229, 0.4);
    transition: all 0.2s ease;
  }
  
  .btn-primary:active {
    transform: translateY(0);
    transition: all 0.1s ease;
  }
  
  /* Better touch targets */
  .nav__toggle {
    min-width: 44px;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
  }
}

.btn-secondary {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  font-weight: var(--font-weight-medium);
}

.btn-secondary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--box-shadow);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: var(--font-weight-medium);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-1px);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(15, 20, 29, 0.95);
  box-shadow: 0 2px 20px rgba(15, 20, 29, 0.15);
  z-index: 1000;
  height: var(--header-height);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(242, 239, 229, 0.1);
  transform: translateY(0);
}

.header.scrolled {
  background-color: rgba(15, 20, 29, 0.98);
  box-shadow: 0 4px 30px rgba(15, 20, 29, 0.25);
  border-bottom: 1px solid rgba(242, 239, 229, 0.2);
  height: calc(var(--header-height) - 8px);
  transform: translateY(0);
}

.header.hidden {
  transform: translateY(-100%);
}

.header.scrolled .logo-full {
  height: 35px;
}

.header.scrolled .nav__actions .btn {
  padding: var(--space-xs) var(--space-md);
  font-size: var(--font-size-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  transition: var(--transition);
  padding: 0 var(--space-lg);
}

@media screen and (max-width: 768px) {
  .nav {
    padding: 0 var(--space-sm);
    justify-content: space-between;
    position: relative;
  }
  
  .nav__logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    order: 2;
  }
  
  .nav__toggle {
    order: 1;
    margin-right: auto;
  }
  
  .nav__actions {
    order: 3;
    margin-left: auto;
  }
  
  .nav__actions .btn {
    display: none;
  }
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  transition: var(--transition);
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
}

.logo-full {
  height: 55px;
  width: auto;
  max-width: 350px;
  transition: var(--transition);
  filter: brightness(1.1);
}

@media screen and (max-width: 768px) {
  .logo-full {
    height: 40px;
    max-width: 250px;
  }
  
  .nav {
    padding: 0 var(--space-md);
  }
  
  .nav__logo {
    padding: var(--space-xs) var(--space-md);
  }
}

@media screen and (max-width: 480px) {
  .logo-full {
    height: 32px;
    max-width: 180px;
  }
  
  .header {
    height: calc(var(--header-height) - 10px);
    transition: all 0.2s ease; /* Faster transitions on mobile */
  }
  
  .header.scrolled {
    height: calc(var(--header-height) - 15px);
  }
  
  .header.scrolled .logo-full {
    height: 28px;
  }
  
  /* Simplify header transforms on mobile */
  .header.hidden {
    transform: translateY(-100%);
    transition: transform 0.2s ease;
  }
  
  /* Reduce backdrop blur on mobile for performance */
  .header {
    backdrop-filter: blur(10px);
  }
  
  .nav {
    padding: 0 var(--space-xs);
  }
  
  .nav__toggle {
    width: 36px;
    height: 36px;
  }
}

.logo-text {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--accent-color);
  letter-spacing: -0.01em;
}

@media screen and (max-width: 768px) {
  .logo-text {
    font-size: var(--font-size-base);
  }
}

.nav__menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, var(--primary-color), rgba(15, 20, 29, 0.95));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 1001;
  backdrop-filter: blur(20px);
  /* Mobile touch optimizations */
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.nav__menu.show-menu {
  left: 0;
}

.nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  list-style: none;
  text-align: center;
}

.nav__link {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-medium);
  color: var(--white);
  transition: var(--transition-fast);
  position: relative;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--secondary-color);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

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

.nav__close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav__close-icon {
  font-size: var(--font-size-xs);
  color: var(--white);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.5px;
  background: var(--primary-color);
  padding: var(--space-xs);
  border-radius: var(--border-radius);
  min-width: 40px;
  text-align: center;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border-radius: var(--border-radius);
  transition: var(--transition-fast);
}

.nav__toggle:hover {
  background-color: var(--secondary-color);
}

@media screen and (max-width: 480px) {
  .nav__toggle {
    width: 40px;
    height: 40px;
  }
}

.nav__toggle-icon {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--font-size-xs);
  color: var(--white);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.5px;
}

/* Hero Section */
.hero {
  padding-top: calc(var(--header-height) + var(--space-2xl));
  padding-bottom: var(--space-3xl);
  background: linear-gradient(135deg, rgba(15, 20, 29, 0.6), rgba(15, 20, 29, 0.4)), url('images/gallery-modern-kitchen.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 20, 29, 0.5), rgba(15, 20, 29, 0.3));
  backdrop-filter: blur(2px);
  z-index: 1;
}

.hero__container {
  position: relative;
  z-index: 2;
}

@media screen and (min-width: 768px) {
  .hero {
    padding-top: calc(var(--header-height) + var(--space-2xl));
    padding-bottom: var(--space-3xl);
  }
}

@media screen and (max-width: 600px) {
  .hero {
    padding: calc(var(--header-height) + 1rem) 1.2rem var(--space-xl) 1.2rem;
    background-attachment: scroll;
    min-height: 75vh;
  }
  
  .hero__title {
    font-size: var(--font-size-2xl);
    line-height: 1.4;
    margin-bottom: 1rem;
  }
  
  .hero__description {
    font-size: var(--font-size-sm);
    line-height: 1.4;
    margin-bottom: 1.5rem;
  }
  
  .hero__description--main {
    font-size: var(--font-size-base);
    line-height: 1.5;
  }
  
  .hero__description--main {
    margin-bottom: 2rem;
  }
  
  .hero__expanded {
    display: none;
  }
  
  .hero__expanded .hero__description {
    font-size: var(--font-size-sm);
    line-height: 1.2;
    margin-bottom: calc(var(--space-xs) / 2);
    max-width: 100%;
  }
  
  .hero__cta:hover {
    /* Override general btn-primary hover effects on mobile */
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--white) !important;
    box-shadow: none !important;
    transform: scale(1.05) !important;
    transition: transform 0.3s ease !important;
  }
  
  .hero__content {
    padding: 1rem 1.2rem;
  }
  
  .hero__cta {
    font-size: var(--font-size-sm);
    padding: 0.8rem 1.5rem;
  }
  
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
  
  .contact {
    padding: var(--space-3xl) 0;
  }
  
  .contact__content {
    padding: var(--space-xl);
    gap: var(--space-2xl);
  }
  
  .contact__info {
    padding: var(--space-xl);
    margin-bottom: var(--space-2xl);
    background: rgba(242, 239, 229, 0.05);
    border-radius: var(--border-radius-lg);
  }
  
  .contact__details {
    margin-bottom: var(--space-2xl);
  }
  
  .contact__item {
    margin-bottom: var(--space-lg);
    padding: var(--space-sm);
    background: rgba(242, 239, 229, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid rgba(242, 239, 229, 0.2);
  }
  
  .contact__form-container {
    padding: var(--space-md);
    margin-top: var(--space-md);
  }
  
  .contact__map {
    margin-bottom: var(--space-md);
  }
  
  .map__container {
    margin-bottom: var(--space-sm);
  }
}

.hero__container {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero__content {
  text-align: center;
}

.hero__title {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-3xl);
  color: var(--white);
  margin-bottom: var(--space-xl);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 1s ease-out;
}

@media screen and (min-width: 768px) {
  .hero__title {
    font-size: 2.5rem !important;
    line-height: 1.2;
  }
}

@media screen and (min-width: 1024px) {
  .hero__title {
    font-size: 2.5rem;
    line-height: 1.1;
  }
}

.hero__description {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero__description--main {
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
}

.hero__expanded {
  opacity: 0;
  animation: fadeInUp 1.2s ease-out 0.8s both;
  max-width: 600px;
  margin: var(--space-lg) auto 0;
  text-align: center;
}

.hero__expanded .hero__description {
  font-size: var(--font-size-base);
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-sm);
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-sm);
}

@media screen and (min-width: 768px) {
  .hero__description {
    font-size: var(--font-size-xl);
    line-height: 1.6;
  }
  
  .hero__expanded .hero__description {
    font-size: var(--font-size-sm);
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--space-xs);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero__expanded {
    margin-top: var(--space-md);
    max-width: 500px;
  }
}

.hero__cta {
  font-size: var(--font-size-lg);
  padding: var(--space-lg) var(--space-2xl);
  animation: fadeInUp 1s ease-out 0.6s both;
  /* Remove glow effect */
  box-shadow: none;
  text-transform: none;
  letter-spacing: 0.8px;
  font-weight: var(--font-weight-bold);
  border-radius: 8px;
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero__cta:hover {
  /* Override general btn-primary hover effects */
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--white) !important;
  box-shadow: none !important;
  transform: scale(1.05) !important;
  transition: transform 0.3s ease !important;
}

.hero__cta:active {
  transform: translateY(-1px) scale(1.01);
  transition: all 0.1s ease;
}

/* Make all Book Quote buttons use the same animation as hero button */
.nav__actions .btn[onclick*="contact"],
.form__submit {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__actions .btn[onclick*="contact"]:hover,
.form__submit:hover {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--white) !important;
  box-shadow: none !important;
  transform: scale(1.05) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__actions .btn[onclick*="contact"]:active,
.form__submit:active {
  transform: translateY(-1px) scale(1.01) !important;
  transition: all 0.1s ease;
}

@media screen and (max-width: 768px) {
  .hero__cta {
    width: 100%;
    text-align: center;
    padding: var(--space-lg) var(--space-lg);
  }
}


/* About Section */
.about {
  background-color: #0f141d;
}

.about .section__title {
  color: white;
}

.about .section__subtitle {
  color: white;
}

.about__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about__text {
  font-size: var(--font-size-lg);
  line-height: 1.9;
  color: white;
  letter-spacing: 0.3px;
}

/* Team Section */
.team {
  background-color: #f2efe5;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  max-width: 900px;
  margin: 0 auto;
  justify-content: center;
}

.team__card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  padding: var(--space-xl);
  text-align: center;
  transition: var(--transition);
  width: 100%;
}

.team__card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 60px rgba(15, 20, 29, 0.35);
  border-color: var(--primary-color);
}

.team__image {
  margin-bottom: var(--space-md);
}

.team__img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  /* High-quality image rendering for all browsers */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  image-rendering: high-quality;
  /* Smooth antialiasing */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Prevent layout shifts and improve rendering */
  transform: translateZ(0);
  will-change: auto;
  backface-visibility: hidden;
}

.team__name {
  color: var(--accent-color);
  margin-bottom: var(--space-xs);
}

.team__title {
  color: var(--primary-color);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-sm);
}

.team__specialty {
  color: var(--text-light);
  font-size: var(--font-size-sm);
}

/* Products Section */
.products {
  background-image: url('images/hero-office.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.products::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 20, 29, 0.8);
  z-index: 1;
}

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

.products .section__title,
.products .section__subtitle {
  color: white;
}

/* Gallery Section */
.gallery {
  background-color: #f2efe5;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

@media screen and (min-width: 768px) {
  .gallery__grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }
}

@media screen and (min-width: 1024px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery__item {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  background-color: var(--white);
}

.gallery__item:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 60px rgba(15, 20, 29, 0.4);
}

.gallery__image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
  cursor: pointer;
}

.gallery__item:hover .gallery__image {
  transform: scale(1.05);
}

.gallery__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(15, 20, 29, 0.9));
  padding: var(--space-lg);
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery__item:hover .gallery__overlay {
  transform: translateY(0);
}

.gallery__title {
  color: var(--white);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-xs);
}

.gallery__description {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-sm);
  line-height: 1.5;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .gallery__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .gallery__overlay {
    transform: translateY(0);
    background: linear-gradient(transparent, rgba(15, 20, 29, 0.8));
  }
  
  .gallery__image {
    height: 250px;
  }
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-lg);
}

.product__card {
  background-color: #f2efe5;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  padding: var(--space-sm) var(--space-xl);
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 280px;
}

.product__card:hover {
  transform: translateY(-15px) scale(1.15);
  box-shadow: 0 25px 60px rgba(255, 255, 255, 0.35);
  border-color: var(--primary-color);
}

.product__icon {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-xs);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md) auto;
  letter-spacing: 1px;
  border: 2px solid var(--secondary-color);
}

.product__title {
  color: var(--accent-color);
  margin-bottom: var(--space-xs);
  font-size: var(--font-size-lg);
  line-height: 1.1;
}

.product__description {
  color: var(--text-light);
  line-height: 1.4;
  font-size: var(--font-size-sm);
  flex-grow: 1;
}

/* Booking Section */
.booking {
  background-color: var(--white);
}

.booking__form {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--white);
  padding: var(--space-2xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-subtle);
  border: 1px solid var(--border-color);
}

@media screen and (max-width: 768px) {
  .booking__form {
    padding: 12px;
    border-radius: var(--border-radius);
  }
  
  .booking__form .form__input,
  .booking__form .form__textarea,
  .booking__form .form__select {
    padding: 6px 10px;
    font-size: var(--font-size-sm);
    min-height: 32px;
    border-radius: 4px;
    line-height: 1.2;
  }
  
  .booking__form .form__textarea {
    min-height: 36px;
    resize: vertical;
    line-height: 1.3;
  }
  
  .booking__form .form__group {
    margin-bottom: 8px;
  }
  
  .booking__form .form__label {
    font-size: var(--font-size-xs);
    margin-bottom: 2px;
    font-weight: var(--font-weight-medium);
  }
  
  .booking__form .form__submit {
    width: 100%;
    padding: 8px 16px;
    margin-top: 4px;
    min-height: 40px;
    font-size: var(--font-size-sm);
  }
  
  /* Better mobile form interactions */
  .form__input:focus,
  .form__textarea:focus,
  .form__select:focus {
    /* Prevent zoom on iOS */
    font-size: 16px;
    transform: none;
  }
  
  /* Improve mobile file upload */
  .form__file {
    padding: var(--space-sm);
    text-align: center;
    font-size: var(--font-size-sm);
  }
  
  /* Better mobile checkbox styling */
  .recaptcha-box {
    padding: var(--space-sm);
    -webkit-tap-highlight-color: transparent;
  }
}

/* Form Styles */
.form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

@media screen and (max-width: 768px) {
  .form__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

.form__group {
  margin-bottom: var(--space-lg);
}

.form__label {
  display: block;
  font-weight: var(--font-weight-semibold);
  color: var(--text-color);
  margin-bottom: var(--space-xs);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: var(--font-size-base);
  font-family: inherit;
  transition: var(--transition-fast);
  background-color: var(--white);
  min-height: 48px;
}

@media screen and (max-width: 768px) {
  .form__input,
  .form__textarea,
  .form__select {
    padding: var(--space-md);
    font-size: var(--font-size-lg);
    min-height: 52px;
  }
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.1);
  background-color: var(--white);
}

.form__textarea {
  resize: vertical;
  min-height: 100px;
}

.form__file {
  width: 100%;
  padding: var(--space-sm);
  border: 2px dashed var(--border-color);
  border-radius: var(--border-radius);
  background-color: var(--white);
  cursor: pointer;
  transition: var(--transition-fast);
}

.form__file:hover {
  border-color: var(--primary-color);
  background-color: var(--light-gray);
}

.form__help {
  display: block;
  font-size: var(--font-size-sm);
  color: var(--text-light);
  margin-top: var(--space-xs);
}

.form__error {
  display: block;
  font-size: var(--font-size-sm);
  color: var(--error);
  margin-top: var(--space-xs);
  min-height: 1.2em;
}

.form__submit {
  width: 100%;
  padding: var(--space-md);
  font-size: var(--font-size-lg);
  margin-top: var(--space-md);
}

/* reCAPTCHA Styles */
.recaptcha-placeholder {
  margin: var(--space-md) 0;
}

.recaptcha-box {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: var(--white);
  cursor: pointer;
  transition: var(--transition-fast);
  min-height: 48px;
}

@media screen and (max-width: 768px) {
  .recaptcha-box {
    padding: var(--space-lg);
    min-height: 52px;
  }
}

.recaptcha-box:hover {
  border-color: var(--primary-color);
}

.recaptcha-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
}

.recaptcha-text {
  font-weight: var(--font-weight-medium);
}

.recaptcha-logo {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  font-weight: var(--font-weight-bold);
}

/* Testimonials Section */
.testimonials {
  background-color: #0f141d;
}

.testimonials .section__title {
  text-align: center;
  color: white;
}

.testimonials .section__subtitle {
  text-align: center;
  font-weight: bold;
  font-size: var(--font-size-md);
  color: white;
}

.testimonials__grid {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.testimonial__card {
  background-color: #f2efe5;
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  text-align: center;
  box-shadow: var(--box-shadow-subtle);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

@media screen and (max-width: 768px) {
  .testimonial__card {
    padding: var(--space-md);
  }
  
  /* Mobile grid optimizations */
  .gallery__grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
  }
  
  .team__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 400px;
  }
  
  .team__card {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
  
  .product__card {
    padding: var(--space-sm);
  }
  
  .product__icon {
    font-size: var(--font-size-sm);
    width: 35px;
    height: 35px;
    margin-bottom: var(--space-xs);
  }
  
  .product__title {
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-xs);
  }
  
  .product__description {
    font-size: var(--font-size-xs);
    line-height: 1.4;
  }
}

.testimonial__card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 50px rgba(15, 20, 29, 0.25);
  background-color: #fafafa;
  border-color: var(--primary-color);
}

.testimonial__text {
  font-size: var(--font-size-lg);
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial__author {
  margin-bottom: var(--space-sm);
}

.testimonial__author strong {
  display: block;
  color: var(--accent-color);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xs);
}

.testimonial__author span {
  color: var(--text-light);
  font-size: var(--font-size-sm);
}

.testimonial__rating {
  font-size: var(--font-size-xl);
}

.stars {
  color: var(--secondary-color);
}

.testimonials__cta {
  text-align: center;
  padding: var(--space-xl);
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  margin-top: var(--space-2xl);
  border: 1px solid var(--border-color);
}

@media screen and (max-width: 768px) {
  .testimonials__cta {
    padding: var(--space-lg);
  }
}

.testimonials__review-text {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-lg);
  color: var(--text-color);
}

/* Gallery Section */
.gallery {
  background-color: #f2efe5;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.gallery__item {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.gallery__item:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 60px rgba(15, 20, 29, 0.4);
}

.gallery__image {
  height: 200px;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
}

.gallery__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
  padding: var(--space-lg);
  text-align: center;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery__item:hover .gallery__overlay {
  transform: translateY(0);
}

.gallery__item:hover .gallery__photo {
  transform: scale(1.05);
}

.gallery__overlay p {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-xs);
}

.gallery__overlay small {
  font-size: var(--font-size-sm);
  opacity: 0.9;
}

.gallery__placeholder {
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: var(--space-lg);
}

.gallery__icon {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--white);
  background: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm) auto;
  letter-spacing: 1px;
  border: 2px solid var(--secondary-color);
}

.gallery__placeholder p {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-xs);
}

.gallery__placeholder small {
  font-size: var(--font-size-sm);
  opacity: 0.9;
}

.gallery__note {
  text-align: center;
  color: var(--text-light);
  font-size: var(--font-size-sm);
}

/* Contact Section */
.contact {
  background-color: var(--secondary-color);
}

.contact__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

.contact__info--above {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.contact__info--above .contact__actions {
  justify-content: center;
  gap: var(--space-md);
}

.contact__info--above .contact__details {
  text-align: center;
}

.contact__info--above .contact__item {
  text-align: center;
}

.contact__info--above .contact__data {
  text-align: center;
  margin: 0 auto;
}

.contact__info--above .contact__data h3,
.contact__info--above .contact__data p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 768px) {
  .contact__content {
    gap: var(--space-xs);
  }
  
  .contact__form-container {
    padding: var(--space-xs);
    margin: var(--space-xs);
  }
  
  .contact__form {
    padding: var(--space-xs);
  }
  
  .contact__form .form__group {
    margin-bottom: 4px;
  }
  
  .contact__form .form__label {
    font-size: var(--font-size-base);
    margin-bottom: 2px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
  }
  
  .contact__form .form__input,
  .contact__form .form__textarea,
  .contact__form .form__select {
    padding: var(--space-sm) var(--space-sm);
    font-size: var(--font-size-base);
    min-height: 50px;
    border-radius: var(--border-radius);
    line-height: 1.4;
    border: 2px solid var(--border-color);
  }
  
  .contact__form .form__textarea {
    min-height: 120px;
    resize: vertical;
    padding: var(--space-lg);
  }
  
  .contact__form .form__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
  }
  
  .contact__details {
    margin-bottom: var(--space-md);
  }
  
  .contact__item {
    margin-bottom: var(--space-sm);
  }
  
  .contact__map {
    margin-top: var(--space-md);
  }
  
  .contact__form .form__submit {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    margin-top: 8px;
    min-height: 50px;
    font-size: var(--font-size-base);
    font-weight: 600;
  }
  
  .contact__form {
    padding: var(--space-xl);
  }
  
  .contact__form-container {
    padding: var(--space-xl);
    margin: var(--space-lg);
  }
  
  .contact__form-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-lg);
    text-align: center;
  }
  
  .contact__form .form__error {
    font-size: 9px;
    margin-top: 0;
  }
  
  .contact__form .recaptcha-label {
    font-size: 10px;
  }
}

.contact__title {
  color: var(--accent-color);
  margin-bottom: var(--space-lg);
}

.contact__details {
  margin-bottom: var(--space-lg);
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.contact__icon {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.8px;
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--primary-color), #1a2332) !important;
  margin-right: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 12px;
  flex-shrink: 0;
  margin-top: var(--space-xs);
  font-family: var(--font-family) !important;
  box-shadow: 0 4px 15px rgba(15, 20, 29, 0.3);
  border: 2px solid rgba(242, 239, 229, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}

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

.contact__icon:hover::before {
  left: 100%;
}

.contact__icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15, 20, 29, 0.4);
  border-color: rgba(242, 239, 229, 0.4);
}

.contact__data h3 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--accent-color);
  margin-bottom: var(--space-xs);
}

.contact__link {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Appointment icon styling */
.appt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.5px;
  color: var(--white);
  background: var(--primary-color);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius);
  margin-right: var(--space-xs);
  min-width: 40px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .contact__actions {
    flex-direction: column;
  }
  
  .contact__actions .btn {
    width: 100%;
  }
}

.contact__form-container {
  background-color: var(--white);
  padding: var(--space-2xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-subtle);
  border: 1px solid var(--border-color);
}

@media screen and (max-width: 768px) {
  .contact__form-container {
    padding: var(--space-sm);
  }
}

@media screen and (max-width: 480px) {
  .contact__form-container {
    padding: 4px;
    margin: 4px;
  }
  
  .contact__form {
    padding: 2px;
  }
  
  .contact__form .form__group {
    margin-bottom: 2px;
  }
  
  .map__actions .btn {
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--font-size-xs);
    line-height: 1.2;
  }
  
  .contact {
    padding: var(--space-2xl) 0;
  }
  
  .contact__content {
    padding: var(--space-lg);
    gap: var(--space-xl);
  }
  
  .contact__info {
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
  }
  
  .contact__details {
    margin-bottom: var(--space-xl);
  }
  
  .contact__item {
    margin-bottom: var(--space-xl);
    padding: var(--space-md);
    background: rgba(242, 239, 229, 0.1);
    border-radius: var(--border-radius);
  }
  
  .contact__icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    font-size: 10px;
    margin-top: 0;
  }
  
  .contact__form {
    padding: var(--space-xs);
  }
  
  .contact__form .form__group {
    margin-bottom: var(--space-xs);
  }
  
  .contact__form .form__grid {
    gap: 2px;
    grid-template-columns: 1fr;
  }
  
  .contact__form-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
  }
  
  .contact__form .form__label {
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-xs) / 2;
  }
  
  .contact__form .form__input,
  .contact__form .form__textarea,
  .contact__form .form__select {
    padding: var(--space-lg) var(--space-md);
    font-size: var(--font-size-xl);
    min-height: 70px;
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--border-color);
  }
  
  .contact__form .form__textarea {
    min-height: 140px;
    resize: vertical;
    padding: var(--space-lg);
  }
  
  .contact__form .form__submit {
    padding: var(--space-xl) var(--space-lg);
    font-size: var(--font-size-xl);
    margin-top: var(--space-lg);
    min-height: 70px;
    font-weight: 700;
  }
  
  .contact__form .form__label {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
    font-weight: 600;
  }
  
  .contact__form .form__input,
  .contact__form .form__textarea,
  .contact__form .form__select {
    padding: var(--space-sm) var(--space-sm);
    font-size: var(--font-size-base);
    min-height: 45px;
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    line-height: 1.4;
  }
  
  .contact__form .form__textarea {
    min-height: 160px;
    resize: vertical;
  }
  
  .contact__form .form__submit {
    padding: var(--space-2xl) var(--space-xl);
    min-height: 80px;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    width: 100%;
  }
  
  .contact__form-title {
    font-size: var(--font-size-sm);
    margin-bottom: 2px;
  }
}

.contact__form-title {
  color: var(--accent-color);
  margin-bottom: var(--space-lg);
}

/* Map Section */
.contact__map {
  margin-top: var(--space-2xl);
}

.contact__map-title {
  color: var(--accent-color);
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-xl);
}

.map__info {
  text-align: center;
  margin-bottom: var(--space-lg);
  padding: var(--space-lg);
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
}

.map__address {
  color: var(--accent-color);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.map__appointment {
  color: var(--error);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
  padding: var(--space-sm);
  background-color: rgba(231, 76, 60, 0.1);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--error);
  display: inline-block;
}

.map__info p:last-child {
  color: var(--text-light);
  margin-bottom: 0;
}

.map__container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: var(--space-lg);
}

.map__container iframe {
  display: block;
  width: 100%;
}

.map__actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

@media screen and (max-width: 768px) {
  .map__actions {
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
  }
  
  .map__actions .btn {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-size-sm);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Footer Styles */
.footer {
  background-color: var(--accent-color);
  color: var(--white);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.footer__logo-img {
  height: 120px;
  width: auto;
  max-width: 400px;
}

.footer__logo-text {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
}

.footer__description {
  color: #bdc3c7;
  line-height: 1.6;
}

.footer__title {
  margin-bottom: var(--space-md);
}

.footer__contact-item {
  margin-bottom: var(--space-sm);
  font-weight: var(--font-weight-medium);
  color: rgba(255, 255, 255, 0.9);
}

.footer__contact-item a {
  color: var(--white);
}

.footer__contact-item a:hover {
  color: var(--secondary-color);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  text-align: center;
}

.footer__copyright {
  color: #bdc3c7;
  font-size: var(--font-size-sm);
}

/* Form Validation States */
.form__input.invalid,
.form__textarea.invalid,
.form__select.invalid {
  border-color: var(--error);
}

.form__input.valid,
.form__textarea.valid,
.form__select.valid {
  border-color: var(--success);
}

/* Media Queries */
@media screen and (min-width: 768px) {
  :root {
    --font-size-4xl: 3rem;
    --font-size-3xl: 2.25rem;
  }
  
  .nav__menu {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    flex-direction: row;
  }
  
  .nav__list {
    flex-direction: row;
    gap: var(--space-lg);
  }
  
  .nav__link {
    font-size: var(--font-size-base);
  }
  
  .nav__close,
  .nav__toggle {
    display: none;
  }
  
  .hero__description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .contact__content {
    grid-template-columns: 1fr;
  }
  
  .footer__content {
    grid-template-columns: 2fr 1fr;
  }
}

@media screen and (min-width: 1024px) {
  :root {
    --font-size-4xl: 3.5rem;
  }
  
  .container {
    padding: 0 var(--space-lg);
  }
  
  .section {
    padding: var(--space-3xl) 0;
  }
  
  .team__grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
  }
  
  .products__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Enhanced Scroll Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-on-scroll {
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

.fade-up {
  transform: translateY(30px);
}

.fade-left {
  transform: translateX(-30px);
}

.fade-right {
  transform: translateX(30px);
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .hero__title,
  .hero__description,
  .hero__cta {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Print Styles */
@media print {
  .header,
  .nav__toggle,
  .btn,
  .footer {
    display: none;
  }
  
  .section {
    page-break-inside: avoid;
  }
  
  .hero {
    padding-top: 0;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #000080;
    --secondary-color: #ff6600;
    --text-color: #000000;
    --border-color: #000000;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .section {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Image Modal/Lightbox Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.modal__content {
  position: relative;
  margin: 2% auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--border-radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal__close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: var(--white);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  transition: var(--transition);
}

.modal__close:hover,
.modal__close:focus {
  color: var(--secondary-color);
  transform: scale(1.1);
}

.modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  padding: 16px 20px;
  border-radius: 50%;
  transition: var(--transition);
  z-index: 10001;
  backdrop-filter: blur(10px);
}

.modal__nav:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  transform: translateY(-50%) scale(1.1);
}

.modal__prev {
  left: 30px;
}

.modal__next {
  right: 30px;
}

.modal__caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: var(--font-size-lg);
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  max-width: 80%;
}

/* Mobile modal styles */
@media screen and (max-width: 768px) {
  .modal__content {
    margin: 5% auto;
    width: 95%;
    height: 85%;
  }
  
  .modal__close {
    top: 10px;
    right: 20px;
    font-size: 30px;
  }
  
  .modal__nav {
    font-size: 24px;
    padding: 12px 16px;
  }
  
  .modal__prev {
    left: 15px;
  }
  
  .modal__next {
    right: 15px;
  }
  
  .modal__caption {
    bottom: 10px;
    font-size: var(--font-size-md);
    padding: var(--space-sm) var(--space-md);
    max-width: 90%;
  }
}

/* Animation for modal */
@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal.show {
  display: block;
  animation: modalFadeIn 0.3s ease-out;
}

.modal__image {
  animation: scaleIn 0.3s ease-out;
}

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

/* Mobile footer styles */
@media screen and (max-width: 768px) {
  .footer__content {
    text-align: center;
  }
  
  .footer__logo {
    justify-content: center;
  }
  
  .footer__contact {
    text-align: center;
  }
}
