/* ==========================================================================
   J.U. POLYMERS PVT. LTD. - MODERN DESIGN SYSTEM & STYLESHEET
   Brands: ColorStar & EastLam
   Location: Guwahati, Assam | Chennai, Tamil Nadu
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;1,400&display=swap');

:root {
  /* Permanent ColorStar Official Signature Palette */
  --primary-navy: hsl(223, 82%, 22%); /* Deep Royal Blue #0C2B7A */
  --primary-navy-light: hsl(223, 70%, 28%);
  --accent-blue: hsl(1, 82%, 52%); /* Signature ColorStar Red #E52320 */
  --accent-blue-hover: hsl(1, 85%, 44%);
  --accent-amber: hsl(40, 80%, 46%); /* Metallic Amber Gold #D49B28 */
  --accent-gold: hsl(42, 90%, 55%);
  --accent-emerald: hsl(152, 69%, 36%);
  --accent-emerald-light: hsl(152, 60%, 94%);
  
  --bg-dark: hsl(223, 85%, 15%);
  --bg-card-dark: rgba(12, 43, 122, 0.85);
  --bg-cream: hsl(205, 75%, 96%); /* Soft Sky Blue Tint #E8F4FC */
  --bg-white: hsl(0, 0%, 100%);
  --bg-surface-light: hsl(205, 60%, 98%);
  
  --text-main: hsl(223, 75%, 20%);
  --text-muted: hsl(223, 30%, 45%);
  --text-light: hsl(210, 20%, 98%);
  --text-light-muted: hsl(205, 40%, 82%);
  
  --border-light: hsl(205, 30%, 88%);
  --border-dark: rgba(255, 255, 255, 0.15);
}

:root {
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.12);
  --shadow-glow-blue: 0 0 30px rgba(30, 102, 222, 0.25);
  --shadow-glow-amber: 0 0 30px rgba(217, 119, 6, 0.25);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Playfair Display', serif;
  --font-mono: 'Outfit', monospace;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (min-width: 1280px) {
  .container {
    padding: 0 2.5rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.25rem;
  }
}

/* Typography Utilities */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(12, 43, 122, 0.08);
  color: var(--primary-navy);
  border: 1px solid rgba(12, 43, 122, 0.15);
  font-weight: 800;
  font-size: 0.825rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-tag.light {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent-gold);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary-navy);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-title.light {
  color: var(--text-light);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

.section-subtitle.light {
  color: var(--text-light-muted);
}

.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--accent-blue);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(30, 102, 222, 0.35);
}

.btn-primary:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 102, 222, 0.45);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-amber), var(--accent-gold));
  color: var(--primary-navy);
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(217, 119, 6, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1.5px solid var(--border-dark);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--bg-white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary-navy);
  border: 1.5px solid var(--border-light);
}

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

/* Announcement Top Bar */
.top-bar {
  background: var(--primary-navy);
  color: var(--text-light-muted);
  font-size: 0.825rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-badge {
  background: var(--accent-amber);
  color: var(--primary-navy);
  font-weight: 800;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
}

/* Glassmorphism Header */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.2rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

.brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--accent-blue);
  letter-spacing: -0.03em;
  line-height: 1;
}

.logo-main span {
  color: var(--primary-navy);
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(12, 43, 122, 0.08);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 800;
  color: var(--primary-navy);
  border: 1px solid rgba(12, 43, 122, 0.18);
}

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

.nav-link {
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--primary-navy);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--accent-blue);
}

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

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-navy);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  background: var(--primary-navy);
  color: var(--text-light);
  overflow: hidden;
  padding: 4.5rem 0;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: brightness(0.8) contrast(1.1);
  transform: scale(1.05);
  animation: heroZoom 20s infinite alternate ease-in-out;
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 25, 47, 0.95) 0%,
    rgba(10, 25, 47, 0.75) 50%,
    rgba(10, 25, 47, 0.88) 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  padding: 0;
  width: 100%;
}

.hero-badge-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.brand-badge.colorstar {
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: white;
  box-shadow: 0 0 16px rgba(225, 29, 72, 0.4);
}

.brand-badge.eastlam {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.4);
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-heading span {
  color: var(--accent-gold);
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-light-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
}

.stat-item h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  font-weight: 500;
}

/* Hero Right Contact & Showcase Card */
.hero-card-glass {
  background: var(--bg-card-dark);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow-blue);
  position: relative;
  overflow: hidden;
}

.hero-card-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-gold));
}

.card-header-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.card-company-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-light);
}

.card-company-sub {
  font-size: 0.825rem;
  color: var(--accent-gold);
  font-weight: 600;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.8rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--text-light-muted);
  font-size: 0.925rem;
}

.contact-info-item svg {
  color: var(--accent-blue);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.contact-info-item strong {
  color: var(--text-light);
  display: block;
}

.hero-quick-action {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  text-align: center;
}

.hero-quick-action p {
  font-size: 0.875rem;
  color: var(--text-light-muted);
  margin-bottom: 0.8rem;
}

/* Product Categories Grid (Redesigned from Screenshot) */
.product-section {
  padding: 6rem 0;
  background: var(--bg-cream);
  position: relative;
}

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

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 102, 222, 0.3);
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f1f5f9;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.08);
}

.product-type-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(8px);
  color: var(--accent-gold);
  font-size: 0.725rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-card-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(30, 102, 222, 0.08);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -2.8rem;
  margin-bottom: 1rem;
  border: 3px solid var(--bg-white);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 3;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.3rem;
}

.product-tagline {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  flex-grow: 1;
  line-height: 1.5;
}

.product-specs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.spec-chip {
  background: var(--bg-surface-light);
  border: 1px solid var(--border-light);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Redesigned Quality Badges Banner (From Screenshot) */
.quality-banner-section {
  padding: 5rem 0;
  background: var(--primary-navy);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.quality-banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(30, 102, 222, 0.15), transparent 70%);
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.quality-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.2rem;
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quality-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  border-color: var(--accent-gold);
}

.quality-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: all var(--transition-normal);
}

.quality-icon-wrap.red-accent {
  border-color: rgba(229, 35, 32, 0.6);
  background: radial-gradient(circle, rgba(229, 35, 32, 0.25) 0%, rgba(229, 35, 32, 0.05) 100%);
  box-shadow: 0 0 20px rgba(229, 35, 32, 0.25);
}

.quality-icon-wrap.blue-accent {
  border-color: rgba(59, 130, 246, 0.6);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, rgba(59, 130, 246, 0.05) 100%);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.25);
}

.quality-icon-wrap.emerald-accent {
  border-color: rgba(16, 185, 129, 0.6);
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(16, 185, 129, 0.05) 100%);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
}

.quality-icon-wrap.gold-accent {
  border-color: rgba(212, 155, 40, 0.6);
  background: radial-gradient(circle, rgba(212, 155, 40, 0.25) 0%, rgba(212, 155, 40, 0.05) 100%);
  box-shadow: 0 0 20px rgba(212, 155, 40, 0.25);
}

.quality-card:hover .quality-icon-wrap {
  transform: scale(1.1);
}

.quality-card h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Brands Showcase Section */
.brands-section {
  padding: 6rem 0;
  background: var(--bg-white);
}

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

.brand-card-featured {
  background: var(--bg-surface-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.brand-card-featured:hover {
  box-shadow: var(--shadow-lg);
}

.brand-card-featured.colorstar-theme {
  background: linear-gradient(135deg, #fff1f2, #fff);
  border-left: 6px solid #e11d48;
}

.brand-card-featured.eastlam-theme {
  background: linear-gradient(135deg, #eff6ff, #fff);
  border-left: 6px solid #2563eb;
}

.brand-badge-large {
  font-size: 1.65rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.colorstar-theme .brand-badge-large { color: #be123c; }
.eastlam-theme .brand-badge-large { color: #1d4ed8; }

.brand-card-featured p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.brand-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.brand-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--primary-navy);
}

/* Brand Banners Showcase Section */
.brand-banners-section {
  padding: 5rem 0;
  background: var(--bg-surface-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

.brand-banner-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-light);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  background: white;
}

.brand-banner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.brand-banner-card img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 991px) {
  .brand-banners-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* Swatch Collection Compact Square Grid */
.catalog-section {
  padding: 6rem 0 7rem 0;
  background: var(--bg-surface-light);
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1.25rem;
}

.swatch-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.swatch-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-navy);
}

.swatch-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: #f1f5f9;
}

.swatch-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-fast);
}

.swatch-card:hover .swatch-img-box img {
  transform: scale(1.08);
}

.swatch-details {
  padding: 0.85rem;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.swatch-code {
  font-size: 0.725rem;
  font-weight: 800;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.swatch-name {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--primary-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.swatch-finish {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Interactive Visualizer Section */
/* Room Scene Selector Bar (Matchwell Style) */
.room-selector-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
}

.room-btn {
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  border: 1px solid var(--border-dark);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.room-btn:hover, .room-btn.active {
  background: var(--accent-blue);
  color: white;
  border-color: var(--accent-blue);
  box-shadow: 0 4px 16px rgba(229, 35, 32, 0.4);
}

.visualizer-wrapper {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.room-stage {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0a192f;
}

.vis-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.vis-bg-layer {
  object-fit: cover;
  z-index: 1;
}

.vis-component-layer {
  z-index: 5;
  background-image: url('../assets/images/kitchen_interior.jpg');
  background-size: cover;
  background-position: center;
  transition: background-color var(--transition-fast), filter var(--transition-fast);
  pointer-events: none;
}

/* AI Laminate Layer 1: Upper Wall Cabinet Doors (Preserves geometry & gap boundaries) */
#layer-upper-cabinets {
  clip-path: polygon(14.2% 0.5%, 55.8% 0.5%, 55.8% 40.5%, 14.2% 38.5%);
}

/* AI Laminate Layer 2: Lower Base Cabinet & Drawer Fronts */
#layer-lower-cabinets {
  clip-path: polygon(11.5% 56.5%, 58.5% 52%, 58.5% 73.5%, 17.5% 87.5%, 11.5% 87.5%);
}

/* AI Laminate Layer 3: Marble Island Table Counter Surface */
#layer-island-table {
  clip-path: polygon(47% 57.5%, 82.2% 54.2%, 82.2% 82.5%, 64% 95%, 47% 87.5%);
}

/* Multi-Zone SVG Room Overlay */
.room-svg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 5;
}

.zone-path {
  fill: transparent;
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 2.5;
  stroke-dasharray: 6;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.zone-path:hover, .zone-path.active-zone {
  stroke: var(--accent-gold);
  stroke-width: 3.5;
  stroke-dasharray: 0;
  filter: drop-shadow(0 0 12px rgba(217, 119, 6, 0.8));
}

/* Hotspot Floating Buttons */
.hotspot-btn {
  position: absolute;
  z-index: 10;
  transform: translate(-50%, -50%);
  background: rgba(12, 43, 122, 0.88);
  backdrop-filter: blur(8px);
  color: white;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 800;
  border: 1.5px solid var(--accent-gold);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.hotspot-btn:hover, .hotspot-btn.active {
  background: var(--accent-blue);
  color: white;
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(229, 35, 32, 0.5);
}

/* Zone Selector Buttons */
.zone-selector-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.zone-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-light);
  font-weight: 700;
  font-size: 0.875rem;
  border: 1.5px solid transparent;
  transition: all var(--transition-fast);
  text-align: left;
}

.zone-btn:hover, .zone-btn.active {
  background: rgba(12, 43, 122, 0.7);
  border-color: var(--accent-gold);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.zone-btn.active i {
  color: var(--accent-gold);
}

.room-info-bar {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(12px);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
}

.room-info-bar h5 {
  font-size: 1rem;
  color: var(--accent-gold);
  margin-bottom: 0.2rem;
}

.room-info-bar p {
  font-size: 0.825rem;
  color: var(--text-light-muted);
}

.visualizer-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.control-group-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light-muted);
  margin-bottom: 0.75rem;
}

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

.swatch-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.swatch-pill:hover, .swatch-pill.active {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.12);
}

.swatch-color-box {
  width: 100%;
  height: 44px;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 0 4px rgba(0,0,0,0.3);
}

.swatch-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
}

/* Calculator & Sheet Estimator Section */
.calculator-section {
  padding: 6rem 0;
  background: var(--bg-surface-light);
}

.calc-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-field-group label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-navy);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-blue);
}

.calc-result-box {
  background: var(--primary-navy);
  color: var(--text-light);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.result-number {
  font-size: 4rem;
  font-weight: 900;
  color: var(--accent-gold);
  line-height: 1;
  margin: 1rem 0;
}

/* Contact Us Section (Deep Premium Blue Theme) */
.contact-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0C2B7A 0%, #0A192F 100%);
  color: white;
  border-top: 1px solid var(--border-dark);
  position: relative;
}

.contact-section .section-title {
  color: white;
}

.contact-section .section-subtitle {
  color: var(--text-light-muted);
}

.contact-section .section-tag {
  background: rgba(212, 155, 40, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(212, 155, 40, 0.35);
  box-shadow: 0 0 16px rgba(212, 155, 40, 0.15);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card-item {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.contact-card-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.1);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(212, 155, 40, 0.15);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 1px solid rgba(212, 155, 40, 0.3);
}

.contact-card-content h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.contact-card-content p, .contact-card-content a {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  line-height: 1.5;
  text-decoration: none;
}

.contact-card-content a:hover {
  color: white;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.15);
  height: 100%;
  min-height: 420px;
  position: relative;
  background: white;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: none;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .map-wrapper {
    min-height: 340px;
  }
}

/* Modal Dialog & Overlay Design System */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

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

.modal-dialog {
  background: white;
  border-radius: var(--radius-lg);
  position: relative;
  max-width: 840px;
  width: 92vw;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  padding: 2.2rem;
  margin: auto;
  border: 1px solid var(--border-light);
  transform: scale(0.95);
  transition: transform var(--transition-fast);
}

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

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-surface-light);
  color: var(--primary-navy);
  border: 1px solid var(--border-light);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--primary-navy);
  color: white;
}

/* Footer Section (Theme Yellow / Gold Accent Theme with Theme Blue Elements) */
.site-footer {
  background: var(--accent-gold);
  color: #0C2B7A;
  padding: 5rem 0 2rem 0;
  border-top: 3px solid #B8821B;
}

.site-footer p {
  color: #0C2B7A !important;
}

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

.footer-col h4 {
  font-size: 1.1rem;
  color: #0C2B7A;
  margin-bottom: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #0C2B7A;
  text-decoration: none;
  font-weight: 600;
  transition: opacity var(--transition-fast);
}

.footer-links a:hover {
  color: #0C2B7A;
  opacity: 0.75;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(12, 43, 122, 0.25);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #0C2B7A;
  font-weight: 600;
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM (MOBILE, TABLET, DESKTOP)
   ========================================================================== */

/* Keyframe Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Desktop Large Screens (> 1200px) */
@media (min-width: 1200px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

/* Tablet & Medium Screens (< 1024px) */
@media (max-width: 1024px) {
  .hero-section {
    min-height: auto;
    padding: 3.5rem 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 0;
  }

  .hero-card-glass {
    max-width: 100%;
  }

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

  .brand-showcase-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

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

/* Mobile Devices & Small Tablets (< 991px) */
@media (max-width: 991px) {
  .top-bar {
    display: none;
  }

  .brand-pill {
    display: none; /* Hide header pill on small screens to prevent navbar overflow */
  }

  .logo-main {
    font-size: 1.35rem;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(12, 43, 122, 0.1);
    color: var(--primary-navy);
    font-size: 1.2rem;
    border: 1.5px solid rgba(12, 43, 122, 0.2);
    cursor: pointer;
  }

  /* Mobile Slide-Down Drawer Navigation */
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: #0C2B7A;
    padding: 1.5rem 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-bottom: 3px solid var(--accent-gold);
    display: none;
    z-index: 1000;
  }

  .nav-menu.active {
    display: flex;
    animation: fadeInDown 0.25s ease forwards;
  }

  .nav-menu .nav-link {
    font-size: 1.05rem;
    width: 100%;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
  }

  /* Hero Section Mobile Wraps */
  .hero-section {
    min-height: auto;
    padding: 3rem 0;
  }

  .hero-heading {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-card-glass {
    padding: 1.5rem 1.25rem;
    width: 100%;
    box-sizing: border-box;
  }

  .card-company-title {
    font-size: 1.1rem;
  }

  .contact-info-item div {
    font-size: 0.85rem;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

/* Mobile Screens (< 768px) */
@media (max-width: 768px) {
  .hero-heading {
    font-size: 1.95rem;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding-top: 1.25rem;
    text-align: center;
  }

  .stat-item h3 {
    font-size: 1.5rem;
  }

  .stat-item p {
    font-size: 0.725rem;
    line-height: 1.2;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

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

  .filter-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.825rem;
    padding: 0.55rem 1.1rem;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .modal-box {
    width: 94vw !important;
    padding: 1.25rem !important;
    max-height: 90vh;
    overflow-y: auto;
  }
}

/* Small Mobile Screens (< 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 0.85rem;
  }

  .header-inner {
    height: 66px;
  }

  .logo-main {
    font-size: 1.2rem;
  }

  .hero-heading {
    font-size: 1.75rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
  }

  .stat-item h3 {
    font-size: 1.3rem;
  }

  .stat-item p {
    font-size: 0.675rem;
  }

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

  .quality-icon-wrap {
    width: 60px !important;
    height: 60px !important;
  }

  .quality-card h4 {
    font-size: 0.75rem;
  }

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

  .swatch-details {
    padding: 0.6rem;
  }

  .swatch-name {
    font-size: 0.775rem;
  }

  .swatch-code {
    font-size: 0.65rem;
  }

  .brand-logo-hero {
    max-width: 200px !important;
  }
}
