:root {
  --light-black: #1f1f1f;
  --light-purple: #b18cd9;
  --white: #ffffff;
  --font-main: 'Open Sans', sans-serif;
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --dark-bg: #121212;
  --dark-text: #eeeeee;
  --dark-card: #1f1f1f;
}

body {
  font-family: var(--font-main);
  background-color: var(--white);
  color: var(--light-black);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode {
  background-color: var(--dark-bg);
  color: var(--dark-text);
}

.glass {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-box {
  background: #f9f9f9;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

body.dark-mode .glass-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

header,
footer {
  background-color: var(--light-black);
  color: var(--white);
  padding: 1rem;
  text-align: center;
}

body.dark-mode header,
body.dark-mode footer {
  background-color: var(--dark-card);
}

nav {
  background-color: var(--light-purple);
  padding: 0.5rem;
  text-align: center;
}

nav a {
  color: var(--white);
  margin: 0 1rem;
  text-decoration: none;
}

main {
  padding: 2rem;
}

.main-nav {
  background-color: var(--light-purple);
  text-align: center;
  padding: 1rem 0;
  position: relative;
}

.nav-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: black;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

body.dark-mode .nav-toggle {
  color: white;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.menu.open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 1rem;
  background-color: white;
}

body.dark-mode .menu.open {
  background-color: #111;
}

.menu-item {
  position: relative;
}

.menu-item a {
  color: black;
  text-decoration: none;
  padding: 0.6rem 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

body.dark-mode .menu-item a {
  color: white;
}

.menu-item a:hover {
  transform: scale(1.05);
}

.has-children:hover .submenu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 10;
}

body.dark-mode .submenu {
  background: rgba(30, 30, 30, 0.95);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.submenu li {
  display: block;
  border-bottom: 1px solid #ccc;
  /* Light gray separator line */
  padding: 0.5rem 0;
}

.submenu li:last-child {
  border-bottom: none;
  /* Removes line after the last item */
}

.submenu a {
  display: block;
  padding: 0.6rem 1rem;
  color: black;
}

body.dark-mode .submenu a {
  color: white;
}

.submenu a:hover {
  background-color: rgba(0, 0, 0, 0.05);
  transform: none;
}

.separator {
  color: black;
  margin: 0 0.3rem;
  font-weight: normal;
}

body.dark-mode .separator {
  color: white;
}

/* 🔁 Responsive Styles */
@media screen and (max-width: 768px) {
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: black;
  }

  .menu {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem 0;
    padding: 1rem 0;
    background-color: var(--light-purple);
    border-radius: 12px;
  }

  .menu.open {
    display: flex;
  }

  .menu.active {
    display: flex;
  }

  body.dark-mode .menu {
    background-color: #111;
  }

  .submenu {
    position: static;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto;
    background: transparent;
    box-shadow: none;
    padding-left: 0;
  }

  .submenu a {
    padding-left: 1.5rem;
  }

  .separator {
    display: none;
  }
}

/* Accordion adjustments for mobile */
@media screen and (max-width: 768px) {
  .accordion-item {
    margin-bottom: 1rem;
  }

  .accordion-header {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    line-height: 1.2;
  }

  .accordion-button {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }

  .accordion-content {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .accordion-icon {
    font-size: 1.25rem;
  }
}

/* AOS animations */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos].aos-animate {
  opacity: 1;
}

/* Light/Dark Toggle Button */
.toggle-theme-btn {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background-color: var(--light-purple);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 1001;
}

@media (max-width: 600px) {
  nav a {
    display: inline-block;
    margin: 0.5rem 0.5rem;
  }

  header h1,
  .about-text h2,
  .services-overview h2,
  .carousel-section h3 {
    font-size: 1.5rem;
  }

  .mv-card h3,
  .about-text h2 {
    font-size: 1.4rem;
  }

  .contact-form,
  .contact-details,
  .mv-card {
    padding: 1rem;
  }

  .carousel-track img {
    width: 240px;
  }

  .carousel-section {
    padding: 1rem 0;
  }

  .hero {
    height: 35vh;
    background-size: cover;
    padding: 1rem;
  }

  .hero-overlay {
    padding: 1rem;
    font-size: 0.95rem;
  }
}

.hero {
  background: url('./assets/hero-bg.jpg') no-repeat center center/cover;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #1f1f1f;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-wood {
  background: url('./assets/hero-wood.jpg') no-repeat center center/cover;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #1f1f1f;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-wood-styles {
  background: url('./assets/hero-wood.jpg') no-repeat center center/cover;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: white;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-overlay {
  background-color: rgba(31, 31, 31, 0.75);
  color: white;
  text-align: center;
  padding: 2rem;
  width: 90%;
  max-width: 700px;
}

.cta-button {
  display: inline-block;
  color: white;
  padding: 0.75rem 1.5rem;
  margin-top: 1rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
}

.cta-button-form {
  display: inline-block;
  color: white;
  background-color: var(--light-purple);
  padding: 0.75rem 1.5rem;
  margin-top: 1rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.cta-button-wrapper {
  display: inline-block;
  background-color: black;
  padding: 0.5rem;
  border: 2px solid var(--light-purple);
  border-radius: 12px;
  margin-top: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.purple-bg {
  display: inline-block;
  background-color: var(--light-purple);
  padding: 0.5rem;
  margin-top: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.purple-bg:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.services-preview {
  background-color: #f9f9f9;
  padding: 3rem 1rem;
  text-align: center;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

/* Each card gets consistent width and stacking behavior on mobile */
.service-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  text-align: left;
  width: 300px;
  max-width: 90vw;
}

.why-us {
  background: var(--light-black);
  color: white;
  padding: 3rem 1rem;
  text-align: center;
}

.why-us ul {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.why-us li {
  margin: 0.5rem 0;
}

.project-teaser {
  padding: 3rem 1rem;
  text-align: center;
}

.project-gallery {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.project-item {
  position: relative;
  cursor: pointer;
}

.project-item img {
  width: 280px;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease;
  border: 4px solid white;
}

.project-item:hover img {
  transform: scale(1.05);
}

.project-item .label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.3rem 0.6rem;
  font-size: 0.9rem;
  border-radius: 6px;
}

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  pointer-events: none;
}

.cta-footer {
  background: var(--light-purple);
  color: white;
  padding: 2rem 1rem;
  text-align: center;
}

.carousel-section {
  padding: 2rem 0;
  margin: 2rem auto;
  max-width: 1300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: #1f1f1f;
  color: white;
  border: 2px solid #000;
}

.carousel-section:nth-of-type(odd) {
  background: #f8f8f8;
  color: #1f1f1f;
  border: 2px solid #ddd;
  border-radius: 16px;
}

.carousel-section:nth-of-type(even) {
  background: #ffffff;
  color: #1f1f1f;
  border: 2px solid #ccc;
  border-radius: 16px;
}

.carousel-section:nth-of-type(3n) {
  border-radius: 16px;
}

.carousel-section h3 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem 2rem;
  max-width: 100%;
  border-radius: 12px;
  scroll-snap-type: x mandatory;
  scroll-padding: 1rem;
}

.carousel-track img {
  width: 260px;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  border: 4px solid white;
  scroll-snap-type: start;
}

button.prev,
button.next {
  background-color: var(--light-purple);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 8px;
}

.services-overview {
  padding: 2rem 1rem;
  background-color: #f9f9f9;
  text-align: center;
}

.services-overview h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--light-black);
}

.services-overview .service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-content: center;
  margin-top: 1rem;
}

.services-overview .service-card {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.services-overview .service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.services-overview .service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.services-overview .service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--light-black);
}

.services-overview .service-card p {
  font-size: 0.95rem;
  color: #555;
}

.services-overview .service-card ul {
  list-style: none;
  padding: 0;
  margin-top: 0.75rem;
}

.services-overview .service-card li {
  text-align: left;
  margin-bottom: 0.4rem;
  color: #444;
}

.about-section {
  background-color: #fdfdfd;
  padding: 3rem 1rem;
  color: var(--light-black);
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.about-text {
  flex: 1 1 500px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--light-black);
}

.about-text p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #444;
  line-height: 1.6;
}

.about-text ul {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.about-text li {
  margin-bottom: 0.5rem;
  color: #333;
}

.about-image {
  flex: 1 1 400px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.mission-vision {
  background: #ffffff;
  padding: 3rem 1rem;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.mv-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.mv-card {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  flex: 1 1 320px;
}

.mv-card h3 {
  font-size: 1.6rem;
  color: var(--light-purple);
  margin-bottom: 1rem;
}

.mv-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

.contact-section {
  padding: 3rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.contact-intro {
  margin-bottom: 2rem;
  font-size: 1rem;
  color: #555;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
}

.contact-form {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--light-purple);
  box-shadow: 0 0 0 2px rgba(177, 140, 217, 0.2);
}

.contact-details {
  flex: 1 1 280px;
  text-align: left;
  padding: 2rem;
  border-radius: 16px;
  background: var(--light-black);
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-details h3 {
  margin-bottom: 1rem;
  color: var(--light-purple);
}

.map-section {
  padding: 3rem 1rem;
  background-color: #f5f5f5;
  text-align: center;
}

.map-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.map-box {
  flex: 1 1 400px;
  max-width: 500px;
  background: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.testimonials-section {
  background: #f5f5f5;
  padding: 3rem 1rem;
  text-align: center;
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

blockquote {
  background: white;
  border-left: 4px solid var(--light-purple);
  padding: 1rem 1.5rem;
  max-width: 420px;
  font-style: italic;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.badge-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.badge-row img {
  width: 120px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.language-toggle {
  position: fixed;
  top: 1rem;
  left: 1rem;
  background: var(--white);
  padding: 0.25rem;
  border-radius: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1002;
  display: flex;
  gap: 0.25rem;
  border: 1px solid var(--light-purple);
}

body.dark-mode .language-toggle {
  background: var(--dark-card);
  border: 1px solid var(--light-purple);
}

.lang-btn {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--light-purple);
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  background-color: var(--light-purple);
  color: white;
}

.lang-btn.active {
  background-color: var(--light-purple);
  color: white;
}

/* Our Services - dark mode fix */
body.dark-mode .services-preview {
  background-color: var(--dark-card);
  color: var(--dark-text);
}

body.dark-mode .services-preview .service-card {
  background-color: #2a2a2a;
  color: var(--dark-text);
}

body.dark-mode .services-overview .service-card p,
body.dark-mode .services-overview .service-card li {
  color: var(--dark-text);
}

/* What Our Clients Say - dark mode fix */
body.dark-mode .testimonials-section {
  background-color: var(--dark-card);
  color: var(--dark-text);
}

body.dark-mode .faq,
body.dark-mode .map-section {
  background-color: var(--dark-card);
  color: var(--dark-text);
}

body.dark-mode .map-box,
body.dark-mode .faq {
  background-color: #2a2a2a;
  color: var(--dark-text);
  border-color: #444;
}

body.dark-mode blockquote {
  background-color: #2a2a2a;
  color: var(--dark-text);
  border-left-color: var(--light-purple);
}

.services-overview,
.testimonials-section,
.service-card,
blockquote {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Dark mode fix for services-overview section */
body.dark-mode .framed-content,
body.dark-mode .carousel-section,
body.dark-mode .services-overview {
  background-color: var(--dark-card);
  color: var(--dark-text);
}

/* Dark mode fix for about-section */
body.dark-mode .about-section {
  background-color: var(--dark-card);
  color: var(--dark-text);
}

body.dark-mode .about-section h2,
body.dark-mode .about-section p,
body.dark-mode .about-section li {
  color: var(--dark-text);
}

/* Dark mode fix for mission-vision */
body.dark-mode .mission-vision {
  background-color: var(--dark-card);
  color: var(--dark-text);
}

body.dark-mode .mission-vision h3,
body.dark-mode .mission-vision p {
  color: var(--dark-text);
}

/* Dark mode fix for carousel-section heading */
body.dark-mode .carousel-section h3 {
  background-color: var(--dark-card);
}

body.dark-mode .services-overview .service-card {
  background-color: #2a2a2a;
  color: var(--dark-text);
  border-color: #444;
}

body.dark-mode .services-overview h2,
body.dark-mode .services-overview .service-card h3,
body.dark-mode .services-overview .service-card p,
body.dark-mode .services-overview .service-card li {
  color: var(--dark-text);
}

body.dark-mode .services-overview .service-card img {
  border: 2px solid #444;
}

body.dark-mode .glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: var(--dark-text);
}

body.dark-mode .mv-card {
  background-color: #2a2a2a;
}

body.dark-mode .mv-card h3 {
  color: var(--light-purple);
}

body.dark-mode .contact-form {
  background-color: #2a2a2a;
  color: var(--dark-text);
}

body.dark-mode .contact-form label {
  color: var(--dark-text);
}

body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
  background-color: #1f1f1f;
  color: var(--dark-text);
  border: 1px solid #555;
}

body.dark-mode .contact-form input:focus,
body.dark-mode .contact-form textarea:focus {
  border-color: var(--light-purple);
  box-shadow: 0 0 0 2px rgba(177, 140, 217, 0.2);
}

/* Dark mode fix for contact-section */
body.dark-mode .contact-section {
  background-color: var(--dark-card);
  color: var(--dark-text);
}

body.dark-mode .contact-section p,
body.dark-mode .contact-section h2,
body.dark-mode .contact-section h3,
body.dark-mode .contact-section label {
  color: var(--dark-text);
}

body.dark-mode .stain-colors {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

body.dark-mode .stain-colors img {
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.breadcrumb {
  font-size: 0.9rem;
  margin: 1rem 0;
  color: #666;
}

.breadcrumb a {
  color: var(--light-purple);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.teaser-image {
  display: inline-block;
  margin: 0 1rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teaser-image img {
  width: 250px;
  max-width: 100%;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teaser-image:hover img {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Remove default arrow for all browsers */
details summary {
  list-style: none;
  /* removes bullet/arrow in some browsers */
  cursor: pointer;
  font-weight: bold;
  font-size: 1.25rem;
  position: relative;
  padding-left: 1.5rem;
}

/* Chrome, Safari, Edge */
details summary::-webkit-details-marker {
  display: none;
}

/* Firefox */
details summary::marker {
  display: none;
}

/* Stain-specific +/- positioning */
.stain-block summary::before {
  content: "+";
  position: absolute;
  left: 0;
  color: #6a1b9a;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.stain-block[open] summary::before {
  content: "−";
}

.stain-block summary {
  position: relative;
  padding-left: 1.5rem;
}

.stain-block .stain-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.stain-content>div {
  flex: 1;
  min-width: 280px;
}

.stain-content img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-sizing: border-box;
}

.why-stain {
  background-color: #f5f5f5;
  padding: 3rem 1rem;
}

.product-info {
  background-color: #f5f5f5;
  padding: 3rem 1rem;
}

/* Dark mode for "Why Stain" section */
body.dark-mode .why-stain {
  background-color: #2a2a2a;
  color: #f0f0f0;
}

/* Dark mode for "Product Info" section */
body.dark-mode .product-info {
  background-color: #2a2a2a;
  color: #f0f0f0;
}

/* Optional: style <li> bullets if needed */
body.dark-mode .why-stain li,
body.dark-mode .product-info li {
  color: #e0e0e0;
}

.before-after-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: border 0.3s ease;
}

/* Add white border in dark mode */
body.dark-mode .before-after-img {
  border: 2px solid white;
}

/* Dark mode hover effect for entire service card */
body.dark-mode .service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.dark-mode .service-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

/* Ensure visibility and padding */
.acordncol-contnt-out,
.acordncol-contnt-in {
  background-color: #ffffff;
  color: #000000;
  padding: 2rem;
  border-radius: 8px;
}

/* Left content spacing */
.acordncol-left-contnt h3 {
  margin-top: 1.5rem;
  color: #333333;
}

.acordncol-left-contnt p {
  margin-bottom: 1rem;
  color: #444444;
  line-height: 1.6;
}

/* Right side image cards */
.acordncol-right-contnt-image {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.acordncol-right-slider-in {
  width: 250px;
}

.acordncol-right-contnt-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.acordncol-right-contnt-imgcap {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  width: 100%;
  padding: 0.5rem;
  text-align: center;
}

/* Dark Mode Compatibility */
body.dark-mode .acordncol-contnt-out,
body.dark-mode .acordncol-contnt-in {
  background-color: #1e1e1e;
  color: #f5f5f5;
}

body.dark-mode .acordncol-left-contnt p,
body.dark-mode .acordncol-left-contnt h3,
body.dark-mode .acordncol-right-contnt-imgcap {
  color: #f5f5f5;
}

.acordncol-contnt-two {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.acordncol-left-contnt {
  flex: 1 1 55%;
  text-align: left;
}

.acordncol-right-contnt {
  flex: 1 1 40%;
}

/* Accordion Summary Text Fix */
.accordion-block summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  padding: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: left;
}

details summary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem 0;
  font-size: 1.4rem;
}

details summary h2 {
  margin: 0;
  font-size: 1.4rem;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 10px;
  margin: 0 auto;
}

.carousel-images {
  display: flex;
  transition: transform 0.6s ease-in-out;
  height: 100%;
  width: 100%;
}

.carousel-image {
  flex: 0 0 100%;
  width: 100%;
  height: 300px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

details.accordion-block>summary::before {
  content: '+';
  margin-right: 0.5rem;
  font-size: 1.25rem;
  line-height: 1;
}

details.accordion-block[open]>summary::before {
  content: '−';
}

.carousel-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
}

.carousel-arrow:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.carousel-arrow.left {
  left: 10px;
}

.carousel-arrow.right {
  right: 10px;
}

/* Dark Mode for Fence Styles & Species Section */
body.dark-mode .acordncol-contnt-out,
body.dark-mode .acordncol-contnt-in {
  background-color: #2a2a2a;
  color: #f5f5f5;
}

body.dark-mode .acordncol-left-contnt h3,
body.dark-mode .acordncol-left-contnt p {
  color: #e0e0e0;
}

body.dark-mode .acordncol-right-contnt-imgcap {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

body.dark-mode .carousel-arrow {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

body.dark-mode details.accordion-block>summary {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

/* Light Mode Defaults (already mostly present in your inline styles) */
.accordion-section,
.acordncol-outer,
.acordncol-contnt-out,
.acordncol-contnt-in {
  background-color: #f5f5f5;
  color: var(--light-purple);
}

/* Dark Mode Overrides */
body.dark-mode .accordion-section,
body.dark-mode .acordncol-outer,
body.dark-mode .acordncol-contnt-out,
body.dark-mode .acordncol-contnt-in {
  background-color: #1e1e1e !important;
  color: #f5f5f5 !important;
}

body.dark-mode .acordncol-left-contnt h3,
body.dark-mode .acordncol-left-contnt p {
  color: #e0e0e0;
}

body.dark-mode details.accordion-block>summary {
  background-color: var(--light-purple);
  color: #f5f5f5;
}

body.dark-mode .acordncol-right-contnt-imgcap {
  background: rgba(255, 255, 255, 0.1);
  color: var(--light-black);
}

body.dark-mode .carousel-arrow {
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  border: none;
}

@media only screen and (max-width: 768px) {
  .sticky-call {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #8B5CF6;
    /* match your light purple */
    color: white;
    padding: 0.75rem 1.2rem;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    font-size: 1rem;
    z-index: 1000;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }

  .sticky-call:hover {
    background-color: #6D4BD6;
    /* darker on hover */
  }
}

/* Dark mode styles for financing section */
body.dark-mode .financing-section {
  background-color: #121212 !important;
  /* deep gray/near-black */
  color: #f1f1f1;
}

body.dark-mode .financing-section h2 {
  color: #ffffff;
}

body.dark-mode .financing-section p {
  color: #d0d0d0;
}

.accordion-styles {
  background-color: #f5f5f5;
  padding: 2rem 1rem;
  color: var(--light-purple);
}

body.dark-mode .accordion-styles {
  background-color: #1f1f1f;
  color: white;
}

/* Flex container defaults */
.acordncol-contnt-two {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

/* Left and right columns */
.acordncol-left-contnt,
.acordncol-right-contnt {
  flex: 1;
}

/* Make it stack on smaller screens */
@media screen and (max-width: 768px) {
  .acordncol-contnt-two {
    flex-direction: column;
    gap: 1.5rem;
  }

  .acordncol-left-contnt,
  .acordncol-right-contnt {
    width: 100%;
  }

  .carousel-image {
    height: 250px;
    background-size: cover;
    background-position: center;
  }

  .carousel-arrow {
    font-size: 1.5rem;
    padding: 0.25rem 0.5rem;
  }

  .acordncol-left-contnt h3 {
    margin-top: 1rem;
  }

  .accordion-block summary h2 {
    font-size: 1.3rem;
  }
}

/* Accordion Content Cards */
.acordncol-contnt-out {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

body.dark-mode .acordncol-contnt-out {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.05);
}

/* Optional: Make accordion clickable area larger */
.accordion-block summary {
  cursor: pointer;
  list-style: none;
  padding: 0.75rem 0;
}

/* For Metal Fence page */
.accordion-metal-toggle {
  background-color: #333;
  color: white;
  padding: 1rem;
  cursor: pointer;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.accordion-metal-content {
  display: none;
  padding: 0.5rem 1rem;
  background-color: #444;
  border-left: 3px solid #888;
  color: white;
}

.accordion-metal-content.active {
  display: block;
  background-color: #555;
  color: white;
}

.metal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.metal-color-box {
  flex: 0 0 130px;
  text-align: center;
  color: white;
}

.metal-color-box h6 {
  color: white;
}

.metal-color-box img {
  max-width: 100px;
  height: auto;
}

.hero-metal-fence {
  position: relative;
  background: url('./assets/metal-fence/metal_fence1.4.jpg') center center/cover no-repeat;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-metal-fence .hero-content {
  color: #fff;
  text-align: center;
  padding: 1rem;
}

.hero-metal-fence h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero-metal-fence p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero-metal-fence h1 {
    font-size: 1.8rem;
  }

  .hero-metal-fence p {
    font-size: 1rem;
  }
}

.hero-flooring {
  position: relative;
  background: url('./assets/flooring/OIP.webp') center center/cover no-repeat;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-flooring h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero-flooring p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero-flooring h1 {
    font-size: 1.8rem;
  }

  .hero-flooring p {
    font-size: 1rem;
  }
}