/* --- Global Variables --- */
:root {
  --primary-cyan: #00bcd4;
  --primary-green: #52992d;
  --primary-green-hover: #438023;
  --light-cream-bg: #f8f6f3;
  --header-bg: #ffffff;
  --footer-bg: #131913;
  --footer-bottom-bg: #0b0f0b;
  --text-dark: #1f2937;
  --text-muted: #5e6670;
  --border-color: #e5e7eb;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition: all 0.3s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-sans);
  background-color: #f7f3ed;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.section-container {
  max-width: 1680px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= MAIN SHOWROOM IVORY BEIGE MARBLE BACKGROUND ================= */
.marble-showroom-area {
  position: relative;
  width: 100%;
  background-color: #f7f3ed;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.42)),
    url('../assets/ivory-beige-marble.jpg');
  background-repeat: repeat;
  background-size: 850px auto;
  background-position: top center;
  background-attachment: scroll;
}

/* Ensure sections inside the showroom area inherit the marble background */
.marble-showroom-area .products-hero-section,
.marble-showroom-area .gallery-section,
.marble-showroom-area .best-dealers-section,
.marble-showroom-area .marble-dealer-section {
  background-color: transparent !important;
}

/* Subtle, elegant warm dividers between showroom sections */
.marble-showroom-area .gallery-section,
.marble-showroom-area .best-dealers-section,
.marble-showroom-area .marble-dealer-section {
  border-top: 1px solid rgba(195, 175, 155, 0.35);
}

/* Ensure high-contrast solid white backgrounds on cards with warm drop shadow */
.marble-showroom-area .gallery-card,
.marble-showroom-area .dealer-card {
  background-color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(90, 70, 50, 0.08);
}

.marble-showroom-area .gallery-card:hover,
.marble-showroom-area .dealer-card:hover {
  box-shadow: 0 12px 28px rgba(90, 70, 50, 0.14);
}

.marble-showroom-area .carousel-arrow {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.marble-showroom-area .carousel-arrow:hover {
  background: #ffffff;
  color: var(--primary-cyan);
}

/* Header */
.site-header {
  background-color: var(--header-bg);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #f0f0f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.nav-container {
  max-width: 1680px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-serif);
  color: var(--primary-cyan);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.logo:hover {
  opacity: 0.9;
  filter: brightness(1.05);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: #374151;
  font-size: 0.95rem;
  font-weight: 400;
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-link:hover {
  color: var(--primary-green);
}

.nav-link.active {
  color: var(--primary-green);
  font-weight: 500;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #1f2937;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Products Hero Intro */
.products-hero-section {
  background-color: var(--light-cream-bg);
  padding: 85px 0 70px;
}

.products-hero-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.6fr;
  gap: 50px;
  align-items: flex-start;
}

.page-main-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5.2vw, 4.6rem);
  font-weight: 400;
  color: #111827;
  line-height: 1.05;
}

.green-accent-line {
  width: 44px;
  height: 2.5px;
  background-color: var(--primary-green);
  margin-bottom: 28px;
}

.products-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.45;
  margin-bottom: 24px;
}

.products-p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 14px;
}

/* 72-Image Gallery (3 Columns x 24 Rows) */
.gallery-section {
  padding: 70px 0 85px;
  background-color: #ffffff;
}

.products-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.gallery-card {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: var(--transition);
  background-color: #ffffff;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.gallery-img-box {
  position: relative;
  width: 100%;
  height: 290px;
  background-color: #f3f4f6;
  overflow: hidden;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  color: #ffffff;
  font-size: 1.8rem;
  transition: var(--transition);
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  border-radius: 3px;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-green {
  background-color: var(--primary-green);
  color: #ffffff;
  padding: 11px 36px;
}

.btn-green:hover {
  background-color: var(--primary-green-hover);
  box-shadow: 0 4px 12px rgba(82, 153, 45, 0.35);
}

.btn-center-wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* 11 Dealers Slider */
.best-dealers-section {
  padding: 80px 0 75px;
  background-color: #fafbfc;
  border-top: 1px solid #edf0f2;
}

.dealers-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #111827;
  text-align: center;
  margin-bottom: 45px;
}

.dealers-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.carousel-arrow {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #1f2937;
  cursor: pointer;
  padding: 12px 18px;
  transition: var(--transition);
  z-index: 10;
}

.carousel-arrow:hover {
  color: var(--primary-cyan);
  transform: scale(1.15);
}

.dealers-track-wrapper {
  overflow: hidden;
  width: 100%;
  max-width: 1480px;
}

.dealers-track {
  display: flex;
  align-items: center;
  gap: 25px;
  transition: transform 0.4s ease-in-out;
}

.dealer-slide-item {
  flex: 0 0 calc(33.333% - 17px);
  display: flex;
  justify-content: center;
}

.dealer-card {
  width: 100%;
  height: 125px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.dealer-logo-img {
  max-width: 85%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.dealer-card:hover .dealer-logo-img {
  transform: scale(1.05);
}

/* Brands styling */
.kajaria-blue-box {
  background-color: #0284c7;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 4px;
  width: 100%;
}
.kajaria-text {
  font-size: 1.8rem;
  font-weight: 800;
  display: block;
  font-family: var(--font-serif);
}
.kajaria-sub {
  font-size: 0.65rem;
  letter-spacing: 1px;
  display: block;
  font-weight: 600;
  margin-top: -3px;
}

.supreme-since {
  font-size: 0.68rem;
  color: #4b5563;
  margin-bottom: -2px;
}
.supreme-text {
  font-size: 1.9rem;
  font-weight: 800;
  color: #dc2626;
  font-family: var(--font-serif);
}
.supreme-sub {
  font-size: 0.7rem;
  color: #4b5563;
}

.skyart-dealer-card {
  background-color: #1e293b;
}
.skyart-logo-box {
  display: flex;
  align-items: center;
  gap: 10px;
}
.skyart-circle-symbol {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 4px solid #eab308;
  color: #eab308;
  font-weight: 900;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.skyart-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.cera-text {
  font-size: 2.1rem;
  font-weight: 800;
  color: #0284c7;
  letter-spacing: 2px;
}
.cera-sub {
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: #1e293b;
  margin-top: -6px;
}

.kutchina-text {
  font-size: 1.7rem;
  font-weight: 900;
  color: #0284c7;
  letter-spacing: 1px;
}
.red-i { color: #dc2626; font-style: italic; }
.kutchina-sub {
  font-size: 0.72rem;
  color: #475569;
  font-weight: 600;
  letter-spacing: 1px;
}

.hindware-text {
  font-size: 1.7rem;
  font-weight: 800;
  color: #dc2626;
}
.hindware-sub {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}

.somany-text {
  font-size: 1.7rem;
  font-weight: 900;
  color: #b91c1c;
  letter-spacing: 1px;
}
.somany-sub {
  font-size: 0.72rem;
  color: #64748b;
}

.cri-dealer-card {
  flex-direction: row;
  gap: 12px;
}
.cri-badge-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid #c92a2a;
  color: #c92a2a;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cri-name {
  font-size: 1.1rem;
  font-weight: 800;
  display: block;
}
.cri-tagline {
  font-size: 0.65rem;
  color: #4b5563;
  display: block;
}

.crompton-shape {
  background-color: #0369a1;
  transform: skewX(-16deg);
  padding: 10px 24px;
  border-radius: 2px;
}
.crompton-text {
  display: inline-block;
  transform: skewX(16deg);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
}

.ksb-dealer-card {
  flex-direction: row;
  gap: 8px;
}
.ksb-text {
  font-size: 1.8rem;
  font-weight: 900;
  color: #0284c7;
}
.ksb-symbol {
  width: 32px;
  height: 32px;
  border: 4px solid #94a3b8;
  border-left-color: #0284c7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #0284c7;
}

.jk-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: #d97706;
}
.jk-sub {
  font-size: 0.72rem;
  color: #64748b;
  text-transform: uppercase;
}

.dealers-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
}

.dealers-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #cbd5e1;
  cursor: pointer;
  transition: var(--transition);
}

.dealers-dots .dot.active {
  background-color: #334155;
  width: 9px;
  height: 9px;
}

/* Marble Industry Section */
.marble-dealer-section {
  padding: 70px 0 85px;
  background-color: #ffffff;
}

.marble-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.7vw, 2.3rem);
  font-weight: 500;
  color: #111827;
  margin-bottom: 35px;
}

.marble-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.marble-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.marble-items li {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 12px;
}

.roman-num {
  font-family: var(--font-serif);
  font-weight: 600;
  color: #111827;
  min-width: 35px;
}

/* Showroom Feature Banner */
.showroom-feature-banner {
  width: 100%;
  overflow: hidden;
  max-height: 520px;
  background-color: #000;
}

.banner-photo-wrapper {
  width: 100%;
  height: 100%;
}

.feature-banner-img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1050;
  align-items: center;
  justify-content: center;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.lightbox-content {
  position: relative;
  z-index: 1051;
  max-width: 90%;
  max-height: 85vh;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  margin: 0 auto;
}

.lightbox-caption {
  color: #e2e8f0;
  margin-top: 10px;
  font-size: 0.95rem;
}

.lightbox-close {
  position: absolute;
  top: -42px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}

/* Footer Section */
.site-footer {
  background-color: var(--footer-bg);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-main-container {
  max-width: 1680px;
  width: 100%;
  margin: 0 auto;
  padding: 70px 24px 60px;
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.6fr;
  gap: 50px;
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 24px;
  color: #ffffff;
}

.social-circle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #1f2820;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.05rem;
  transition: var(--transition);
}

.social-circle-btn:hover {
  background-color: #1877f2;
  border-color: #1877f2;
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-menu a {
  color: #d1d5db;
  font-size: 0.94rem;
  transition: var(--transition);
}

.footer-menu a:hover {
  color: var(--primary-cyan);
  padding-left: 4px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
}

.contact-detail-row {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-detail-row:first-child {
  padding-top: 0;
}

.contact-detail-row:last-child {
  border-bottom: none;
}

.contact-detail-row p,
.contact-detail-row a {
  color: #d1d5db;
  font-size: 0.92rem;
  line-height: 1.6;
  transition: var(--transition);
}

.contact-detail-row a:hover {
  color: var(--primary-cyan);
}

.footer-bottom-bar {
  background-color: var(--footer-bottom-bg);
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
  max-width: 1680px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright-text,
.credits-text {
  font-size: 0.88rem;
  color: #9ca3af;
}

.heart-icon {
  color: #ef4444;
}

/* Floating Contact Widget & Modal */
/* ================= FLOATING CONTACT SPEED DIAL WIDGET ================= */
.floating-contact-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  z-index: 9999;
}

/* Speed Dial Action Menu (Phone & WhatsApp) */
.floating-action-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px) scale(0.85);
  transform-origin: bottom center;
  transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
              visibility 0.28s ease;
}

.floating-contact-widget.active .floating-action-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Individual Floating Action Circular Buttons */
.floating-action-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  position: relative;
}

.floating-action-btn:hover {
  transform: scale(1.1);
}

.floating-action-btn:active {
  transform: scale(0.96);
}

/* 1. Phone Button (Top) */
.floating-action-btn.action-phone {
  background-color: #03E78B;
  box-shadow: 0 4px 14px rgba(3, 231, 139, 0.45);
}

.floating-action-btn.action-phone:hover {
  box-shadow: 0 6px 20px rgba(3, 231, 139, 0.6);
}

.floating-action-btn.action-phone i {
  font-size: 1.35rem;
  color: #ffffff;
}

/* 2. WhatsApp Button (Middle) */
.floating-action-btn.action-whatsapp {
  background-color: #49E670;
  box-shadow: 0 4px 14px rgba(73, 230, 112, 0.45);
}

.floating-action-btn.action-whatsapp:hover {
  box-shadow: 0 6px 20px rgba(73, 230, 112, 0.6);
}

.floating-action-btn.action-whatsapp i {
  font-size: 1.75rem;
  color: #ffffff;
}

/* Trigger Wrap (Pill + Bottom Circle Button) */
.floating-trigger-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Contact Us Pill Button */
.contact-pill-btn {
  background: #ffffff;
  border: none;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1f2937;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
  white-space: nowrap;
}

.contact-pill-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22);
}

.floating-contact-widget.active .contact-pill-btn {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(12px) scale(0.9);
}

/* 3. Bottom Trigger Button (Chat bubble -> White X) */
.chat-circle-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #000000;
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.chat-circle-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.chat-circle-btn:active {
  transform: scale(0.96);
}

.chat-circle-btn .icon-chat {
  font-size: 1.3rem;
  display: block;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.chat-circle-btn .icon-close {
  font-size: 1.6rem;
  font-weight: 700;
  display: none;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* When widget is active (opened), show the X icon */
.floating-contact-widget.active .chat-circle-btn .icon-chat {
  display: none;
}

.floating-contact-widget.active .chat-circle-btn .icon-close {
  display: block;
  animation: fabIconPop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.contact-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.contact-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
}

.modal-dialog {
  position: relative;
  background: #ffffff;
  border-radius: 10px;
  width: 90%;
  max-width: 440px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 30px 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  z-index: 1001;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 18px;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
}

.modal-header {
  margin-bottom: 24px;
}

.modal-heading {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #0f172a;
}

.modal-desc {
  font-size: 0.88rem;
  color: #64748b;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-card-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: var(--transition);
}

.contact-card-link:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
  transform: translateX(4px);
}

.contact-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.phone-box {
  background-color: #eff6ff;
  color: #2563eb;
}

.whatsapp-box {
  background-color: #ecfdf5;
  color: #10b981;
}

.contact-card-link strong {
  font-size: 0.94rem;
  color: #1e293b;
  display: block;
}

.contact-card-link p {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .products-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dealer-slide-item {
    flex: 0 0 calc(50% - 13px);
  }

  .footer-columns-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--header-bg);
    flex-direction: column;
    padding: 22px 20px;
    gap: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
    z-index: 9999;
  }

  .nav-menu.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
    z-index: 10000;
  }

  .products-hero-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .products-gallery-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery-img-box {
    height: 250px;
  }

  /* Overlay arrows on mobile so dealers track gets full width */
  .dealers-carousel-container {
    position: relative;
    padding: 0 8px;
    width: 100%;
  }

  .dealers-carousel-container .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    font-size: 1rem;
    padding: 0;
    z-index: 15;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }

  .dealers-carousel-container .carousel-arrow.prev-btn {
    left: 4px;
  }

  .dealers-carousel-container .carousel-arrow.next-btn {
    right: 4px;
  }

  .dealers-track-wrapper {
    width: 100%;
    overflow: hidden;
  }

  .dealer-slide-item {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 4px;
    box-sizing: border-box;
  }

  .marble-list-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .footer-columns-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .products-hero-section {
    padding: 60px 0 45px;
  }

  .floating-contact-widget {
    bottom: 16px;
    right: 16px;
  }
}

/* ================= 12. AUTO POPPING ENQUIRY FORM MODAL ================= */
.enquiry-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.enquiry-modal-overlay.active {
  display: flex;
}

.enquiry-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.3s ease;
}

.enquiry-modal-card {
  position: relative;
  background: #ffffff;
  border-radius: 8px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 32px 34px 34px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  z-index: 100000;
  box-sizing: border-box;
  animation: enquiryPopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes enquiryPopIn {
  0% {
    opacity: 0;
    transform: scale(0.84) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Overlapping Circular Close Button at Top-Right Corner */
.enquiry-close-btn {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 32px;
  height: 32px;
  background-color: #1a1a1a;
  border: 2px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background-color 0.2s ease;
  padding: 0;
  outline: none;
  z-index: 100001;
}

.enquiry-close-btn:hover {
  background-color: #000000;
  transform: scale(1.12);
}

.enquiry-close-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(82, 153, 45, 0.6);
}

/* Modal Title */
.enquiry-modal-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 22px 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* Form Layout */
.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.enquiry-field-group {
  display: flex;
  flex-direction: column;
}

.enquiry-label {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: #2b2b2b;
  margin-bottom: 6px;
  line-height: 1.3;
}

.enquiry-required {
  color: #ef4444;
  margin-left: 2px;
  font-weight: 700;
}

/* Name Row (First / Last side by side) */
.enquiry-name-row {
  display: flex;
  gap: 14px;
  width: 100%;
}

.enquiry-name-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.enquiry-subtext {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 4px;
}

/* Inputs & Dropdown */
.enquiry-input,
.enquiry-select {
  width: 100%;
  padding: 10px 12px;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  font-size: 0.92rem;
  color: #1f2937;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.enquiry-input:hover,
.enquiry-select:hover {
  border-color: #d1d5db;
}

.enquiry-input:focus,
.enquiry-select:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #52992d;
  box-shadow: 0 0 0 3px rgba(82, 153, 45, 0.18);
}

.enquiry-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* Submit Button */
.enquiry-submit-row {
  margin-top: 4px;
}

.enquiry-submit-btn {
  background-color: #52992d;
  color: #ffffff;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 26px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
  display: inline-block;
}

.enquiry-submit-btn:hover {
  background-color: #438023;
  box-shadow: 0 4px 12px rgba(82, 153, 45, 0.3);
}

.enquiry-submit-btn:active {
  transform: scale(0.98);
}

/* Success Confirmation State */
.enquiry-success-message {
  display: none;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  padding: 18px 20px;
  text-align: center;
  color: #166534;
  font-family: 'Poppins', sans-serif;
  margin-top: 10px;
  animation: enquiryPopIn 0.3s ease forwards;
}

.enquiry-success-message.active {
  display: block;
}

.enquiry-success-message i {
  font-size: 2rem;
  color: #52992d;
  margin-bottom: 8px;
  display: block;
}

.enquiry-success-message h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 6px 0;
  color: #14532d;
}

.enquiry-success-message p {
  font-size: 0.88rem;
  margin: 0;
  color: #166534;
}

/* Mobile Responsiveness */
@media (max-width: 576px) {
  .enquiry-modal-card {
    padding: 24px 18px 20px;
    border-radius: 8px;
    max-height: 88vh;
    max-height: 88dvh;
  }

  .enquiry-close-btn {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .enquiry-modal-title {
    font-size: 1.55rem;
    margin-bottom: 16px;
  }

  .enquiry-name-row {
    flex-direction: column;
    gap: 10px;
  }
}

/* ================= 9. SCROLL-BASED GALLERY ANIMATIONS ================= */
.gallery-section {
  overflow-x: hidden;
}

/* Progressive enhancement: initial hidden and shifted state applied only after JS initializes */
.js-scroll-anim {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 0.75s ease-out, transform 0.75s cubic-bezier(0.25, 1, 0.5, 1);
}

.js-scroll-anim.scroll-fade-left {
  transform: translateX(-45px);
}

.js-scroll-anim.scroll-fade-right {
  transform: translateX(45px);
}

.js-scroll-anim.scroll-fade-left.is-animated,
.js-scroll-anim.scroll-fade-right.is-animated {
  opacity: 1;
  transform: translateX(0);
}

/* Retain gallery card hover effects smoothly after scroll animation completes */
.gallery-card.js-scroll-anim.is-animated:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Accessibility: respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .js-scroll-anim,
  .js-scroll-anim.scroll-fade-left,
  .js-scroll-anim.scroll-fade-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
