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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background: #111;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.6s cubic-bezier(0.4,0,0.2,1);
}
/* --- Header Three-Column Layout for Centered Logo --- */
.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  gap: 0;
}
.header-col {
  flex: 0 0 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 100%;
}
.header-col.center {
  flex: 1 1 auto;
  justify-content: center;
}
.header-col.right {
  /* empty, for symmetry */
}
.site-logo {
  display: block;
  margin: 0 auto;
  height: 96px;
  max-width: 420px;
  transition: filter 0.6s cubic-bezier(0.4,0,0.2,1), height 0.4s, max-width 0.4s;
  filter: invert(1) brightness(2) contrast(1.2);
}
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #222;
  background: none;
  border: none;
  cursor: pointer;
  margin: 0;
  z-index: 1100;
  position: static;
  height: 64px;
  width: 64px;
}

/* Header on scroll (white bg, normal logo) */
.header.scrolled {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.header.scrolled .site-logo {
  filter: none;
}

/* Homepage specific header logo behavior */
.header.transparent .site-logo {
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1);
}
.header.scrolled .site-logo {
  opacity: 1;
  filter: none;
}

/* Homepage hero logo behavior */
.home-hero-logo-overlay.scrolled {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 900px) {
  .site-logo {
    height: 64px;
    max-width: 220px;
  }
  .header-content {
    min-height: 64px;
  }
  .header-col, .mobile-menu-btn {
    min-width: 48px;
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 600px) {
  .site-logo {
    height: 72px;
    max-width: 240px;
  }
  .header-content {
    min-height: 72px;
  }
}

@media (max-width: 480px) {
  .site-logo {
    height: 64px;
    max-width: 200px;
  }
  .header-content {
    min-height: 64px;
  }
}

.nav {
  flex: 1 1 auto;
}

.nav-menu {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
  margin-left: 2rem;
}

.nav-link {
  white-space: nowrap;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
  font-size: 1.08rem;
}

.nav-link:hover,
.nav-link.active {
  color: #3498db;
  background: rgba(52, 152, 219, 0.1);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 4px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  list-style: none;
  padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 0.75rem 1rem;
  color: #333;
  text-decoration: none;
  transition: background 0.3s ease;
}

.dropdown-menu li a:hover {
  background: #f8f9fa;
  color: #3498db;
}

.header-contact {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #3498db;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border: 2px solid #3498db;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 1.08rem;
  background: #fff;
  margin-left: 1.5rem;
}

.phone-link:hover {
  background: #3498db;
  color: #fff;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 120px 0 60px;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 120px 0 80px;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #3498db;
  color: #fff;
}

.btn-primary:hover {
  background: #2980b9;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background: #fff;
  color: #333;
  transform: translateY(-2px);
}

/* Services Section */
.services {
  padding: 80px 0;
  background: #f8f9fa;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

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

.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-icon i {
  font-size: 2rem;
  color: #fff;
}

.service-card h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.service-card p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-link {
  color: #3498db;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.service-link:hover {
  gap: 1rem;
}

/* References Section */
.references {
  padding: 80px 0;
  background: #f8f9fa;
}

.reference-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 3rem;
  overflow: hidden;
}

.reference-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
}

.reference-info h3 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.reference-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  color: #666;
  font-size: 0.95rem;
}

.reference-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reference-info p {
  color: #666;
  line-height: 1.6;
  font-size: 1.1rem;
}

.reference-images {
  position: relative;
}

.image-carousel {
  position: relative;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  background: #f8f9fa;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.carousel-slide .image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
  background: #f8f9fa;
  border: 2px dashed #ddd;
}

.carousel-slide .image-placeholder i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.carousel-btn {
  background: #3498db;
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.carousel-btn:hover {
  background: #2980b9;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background: #3498db;
}

/* Category Filter Tabs */
.category-filter {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.category-tab, .subcategory-tab {
  background: #fff;
  color: #555;
  border: 2px solid #555;
  border-radius: 20px;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  outline: none;
}
.category-tab.active, .category-tab:hover,
.subcategory-tab.active, .subcategory-tab:hover {
  background: #888;
  color: #fff;
  border-color: #888;
}

/* About Preview Section */
.about-preview {
  padding: 80px 0;
  background: #fff;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #27ae60;
  font-weight: 500;
}

.about-image {
  display: flex;
  justify-content: center;
}

.image-placeholder {
  width: 300px;
  height: 300px;
  background: #f8f9fa;
  border: 2px dashed #ddd;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
}

.image-placeholder i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background: #2c3e50;
  color: #fff;
  padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: #3498db;
}

.footer-section p {
  color: #bdc3c7;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #3498db;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  padding-top: 2rem;
  text-align: center;
  color: #bdc3c7;
  border-top: none !important;
  background: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .header-contact {
    display: none;
  }
  
  .hero-content h1,
  .page-header h1 {
    font-size: 2rem;
  }
  
  .hero-content p,
  .page-header p {
    font-size: 1rem;
  }
  
  .about-content,
  .reference-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .reference-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .image-carousel {
    height: 200px;
  }
  
  .footer-bottom {
    border-top: none !important;
    background: none !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  /* Remove container padding for brands page on mobile */
  #brands-materials .arch-category-tiles {
    margin-left: -5px;
    margin-right: -5px;
    padding-left: 5px;
    padding-right: 5px;
  }
  /* Ensure headers and descriptions are properly aligned */
  #brands-materials .arch-category-main,
  #brands-materials .arch-category-desc {
    text-align: left;
    padding-left: 0;
    padding-right: 0;
  }
  
  .hero,
  .page-header {
    padding: 100px 0 60px;
  }
  
  .hero-content h1,
  .page-header h1 {
    font-size: 1.8rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .about-text h2 {
    font-size: 2rem;
  }
  
  .reference-content {
    padding: 1rem;
  }
  
  .reference-info h3 {
    font-size: 1.5rem;
  }
  
  .footer-bottom {
    border-top: none !important;
    background: none !important;
  }
} 

/* --- SPA Section Visibility --- */
.spa-section {
  display: none;
  min-height: 60vh;
  padding: 80px 0 40px 0;
  background: #fff;
  color: #222;
  text-align: center;
  transition: opacity 0.3s;
}
.spa-section:target, .spa-section[style*='display:'] {
  display: block;
}

/* Steel Homes Hero Video Header Styles */
.steel-homes-hero-video-strip {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 220px;
  max-height: 30vh;
  overflow: hidden;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steel-homes-hero-video {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.steel-homes-hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.65);
  z-index: 2;
}
.steel-homes-hero-title {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  color: #fff;
  font-size: 2.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
  text-align: center;
  width: 100%;
  pointer-events: none;
}
@media (max-width: 700px) {
  .steel-homes-hero-video-strip {
    height: 120px;
    max-height: 20vh;
  }
  .steel-homes-hero-title {
    font-size: 1.3rem;
  }
}

/* Remove margin hack for first heading in #steel-homes */
#steel-homes .home-welcome-title:first-of-type {
  margin-top: 0 !important;
}

/* --- Placeholder Content --- */
.spa-section .placeholder {
  margin: 0 auto;
  max-width: 600px;
  padding: 60px 20px;
  background: #f7f7f7;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.spa-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #222;
}
.spa-section p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 0.5rem;
}

/* --- Remove Purple/Blue Gradients --- */
.hero, .page-header {
  background: #f4f4f4 !important;
  color: #222 !important;
}

/* --- Button Colors --- */
.btn-primary {
  background: #222;
  color: #fff;
}
.btn-primary:hover {
  background: #444;
}
.btn-secondary {
  background: #e0e0e0;
  color: #222;
}
.btn-secondary:hover {
  background: #d0d0d0;
  color: #111;
}

/* --- Footer --- */
.footer {
  background: #222;
  color: #fff;
}
.footer-section h3, .footer-section h4 {
  color: #fff;
}
.footer-section ul li a {
  color: #eee;
}
.footer-section ul li a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-bottom {
  color: #bbb;
  border-top: none !important;
  background: none !important;
}

/* --- General --- */
body {
  background: #fff;
  color: #222;
} 

/* --- Navigation Bar Fixes --- */
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}

.nav {
  flex: 1 1 auto;
}

.nav-menu {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
  margin-left: 2rem;
}

.nav-link {
  white-space: normal;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
  font-size: 1.08rem;
  line-height: 1.2;
  text-align: center;
}

.header-contact {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #3498db;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border: 2px solid #3498db;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 1.08rem;
  background: #fff;
  margin-left: 1.5rem;
}

@media (max-width: 1100px) {
  .nav-menu {
    gap: 1.2rem;
    margin-left: 1rem;
  }
  .phone-link {
    padding: 0.5rem 0.7rem;
    font-size: 1rem;
    margin-left: 0.7rem;
  }
}

@media (max-width: 900px) {
  .header-content {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .nav-menu {
    gap: 0.7rem;
    margin-left: 0.5rem;
  }
  .phone-link {
    font-size: 0.98rem;
    padding: 0.4rem 0.5rem;
    margin-left: 0.5rem;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: row;
    gap: 0.5rem;
  }
  .nav-menu {
    flex-direction: column;
    gap: 1.2rem;
    margin-left: 0;
  }
  .header-contact {
    margin-left: 0;
    margin-top: 0.5rem;
  }
} 

/* --- Side Drawer Menu --- */
.side-drawer-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.side-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.side-drawer {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 300px;
  max-width: 85vw;
  background: #fff;
  box-shadow: 2px 0 16px rgba(0,0,0,0.12);
  z-index: 3100;
  transform: translateX(-100%);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}
.side-drawer.open {
  transform: translateX(0);
}
.drawer-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.2rem 0.5rem 1.2rem;
}
.drawer-header .site-logo {
  height: 38px;
}
.drawer-close {
  font-size: 1.7rem;
  color: #888;
  cursor: pointer;
  margin-left: 1rem;
}
.drawer-menu {
  list-style: none;
  padding: 2rem 0 0 0;
  margin: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.drawer-menu li {
  width: 100%;
}
.drawer-menu .nav-link {
  display: block;
  width: 100%;
  padding: 0.9rem 2rem;
  font-size: 1.15rem;
  color: #222;
  text-align: left;
  border-radius: 0 24px 24px 0;
  transition: background 0.2s, color 0.2s;
  font-weight: 500;
}
.drawer-menu .nav-link.active,
.drawer-menu .nav-link:hover {
  background: #f4f4f4;
  color: #3498db;
}
/* --- Drawer Contact Links --- */
.drawer-footer .drawer-contact-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #111;
  background: none;
  border: none;
  font-size: 1.08rem;
  text-decoration: none;
  margin: 0.2rem 0;
  padding: 0;
  box-shadow: none;
  font-weight: 500;
  gap: 0.7rem;
  transition: color 0.2s;
}
.drawer-footer .drawer-contact-link i {
  font-size: 1.2rem;
  color: #111;
}
.drawer-footer .drawer-contact-link:hover {
  color: #3498db;
}
.drawer-footer .drawer-contact-link:hover i {
  color: #3498db;
}
.drawer-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  padding: 1.5rem 2rem 2rem 2rem;
  border-top: 1px solid #eee;
}

/* Hamburger Icon */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #222;
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 1.2rem;
  z-index: 1100;
}

/* Hide old nav bar */
.nav, .nav-menu, .header-contact {
  display: none !important;
}

/* Header logo alignment */
.header-content {
  justify-content: flex-start;
  gap: 1.2rem;
}

@media (max-width: 500px) {
  .side-drawer {
    width: 90vw;
    min-width: 0;
  }
  .drawer-header {
    padding: 1rem 0.7rem 0.5rem 0.7rem;
  }
  .drawer-menu .nav-link {
    padding: 0.8rem 1rem;
    font-size: 1rem;
  }
  .drawer-footer {
    padding: 1rem 1rem 1.5rem 1rem;
  }
} 

/* --- Footer Contact Links --- */
.footer-contact-link {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.08rem;
  transition: color 0.2s;
}
.footer-contact-link i {
  font-size: 1.1rem;
  color: #fff;
  transition: color 0.2s;
}
.footer-contact-link:hover, .footer-contact-link:hover i {
  color: #3498db;
} 

/* --- Hamburger Icon Color --- */
.mobile-menu-btn {
  color: #fff;
  transition: color 0.4s;
}
.mobile-menu-btn i {
  color: #fff;
  transition: color 0.4s;
}
.header.scrolled .mobile-menu-btn,
.header.scrolled .mobile-menu-btn i {
  color: #222;
} 

/* --- Header Contact Info (Top Right) - Stacked --- */
.header-col.right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  min-width: 180px;
}
.header-contact-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
  position: relative;
}
/* --- Header Contact Info (Top Right) - Transition to Dark on Scroll --- */
.header-contact-link {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.04rem;
  font-weight: 500;
  transition: color 0.4s;
  white-space: nowrap;
}
.header-contact-link i {
  font-size: 1.1rem;
  color: #fff;
  transition: color 0.4s;
}
.header.scrolled .header-contact-link,
.header.scrolled .header-contact-link i {
  color: #222;
}
.header-contact-link:hover, .header-contact-link:hover i {
  color: #3498db;
}
@media (max-width: 900px) {
  .header-col.right {
    min-width: 120px;
  }
  .header-contact-link {
    font-size: 0.97rem;
  }
}

@media (max-width: 768px) {
  .header-col.right {
    min-width: 60px;
  }
  .header-contact-link {
    font-size: 0.75rem;
    order: 1;
    display: flex;
    align-items: center;
    height: 100%;
  }
  .header-contact-info {
    gap: 0.1rem;
    justify-content: flex-end;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
  }
  .header-contact-link i {
    font-size: 1.2rem;
  }
  .header-contact-link .email-text {
    display: none;
  }
    .header-language-switcher {
    margin-left: 8px;
    order: -1;
    margin-right: 8px;
    display: flex;
    align-items: center;
    height: 100%;
  }
  .header-language-btn {
    padding: 2px 4px;
    font-size: 10px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 600px) {
  .header-col.right {
    min-width: 50px;
  }
  .header-contact-link {
    font-size: 0.65rem;
  }
  .header-contact-link i {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .header-col.right {
    min-width: 40px;
  }
  .header-contact-link {
    font-size: 0.55rem;
  }
  .header-contact-link i {
    font-size: 1rem;
  }
  .header-contact-info {
    gap: 0.05rem;
  }
}

@media (max-width: 400px) {
  .header-col.right {
    min-width: 35px;
  }
  .header-contact-link {
    font-size: 0.45rem;
  }
  .header-contact-link i {
    font-size: 0.9rem;
  }
  .site-logo {
    height: 56px;
    max-width: 180px;
  }
  .header-content {
    min-height: 56px;
  }
} 

/* --- Home Hero Video Section: Full Width, No Gray Bars --- */
.home-hero-video-wrapper {
  position: relative;
  width: 100vw;
  left: 0;
  right: 0;
  margin: 0;
  min-height: 80vh;
  max-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-hero-video {
  position: absolute;
  top: 0; left: 0; width: 100vw; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.home-hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 2;
}
.home-hero-logo-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1);
}
.home-hero-logo {
  height: 200px;
  max-width: 600px;
  filter: invert(1) brightness(2) contrast(1.2);
  transition: all 0.6s cubic-bezier(0.4,0,0.2,1);
}
.home-hero-content {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}
.home-hero-content .placeholder {
  background: rgba(0,0,0,0.25);
  color: #fff;
  box-shadow: none;
}

/* --- Transparent Header on Home at Top --- */
.header.transparent {
  background: transparent !important;
  box-shadow: none !important;
  transition: background 0.6s cubic-bezier(0.4,0,0.2,1);
}

@media (max-width: 700px) {
  .home-hero-video-wrapper, .home-hero-video {
    min-height: 50vh;
    max-height: 60vh;
  }
  .home-hero-logo {
    height: 160px;
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .home-hero-logo {
    height: 120px;
    max-width: 300px;
  }
} 

/* --- Home Section: Video at Very Top --- */
#home.spa-section {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.home-hero-video-wrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.home-scroll-section:first-of-type {
  margin-top: 0 !important;
  padding-top: 110px !important;
}
.header {
  z-index: 2000;
} 

/* --- About Page Hero Video Strip --- */
.about-hero-video-strip {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 220px;
  max-height: 30vh;
  overflow: hidden;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-hero-video {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.about-hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.45);
  z-index: 2;
}
.about-hero-title {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  color: #fff;
  font-size: 2.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
  text-align: center;
  width: 100%;
  pointer-events: none;
}
@media (max-width: 700px) {
  .about-hero-video-strip {
    height: 120px;
    max-height: 20vh;
  }
  .about-hero-title {
    font-size: 1.3rem;
  }
} 

/* --- About Main Content Layout --- */
.about-main-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem 1.5rem;
}
.about-intro {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.about-intro-text {
  flex: 1 1 340px;
}
.about-intro-image {
  flex: 0 0 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-intro-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.about-intro-image-caption {
  display: block;
  text-align: center;
  font-weight: 500;
  color: #555;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}
.about-section-title {
  color: #555;
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 1.2rem;
  font-family: inherit;
}
.about-section-subtitle {
  font-size: 1.3rem;
  font-weight: 600;
  color: #3498db;
  margin-bottom: 1.2rem;
}
.about-intro-text p {
  font-size: 1.08rem;
  color: #444;
}

.about-mission-vision {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.about-mission, .about-vision {
  flex: 1 1 320px;
  background: #f7f7f7;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.about-mission h3, .about-vision h3 {
  color: #555;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: inherit;
}
.about-mission p, .about-vision p {
  font-size: 1.05rem;
  color: #444;
}

.about-values {
  margin-bottom: 2.5rem;
}
.about-values-content {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.about-values-text {
  flex: 1 1 320px;
}
.about-values-text p {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 1rem;
}
.about-values-text ul {
  padding-left: 1.2rem;
  color: #3498db;
  font-size: 1.05rem;
  margin-bottom: 0;
}
.about-values-text ul li {
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.about-values-image {
  flex: 0 0 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-values-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
@media (max-width: 900px) {
  .about-intro, .about-mission-vision, .about-values-content {
    flex-direction: column;
    gap: 1.2rem;
  }
  .about-intro-image, .about-values-image {
    max-width: 100%;
  }
} 

/* --- Contact Main Content Layout --- */
.contact-main-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem 1.5rem;
}
.contact-columns {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.contact-map {
  flex: 1 1 340px;
  min-width: 260px;
  max-width: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info-block {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 220px;
}
.contact-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.contact-detail {
  display: grid;
  grid-template-columns: 2.2em 1fr;
  align-items: start;
  gap: 0.7rem;
}
.contact-detail-icon {
  width: 2.2em;
  display: flex;
  justify-content: center;
}
.contact-detail-text {
  display: block;
  text-align: left;
}
.contact-detail i {
  font-size: 1.3rem;
}
@media (max-width: 900px) {
  .contact-columns {
    flex-direction: column;
    gap: 1.5rem;
  }
  .contact-map, .contact-info-block {
    max-width: 100%;
    min-width: 0;
  }
  .contact-title {
    font-size: 1.4rem;
  }
  .contact-detail {
    font-size: 1rem;
  }
} 

/* --- Contact Details Dark Text --- */
.contact-details-dark, .contact-details-dark .contact-detail, .contact-details-dark .contact-detail i {
  color: #222 !important;
} 

/* --- Home Welcome & About Scroll Section: Wide Layout --- */
.home-welcome-scroll {
  max-width: 1400px;
  margin: 60px auto 0 auto;
  padding: 40px 2vw 32px 2vw;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.home-welcome-scroll.scrolled-in {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 900px) {
  .home-welcome-scroll {
    max-width: 98vw;
    padding: 32px 8px 24px 8px;
  }
} 

/* --- Home About Intro Block --- */
.home-about-intro {
  max-width: 800px;
  margin: 40px auto 0 auto;
  padding: 40px 24px 32px 24px;
  background: #f7f7f7;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  text-align: center;
}
.home-about-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 1.2rem;
  letter-spacing: 0.01em;
}
.home-about-desc {
  font-size: 1.13rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.home-about-link {
  color: #3498db;
  font-size: 1.08rem;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s;
}
.home-about-link:hover {
  color: #2176b6;
  text-decoration: underline;
}
@media (max-width: 700px) {
  .home-about-intro {
    max-width: 98vw;
    padding: 24px 8px 18px 8px;
  }
  .home-about-title {
    font-size: 1.3rem;
  }
  .home-about-desc {
    font-size: 1rem;
  }
} 

/* --- Section Headings: Lighter Grey, Same Font/Size --- */
.home-welcome-title, .home-about-title {
  color: #555 !important;
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 1.2rem;
  font-family: inherit;
}
@media (max-width: 700px) {
  .home-welcome-title, .home-about-title {
    font-size: 1.5rem;
  }
} 

/* --- Home Expertise Section --- */
.home-expertise-section {
  max-width: 1400px;
  margin: 48px auto 0 auto;
  padding: 0 2vw 48px 2vw;
  text-align: center;
}
.home-expertise-grid {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.expertise-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
  overflow: hidden;
  width: 320px;
  max-width: 98vw;
}
.expertise-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  transition: transform 0.2s;
}
.expertise-box:hover {
  box-shadow: 0 6px 32px rgba(52,152,219,0.13);
  transform: translateY(-6px) scale(1.03);
}
.expertise-box:hover img {
  transform: scale(1.04);
}
.expertise-label {
  font-size: 1.13rem;
  font-weight: 700;
  color: #555;
  margin: 1.1rem 0 1.3rem 0;
  letter-spacing: 0.01em;
}
@media (max-width: 1000px) {
  .home-expertise-grid {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .expertise-box {
    width: 98vw;
    max-width: 420px;
  }
} 

/* --- Home Welcome Scroll Section: Open Style (No Box) --- */
.home-welcome-scroll:not(.home-about-scroll) {
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding-top: 40px;
  padding-bottom: 32px;
} 

html, body {
  background: #fff;
  margin: 0;
  padding: 0;
}

.home-hero-video-wrapper {
  position: relative;
  width: 100%;
  min-height: 80vh;
  max-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
} 

/* --- Home Hero Video Section: Force Full Bleed --- */
.home-hero-video-wrapper {
  position: relative;
  width: 100vw;
  height: 80vh;
  min-width: 100vw;
  min-height: 80vh;
  left: 0;
  right: 0;
  margin: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}
.home-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 80vh;
  min-width: 100vw;
  min-height: 80vh;
  object-fit: cover;
  background: #000;
  z-index: 1;
} 

/* --- Contact Page Hero Video Strip --- */
.contact-hero-video-strip {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 220px;
  max-height: 30vh;
  overflow: hidden;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-hero-video {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.contact-hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.65);
  z-index: 2;
}
.contact-hero-title {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  color: #fff;
  font-size: 2.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
  text-align: center;
  width: 100%;
  pointer-events: none;
}
@media (max-width: 700px) {
  .contact-hero-video-strip {
    height: 120px;
    max-height: 20vh;
  }
  .contact-hero-title {
    font-size: 1.3rem;
  }
} 

/* --- Our Expertise Image Darkwash with Hover Reveal --- */
.expertise-box {
  position: relative;
  overflow: hidden;
}
.expertise-box img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  transition: transform 0.2s;
}
.expertise-box::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 200px;
  background: rgba(0,0,0,0.32);
  border-radius: 16px 16px 0 0;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1);
  z-index: 2;
}
.expertise-box:hover::after {
  opacity: 0;
}
.expertise-box img {
  z-index: 1;
  position: relative;
} 

/* --- References Grid and Modal --- */
.references-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 2vw 60px 2vw;
}
.references-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: #555;
  margin-bottom: 2.5rem;
}
.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.2rem;
  margin: 0 auto;
}
.reference-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.reference-card:hover {
  box-shadow: 0 6px 32px rgba(52,152,219,0.13);
  transform: translateY(-6px) scale(1.03);
}
.reference-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.reference-info {
  padding: 1.2rem 1.2rem 1.5rem 1.2rem;
  text-align: left;
}
.reference-year {
  font-size: 1.05rem;
  color: #888;
  margin-bottom: 0.3rem;
}
.reference-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #555;
  margin-bottom: 0.2rem;
}
.reference-location {
  font-size: 1.05rem;
  color: #3498db;
}

/* Modal Styles */
.reference-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.55);
  z-index: 4000;
  align-items: center;
  justify-content: center;
}
.reference-modal.active {
  display: flex;
}
.modal-content {
  background: #fff;
  border-radius: 18px;
  max-width: 700px;
  width: 98vw;
  padding: 2.2rem 1.5rem 1.5rem 1.5rem;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
}
.modal-close:hover {
  color: #3498db;
}
.modal-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 1.5rem;
}
.carousel-images {
  width: 380px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: #eee;
  position: relative;
}
.carousel-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-btn {
  background: none;
  border: none;
  color: #555;
  font-size: 2rem;
  cursor: pointer;
  padding: 0 0.7rem;
  transition: color 0.2s;
}
.carousel-btn:hover {
  color: #3498db;
}
.modal-details {
  width: 100%;
  text-align: left;
  margin-top: 0.5rem;
}
.modal-details .reference-year {
  color: #888;
  font-size: 1.05rem;
}
.modal-details .reference-name {
  color: #555;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.modal-details .reference-location {
  color: #3498db;
  font-size: 1.05rem;
}
@media (max-width: 600px) {
  .carousel-images {
    width: 98vw;
    height: 38vw;
    min-height: 120px;
    max-height: 220px;
  }
  .modal-content {
    padding: 1.2rem 0.3rem 1.2rem 0.3rem;
  }
} 

/* DEBUG: Visualize header grid columns */
.header-col.left {
  outline: 2px solid red;
  background: none;
}
.header-col.center {
  outline: 2px solid green;
  background: none;
}
.header-col.right {
  outline: 2px solid blue;
  background: none;
} 

/* Header column widths for perfect centering */
.header-col.left,
.header-col.right {
  min-width: 270px;
  max-width: 320px;
  width: 22vw;
  box-sizing: border-box;
}
.header-col.center {
  flex: 1 1 auto;
  justify-content: center;
}
/* Remove debug outlines from header columns */
.header-col.left,
.header-col.center,
.header-col.right {
  outline: none;
}
@media (max-width: 900px) {
  .header-col.left,
  .header-col.right {
    min-width: 48px;
    max-width: 120px;
    width: 18vw;
  }
} 

/* Process Accordion Styles */
.process-accordion {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2.5rem 0 3.5rem 0;
}
.process-step {
  background: #fff;
  border-radius: 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.process-step.active {
  box-shadow: 0 8px 32px rgba(52,152,219,0.13);
}
.process-step-toggle {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  padding: 1.5rem 2.5rem;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 2.5rem;
  position: relative;
  text-align: left;
  gap: 1.2rem;
}
.process-step-toggle:hover, .process-step.active .process-step-toggle {
  background: #f7f7f7;
}
.process-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: #555;
  color: #fff;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 900;
  margin-right: 1.2rem;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.process-step.active .process-step-icon {
  background: #333;
  transform: rotate(45deg);
}
.process-step-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #222;
}
.process-step-content {
  display: none;
  padding: 0 2.5rem 2.2rem 5.2rem;
  font-size: 1.13rem;
  color: #444;
  line-height: 1.7;
  animation: fadeIn 0.3s;
}
.process-step.active .process-step-content {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 700px) {
  .process-accordion {
    gap: 1.1rem;
  }
  .process-step-toggle {
    font-size: 1.05rem;
    padding: 1.1rem 1.2rem;
  }
  .process-step-content {
    padding: 0 1.2rem 1.2rem 3.2rem;
    font-size: 1rem;
  }
} 

/* Modern Bullet List Styles */
.modern-bullets {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2.5rem 0 2.5rem 0;
  align-items: flex-start;
  text-align: left;
}
.modern-bullet {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.18rem;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  padding: 1.1rem 2.2rem 1.1rem 1.2rem;
  min-width: 0;
  position: relative;
  transition: box-shadow 0.2s;
}
.modern-bullet-checkbox {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.2rem;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  overflow: hidden;
  flex-shrink: 0;
  min-width: 2.1rem;
  min-height: 2.1rem;
}
.modern-bullet-checkbox::before {
  content: '';
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.3s, transform 0.3s;
}
.modern-bullet-checkbox::after {
  content: '\2713'; /* Unicode checkmark */
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.3s, transform 0.3s;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.5);
}
.modern-bullet {
  animation: bulletFadeIn 0.7s cubic-bezier(0.4,0,0.2,1);
}
.modern-bullet:nth-child(1) .modern-bullet-checkbox::after,
.modern-bullet:nth-child(2) .modern-bullet-checkbox::after,
.modern-bullet:nth-child(3) .modern-bullet-checkbox::after,
.modern-bullet:nth-child(4) .modern-bullet-checkbox::after,
.modern-bullet:nth-child(5) .modern-bullet-checkbox::after,
.modern-bullet:nth-child(6) .modern-bullet-checkbox::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
@keyframes bulletFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.modern-bullet-text {
  color: #333;
  font-size: 1.13rem;
  line-height: 1.6;
  text-align: left;
}
@media (max-width: 700px) {
  .modern-bullet {
    font-size: 1rem;
    padding: 0.8rem 1.1rem 0.8rem 0.8rem;
  }
  .modern-bullet-checkbox {
    width: 1.4rem;
    height: 1.4rem;
  }
  .modern-bullet-text {
    font-size: 0.98rem;
  }
} 

/* Flex row for bullets and image */
.modern-bullets-image-row {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.modern-bullets {
  flex: 2 1 380px;
  min-width: 260px;
}
.modern-bullets-image-col {
  flex: 1 1 260px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  min-width: 180px;
  max-width: 340px;
}
.modern-bullets-side-image {
  width: 100%;
  max-width: 320px;
  height: auto;
  max-height: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  /* Remove object-fit and aspect-ratio to allow natural image proportions */
}
@media (max-width: 900px) {
  .modern-bullets-image-row {
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
  }
  .modern-bullets-image-col {
    max-width: 100%;
    min-width: 0;
    justify-content: center;
  }
  .modern-bullets-side-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
} 

#about .about-main-content,
#about .about-main-content * {
  text-align: left !important;
} 

.home-welcome-two-col {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  justify-content: space-between;
  margin: 60px auto 0 auto;
  max-width: 1200px;
  flex-wrap: wrap;
}
.home-welcome-col {
  flex: 1 1 380px;
  min-width: 260px;
}
.home-welcome-text-col {
  max-width: 540px;
}
.home-welcome-video-col {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 480px;
}
.home-welcome-video {
  width: 100%;
  max-width: 420px;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  background: #eee;
  /* Remove aspect-ratio and object-fit to allow natural video proportions */
}
@media (max-width: 900px) {
  .home-welcome-two-col {
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
  }
  .home-welcome-video-col {
    max-width: 100%;
    min-width: 0;
    justify-content: center;
  }
  .home-welcome-video {
    max-width: 100%;
    /* Remove aspect-ratio for mobile as well */
  }
} 

.arch-products-categories {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 1rem 3rem 1rem;
}
.arch-products-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #555;
  text-align: center;
  margin-bottom: 2.5rem;
}
.arch-category-list {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}
.arch-category-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem 2rem 0.5rem 2rem;
  background: none;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
}
.arch-category-main {
  max-width: 95%;
  word-break: break-word;
  hyphens: auto;
  margin-bottom: 0.1rem;
  font-size: 2.8rem;
  font-weight: 800;
  color: #555 !important;
  letter-spacing: 0.01em;
  font-family: inherit;
  text-align: left;
  line-height: 1.1;
  display: block;
}
@media (max-width: 900px) {
  .arch-category-main {
    font-size: 2.1rem;
    max-width: 100%;
  }
}
@media (max-width: 700px) {
  .arch-category-main {
    font-size: 1.6rem;
    max-width: 100%;
  }
  .arch-category-item {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .arch-category-desc {
    font-size: 0.98rem;
  }
  /* Ensure proper alignment for headers and descriptions */
  #brands-materials .arch-category-main,
  #brands-materials .arch-category-desc {
    text-align: left;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }
  
  /* Ensure descriptions align with titles */
  .arch-category-desc {
    text-align: left !important;
    display: block !important;
    line-height: 1.4 !important;
  }
}
.arch-category-desc {
  font-size: 1.05rem;
  color: #888;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-bottom: 0.2rem;
  text-align: left;
  display: block;
  line-height: 1.4;
}
.arch-category-divider {
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, #e0e0e0 0%, #f8f9fa 100%);
  margin: 0.5rem 0 0.8rem 0;
  border: none;
}
.arch-category-tiles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .arch-category-tiles {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .arch-category-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

.arch-product-tile {
  aspect-ratio: 16/11;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background: #fff;
  margin: 0;
  padding: 1rem;
  /* border removed */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.arch-product-tile:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  z-index: 10;
}
@media (max-width: 900px) {
  .arch-category-tiles {
    gap: 1rem;
  }
  .arch-product-tile {
    width: 100%;
    height: 70px;
    font-size: 0.98rem;
    padding: 0.8rem;
  }
  .arch-product-tile img {
    max-width: 80% !important;
    max-height: 70% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }
}
@media (max-width: 600px) {
  .arch-category-tiles {
    gap: 0.7rem;
  }
  .arch-product-tile {
    width: 100%;
    height: 50px;
    font-size: 0.85rem;
    padding: 0.6rem;
  }
  .arch-product-tile img {
    max-width: 70% !important;
    max-height: 60% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }
  /* Remove container padding for brands page on mobile */
  #brands-materials .arch-category-tiles {
    margin-left: -10px;
    margin-right: -10px;
    padding-left: 10px;
    padding-right: 10px;
  }
  /* Ensure headers and descriptions are properly aligned */
  #brands-materials .arch-category-main,
  #brands-materials .arch-category-desc {
    text-align: left;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .arch-product-tile img {
    max-width: 65% !important;
    max-height: 55% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }
}

/* Additional mobile-specific fixes for real devices */
@media (max-width: 400px) {
  /* Force email text to be hidden on real mobile devices */
  .header-contact-link .email-text {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
  }
  
  /* Ensure icon is visible and properly sized */
  .header-contact-link i {
    font-size: 1.3rem !important;
    display: inline-block !important;
  }
  
  /* Fix tile layout for real mobile devices */
  #brands-materials .arch-category-tiles {
    margin-left: -30px !important;
    margin-right: -30px !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    width: calc(100% + 60px) !important;
    justify-content: center !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.7rem !important;
    place-items: center !important;
  }
  
  /* Fix header and description alignment */
  #brands-materials .arch-category-main,
  #brands-materials .arch-category-desc {
    text-align: left !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
  
  /* Override container padding for brands page */
  #brands-materials .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }
  
  /* Force full width for brands page */
  #brands-materials {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  
  /* Ensure proper alignment for all text elements */
  #brands-materials .arch-category-item {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  /* Ensure tiles are properly centered and sized */
  #brands-materials .arch-product-tile {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0.6rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  /* Ensure logos are properly contained but not too small */
  .arch-product-tile img {
    max-width: 85% !important;
    max-height: 75% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }
  
  /* Fix horizontally stretched images on mobile */
  .modern-bullets-side-image {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    aspect-ratio: auto !important;
  }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
  .header-contact-link .email-text {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    
  .modern-bullets-side-image {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    aspect-ratio: auto !important;
  }
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }
  
  .header-contact-link i {
    font-size: 1.3rem !important;
    display: inline-block !important;
  }
  
  #brands-materials .arch-category-tiles {
    margin-left: -30px !important;
    margin-right: -30px !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    width: calc(100% + 60px) !important;
  }
  
  #brands-materials .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .arch-product-tile img {
    max-width: 80% !important;
    max-height: 70% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }
}

/* Android Chrome specific fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  .header-contact-link .email-text {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
  }
  
  .header-contact-link i {
    font-size: 1.3rem !important;
    display: inline-block !important;
  }
  
  #brands-materials .arch-category-tiles {
    margin-left: -30px !important;
    margin-right: -30px !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    width: calc(100% + 60px) !important;
  }
  
  #brands-materials .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .arch-product-tile img {
    max-width: 82% !important;
    max-height: 72% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }
  
  .modern-bullets-side-image {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    aspect-ratio: auto !important;
  }
} 

.arch-hero-video-strip {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 220px;
  max-height: 30vh;
  overflow: hidden;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.arch-hero-video {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.arch-hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.65);
  z-index: 2;
}
.arch-hero-title {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  color: #fff;
  font-size: 2.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
  text-align: center;
  width: 100%;
  pointer-events: none;
}
@media (max-width: 700px) {
  .arch-hero-video-strip {
    height: 120px;
    max-height: 20vh;
  }
  .arch-hero-title {
    font-size: 1.3rem;
  }
  .arch-category-main {
    font-size: 1.5rem;
  }
} 

.arch-product-tile img, .arch-logo-modal-logo {
  filter: grayscale(1) brightness(1.1) contrast(1.05);
  transition: filter 0.3s;
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}
.arch-product-tile:hover img, .arch-logo-modal-logo:hover {
  filter: grayscale(0) brightness(1.1) contrast(1.05);
}
.arch-logo-modal-logo {
  filter: none !important;
}

.arch-category-filter {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  background: #f7f7f7;
  border-radius: 2rem;
  padding: 1.1rem 1.5rem 1.1rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.arch-filter-btn {
  background: #fff;
  color: #444;
  border: 2px solid #bbb;
  border-radius: 2rem;
  padding: 0.55rem 1.7rem;
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.4,0,0.2,1);
  outline: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  margin-bottom: 0.5rem;
}
.arch-filter-btn.active,
.arch-filter-btn:hover {
  background: #222;
  color: #fff;
  border-color: #222;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
@media (max-width: 700px) {
  .arch-category-filter {
    padding: 0.7rem 0.5rem;
    gap: 0.5rem;
  }
  .arch-filter-btn {
    font-size: 0.98rem;
    padding: 0.45rem 1.1rem;
  }
  
  /* Ensure proper spacing when sections are shown/hidden */
  .arch-category-item {
    margin-bottom: 1rem;
  }
  
  .arch-category-item:last-child {
    margin-bottom: 0;
  }
  
  /* Ensure tiles are properly displayed when visible */
  .arch-category-tiles {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    padding: 1rem 0;
  }
  
  .arch-category-tiles[style*="display: none"] {
    display: none !important;
  }
  
  /* Ensure category headers are visible when they should be */
  .arch-category-item[style*="display: none"] {
    display: none !important;
  }
  
  .arch-category-divider[style*="display: none"] {
    display: none !important;
  }
  
  /* Force proper display states for filtered content */
  .arch-category-item:not([style*="display: none"]) {
    display: block !important;
  }
  
  .arch-category-divider:not([style*="display: none"]) {
    display: block !important;
  }
  
  .arch-category-tiles:not([style*="display: none"]) {
    display: grid !important;
  }
  
  /* Ensure proper section grouping */
  .arch-category-list {
    display: block;
  }
  
  /* Hide empty sections completely */
  .arch-category-item[style*="display: none"] + .arch-category-divider[style*="display: none"] + .arch-category-tiles[style*="display: none"] {
    display: none !important;
  }
} 

.arch-logo-modal-link a {
  display: inline-block;
  background: #e0e0e0;
  color: #333;
  padding: 0.7rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.arch-logo-modal-link a:hover {
  background: #ccc;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.arch-logo-modal-downloads a {
  display: inline-block;
  background: #e0e0e0;
  color: #333;
  padding: 0.7rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.arch-logo-modal-downloads a:hover {
  background: #ccc;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.arch-logo-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.45);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.arch-logo-modal.show {
  opacity: 1;
}

.arch-logo-modal-content {
  background: #fff;
  padding: 2.2rem 2.5rem 1.5rem 2.5rem;
  border-radius: 1.2rem;
  max-width: 400px;
  width: 90vw;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  position: relative;
  text-align: center;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.arch-logo-modal.show .arch-logo-modal-content {
  transform: scale(1);
  opacity: 1;
}

.address-detail .contact-detail-icon {
  margin-top: 0.35em;
}

.catalogue-btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  font-weight: bold;
  background: #555;
  color: #fff;
  border-radius: 2rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.25s, color 0.25s, transform 0.18s;
}
.catalogue-btn:hover {
  background: #888;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

/* --- Contract Furniture Catalogue Filter Bar: Use Brands Filter Styles --- */
#catalogue-main-filter, #catalogue-sub-filter {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
#catalogue-main-filter button, #catalogue-sub-filter button {
  background: #fff;
  color: #555;
  border: 2px solid #bbb;
  border-radius: 20px;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
  outline: none;
  font-family: inherit;
  box-shadow: none;
  letter-spacing: 0.01em;
}
#catalogue-main-filter button.active, #catalogue-main-filter button:hover,
#catalogue-sub-filter button.active, #catalogue-sub-filter button:hover {
  background: #222;
  color: #fff;
  border-color: #222;
}
#catalogue-sub-filter button {
  font-size: 0.92rem;
  padding: 0.35rem 1.1rem;
  border-radius: 14px;
}

.fade-in {
  animation: fadeInFast 0.22s cubic-bezier(0.4,0,0.2,1);
}
@keyframes fadeInFast {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin: 2.5rem 0 1.5rem 0;
  justify-items: stretch;
}
@media (max-width: 1100px) {
  .catalogue-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .catalogue-grid {
    grid-template-columns: 1fr;
  }
}
.catalogue-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 120px;
  box-shadow: none;
  background: none;
  border-radius: 0;
  padding: 0;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.4,0,0.2,1);
}
.catalogue-item-image {
  width: 100%;
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
  margin-bottom: 0.5rem;
  display: block;
  transition: transform 0.18s cubic-bezier(0.4,0,0.2,1);
}
.catalogue-item:hover {
  transform: scale(1.08);
}
.catalogue-item:hover .catalogue-item-image {
  transform: scale(1.08);
}
.catalogue-item-title {
  font-size: 1.01rem;
  font-weight: 500;
  color: #555;
  margin: 0.2rem 0 0 0;
  text-align: center;
}
.catalogue-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0 2.5rem 0;
}
.catalogue-page-btn {
  background: #fff;
  color: #555;
  border: 2px solid #bbb;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.catalogue-page-btn.active, .catalogue-page-btn:hover {
  background: #222;
  color: #fff;
  border-color: #222;
}

.furniture-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.55);
  z-index: 4000;
  align-items: center;
  justify-content: center;
}
.furniture-modal.active {
  display: flex;
}
.furniture-modal-content {
  background: #fff;
  border-radius: 18px;
  max-width: 600px;
  width: 98vw;
  max-height: 90vh;
  padding: 2.2rem 1.5rem 1.5rem 1.5rem;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.furniture-modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
}
.furniture-modal-close:hover {
  color: #222;
}
#furniture-modal-body {
  margin-top: 0.5rem;
  font-size: 1.08rem;
  color: #444;
  overflow-y: auto;
}

/* Reference modal larger size for references section */
#references .modal-content {
  max-width: 1100px;
  width: 98vw;
  min-width: 320px;
  min-height: 480px;
}
#references .carousel-images {
  width: 700px;
  height: 420px;
  min-height: 220px;
  max-height: 520px;
}
@media (max-width: 900px) {
  #references .modal-content {
    max-width: 98vw;
    min-width: 0;
  }
  #references .carousel-images {
    width: 98vw;
    height: 38vw;
    min-height: 120px;
    max-height: 220px;
  }
}

/* --- Reference Modal Carousel Fade Animation --- */
.carousel-slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1);
}
.carousel-slide-img.active {
  opacity: 1;
  z-index: 2;
}
.carousel-slide-img.fade-in {
  opacity: 1;
}
.carousel-slide-img.fade-out {
  opacity: 0;
}

/* Projects Carousel Styles */
.projects-carousel-container {
  padding: 2rem 0;
}

@media (max-width: 600px) {
  .projects-carousel-container {
    padding: 1rem 0;
  }
  
  .project-carousel {
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .projects-carousel-container {
    padding: 0.5rem 0;
  }
  
  .project-carousel {
    margin-bottom: 1.5rem;
  }
}

.project-carousel {
  margin-bottom: 4rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* Swiper Styles */
.project-swiper {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

/* Swiper Navigation Arrows - Dark Grey */
.swiper-button-next,
.swiper-button-prev {
  color: #333333 !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #555555 !important;
}

/* Swiper Pagination - Fesci Red for active, white for inactive */
.swiper-pagination-bullet {
  background: #ffffff !important;
  opacity: 0.8 !important;
  transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
  background: #880a22 !important;
  opacity: 1 !important;
  transform: scale(1.2) !important;
}

/* Mobile-specific override to ensure active state works */
@media (max-width: 600px) {
  .project-swiper .swiper-pagination .swiper-pagination-bullet-active {
    background: #880a22 !important;
    opacity: 1 !important;
    transform: scale(1.2) !important;
  }
}

@media (max-width: 480px) {
  .project-swiper .swiper-pagination .swiper-pagination-bullet-active {
    background: #880a22 !important;
    opacity: 1 !important;
    transform: scale(1.2) !important;
  }
}

@media (max-width: 400px) {
  .project-swiper .swiper-pagination .swiper-pagination-bullet-active {
    background: #880a22 !important;
    opacity: 1 !important;
    transform: scale(1.2) !important;
  }
}



.swiper-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.swiper-slide img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Desktop: Fixed height with contain to fit images without cropping */
@media (min-width: 601px) {
  .project-swiper {
    height: 400px !important;
  }
  
  .swiper-slide {
    height: 400px !important;
  }
  
  .swiper-slide img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }
}

/* Mobile: Show images in original aspect ratio */
@media (max-width: 600px) {
  .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    border-radius: 8px !important;
  }
}

/* Desktop Navigation Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #333;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.carousel-arrow:hover {
  background: rgba(255,255,255,1);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.carousel-prev {
  left: 20px;
}

.carousel-next {
  right: 20px;
}

/* Pagination Dots */
.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255,255,255,0.8);
}

.dot.active {
  background: #fff;
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(255,255,255,0.8);
}

/* Project Description */
.project-description {
  padding: 2rem;
  background: #fff;
}

.project-description p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* Mobile Responsive Styles */
@media (max-width: 900px) {
  .project-swiper {
    height: 250px;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .project-description {
    padding: 1.5rem;
  }
  
  .project-description h3 {
    font-size: 1.3rem;
  }
}

/* Mobile-specific styles with higher specificity */
@media (max-width: 600px) {
  .project-swiper {
    height: 280px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    max-height: 280px !important;
  }
  
  .swiper-slide {
    height: 280px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px !important;
    max-height: 280px !important;
  }
  
  .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    display: block !important;
    max-width: 100% !important;
    max-height: 100% !important;
  }
  
  /* Hide arrows on mobile - use touch/swipe instead */
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  
  .swiper-pagination {
    bottom: 10px !important;
  }
  
  .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    background: #ffffff !important;
    opacity: 0.8 !important;
    transition: all 0.3s ease !important;
  }
  
  .swiper-pagination-bullet-active {
    background: #880a22 !important;
    opacity: 1 !important;
    transform: scale(1.2) !important;
  }
  
  .project-description {
    padding: 1rem !important;
  }
  

  
  .project-description p {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 480px) {
  .project-swiper {
    height: 240px !important;
    border-radius: 10px !important;
    max-height: 240px !important;
  }
  
  .swiper-slide {
    height: 240px !important;
    padding: 6px !important;
    max-height: 240px !important;
  }
  
  .swiper-slide img {
    border-radius: 6px !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  
  .swiper-pagination {
    bottom: 8px !important;
  }
  
  .swiper-pagination-bullet {
    width: 6px !important;
    height: 6px !important;
    background: #ffffff !important;
    opacity: 0.8 !important;
    transition: all 0.3s ease !important;
  }
  
  .swiper-pagination-bullet-active {
    background: #880a22 !important;
    opacity: 1 !important;
    transform: scale(1.2) !important;
  }
  
  .project-description {
    padding: 0.8rem !important;
  }
  

  
  .project-description p {
    font-size: 0.85rem !important;
  }
}

@media (max-width: 400px) {
  .project-swiper {
    height: 200px !important;
    border-radius: 8px !important;
    max-height: 200px !important;
  }
  
  .swiper-slide {
    height: 200px !important;
    padding: 4px !important;
    max-height: 200px !important;
  }
  
  .swiper-slide img {
    border-radius: 4px !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  
  .swiper-pagination {
    bottom: 6px !important;
  }
  
  .swiper-pagination-bullet {
    width: 5px !important;
    height: 5px !important;
    background: #ffffff !important;
    opacity: 0.8 !important;
    transition: all 0.3s ease !important;
  }
  
  .swiper-pagination-bullet-active {
    background: #880a22 !important;
    opacity: 1 !important;
    transform: scale(1.2) !important;
  }
  
  .project-description {
    padding: 0.6rem !important;
  }
  

  
  .project-description p {
    font-size: 0.8rem !important;
  }
}

/* Touch/Swipe Support */
.carousel-wrapper {
  touch-action: pan-y pinch-zoom;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Mobile-specific improvements */
@media (max-width: 600px) {
  .carousel-wrapper {
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
  }
  
  .carousel-slide img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
  }
}

/* Smooth transitions for all interactive elements */
.carousel-slide,
.carousel-arrow,
.dot {
  -webkit-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -moz-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -o-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
  .carousel-track {
    -webkit-overflow-scrolling: touch;
  }
  
  .carousel-arrow {
    -webkit-tap-highlight-color: transparent;
  }
}

/* Android Chrome specific fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  .carousel-track {
    -webkit-overflow-scrolling: touch;
  }
}

/* Additional mobile overrides for swiper carousel - HIGH PRIORITY */
@media (max-width: 600px) {
  .project-swiper {
    height: 280px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }
  
  .swiper-slide {
    height: 280px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px !important;
  }
  
  .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 8px !important;
  }
}

@media (max-width: 480px) {
  .project-swiper {
    height: 240px !important;
    border-radius: 10px !important;
  }
  
  .swiper-slide {
    height: 240px !important;
    padding: 6px !important;
  }
  
  .swiper-slide img {
    border-radius: 6px !important;
  }
}

@media (max-width: 400px) {
  .project-swiper {
    height: 200px !important;
    border-radius: 8px !important;
  }
  
  .swiper-slide {
    height: 200px !important;
    padding: 4px !important;
  }
  
  .swiper-slide img {
    border-radius: 4px !important;
  }
}

/* Projects Pagination */
.projects-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 3rem;
  padding: 2rem 0;
}

.page-btn {
  min-width: 48px;
  height: 48px;
  border: none;
  background: #f5f5f5;
  color: #666666;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}

.page-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #333333 0%, #555555 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
}

.page-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  color: #333333;
}

.page-btn:hover::before {
  opacity: 0.1;
}

.page-btn.active {
  background: linear-gradient(135deg, #333333 0%, #555555 100%);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(51,51,51,0.3);
}

.page-btn.active:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(51,51,51,0.4);
}

/* Hide projects not on current page */
.project-carousel {
  display: block;
}

.project-carousel.hidden {
  display: none !important;
}

/* Mobile responsive pagination */
@media (max-width: 600px) {
  .projects-pagination {
    gap: 8px !important;
    margin-top: 2rem !important;
    padding: 1.5rem 0 !important;
  }
  
  .page-btn {
    min-width: 44px !important;
    height: 44px !important;
    font-size: 0.95rem !important;
    border-radius: 10px !important;
    background: #f5f5f5 !important;
    color: #666666 !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
  }
  
  .page-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important;
    color: #333333 !important;
  }
  
  .page-btn.active {
    background: linear-gradient(135deg, #333333 0%, #555555 100%) !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(51,51,51,0.3) !important;
  }
  
  .page-btn.active:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(51,51,51,0.4) !important;
  }
}

@media (max-width: 480px) {
  .page-btn {
    min-width: 40px !important;
    height: 40px !important;
    font-size: 0.9rem !important;
    border-radius: 8px !important;
    background: #f5f5f5 !important;
    color: #666666 !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
  }
  
  .page-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important;
    color: #333333 !important;
  }
  
  .page-btn.active {
    background: linear-gradient(135deg, #333333 0%, #555555 100%) !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(51,51,51,0.3) !important;
  }
  
  .page-btn.active:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(51,51,51,0.4) !important;
  }
}

/* Language Switcher Styles */
.language-switcher {
  display: flex;
  gap: 8px;
  margin: 20px 0;
  justify-content: center;
  padding: 0 2rem;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.language-btn {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  color: #6c757d;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.language-btn:hover {
  background: #e9ecef;
  border-color: #dee2e6;
  color: #495057;
}

.language-btn.active {
  background: #3498db;
  border-color: #3498db;
  color: white;
}

.language-btn.active:hover {
  background: #2980b9;
  border-color: #2980b9;
}

/* Header Language Switcher Styles */
.header-language-switcher {
  display: flex;
  gap: 4px;
  margin-right: 15px;
}

.header-language-dropdown {
  position: relative;
  display: inline-block;
}

.header-language-trigger {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s ease;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-language-trigger::after {
  content: '▼';
  font-size: 10px;
  transition: transform 0.3s ease;
}

.header-language-dropdown.active .header-language-trigger::after {
  transform: rotate(180deg);
}

.header-language-trigger:hover {
  color: #fff;
}

.header.scrolled .header-language-trigger {
  color: #222;
}

.header.scrolled .header-language-trigger:hover {
  color: #222;
}

.header-language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #000;
  border: 1px solid #333;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  min-width: 120px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.header-language-dropdown.active .header-language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-language-option {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  transition: all 0.2s ease;
  margin: 4px;
  border-radius: 4px;
  text-transform: uppercase;
}

.header-language-option:last-child {
  margin-bottom: 4px;
}

.header-language-option:hover {
  background-color: #333;
}

.header-language-option.active {
  background-color: #880a22;
  color: white;
}

@media (max-width: 768px) {
  .language-switcher {
    margin: 15px 0;
  }

  .language-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .header-language-switcher {
    margin-right: 10px;
  }
  
  .header-language-trigger {
    padding: 3px 6px;
    font-size: 12px;
  }
  
  .header-language-menu {
    min-width: 100px;
    right: -10px;
  }
  
  .header-language-option {
    padding: 6px 10px;
    font-size: 12px;
    margin: 3px;
  }
}

/* --- Mobile Filtering Fix --- */
@media (max-width: 700px) {
  /* Make the category list a flexbox for ordering */
  .arch-category-list {
    display: flex !important;
    flex-direction: column !important;
  }
  
  /* Force proper display for filtered content */
  .arch-product-tile {
    display: block !important;
  }
  
  .arch-product-tile[style*="display: none"] {
    display: none !important;
  }
  
  /* Ensure tiles are properly hidden when filtered */
  .arch-product-tile[style*="display: none"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
  
  /* Ensure tiles are properly shown when not filtered */
  .arch-product-tile:not([style*="display: none"]) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* CSS class for filtered out tiles */
  .arch-product-tile.filtered-out {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
  }
  
  .arch-category-item {
    display: block !important;
  }
  
  .arch-category-item[style*="display: none"] {
    display: none !important;
  }
  
  .arch-category-divider {
    display: block !important;
  }
  
  .arch-category-divider[style*="display: none"] {
    display: none !important;
  }
  
  .arch-category-tiles {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    padding: 1rem 0;
  }
  
  .arch-category-tiles[style*="display: none"] {
    display: none !important;
  }
  
  /* Additional override to ensure filtering works */
  .arch-product-tile[style*="display: none"] {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
  }
}