:root {
  --ink: #18232f;
  --muted: #66717f;
  --line: #e2e7ec;
  --paper: #f7f8f6;
  --white: #ffffff;
  --primary: #01022c;
  --primary-dark: #282633;
  --accent: #353c4e;
  --shadow: 0 18px 55px rgba(24, 35, 47, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  /* font-family: "Inter", Arial, sans-serif; */
  font-family: "Ubuntu", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.78);
}

.btn {
  border-radius: 6px;
  font-weight: 700;
  padding: 0.8rem 1.35rem;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.navbar {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(226, 231, 236, 0.72);
  box-shadow: 0 8px 30px rgba(24, 35, 47, 0.06);
  min-height: 76px;
  transition: min-height 0.25s ease, box-shadow 0.25s ease;
}

.navbar.nav-scrolled {
  min-height: 66px;
  box-shadow: 0 12px 32px rgba(24, 35, 47, 0.12);
}

.navbar-brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  gap: 0.7rem;
  letter-spacing: 0;
}

.brand-mark {
  align-items: center;
  background: var(--primary);
  border-radius: 6px;
  color: var(--white);
  display: inline-flex;
  font-size: 0.9rem;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.nav-link {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  padding-inline: 0.85rem !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.hero-section {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.hero-image {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(10, 23, 30, 0.82), rgba(10, 23, 30, 0.46), rgba(10, 23, 30, 0.18));
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-content {
  inset: 0;
  position: absolute;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.hero-section h1 {
  letter-spacing: 0;
  line-height: 1.03;
  max-width: 820px;
}

.hero-section .lead {
  max-width: 660px;
}

.carousel-indicators {
  bottom: 2rem;
  z-index: 3;
}

.carousel-indicators [data-bs-target] {
  border-radius: 999px;
  height: 5px;
  width: 42px;
}

.stats-band {
  background: var(--primary-dark);
  color: var(--white);
  padding: 2rem 0;
}

.stats-band strong {
  display: block;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
}

.stats-band span {
  color: rgba(255, 255, 255, 0.72);
  display: block;
  font-size: 0.92rem;
  margin-top: 0.55rem;
}

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

.section-padding h2,
.cta-section h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
  margin-bottom: 1.2rem;
}

.section-padding p {
  color: var(--muted);
}

.feature-image {
  aspect-ratio: 5 / 4;
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.icon-line {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 0.75rem;
  min-height: 64px;
  padding: 1rem;
}

.icon-line i {
  color: var(--primary);
  font-size: 1.35rem;
}

.icon-line span {
  font-weight: 700;
}

.product-section {
  background: var(--paper);
}

.section-note {
  margin-bottom: 0;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: block;
  height: 100%;
  overflow: hidden;
  padding: 0;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}

.product-card:hover,
.product-card:focus-visible {
  box-shadow: var(--shadow);
  outline: 0;
  transform: translateY(-8px);
}

.product-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.product-card-body {
  padding: 1.35rem;
}

.product-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.product-card p {
  margin-bottom: 0;
}

.product-category-card span {
  align-items: center;
  color: var(--primary);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 800;
  gap: 0.4rem;
  margin-top: 1rem;
}

.product-detail {
  display: none;
}

.product-detail.is-open {
  display: block;
}

.product-detail-header {
  align-items: end;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
}

.product-detail-header h3 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 0.75rem;
}

.product-detail-header p:last-child {
  margin-bottom: 0;
  max-width: 760px;
}

.product-back {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.5rem;
}

.product-item-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 100%;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.product-item-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.product-item-card div {
  padding: 1.2rem;
}

.product-item-card h4 {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
}

.product-item-card p {
  margin-bottom: 0;
}

.swiper-strip {
  border-block: 1px solid var(--line);
  margin-top: 4rem;
  overflow: hidden;
  padding: 1.2rem 0;
  white-space: nowrap;
}

.marquee-track {
  animation: marquee 26s linear infinite;
  display: inline-flex;
  gap: 3rem;
}

.marquee-track span {
  color: var(--primary-dark);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.cta-section {
  background: linear-gradient(rgba(12, 2, 48, 0.92), rgba(41, 44, 44, 0.92)), url("../img/sm-linen-gallery-galle-sri-lanka-cta-background.jpg") center/cover;
  padding: 5rem 0;
}

.contact-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.contact-list a {
  align-items: center;
  color: var(--ink);
  display: flex;
  font-weight: 700;
  gap: 0.85rem;
}

.contact-list i {
  align-items: center;
  background: var(--primary);
  border-radius: 6px;
  color: var(--white);
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.form-control {
  border-color: var(--line);
  border-radius: 6px;
  min-height: 48px;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(20, 108, 116, 0.16);
}

.map-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 520px;
  overflow: hidden;
}

.map-wrap iframe {
  border: 0;
  height: 100%;
  min-height: 520px;
  width: 100%;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 1.5rem 0;
}

.footer-brand {
  color: var(--white);
}

.footer-brand:hover {
  color: var(--white);
}

.back-to-top {
  align-items: center;
  background: var(--primary);
  border: 0;
  border-radius: 6px;
  bottom: 1.25rem;
  box-shadow: 0 12px 32px rgba(24, 35, 47, 0.2);
  color: var(--white);
  display: none;
  height: 44px;
  justify-content: center;
  position: fixed;
  right: 1.25rem;
  width: 44px;
  z-index: 20;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--white);
    border-top: 1px solid var(--line);
    margin-top: 0.75rem;
    padding: 1rem 0;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(10, 23, 30, 0.86), rgba(10, 23, 30, 0.5));
  }

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

  .map-wrap,
  .map-wrap iframe {
    min-height: 420px;
  }

  .product-detail-header {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .navbar {
    min-height: 68px;
  }

  .brand-mark {
    height: 36px;
    width: 36px;
  }

  .navbar-brand {
    font-size: 0.92rem;
  }

  .hero-section h1 {
    font-size: 2.45rem;
  }

  .hero-content .row {
    padding-top: 4.5rem;
  }

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

  .btn-lg {
    width: 100%;
  }

  .background-tint {
  background-color: rgba(0,0,0,0.6);
  background-blend-mode:darken !important;
  opacity: 0.6;
  } 
  /* Font Styles */
  .ubuntu-light {
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.ubuntu-regular {
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.ubuntu-medium {
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.ubuntu-bold {
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.ubuntu-light-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.ubuntu-regular-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.ubuntu-medium-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.ubuntu-bold-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-style: italic;
}
}
