/* SIVILIMA Premium - Design System & Custom Stylesheet */

:root {
  /* Colors */
  --primary: #ee3770;       /* Pink/Magenta - Brand primary */
  --primary-dark: #d01c51;  /* Dark Pink/Magenta - Brand dark */
  --primary-light: #ffe4ec; /* Light Pink/Magenta - Brand light accent */
  --secondary: #000000;     /* Black - Brand secondary */
  --secondary-light: #333333; /* Dark Gray */
  --accent: #d97706;        /* Amber 600 - Wood wood tones */
  --accent-light: #fef3c7;  /* Amber 100 */
  --bg-main: #f8fafc;       /* Slate 50 - Page background */
  --bg-card: #ffffff;
  --text-dark: #000000;
  --text-body: #333333;
  --text-muted: #666666;
  --border-color: #e2e8f0;
  
  /* Layout & Styling */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius-sm: 8px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 40px;
  --radius-full: 9999px;
  
  /* Transition */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button {
  font-family: var(--font-body);
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Scrollbar styles */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in {
  animation: fadeIn var(--transition-normal) forwards;
}

.animate-slide-up {
  animation: slideUp var(--transition-normal) forwards;
}

.animate-scale-up {
  animation: scaleUp var(--transition-fast) forwards;
}

/* Utility classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.glass {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition-fast);
}

.btn-primary {
  background-color: var(--primary);
  color: white !important;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(238, 55, 112, 0.3);
}

.btn-secondary {
  background-color: var(--secondary);
  color: white !important;
}

.btn-secondary:hover {
  background-color: #222222;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary) !important;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white !important;
  transform: translateY(-2px);
}

.btn-white {
  background-color: white;
  color: var(--secondary) !important;
}

.btn-white:hover {
  background-color: var(--bg-main);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-outline-white {
  border: 2px solid white;
  color: white !important;
}

.btn-outline-white:hover {
  background-color: white;
  color: var(--primary-dark) !important;
  transform: translateY(-2px);
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-primary {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

.badge-accent {
  background-color: var(--accent-light);
  color: var(--accent);
}

.card {
  background-color: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(238, 55, 112, 0.2);
}

/* Grid systems */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Sections */
.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-title h2 {
  font-size: 36px;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 18px;
}

.section-subtitle-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.section-subtitle-badge.primary-bg {
  background-color: var(--primary);
  color: white;
}

/* Page Banners */
.page-banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0;
  color: white;
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 80px;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(238, 55, 112, 0.5) 100%);
}

.page-banner-content {
  position: relative;
  z-index: 1;
}

.page-banner-content h1 {
  color: white;
  font-size: 48px;
  margin-bottom: 12px;
}

.page-banner-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  max-width: 600px;
}

/* Header Navbar Styles */
.navbar-global {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--transition-normal);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.navbar-global.scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-icon-wrapper {
  background-color: var(--primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(238, 55, 112, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-main {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--secondary);
  line-height: 1;
}

.brand-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--primary);
  line-height: 1;
  margin-top: 4px;
}

.nav-links-desktop {
  display: flex;
  list-style: none;
  gap: 8px;
  height: 100%;
  align-items: center;
}

.nav-item-wrapper {
  position: relative;
}

.nav-link-btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-body);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.nav-link-btn:hover,
.nav-link-btn.active {
  color: var(--primary);
  background-color: rgba(238, 55, 112, 0.06);
}

.chevron-icon {
  transition: transform var(--transition-fast);
}

.nav-item-wrapper:hover .chevron-icon {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: 500px;
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: none;
  animation: slideDown var(--transition-fast) forwards;
  z-index: 1010;
}

.nav-item-wrapper:hover .nav-dropdown-menu {
  display: block;
}

.dropdown-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  width: 100%;
}

.dropdown-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-right: 1px solid var(--border-color);
  padding-right: 20px;
}

.dropdown-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--primary-light);
}

.dropdown-item-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
}

.dropdown-item-desc {
  font-size: 11px;
  color: var(--text-muted);
}

.dropdown-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.dropdown-teaser {
  display: flex;
  gap: 12px;
}

.teaser-icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.dropdown-teaser h6 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.dropdown-teaser p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

.mobile-toggle-btn {
  display: none;
  color: var(--secondary);
}

/* Mobile Sidebar Drawer */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: right var(--transition-normal);
  box-shadow: var(--shadow-xl);
}

.mobile-sidebar.open {
  right: 0;
}

.mobile-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.nav-logo.invert .brand-main {
  color: white;
}
.nav-logo.invert .brand-sub {
  color: var(--primary-light);
}
.nav-logo.invert .logo-icon-wrapper {
  background-color: white;
  color: var(--primary);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  flex: 1;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
  width: 100%;
  padding: 8px 0;
  background: none;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--primary);
  padding-left: 8px;
}

.mobile-nav-group-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}

.mobile-submenu {
  list-style: none;
  padding-left: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 12px;
}

.mobile-submenu-link {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
  width: 100%;
  background: none;
}

.mobile-submenu-link:hover,
.mobile-submenu-link.active {
  color: var(--primary);
}

.mobile-sidebar-footer {
  margin-top: auto;
}

/* Home Slider Styles */
.hero-slider-container {
  position: relative;
  width: calc(100% - 32px);
  max-width: 1400px;
  height: 75vh;
  margin: 104px auto 32px auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-color: var(--secondary);
  box-shadow: var(--shadow-xl);
}
@media (max-width: 768px) {
  .hero-slider-container {
    width: calc(100% - 16px);
    height: 60vh;
    margin: 96px auto 16px auto;
    border-radius: var(--radius-lg);
  }
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow) ease-in-out, visibility var(--transition-slow);
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

@media (min-width: 992px) {
  .hero-slide-image {
    width: 50%;
  }
  
  .hero-slide-content {
    max-width: 550px;
  }
  
  .hero-overlay {
    background: linear-gradient(90deg, 
      rgba(0, 0, 0, 1) 0%, 
      rgba(0, 0, 0, 1) 48%, 
      rgba(0, 0, 0, 0.4) 65%, 
      rgba(0, 0, 0, 0) 100%
    );
  }
}

.hero-content-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-slide-content {
  max-width: 650px;
  color: white;
}

.hero-slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background-color: rgba(238, 55, 112, 0.2);
  border: 1px solid rgba(238, 55, 112, 0.4);
  color: var(--primary-light);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-slide-title {
  font-size: 56px;
  color: white;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  transform: translateY(20px);
  opacity: 0;
}

.hero-slide-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  line-height: 1.6;
  transform: translateY(20px);
  opacity: 0;
}

.hero-slide-actions {
  display: flex;
  gap: 16px;
  transform: translateY(20px);
  opacity: 0;
}

.hero-slide.active .hero-slide-title {
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
}

.hero-slide.active .hero-slide-desc {
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
}

.hero-slide.active .hero-slide-actions {
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-arrow:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-50%) scale(1.05);
}

.arrow-left {
  left: 30px;
}

.arrow-right {
  right: 30px;
}

.slider-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.indicator-dot {
  width: 24px;
  height: 4px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.3);
  transition: all var(--transition-normal);
}

.indicator-dot.active {
  background-color: var(--primary);
  width: 48px;
}

/* Category Card Design */
.category-card {
  position: relative;
  background-color: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  overflow: hidden;
  padding: 12px;
  transition: all var(--transition-normal);
}

.cat-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 5;
}

.cat-image-wrapper {
  height: 220px;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 10px);
  background-color: #f1f5f9;
}

.cat-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.category-card:hover .cat-image {
  transform: scale(1.08);
}

.cat-content {
  padding: 16px 8px 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cat-content h3 {
  font-size: 20px;
  color: var(--secondary);
}

.cat-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.cat-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.btn-link {
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.btn-link svg {
  background: var(--primary-light);
  color: var(--primary-dark);
  width: 28px;
  height: 28px;
  padding: 7px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.btn-link:hover {
  color: var(--primary-dark);
}

.category-card:hover .btn-link svg {
  background: var(--primary);
  color: white;
  transform: rotate(-45deg);
}

.btn-sm-padding {
  padding: 8px 16px !important;
  font-size: 13px !important;
}

/* Why Sivilima Section */
.why-sivilima-section {
  background-color: var(--secondary);
  color: white;
  overflow: hidden;
  max-width: 1200px;
  margin: 80px auto;
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  box-shadow: var(--shadow-xl);
}

@media (max-width: 992px) {
  .why-sivilima-section {
    margin: 40px 16px;
    padding: 48px 24px;
    border-radius: var(--radius-lg);
  }
}

.align-center {
  align-items: center;
}

.why-title {
  color: white;
  font-size: 40px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.why-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.why-stats-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 24px 32px;
  border-radius: var(--radius-full);
  gap: 24px;
  margin-top: 32px;
}

@media (max-width: 576px) {
  .why-stats-grid {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 20px;
    gap: 16px;
  }
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.why-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
  border-radius: var(--radius-lg);
  color: white;
  transition: transform var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(238, 55, 112, 0.4);
}

.feat-icon-wrapper {
  color: var(--primary);
  margin-bottom: 16px;
}

.feature-card h4 {
  color: white;
  font-size: 16px;
  margin-bottom: 8px;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.5;
}

/* Projects Previews */
.project-preview-card {
  position: relative;
  background-color: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  overflow: hidden;
  padding: 12px;
  transition: all var(--transition-normal);
}

.proj-image-wrapper {
  height: 240px;
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 10px);
}

.proj-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.proj-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.proj-zoom-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: all var(--transition-fast);
}

.proj-zoom-btn:hover {
  background-color: var(--primary-dark);
  transform: scale(1.1);
}

.project-preview-card:hover .proj-image {
  transform: scale(1.08);
}

.project-preview-card:hover .proj-overlay {
  opacity: 1;
}

.project-preview-card:hover .proj-zoom-btn {
  transform: scale(1);
}

.proj-content {
  padding: 16px 8px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.proj-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.proj-content h4 {
  font-size: 18px;
  color: var(--secondary);
}

.proj-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.pin-icon {
  color: var(--text-muted);
  flex-shrink: 0;
}

.centered-action-btn {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--bg-main);
}

.testimonial-slider-box {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 50px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-lg);
}

.quote-icon {
  color: var(--primary-light);
}

.testimonial-text {
  font-size: 20px;
  font-style: italic;
  color: var(--text-body);
  line-height: 1.6;
}

.testimonial-author-info h5 {
  font-size: 16px;
  color: var(--secondary);
  margin-bottom: 4px;
}

.testimonial-author-info span {
  font-size: 13px;
  color: var(--text-muted);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: var(--border-color);
}

.t-dot.active {
  background-color: var(--primary);
  width: 24px;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  max-width: 1200px;
  margin: 0 auto 80px auto;
  border-radius: var(--radius-xl);
  padding: 60px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 10%;
  width: 200px;
  height: 200px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.cta-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.cta-left h2 {
  color: white;
  font-size: 32px;
  margin-bottom: 12px;
}

.cta-left p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  max-width: 650px;
}

.cta-right {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .cta-banner {
    margin: 0 16px 48px 16px;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
  }
  .cta-flex {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
}

/* Footer Section */
.footer-global {
  background-image: linear-gradient(rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.94)), url('../images/hero_roofing.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0 0;
  border-top: 4px solid var(--primary);
  border-radius: 40px 40px 0 0;
  overflow: hidden;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1.4fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.brand-info {
  gap: 24px;
}

.white-bg {
  background-color: white !important;
}

.teal-color {
  color: var(--primary) !important;
}

.white-text {
  color: white !important;
}

.teal-light {
  color: var(--primary-light) !important;
}

.brand-description {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.footer-title {
  color: white;
  font-size: 18px;
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links button,
.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  text-align: left;
  width: fit-content;
  transition: all var(--transition-fast);
}

.footer-links button:hover,
.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 6px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-detail-item {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.contact-icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.newsletter-title {
  font-size: 13px;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.input-group {
  display: flex;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  padding: 4px;
}

.input-group input {
  flex: 1;
  background: none;
  border: none;
  color: white;
  padding: 8px 20px;
  font-family: var(--font-body);
  outline: none;
  font-size: 14px;
}

.input-group input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.newsletter-submit {
  width: 36px;
  height: 36px;
  background-color: var(--primary);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-submit:hover {
  background-color: var(--primary-dark);
}

.footer-bottom {
  margin-top: 60px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}

.bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bottom-links {
  display: flex;
  gap: 20px;
}

.bottom-links a {
  color: rgba(255, 255, 255, 0.4);
}

.bottom-links a:hover {
  color: white;
}

/* Modal Popup Styles */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-content {
  background-color: white;
  width: 100%;
  max-width: 950px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-color);
}

.modal-category {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 4px;
}

.modal-title {
  font-size: 24px;
  color: var(--secondary);
}

.modal-close-btn {
  color: var(--text-muted);
}

.modal-close-btn:hover {
  color: var(--text-dark);
}

.modal-body {
  padding: 32px;
  overflow-y: auto;
}

.modal-body-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 40px;
}

.modal-details-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-product-img-wrapper {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
}

.modal-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.tab-buttons {
  display: flex;
  border-bottom: 2px solid var(--border-color);
}

.tab-btn {
  flex: 1;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.tab-btn:hover {
  color: var(--primary);
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-content-area {
  padding-top: 10px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
}

.feature-icon {
  color: var(--primary);
  flex-shrink: 0;
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-color);
}

.spec-key {
  color: var(--text-muted);
  font-weight: 500;
}

.spec-value {
  color: var(--text-dark);
  font-weight: 600;
}

.modal-form-col {
  background-color: var(--bg-main);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-color);
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote-form.hidden {
  display: none;
}

.quote-form h4 {
  font-size: 18px;
  color: var(--secondary);
}

.form-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: -8px;
  line-height: 1.4;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-body);
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  background-color: white;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-light);
}

.btn-submit {
  padding: 14px;
  margin-top: 10px;
}

.success-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 10px;
  gap: 16px;
  height: 100%;
}

.success-state.active {
  display: flex;
}

.success-icon {
  color: var(--primary);
}

.success-state h4 {
  font-size: 20px;
  color: var(--secondary);
}

.success-state p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 12px;
}

/* Products Catalog Styling */
.filter-search-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 32px;
  gap: 20px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px 16px;
}

.search-box input {
  border: none;
  background: none;
  outline: none;
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
}

.search-icon {
  color: var(--text-muted);
}

.filter-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  white-space: nowrap;
}

.filter-info-icon {
  color: var(--primary);
}

.category-tabs-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.cat-tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background-color: white;
  border: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-body);
  transition: all var(--transition-fast);
}

.cat-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-light);
}

.cat-tab-btn.active {
  background-color: var(--primary);
  color: white !important;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(238, 55, 112, 0.2);
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.prod-img-wrapper {
  height: 200px;
  position: relative;
  background-color: #f1f5f9;
  overflow: hidden;
}

.prod-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .prod-img {
  transform: scale(1.05);
}

.prod-brand-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--secondary);
  color: white;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.prod-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.prod-header-meta {
  margin-bottom: 8px;
}

.prod-cat-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.product-card h3 {
  font-size: 18px;
  color: var(--secondary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.prod-desc-teaser {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.prod-specs-teaser {
  background-color: var(--bg-main);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.prod-spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.spec-label {
  color: var(--text-muted);
  font-weight: 500;
}

.spec-val {
  color: var(--text-dark);
  font-weight: 600;
}

.prod-actions {
  margin-top: auto;
}

.no-products-found {
  display: none;
  text-align: center;
  padding: 60px 20px;
  border-radius: var(--radius-md);
  background-color: white;
  border: 1px dashed var(--border-color);
  width: 100%;
}

.no-prod-icon {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.no-products-found h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.no-products-found p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Ceiling Page Styling */
.benefit-card-lite {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
}

.benefit-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.text-center {
  text-align: center;
}

.series-section {
  background-color: var(--bg-main);
}

.series-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.series-card-header {
  padding: 24px;
  background-color: var(--secondary);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.series-card-header h3 {
  color: white;
  font-size: 20px;
}

.series-thick-badge {
  background-color: var(--primary);
  color: white;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
}

.series-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.series-card-body p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
}

.series-spec-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  margin-top: auto;
}

.series-spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.series-spec-row span {
  color: var(--text-muted);
}

.series-spec-row strong {
  color: var(--text-dark);
}

/* Swatch layout */
.swatch-picker-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.swatch-card {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.swatch-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.swatch-card.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-light);
}

.swatch-preview {
  height: 100px;
  border-radius: var(--radius-sm);
}

.bordered-swatch {
  border: 1px solid #cbd5e1;
}

.swatch-info {
  display: flex;
  flex-direction: column;
}

.swatch-code {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.swatch-name {
  font-size: 13px;
  color: var(--text-dark);
}

.selected-swatch-details {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  height: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.no-swatch-selected {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.swatch-detail-box {
  display: none;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.swatch-detail-box.active {
  display: flex;
}

.swatch-detail-preview {
  height: 140px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.swatch-detail-text h4 {
  font-size: 20px;
  color: var(--secondary);
  margin-bottom: 4px;
}

.swatch-detail-text p {
  font-size: 14px;
  color: var(--text-body);
}

.swatch-desc-note {
  color: var(--text-muted) !important;
  margin-top: 10px;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* Comparison Table */
.comparison-section {
  background-color: var(--bg-main);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: white;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background-color: var(--secondary);
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.text-highlight {
  color: var(--primary-dark);
  font-weight: 700;
  background-color: var(--primary-light);
}

/* Roofing Page Styling */
.graphic-stack {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: perspective(600px) rotateX(15deg);
  margin: 0 auto;
}

.graphic-layer {
  padding: 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-align: center;
  font-size: 15px;
  color: white;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-fast);
}

.graphic-layer:hover {
  transform: translateZ(10px);
}

.layer-1-box {
  background-color: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.layer-2-box {
  background-color: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.layer-3-box {
  background-color: var(--secondary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.layer-text-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.layer-intro-p {
  font-size: 16px;
  color: var(--text-muted);
}

.layers-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.layer-item-box {
  border-left: 3px solid var(--primary);
  padding-left: 16px;
}

.layer-item-box h5 {
  font-size: 15px;
  color: var(--secondary);
  margin-bottom: 4px;
}

.layer-item-box p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.4;
}

.color-showcase-section {
  background-color: var(--bg-main);
}

.color-selector-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: stretch;
}

.color-selector-sidebar {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.sidebar-helper-text {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.color-buttons-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.color-select-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  text-align: left;
  width: 100%;
  transition: all var(--transition-fast);
  background: white;
}

.color-select-row:hover {
  border-color: var(--primary);
  background-color: var(--primary-light);
}

.color-select-row.active {
  border-color: var(--primary);
  background-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.color-circle {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0,0,0,0.1);
}

.color-btn-lbls {
  display: flex;
  flex-direction: column;
}

.col-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.col-code {
  font-size: 11px;
  color: var(--text-muted);
}

.color-sidebar-action {
  margin-top: 30px;
}

.color-preview-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #f1f5f9;
  position: relative;
}

.color-preview-img-wrapper {
  width: 100%;
  height: 100%;
  min-height: 400px;
  position: relative;
}

.color-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.color-preview-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
}

.perf-intro-p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.perf-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.perf-item {
  display: flex;
  gap: 16px;
}

.perf-icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.perf-item h5 {
  font-size: 15px;
  color: var(--secondary);
  margin-bottom: 4px;
}

.perf-item p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.4;
}

.specs-table-col {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  background-color: white;
}

.specs-table-col h4 {
  font-size: 18px;
  color: var(--secondary);
  margin-bottom: 20px;
}

.specs-data-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.spec-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-color);
}

.spec-lbl {
  color: var(--text-muted);
  font-weight: 500;
}

.spec-val {
  color: var(--text-dark);
  font-weight: 700;
}

.spec-bottom-note {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 24px;
  line-height: 1.4;
  background-color: var(--bg-main);
  padding: 12px;
  border-radius: var(--radius-sm);
}

.shield-icon {
  color: var(--primary);
  flex-shrink: 0;
}

.accessories-section {
  background-color: var(--bg-main);
}

.acc-image-wrapper {
  height: 160px;
  background-color: #f1f5f9;
}

.acc-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.acc-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.acc-content h4 {
  font-size: 16px;
  color: var(--secondary);
}

.acc-content p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  min-height: 50px;
}

/* Flooring Page Styling */
.colors-section {
  background-color: var(--bg-main);
}

.color-plank-card {
  background-color: white;
}

.plank-texture-preview {
  height: 180px;
  border-bottom: 1px solid var(--border-color);
}

.plank-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plank-code {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
}

.plank-info h3 {
  font-size: 18px;
  color: var(--secondary);
  margin-bottom: 8px;
}

.install-p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.install-stages-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stage-step-btn {
  text-align: left;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-body);
  background-color: white;
}

.stage-step-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.stage-step-btn.active {
  background-color: var(--primary);
  color: white !important;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.install-right-col {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  background-color: white;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.active-stage-content {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.active-stage-content.active {
  display: flex;
}

.stage-check-icon {
  color: var(--primary);
}

.active-stage-content h4 {
  font-size: 20px;
  color: var(--secondary);
}

.active-stage-content p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

.stage-note-box {
  background-color: var(--bg-main);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-muted);
  border-left: 3px solid var(--primary);
}

/* Projects Page Styling */
.portfolio-filters-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 40px;
  gap: 20px;
}

.filter-intro-lbl {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.filter-icon {
  color: var(--primary);
}

.filter-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn-tab {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--text-body);
  background-color: white;
  border: 1px solid var(--border-color);
}

.filter-btn-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn-tab.active {
  background-color: var(--primary);
  color: white !important;
  border-color: var(--primary);
}

.project-gallery-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.proj-image-container {
  height: 240px;
  position: relative;
  background-color: #e2e8f0;
  overflow: hidden;
}

.proj-thumbnails {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-normal);
}

.project-gallery-card:hover .proj-thumbnails {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .proj-thumbnails {
    opacity: 1;
    transform: translateY(0);
  }
}

.proj-thumb {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all var(--transition-fast);
}

.proj-thumb:hover,
.proj-thumb.active {
  border-color: var(--primary);
  transform: scale(1.1);
}

.proj-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-gallery-card:hover .proj-card-img {
  transform: scale(1.05);
}

.proj-card-category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--primary);
  color: white;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.proj-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.proj-card-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.project-gallery-card h3 {
  font-size: 18px;
  color: var(--secondary);
  line-height: 1.3;
  margin-bottom: 8px;
}

.proj-card-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  margin-top: auto;
}

.proj-spec-item {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--text-body);
  line-height: 1.4;
}

.proj-spec-icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Blog Page Styling */
.blog-filter-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.blog-filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background-color: white;
  border: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-body);
}

.blog-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.blog-filter-btn.active {
  background-color: var(--primary);
  color: white !important;
  border-color: var(--primary);
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-img-wrapper {
  height: 200px;
  position: relative;
  background-color: #e2e8f0;
  overflow: hidden;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}

.blog-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--secondary);
  color: white;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.blog-meta-row {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-card-content h3 {
  font-size: 18px;
  color: var(--secondary);
  line-height: 1.3;
}

.blog-card-content p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 8px;
  flex-grow: 1;
}

.btn-read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: auto;
}

.btn-read-more:hover {
  color: var(--primary-dark);
}

/* Individual Full Blog Overlays */
.article-detail-view {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  display: none;
}

.article-detail-view.active {
  display: block;
}

.back-to-blog-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 24px;
  background: none;
}

.back-to-blog-btn:hover {
  color: var(--primary);
}

.detail-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.meta-info-row {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-article-title {
  font-size: 32px;
  color: var(--secondary);
  margin-bottom: 24px;
  line-height: 1.2;
}

.detail-banner-wrapper {
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 30px;
}

.detail-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-full-body {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
}

.article-full-body h3 {
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 12px;
  color: var(--secondary);
}

.article-full-body h4 {
  font-size: 16px;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--secondary);
}

.article-full-body p {
  margin-bottom: 16px;
}

.article-full-body strong {
  color: var(--text-dark);
}

.detail-footer-cta {
  margin-top: 50px;
  padding: 30px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.detail-footer-cta h5 {
  font-size: 18px;
  color: var(--secondary);
}

.detail-footer-cta p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 10px;
}

/* About Us Styling */
.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background-color: #cbd5e1;
}

.about-main-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 380px;
}

.about-img-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  padding: 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--secondary);
}

.about-overlay-icon {
  color: var(--primary);
  flex-shrink: 0;
}

.about-img-overlay h5 {
  font-size: 15px;
  color: var(--secondary);
}

.about-img-overlay p {
  font-size: 12px;
  color: var(--text-muted);
}

.about-intro-p {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 16px;
}

.about-text-col p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.about-stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.about-stat-box {
  display: flex;
  flex-direction: column;
}

.about-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-dark);
}

.about-stat-lbl {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.value-card {
  padding: 32px 24px;
  background: white;
}

.value-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

/* Timeline */
.timeline-container {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.timeline-years-bar {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid var(--border-color);
  position: relative;
  padding-bottom: 12px;
}

.timeline-year-btn {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -15px;
  padding-bottom: 12px;
  z-index: 5;
  background: none;
}

.timeline-year-btn:hover {
  color: var(--primary);
}

.timeline-year-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.timeline-card-content {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.milestone-box {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.milestone-box.active {
  display: flex;
}

.milestone-year-highlight {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.milestone-box h3 {
  font-size: 20px;
  color: var(--secondary);
}

.milestone-box p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.vision-mission-section {
  background-color: var(--secondary);
  color: white;
  max-width: 1200px;
  margin: 0 auto 80px auto;
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  box-shadow: var(--shadow-xl);
}

@media (max-width: 992px) {
  .vision-mission-section {
    margin: 0 16px 48px 16px;
    padding: 48px 24px;
    border-radius: var(--radius-lg);
  }
}

.vision-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: white;
}

.vm-icon {
  color: var(--primary);
  margin-bottom: 20px;
}

.vision-card h3 {
  color: white;
  font-size: 22px;
  margin-bottom: 16px;
}

.vision-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
}

/* Contact Us & Branch locator Styling */
.central-hotline-box {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 40px;
  background-color: white;
}

.hotline-icon {
  color: var(--primary);
  flex-shrink: 0;
}

.hotline-lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
}

.central-hotline-box h3 {
  font-size: 28px;
  color: var(--secondary);
  margin-bottom: 4px;
}

.central-hotline-box p {
  font-size: 13px;
  color: var(--text-muted);
}

.branch-locator-panel h3 {
  font-size: 20px;
  color: var(--secondary);
  margin-bottom: 6px;
}

.locator-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.branch-selector-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 20px;
  align-items: start;
}

.branch-buttons-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.branch-select-btn {
  text-align: left;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-body);
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.branch-select-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.branch-select-btn.active {
  border-color: var(--primary);
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

.branch-select-btn .chevron {
  opacity: 0.5;
  transition: transform var(--transition-fast);
}

.branch-select-btn.active .chevron {
  transform: translateX(3px);
  opacity: 1;
}

.branch-details-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.branch-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.branch-pin-icon {
  color: var(--primary);
}

.branch-card-header h4 {
  font-size: 16px;
  color: var(--secondary);
}

.branch-details-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.branch-detail-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.det-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.det-val {
  font-size: 13px;
  color: var(--text-dark);
  line-height: 1.4;
}

.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--bg-main);
  border: 1px dashed var(--border-color);
  padding: 20px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 10px;
}

.map-icon {
  color: var(--primary);
}

.contact-form-box {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: white;
  box-shadow: var(--shadow-md);
}

.main-contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.main-contact-form h3 {
  font-size: 20px;
  color: var(--secondary);
}

.form-helper {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: -10px;
}

.main-contact-form select {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  background-color: white;
  color: var(--text-dark);
}

.send-btn {
  padding: 14px 20px !important;
}

.success-check-icon {
  color: var(--primary);
  margin-bottom: 16px;
}

.form-success-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 10px;
  gap: 16px;
  height: 100%;
}

.form-success-state.active {
  display: flex;
}

.form-success-state h3 {
  font-size: 22px;
  color: var(--secondary);
  margin-bottom: 10px;
}

.form-success-state p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 380px;
  margin: 0 auto 24px auto;
}

/* Responsive queries */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links-desktop, .nav-cta-desktop {
    display: none !important;
  }
  .mobile-toggle-btn {
    display: block;
  }
  .navbar-global {
    background: rgba(255, 255, 255, 0.7);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .swatch-picker-container {
    grid-template-columns: 1fr;
  }
  .selected-swatch-details {
    min-height: auto;
  }
  .branch-selector-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
  
  .page-banner {
    padding: 70px 0;
    margin-top: 80px;
  }
  
  .page-banner-content h1 {
    font-size: 32px;
  }
  
  .page-banner-content p {
    font-size: 15px;
  }
  
  .hero-slide-title {
    font-size: 36px;
  }
  
  .hero-slide-desc {
    font-size: 15px;
    margin-bottom: 24px;
  }
  
  .slider-arrow {
    display: none;
  }
  
  .hero-slide-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-slide-actions button {
    width: 100%;
  }
  
  .why-stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .why-title {
    font-size: 28px;
  }
  
  .why-features-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-slider-box {
    padding: 30px 20px;
  }
  
  .testimonial-text {
    font-size: 16px;
  }
  
  .cta-flex {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-left h2 {
    font-size: 26px;
  }
  
  .cta-right {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-right button,
  .cta-right a {
    width: 100%;
  }
  
  .footer-global {
    padding: 60px 0 0 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .bottom-container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .modal-content {
    max-height: 95vh;
  }
  
  .modal-header {
    padding: 16px 20px;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .modal-body-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .modal-form-col {
    padding: 16px;
  }
  
  .swatch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .timeline-year-btn {
    font-size: 15px;
    margin-bottom: -11px;
    padding-bottom: 8px;
  }
}

/* ==========================================================================
   Light & Dark Mode Theme Engine Styles
   ========================================================================== */

/* Theme Toggle Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background-color: rgba(0, 0, 0, 0.04);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  margin-right: 12px;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
  overflow: hidden;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary);
  transform: scale(1.05);
}

/* Mobile theme toggle layout spacing */
.mobile-sidebar-header .theme-toggle-btn {
  margin-right: 8px;
  margin-left: auto;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.mobile-sidebar-header .theme-toggle-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Toggle Icons */
.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  position: absolute;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

/* Sun icon show in dark mode, moon in light mode */
html[data-theme="dark"] .theme-icon-sun {
  transform: rotate(0deg) scale(1);
  opacity: 1;
}

html[data-theme="dark"] .theme-icon-moon {
  transform: rotate(90deg) scale(0);
  opacity: 0;
}

html[data-theme="light"] .theme-icon-sun,
:root:not([data-theme="dark"]) .theme-icon-sun {
  transform: rotate(-90deg) scale(0);
  opacity: 0;
}

html[data-theme="light"] .theme-icon-moon,
:root:not([data-theme="dark"]) .theme-icon-moon {
  transform: rotate(0deg) scale(1);
  opacity: 1;
}

/* Dark theme overrides */
html[data-theme="dark"] {
  --bg-main: #0b0f19;         /* Very dark navy/black */
  --bg-card: #111827;         /* Slate 900 */
  --text-dark: #f9fafb;       /* Off-white */
  --text-body: #d1d5db;       /* Slate 300 text */
  --text-muted: #9ca3af;      /* Slate 400 text */
  --border-color: #1f2937;    /* Slate 800 borders */
  
  --primary-light: #881237;   /* Dark rose/magenta for dark background accent */
  --accent-light: #7c2d12;    /* Dark amber for dark background accent */
  
  --secondary: #f3f4f6;       /* Make secondary elements light contrast */
}

/* Specific class styling overrides for dark mode */
html[data-theme="dark"] .glass {
  background: rgba(17, 24, 39, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="dark"] .glass-dark {
  background: rgba(3, 7, 18, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

html[data-theme="dark"] .modal-content {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
}

html[data-theme="dark"] .modal-form-col {
  background-color: var(--bg-main);
  border-color: var(--border-color);
}

html[data-theme="dark"] .form-group input,
html[data-theme="dark"] .form-group select,
html[data-theme="dark"] .form-group textarea {
  background-color: var(--bg-main);
  color: var(--text-dark);
  border-color: var(--border-color);
}

html[data-theme="dark"] .form-group input:focus,
html[data-theme="dark"] .form-group select:focus,
html[data-theme="dark"] .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-light);
}

html[data-theme="dark"] .btn-white {
  background-color: #1f2937;
  color: #f9fafb !important;
  border: 1px solid #374151;
}

html[data-theme="dark"] .btn-white:hover {
  background-color: #374151;
}

html[data-theme="dark"] .btn-outline-white {
  border-color: var(--primary);
  color: var(--primary) !important;
}

html[data-theme="dark"] .btn-outline-white:hover {
  background-color: var(--primary);
  color: white !important;
}

html[data-theme="dark"] .btn-secondary {
  color: #0f172a !important;
}

html[data-theme="dark"] .btn-secondary:hover {
  background-color: #ffffff;
  color: #0f172a !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .comparison-table th {
  background-color: #1f2937;
  color: var(--text-dark);
  border-bottom-color: var(--border-color);
}

html[data-theme="dark"] .comparison-table tr:nth-child(even) {
  background-color: #111827;
}

html[data-theme="dark"] .comparison-table tr:hover {
  background-color: #1f2937;
}

html[data-theme="dark"] .swatch-detail-box {
  background-color: #111827;
  border-color: var(--border-color);
}

html[data-theme="dark"] .why-features-grid {
  border-color: var(--border-color);
}

html[data-theme="dark"] .why-feat-item {
  border-color: var(--border-color);
}

html[data-theme="dark"] .branch-details-card {
  background-color: var(--bg-card);
  border-color: var(--border-color);
}

html[data-theme="dark"] .branch-select-btn:hover,
html[data-theme="dark"] .branch-select-btn.active {
  background-color: var(--primary-light);
}

html[data-theme="dark"] .timeline-year-btn.active {
  color: var(--primary);
}

html[data-theme="dark"] .stage-step-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

html[data-theme="dark"] .blog-hero {
  background: linear-gradient(135deg, #111827 0%, #030712 100%);
}

html[data-theme="dark"] .spec-row {
  border-bottom-color: #374151;
}

/* Adjust search inputs on products.html */
html[data-theme="dark"] .search-box {
  background: var(--bg-card) !important;
  border-color: var(--border-color) !important;
}

html[data-theme="dark"] .search-box input {
  color: var(--text-dark) !important;
  background: transparent !important;
}

/* Quick fixes for mobile hamburger and menu dark overlay visibility */
html[data-theme="dark"] .mobile-toggle-btn {
  color: var(--text-dark);
}

html[data-theme="dark"] .close-sidebar-btn {
  color: var(--text-dark);
}

/* Adjust timeline cards */
html[data-theme="dark"] .timeline-card {
  background-color: var(--bg-card);
  border-color: var(--border-color);
}

/* Adjust catalog category button background */
html[data-theme="dark"] .cat-tab-btn {
  background-color: var(--bg-card);
  color: var(--text-muted);
  border-color: var(--border-color);
}

html[data-theme="dark"] .cat-tab-btn.active {
  background-color: var(--primary);
  color: white;
}

/* Adjust footer background in dark mode (keeps footer text white & visible) */
html[data-theme="dark"] .footer-global {
  background-color: #030712;
}

/* Adjust quick quotes in subpages */
html[data-theme="dark"] .spec-inquire-box {
  background-color: var(--bg-card);
  border-color: var(--border-color);
}

html[data-theme="dark"] .why-banner-row {
  background-color: var(--bg-card);
}

/* Adjust header navbar background in dark mode (keeps header links visible) */
html[data-theme="dark"] .navbar-global {
  background: rgba(11, 15, 25, 0.6) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

html[data-theme="dark"] .navbar-global.scrolled {
  background: rgba(17, 24, 39, 0.85) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

/* Adjust technology/why sivilima section background in dark mode */
html[data-theme="dark"] .why-sivilima-section {
  background-color: #111827 !important;
}

/* Adjust technology layer 3 underlay stack graphic in dark mode */
html[data-theme="dark"] .layer-3-box {
  background-color: #1f2937 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Bulk overrides for hardcoded white backgrounds in dark mode content pages */
html[data-theme="dark"] .value-card,
html[data-theme="dark"] .timeline-card,
html[data-theme="dark"] .benefit-card-lite,
html[data-theme="dark"] .swatch-card,
html[data-theme="dark"] .color-selector-sidebar,
html[data-theme="dark"] .color-select-row,
html[data-theme="dark"] .color-plank-card,
html[data-theme="dark"] .stage-step-card,
html[data-theme="dark"] .contact-form-card,
html[data-theme="dark"] .branch-details-card,
html[data-theme="dark"] .testimonial-slider-box,
html[data-theme="dark"] .no-products-found,
html[data-theme="dark"] .blog-post-card,
html[data-theme="dark"] .blog-filter-btn,
html[data-theme="dark"] .filter-btn-tab,
html[data-theme="dark"] .branch-select-btn {
  background-color: var(--bg-card) !important;
  background: var(--bg-card) !important;
  border-color: var(--border-color) !important;
  color: var(--text-body) !important;
}

/* Ensure headings inside these dark-adapted cards stand out in off-white */
html[data-theme="dark"] .value-card h4,
html[data-theme="dark"] .benefit-card-lite h4,
html[data-theme="dark"] .color-plank-card h4,
html[data-theme="dark"] .stage-step-card h4,
html[data-theme="dark"] .branch-details-card h4,
html[data-theme="dark"] .timeline-card h4,
html[data-theme="dark"] .contact-form-card h4 {
  color: var(--text-dark) !important;
}

/* Ensure active tabs retain primary contrast */
html[data-theme="dark"] .blog-filter-btn.active,
html[data-theme="dark"] .filter-btn-tab.active {
  background-color: var(--primary) !important;
  background: var(--primary) !important;
  color: white !important;
  border-color: var(--primary) !important;
}

/* Ensure inputs inside contact form card adapt to dark theme */
html[data-theme="dark"] .contact-form-card input,
html[data-theme="dark"] .contact-form-card select,
html[data-theme="dark"] .contact-form-card textarea {
  background-color: var(--bg-main) !important;
  color: var(--text-dark) !important;
  border-color: var(--border-color) !important;
}

/* ==============================================
   FAB Buttons (WhatsApp + Back to Top)
   ============================================== */
.fab-btn {
  position: fixed;
  right: 24px;
  z-index: 999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}
.fab-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

/* WhatsApp Button */
.whatsapp-btn {
  bottom: 96px;
  background: #25D366;
  color: #fff;
}
.whatsapp-btn:hover {
  background: #1ebe57;
}

/* Back to Top Button */
.back-to-top-btn {
  bottom: 28px;
  background: var(--secondary);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.back-to-top-btn:hover {
  background: var(--secondary-light);
}

html[data-theme="dark"] .back-to-top-btn {
  background: var(--secondary);
  color: #fff;
}
html[data-theme="dark"] .back-to-top-btn:hover {
  background: var(--secondary-light);
}

/* Theme Switch in Header */
.theme-switch-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s;
  flex-shrink: 0;
}
.theme-switch-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.theme-switch-btn .icon-sun { display: block; }
.theme-switch-btn .icon-moon { display: none; }
html[data-theme="dark"] .theme-switch-btn .icon-sun { display: none; }
html[data-theme="dark"] .theme-switch-btn .icon-moon { display: block; }
.nav-cta-desktop {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Mobile Theme Toggle */
.theme-switch-btn-mobile {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
  transition: background 0.3s, color 0.3s;
}
.theme-switch-btn-mobile:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.theme-switch-btn-mobile .icon-sun { display: block; }
.theme-switch-btn-mobile .icon-moon { display: none; }
html[data-theme="dark"] .theme-switch-btn-mobile .icon-sun { display: none; }
html[data-theme="dark"] .theme-switch-btn-mobile .icon-moon { display: block; }

