@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --primary-color: #1e3a8a; /* Deep Sapphire Blue */
  --primary-light: #3b82f6;
  --primary-rgb: 30, 58, 138;
  --accent-color: #f97316; /* Coral Orange */
  --accent-rgb: 249, 115, 22;
  --secondary-color: #0d9488; /* Emerald Green */
  --secondary-rgb: 13, 148, 136;
  --dark-color: #0f172a; /* Slate 900 */
  --dark-light: #1e293b; /* Slate 800 */
  --light-color: #f8fafc; /* Slate 50 */
  --gray-color: #64748b; /* Slate 500 */
  --border-color: #e2e8f0; /* Slate 200 */
  --white: #ffffff;
  
  /* Fonts */
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Configuration */
  --max-width: 1280px;
  --header-height: 80px;
  --border-radius: 12px;
  --border-radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--light-color);
  color: var(--dark-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--dark-color);
  font-weight: 700;
  line-height: 1.2;
}

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

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

input, select, textarea, button {
  font-family: inherit;
  outline: none;
}

/* Typography & Title Helper Classes */
.section-title-wrapper {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-subtitle {
  color: var(--accent-color);
  font-family: var(--font-title);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark-color);
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

/* Layout Utilities */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6.5rem 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--border-radius);
}

.glass-panel-dark {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--light-color);
}

/* Top Bar styles */
.top-bar {
  background-color: var(--dark-color);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  font-family: var(--font-title);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
  position: relative;
  z-index: 1001;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.top-bar-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar-info i {
  color: var(--accent-color);
  font-size: 0.85rem;
}

.top-bar-socials {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.top-bar-socials a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  font-size: 0.85rem;
}

.top-bar-socials a:hover {
  color: var(--accent-color);
  transform: translateY(-1px);
}

/* Header & Glass Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(241, 245, 249, 0.8);
}

@media (min-width: 769px) {
  header.scrolled .top-bar {
    margin-top: -36px; /* Hides top-bar by pulling it up */
    opacity: 0;
    pointer-events: none;
  }

  header.scrolled .navbar {
    height: 65px;
  }
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-family: var(--font-title);
  box-shadow: 0 4px 10px rgba(30, 58, 138, 0.3);
}

.logo-text {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  color: var(--dark-color);
  line-height: 1.1;
}

.logo-text span {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent-color);
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.25rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark-light);
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-color);
}

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

.nav-links a.active {
  color: var(--primary-color);
}

/* Contact Button in Nav */
.nav-links .nav-call-btn {
 display: flex;
 align-items: center;
 justify-content: center;
 height: 50px;
 position: relative;
 padding: 0 40px;
 font-size: 18px;
 text-transform: uppercase;
 border: 0;
 box-shadow: hsl(24deg 90% 34%) 0px 7px 0px 0px;
 background-color: hsl(24deg 100% 46%);
 border-radius: 25px;
 overflow: hidden;
 transition: 31ms cubic-bezier(.5, .7, .4, 1);
 color: white !important;
 font-family: var(--font-title);
 font-weight: bold;
 cursor: pointer;
 text-decoration: none;
}

/* Override active underline effect */
.nav-links .nav-call-btn::after {
  display: none !important;
  content: none !important;
}

.nav-links .nav-call-btn:before {
 content: attr(alt);
 display: flex;
 align-items: center;
 justify-content: center;
 position: absolute;
 inset: 0;
 font-size: 14px;
 font-weight: bold;
 color: white;
 letter-spacing: 4px;
 opacity: 1;
 transition: all .2s ease;
}

.nav-links .nav-call-btn:active {
 box-shadow: none;
 transform: translateY(7px);
 transition: 35ms cubic-bezier(.5, .7, .4, 1);
}

.nav-links .nav-call-btn:hover:before {
 transition: all .2s ease;
 transform: translateY(100%);
 opacity: 0;
}

.nav-links .nav-call-btn i {
 color: white;
 font-size: 14px;
 font-weight: bold;
 letter-spacing: 4px;
 font-style: normal;
 transition: all 2s ease;
 transform: translateY(-20px);
 opacity: 0;
}

.nav-links .nav-call-btn:hover i {
 transition: all .2s ease;
 transform: translateY(0px);
 opacity: 1;
}

.nav-links .nav-call-btn:hover i:nth-child(1) {
 transition-delay: 0.045s;
}

.nav-links .nav-call-btn:hover i:nth-child(2) {
 transition-delay: calc(0.045s * 3);
}

.nav-links .nav-call-btn:hover i:nth-child(3) {
 transition-delay: calc(0.045s * 4);
}

.nav-links .nav-call-btn:hover i:nth-child(4) {
 transition-delay: calc(0.045s * 5);
}

.nav-links .nav-call-btn:hover i:nth-child(6) {
 transition-delay: calc(0.045s * 6);
}

.nav-links .nav-call-btn:hover i:nth-child(7) {
 transition-delay: calc(0.045s * 7);
}

.nav-links .nav-call-btn:hover i:nth-child(8) {
 transition-delay: calc(0.045s * 8);
}

.nav-links .nav-call-btn:hover i:nth-child(9) {
 transition-delay: calc(0.045s * 9);
}

.nav-links .nav-call-btn:hover i:nth-child(10) {
 transition-delay: calc(0.045s * 10);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-color);
  cursor: pointer;
  z-index: 1100;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-title);
  font-weight: 600;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #2563eb);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.4);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-color), #f97316);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

.btn-white {
  background: var(--white);
  color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  background: var(--light-color);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.75)), url('../images/hero-bg.jpg') no-repeat center center/cover;
  padding-top: var(--header-height);
  color: var(--white);
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, var(--light-color), transparent);
  pointer-events: none;
}

.hero-content {
  max-width: 700px;
}

.hero-subtitle {
  font-family: var(--font-title);
  color: var(--accent-color);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-subtitle::before {
  content: '';
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero h1 span {
  background: linear-gradient(120deg, #3b82f6, #f97316, #10b981);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
}

/* Hero Grid & Form Styles */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hero-form-wrapper {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.hero-glass-form {
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  animation: float 5s ease-in-out infinite;
}

.hero-glass-form h3 {
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  font-family: var(--font-title);
}

.hero-glass-form p {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.85rem !important;
  margin-bottom: 1.25rem !important;
  line-height: 1.4 !important;
}

.form-group-hero {
  margin-bottom: 0.85rem;
}

.form-group-hero input,
.form-group-hero textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius);
  padding: 0.65rem 0.85rem;
  color: var(--white);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-group-hero input::placeholder,
.form-group-hero textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form-group-hero input:focus,
.form-group-hero textarea:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.form-group-hero textarea {
  resize: vertical;
}

/* Features / Why Choose Us */
.features-section {
  background-color: var(--white);
}

.feature-card {
  background: var(--light-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(30, 58, 138, 0.08);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--primary-color);
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--gray-color);
  font-size: 0.95rem;
}

/* Process Section (What To Do) */
.process-section {
  background-color: var(--light-color);
}

.process-grid {
  display: flex;
  justify-content: space-between;
  position: relative;
  gap: 2rem;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: dashed var(--border-color);
  z-index: 0;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 90px;
  height: 90px;
  background: var(--white);
  border: 4px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.process-step:hover .step-num {
  border-color: var(--accent-color);
  background: var(--accent-color);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(249, 115, 22, 0.2);
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.process-step p {
  color: var(--gray-color);
  font-size: 0.9rem;
  padding: 0 1rem;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--dark-color) 0%, #030712 100%);
  position: relative;
  overflow: hidden;
  color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 5rem 3rem;
  box-shadow: var(--shadow-lg);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(30, 58, 138, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 700px;
}

.cta-btn-wrapper {
  justify-self: end;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: rgba(255, 255, 255, 0.7);
  padding: 5rem 0 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h3 {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-about .logo-text {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-about p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact i {
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.footer-newsletter p {
  margin-bottom: 1.25rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  color: var(--white);
  font-size: 0.9rem;
  transition: var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--primary-light);
  background-color: rgba(255, 255, 255, 0.08);
}

.newsletter-form button {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  width: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* Visualizer Tool Page Styles */
.visualizer-section {
  background-color: var(--light-color);
}

.visualizer-panel {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.visualizer-canvas-side {
  background: #f1f5f9;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 480px;
}

.visualizer-title-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--primary-color);
  color: var(--white);
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: var(--shadow-sm);
}

/* SVG Interior Vector */
#room-svg {
  width: 100%;
  max-width: 580px;
  height: auto;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.08));
  transition: var(--transition);
}

.room-wall {
  transition: fill 0.6s ease;
}

.visualizer-controls-side {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.control-header {
  margin-bottom: 2rem;
}

.control-header h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.control-header p {
  color: var(--gray-color);
}

.color-swatches-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.swatch-card {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 1px var(--border-color);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.swatch-card:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 2px var(--accent-color);
}

.swatch-card.active {
  transform: scale(1.15);
  box-shadow: 0 0 0 2px var(--primary-color);
}

.color-info-card {
  background: var(--light-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.color-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.color-preview-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.color-name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
}

.color-code {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--gray-color);
  margin-left: auto;
}

.color-desc {
  font-size: 0.9rem;
  color: var(--gray-color);
}

/* Shop Products catalog */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 0.65rem 1.5rem;
  border-radius: 30px;
  font-family: var(--font-title);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-img-wrapper {
  background: #f8fafc;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--secondary-color);
  color: var(--white);
  font-size: 0.75rem;
  font-family: var(--font-title);
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 10px;
}

.paint-can-graphic {
  height: 100%;
  width: auto;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.08));
  transition: var(--transition);
}

.product-card:hover .paint-can-graphic {
  transform: scale(1.05) rotate(3deg);
}

.product-content {
  padding: 1.5rem;
}

.product-category {
  color: var(--accent-color);
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.product-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.product-rating {
  color: #fbbf24; /* Star Gold */
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.product-rating span {
  color: var(--gray-color);
  margin-left: 0.25rem;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.product-price {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary-color);
}

.product-price span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--gray-color);
}

/* Custom Product Details Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.7);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: var(--transition);
  padding: 3rem;
}

.modal.active .modal-content {
  transform: scale(1);
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--light-color);
  border: none;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.close-modal:hover {
  background-color: #fee2e2;
  color: #ef4444;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
}

.modal-img-wrapper {
  background: #f8fafc;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-details h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.modal-category {
  color: var(--accent-color);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.modal-price {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-family: var(--font-title);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.modal-desc {
  color: var(--gray-color);
  margin-bottom: 1.5rem;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.specs-table td {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--dark-color);
}

.specs-table td:last-child {
  text-align: right;
  color: var(--gray-color);
}

/* About Page Styles */
.about-hero {
  background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.85)), url('../images/about-factory.jpg') no-repeat center center/cover;
  padding: 8rem 0 5rem;
  color: var(--white);
  text-align: center;
}

.about-hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
}

.stat-number {
  font-family: var(--font-title);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.about-stats.stats-light .stat-card {
  background: var(--light-color);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  backdrop-filter: none;
}

.about-stats.stats-light .stat-label {
  color: var(--gray-color);
}

.core-values {
  background-color: var(--white);
}

.value-card {
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.value-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.value-card i {
  font-size: 2.25rem;
  color: var(--accent-color);
  margin-bottom: 1.25rem;
}

.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--gray-color);
  font-size: 0.95rem;
}

/* Certification Section */
.cert-card, .cert-card-pdf {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.cert-card:hover, .cert-card-pdf:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.cert-img-wrapper {
  background: #f1f5f9;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.cert-thumbnail {
  max-height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.cert-card:hover .cert-thumbnail {
  transform: scale(1.04);
}

.cert-content {
  padding: 1.5rem;
}

.cert-authority {
  font-size: 0.8rem;
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.cert-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.cert-card p {
  color: var(--gray-color);
  font-size: 0.9rem;
}

/* Safety overrides for certification display issues */
.grid-4 {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.5rem !important;
}

.cert-card, .cert-card-pdf {
  display: block !important;
  background: var(--white) !important;
}

.cert-img-wrapper img,
.cert-thumbnail {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* Lightbox PDF iframe sizing */
.pdf-lightbox .lightbox-content {
  width: 90vw;
  max-width: 1000px;
}

.pdf-lightbox .lightbox-img {
  display: none;
}

.pdf-iframe {
  width: 100%;
  height: 80vh;
  border: none;
}

/* Lightbox Modal for Certifications */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.9);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border: 5px solid var(--white);
  border-radius: 4px;
}

.lightbox-caption {
  color: var(--white);
  text-align: center;
  margin-top: 1rem;
  font-family: var(--font-title);
  font-size: 1.1rem;
}

.close-lightbox {
  position: absolute;
  top: -2.5rem;
  right: -2.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

/* Contact Page Styles */
.contact-section {
  background-color: var(--light-color);
}

.contact-card-info {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0f172a 100%);
  color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-card-info h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-card-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.info-list {
  list-style: none;
  margin-bottom: 3rem;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-text h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.info-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.contact-form-side {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.contact-form-side h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.contact-form-side p {
  color: var(--gray-color);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-light);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background-color: var(--light-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 0.8rem 1rem;
  color: var(--dark-color);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-light);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-error-msg {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: none;
}

.form-group.has-error .form-control {
  border-color: #ef4444;
}

.form-group.has-error .form-error-msg {
  display: block;
}

/* Map visual */
.map-container {
  width: 100%;
  height: 350px;
  background-color: #e2e8f0;
  border-radius: var(--border-radius-lg);
  margin-top: 4rem;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #f8fafc 0%, #cbd5e1 100%);
  color: var(--primary-color);
  text-align: center;
  padding: 2rem;
}

.map-placeholder i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
  animation: float 3s ease-in-out infinite;
}

.map-placeholder h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.map-placeholder p {
  color: var(--gray-color);
  font-size: 0.9rem;
}

/* Success Toast popup */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--dark-color);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3000;
  transform: translateY(150%);
  transition: var(--transition);
}

.toast-msg.show {
  transform: translateY(0);
}

.toast-msg i {
  color: #10b981;
  font-size: 1.25rem;
}

/* Floating Animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .visualizer-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .top-bar {
    display: none !important;
  }

  .desktop-only {
    display: none !important;
  }
  .section-padding {
    padding: 3.5rem 0;
  }
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .process-grid {
    flex-direction: column;
    gap: 2.5rem;
  }
  .process-grid::before {
    display: none;
  }
  .cta-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cta-btn-wrapper {
    justify-self: center;
  }
  
  /* Hero section mobile adjustments */
  .hero {
    min-height: auto;
    padding: 7rem 0 5rem 0;
  }
  .hero-content {
    text-align: center;
    margin: 0 auto;
    max-width: 100%;
  }
  .hero-subtitle {
    justify-content: center;
  }
  .hero-subtitle::before {
    display: none;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    justify-content: center;
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 320px;
  }
  
  /* Layout boxes padding reductions */
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .contact-card-info,
  .contact-form-side {
    padding: 1.75rem;
  }
  .visualizer-canvas-side {
    padding: 1.5rem;
    min-height: auto;
  }
  .visualizer-controls-side {
    padding: 1.75rem;
  }
  
  /* Mobile navbar toggle activation */
  .mobile-toggle {
    display: block;
    z-index: 1400;
  }
  
  /* Mobile nav: start hidden off-canvas using transform; final full-bleed rules applied later */
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--white);
    flex-direction: column;
    gap: 1.5rem;
    padding: 2.25rem 1.25rem;
    transition: transform 240ms ease-in-out;
    transform: translateX(100%);
    align-items: flex-start;
    border-left: none;
    box-shadow: none;
  }

  .nav-links.active {
    transform: translateX(0);
  }
  
  .nav-links li {
    width: 100%;
  }
  
  .nav-links a {
    display: block;
    width: 100%;
    font-size: 1.1rem;
    padding: 0.5rem 0;
  }
  
  .nav-call-btn {
    width: 100%;
    margin-top: 1rem;
  }
  
  .modal-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .modal-content {
    padding: 1.75rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Ensure fixed header doesn't cover content on small screens */
  body {
    padding-top: var(--header-height);
  }

  header {
    position: fixed;
    height: var(--header-height);
  }

  /* Make nav cover entire viewport when opened and allow easy dismiss */
  .nav-links {
    top: var(--header-height);
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    padding: 2.5rem 1.25rem;
    overflow-y: auto;
    border-left: none;
    background: var(--white);
  }

  .nav-links a {
    font-size: 1.15rem;
    padding: 0.65rem 0;
  }

  .nav-links .nav-call-btn {
    width: 100%;
    padding: 0.8rem 1rem;
    box-shadow: none;
  }

  /* Hero adjustments */
  .hero {
    padding-top: calc(var(--header-height) + 1rem);
  }

  /* Product cards: stack image and content for narrow viewports */
  .product-card {
    display: flex;
    flex-direction: column;
  }

  .product-img-wrapper {
    height: 180px;
    padding: 0.75rem;
  }

  .product-content {
    padding: 1rem;
  }

  /* Visualizer: stack and scale SVG */
  .visualizer-panel {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .visualizer-canvas-side {
    padding: 1.25rem;
    min-height: 320px;
  }

  #room-svg {
    max-width: 100%;
    height: auto;
  }

  /* Swatches size and layout */
  .swatch-card {
    border-radius: 12px;
    aspect-ratio: auto;
    height: 48px;
  }

  .color-info-card {
    padding: 1rem;
  }

  /* Footer stack */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form button {
    width: 100%;
    height: 46px;
    margin-top: 0.5rem;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .modal-content {
    padding: 1.25rem;
  }
}

/* Additional responsive refinements */
.nav-links {
  z-index: 1300; /* ensure nav overlays content on mobile */
}

@media (max-width: 768px) {
  .color-swatches-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }

  .product-img-wrapper {
    height: auto;
    padding: 1rem;
  }

  .visualizer-canvas-side {
    min-height: 360px;
    padding: 1.25rem;
  }

  /* make mobile nav occupy full width for small phones when opened */
  .nav-links {
    position: fixed !important;
    top: var(--header-height) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    border-left: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: translateX(100%);
    transition: transform 240ms ease-in-out !important;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    z-index: 1350 !important;
  }

  .nav-links.active {
    transform: translateX(0) !important;
  }
}

@media (max-width: 480px) {
  .color-swatches-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .product-card {
    display: block;
  }
}
