body {
  background-color: #18514e;
}

header {
  background-color: #93ded7 !important;
  display: flex;
  align-items: center !important;
  justify-content: space-between;
  flex-wrap: nowrap;
}

/* HEADER */
/* logo */
.logo {
  width: 5rem;
  /* slightly smaller */
  margin-top: 0.1rem;
  margin-left: 1rem;
}

/* nav */
/* Fix search icon inside rounded input */
.input-group.input-group-sm.rounded-pill {
  overflow: hidden;
  background: #f8f9fa;
  border-radius: .45rem;
  /* slightly tighter pill */
  padding: .12rem .18rem;
  /* small inner padding to tighten height */
}

.input-group.input-group-sm.rounded-pill .input-group-text {
  border: 0;
  background: transparent;
  padding-left: 0.6rem;
  padding-right: 0.4rem;
  align-items: center;
  display: inline-flex;
  height: 100%;
}

.input-group.input-group-sm.rounded-pill .form-control {
  border: 0;
  box-shadow: none;
  padding-top: .22rem;
  padding-bottom: .22rem;
  background: transparent;
  font-size: .92rem;
}

.input-group.input-group-sm.rounded-pill .form-control:focus {
  box-shadow: 0 0 0 0.16rem rgba(99, 102, 241, 0.10);
  outline: none;
}

/* Professional nav link styles */
.main-nav .nav-link {
  color: #374151;
  /* slate-700 */
  padding: .32rem .6rem;
  /* smaller */
  border-radius: .45rem;
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .2px;
  transition: all .12s ease;
}

.main-nav .nav-link:hover {
  color: #ffffff;
  /* indigo */
  background: linear-gradient(90deg, #2FA7A0, #268b86);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.14);
  transform: translateY(-1px);
  text-decoration: none;
}

.main-nav .nav-link.active {
  color: #fff;
  background: linear-gradient(90deg, #2FA7A0, #268b86);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.14);
}

/* Layout helpers */
/* Allow wrapping on small screens; enforce single-row on md+ via media query */
.header-nav {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: nowrap;
}

.form1 {
  margin-left: .4rem;
  width: 100%;
  max-width: 100%;
}

/* spacing between logo and header */
.logo {
  margin-right: .75rem;
}

/* Responsive: allow wrapping on small screens */
@media (min-width: 620px) {
  .logo {
    margin-left: 1rem;
  }

  .form1 {
    flex: 0 0 15rem;
    max-width: 20rem;
    margin-left: -0.6rem;
  }

  .navbar-toggler-icon {
    width: 1.5rem;
    font-weight: bolder;
  }

  .navbar-toggler {
    margin-right: 1rem;
  }

  .plutonium {
    width: 2.7rem !important;
  }

  .header-icon {
    margin-left: 5em;
  }

}

/* md+ (tablet only): force one-row header */
@media (min-width: 770px) and (max-width: 1060px) {

  .top-bar,
  .navbar,
  .navbar .container,
  .navbar .container-fluid {
    display: flex;
    align-items: center;
    flex-wrap: nowrap !important;
  }

  .logo {
    width: 3.5rem;
    flex-shrink: 0;
  }

  .form1 {
    flex: 1 1 12rem;
    /* ✅ FIXED */
    max-width: 10rem;
    min-width: 5.5rem;
    /* ✅ FIXED */
    margin-left: 1rem;
  }

  .nav-link {
    font-size: 12px !important;
    padding: 0 0.4rem;
    white-space: nowrap;
  }

  .plutonium,
  .settings {
    flex-shrink: 0;
  }
}



/* second middle */
@media (min-width: 1061px) {
  .logo {
    margin-left: .5rem;
  }

  .form1 {
    flex: 0 0 10rem;
    max-width: 15rem;
    margin-left: 0.5rem;
  }


  .nav-link {
    margin-left: 0.05rem;
  }

  .plutonium {
    width: 3rem !important;
  }
}

/* middle */
@media (min-width: 1240px) and (max-width: 1320px) {
  .logo {
    margin-left: 0.5rem;
  }

  .form1 {
    flex: 0 0 15rem;
    max-width: 20rem;
  }

  .nav-link {
    margin-left: 0.6rem;
  }

  .settings {
    /* margin-right: 4rem !important; */
    margin-left: 0.6rem !important;
  }

  .header-icon {
    margin-right: 1rem;
  }

  .plutonium {
    width: 3rem !important;
  }
}

/*  2 d lg+ larger form width */
@media (min-width: 1315px) {
  .logo {
    margin-left: 1rem;
  }

  .form1 {
    flex: 0 0 15rem;
    max-width: 20rem;
  }

  .header-nav {
    margin-left: 1.5rem;
  }

  .main-nav {
    margin-left: 6rem !important;
  }

  .nav-link {
    margin-left: 0.5rem;
  }

  .settings {
    margin-left: 5rem !important;
  }

  .header-icon {
    margin-right: 2rem;
    margin-left: 2rem;
  }

  .favourate {
    margin-left: 1rem !important;
  }

  .plutonium {
    width: 3rem !important;
  }
}

/* lg+ larger form width */
@media (min-width: 1465px) {
  .logo {
    margin-left: 3rem;
  }

  .form1 {
    flex: 0 0 22rem;
    max-width: 30rem;
  }

  .plutonium {
    width: 3rem !important;
  }

  .settings {
    margin-left: 12rem;
  }
}



/* PLUTONIUM */
.plutonium {
  width: 2rem;
}

/* Favorite button */
.fav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: .5rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #6b7280;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.06);
  transition: transform .12s ease, background .12s ease, color .12s ease, box-shadow .12s ease;
  cursor: pointer;
}

.fav-btn i {
  font-size: .95rem;
  line-height: 1;
}

.fav-btn:hover {
  background-color: #268b86;
  color: #fff;
}

.fav-btn:focus {
  outline: none;
  box-shadow: 0 0 0 0.12rem rgba(239, 68, 68, 0.06);
}

.fav-btn.favorited {
  background: linear-gradient(90deg, #ef4444, #fb7185);
  color: #fff;
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.14);
  border-color: transparent;
}

.fav-btn.favorited:hover {
  transform: translateY(-2px);
  filter: brightness(0.98);
}

/* Settings dropdown button */
.settings-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .32rem .56rem;
  border-radius: .5rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #374151;
  font-weight: 500;
  font-size: .95rem;
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease, color .12s ease;
  margin-right: 1rem;
}

.settings-btn i {
  font-size: .95rem;
}

.settings-btn:hover {
  background-color: #268b86;
  color: #f8f9fa;
}

.settings-btn:focus {
  outline: none;
  box-shadow: 0 0 0 0.12rem rgba(99, 102, 241, 0.06);
}

/* mobile: show icon-only to save space */
@media (max-width: 575.98px) {
  .settings-btn {
    padding: .35rem;
  }

  .settings-btn span {
    display: none !important;
  }
}

/* Right-side scroll indicator */
#scroll-indicator {
  position: fixed;
  right: 0.6rem;
  /* moved closer to right edge */
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: .6rem;
  z-index: 1040;
  pointer-events: none;
  /* avoid blocking clicks (buttons inside override) */
}

#scroll-indicator .progress-wrap {
  width: 6px;
  height: 120px;
  background: rgba(15, 23, 42, 0.06);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

#scroll-indicator .progress-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.95), rgba(139, 92, 246, 0.9));
  transition: height .15s linear;
}

.scroll-top-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #374151;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  transform: translateY(6px);
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease, box-shadow .12s ease;
  font-size: 0.85rem;
}

.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top-btn:focus {
  outline: none;
  box-shadow: 0 0 0 0.12rem rgba(99, 102, 241, 0.08);
}

/* Keep indicator hidden on small screens so it doesn't affect layout */
@media (max-width: 767.98px) {
  #scroll-indicator {
    display: none;
  }
}

/* Sticky header */
header {
  position: sticky;
  top: 0;
  z-index: 1030;
  /* above normal content, under modals */
  background: rgba(255, 255, 255, 0.98);
  /* slightly translucent for depth */
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.03);
  transition: box-shadow .18s ease, background .18s ease;
}

/* Slightly reduce shadow on very small screens */
@media (max-width: 575.98px) {
  header {
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.05);
  }
}

/* BODYYYY >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/* HERO / full-viewport hero image with luxury overlay */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: block;
}

.bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.92) contrast(1.05) brightness(.62);
  transform: scale(1.02);
  transition: transform .6s ease;
}

/* Black luxury overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

/* Slightly stronger overlay on small screens */
@media (max-width: 767.98px) {
  .hero::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.55));
  }
}

/* Optional subtle zoom on hover for desktops */
@media (min-width: 992px) {
  .hero:hover .bg-image {
    transform: scale(1.04);
  }
}

/* Hero heading overlay (left-aligned, no card) */
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* center vertically */
  align-items: flex-start;
  /* left aligned */
  padding: 0 6%;
  z-index: 6;
  pointer-events: auto;
  color: #fff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
  max-width: 46%;
}

.hero-title {
  margin: 0 0 .6rem 0;
  font-size: 4rem;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: .3px;
  color: #fff;
}

.hero-sub {
  margin: 0 0 1rem 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.5rem;
}

.hero-actions .hero-cta {
  background: linear-gradient(90deg, #2FA7A0, #268b86);
  border: none;
  color: #fff;
  padding: .5rem .85rem;
  border-radius: 8px;
  font-weight: 600;
}

.hero-actions .btn-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  background: transparent;
}

@media (max-width: 767.98px) {
  .hero-content {
    max-width: 92%;
    align-items: center;
    text-align: center;
  }

  .hero-title {
    font-size: 1.4rem;
  }

  .hero-sub {
    text-align: center;
  }

  .hero-actions {
    text-align: center;
  }
}

.buttonx {
  width: 10rem;
  height: 2.5rem;
}

/* Our Collection section */
.collections {
  background: #ffffff;
  color: #333;
  margin-bottom: 2rem;
}

.section-title {
  color: #268b86;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.underline {
  width: 160px;
  height: 4px;
  background: linear-gradient(90deg, #18514e, #268b86);
  border-radius: 2px;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2.25rem;
  align-items: start;
  margin-top: 1.5rem;
}

.collection-card {
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
  text-decoration: none;
}

.collection-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.collection-card h3 {
  margin-top: .9rem;
  color: #18514e;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}

.collection-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 36px rgba(17, 16, 16, 0.12);
}

/* Responsive columns */
@media (min-width: 576px) {
  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .collection-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1400px) {
  .collection-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Callout section (left text + right mosaic) */
.callout-section {
  background: transparent;
}

.callout-card {
  background: #2FA7A0;
  padding: 1rem;
  overflow: hidden;
}

.callout-title {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  color: #18514e;
  margin-bottom: .6rem;
  font-weight: 700;
}

.callout-desc {
  color: #374151;
  margin-bottom: .8rem;
}

.callout-card .btn-primary {
  background: #18514e;
  border-color: #18514e;
  padding: .55rem .9rem;
}

.callout-card .btn-outline-primary {
  color: #18514e;
  border-color: #cfe3f6;
}

.btn2:hover {
  color: #fff;
  background-color: #18514e;
  border-color: #18514e !important;
}

.btn2 {
  color: #000000;
  border-color: #18514e !important;
  height: 3rem;
}

.btn1:hover {
  background-color: #2FA7A0;
  color: black;
}

.btn1 {
  height: 3rem;
}

.mosaic {
  display: flex;
  gap: 6px;
  height: 220px;
  background: #dff0f6;
  padding: 8px;
  align-items: stretch;
}

.mosaic .mosaic-col {
  overflow: hidden;
  border-radius: 6px;
}

.mosaic .mosaic-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mosaic .col-left {
  flex: 1.3;
}

.mosaic .col-center {
  flex: .9;
}

.mosaic .col-right {
  flex: 1.1;
}

/* decorative diamond at bottom-right */
.mosaic::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  right: 36px;
  bottom: 18px;
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(45deg);
  border-radius: 2px;
}

@media (max-width: 767.98px) {
  .mosaic {
    height: 180px;
  }

  .callout-card {
    padding: .75rem;
  }

  .callout-title {
    text-align: center;
  }

  .callout-text {
    text-align: center;
  }
}

.card-link{
  text-decoration: none;
}

footer {
  background-color: #18514e;
  color: var(--light-card-bg);
  padding: 2.5rem 1rem 0;
  line-height: 1.6;
}

.main-footer {
  margin-bottom: -3.5rem;
}

/* --- Footer Column Headings --- */
.footer-h1 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Footer Text & Links --- */
.footer-content {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.footer-content a {
  color: #fff;
  text-decoration: none;
}

.footer-content a:hover {
  color: var(--primary-blue);
}

/* --- Footer Row Separator --- */
.footer-row {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #2FA7A0;
}

/* --- COPYRIGHT AREA --- */
.copyright-section {
  margin-top: 1.5rem;
}

.copyright {
  height: 4rem;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0;
  border-top: 1px solid #2FA7A0;
}

.copyright p {
  margin: 0;
  padding: 0;
  line-height: 1;
}

/* --- RESPONSIVE FOOTER --- */
@media (max-width: 768px) {
  footer {
    padding: 2rem 1rem 0;
  }

  .footer-h1 {
    font-size: 1.1rem;
    text-align: center;
  }

  .footer-content {
    text-align: center;
    font-size: 0.95rem;
  }

  .footer-row {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
  }

  .copyright {
    font-size: 0.9rem;
    height: auto;
    padding: 1rem 0;
  }
}

.icon-popover {
  position: relative;
  display: inline-block;
}

/* ICON */
.info-icon {
  width: 3rem;
  cursor: pointer;
  margin-right: 1rem;
}

/* POPUP */
.popup-box {
  position: absolute;
  top: 35px;
  right: 0;
  width: 220px;
  background: #ffffff;
  color: #333;
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 1055;
}

/* CLOSE BUTTON */
.close-btn {
  position: absolute;
  top: 6px;
  right: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #888;
}

.close-btn:hover {
  color: #000;
}

/* ===============================
   📱 MOBILE FIX (REALME / ≤412px)
   =============================== */
@media (max-width: 412px) {

  /* HEADER */
  header {
    height: auto !important;
  }

  .section-header {
    grid-column: 1 / -1;
  }

  .navbar {
    flex-wrap: wrap !important;
    /* ✅ allow dropdown */
    align-items: center;
  }

  .navbar-collapse {
    width: 100%;
    background: #6FD0C6;
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
    border-radius: 0.5rem;
  }

  /* hide desktop stuff */
  .form1,
  .main-nav {
    display: none !important;
  }

  .logo {
    width: 2.6rem !important;
  }

  .navbar-toggler {
    margin-left: auto;
    flex-shrink: 0;
  }

  /* HERO */
  .hero {
    height: 88vh;
  }

  .hero-content {
    max-width: 100% !important;
    padding: 0 1rem !important;
    align-items: center !important;
    text-align: center !important;
  }

  .hero-title {
    font-size: 1.35rem !important;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
  }

  .hero-actions a,
  .hero-actions button {
    width: 90%;
    max-width: 280px;
  }

  /* COLLECTION (FIX HUGE IMAGES) */
  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .collection-card img {
    aspect-ratio: 4 / 3;
    max-height: 140px;
    object-fit: cover;
  }

  .collection-card h3 {
    font-size: 0.85rem;
    margin-top: 0.35rem;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    /* consistent spacing between buttons */
    width: 100%;
    align-items: center;
    /* center buttons horizontally */
  }

  .hero-actions a {
    width: 90%;
    max-width: 280px;
    text-align: center;
    /* center text */
  }

  .callout-card .btn1,
  .callout-card .btn2 {
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
  }

  /* 1️⃣ Header must be flexible in height */
  header {
    height: auto !important;
  }

  /* 2️⃣ Navbar stays one fixed row */
  .navbar {
    display: flex !important;
    flex-wrap: nowrap !important;
    /* 🔒 keeps one row */
    align-items: center !important;
    position: relative;
  }

  /* 3️⃣ Lock toggler position */
  .navbar-toggler {
    margin-left: auto !important;
    position: relative;
    top: 0;
    right: 0;
    z-index: 1051;
  }

  /* 4️⃣ Force collapse to absolute layer BELOW header */
  .navbar-collapse {
    position: absolute;
    top: 100%;
    /* 👈 opens downward */
    left: 0;
    width: 100%;
    background: #6FD0C6;
    padding: 0.75rem 1rem;
    border-radius: 0 0 0.6rem 0.6rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .15);
  }

  /* 5️⃣ Prevent collapse from pushing layout */
  .navbar-collapse.collapse:not(.show) {
    display: none;
  }

  .navbar-collapse.show {
    display: block;
  }

  .navbar-collapse.show {
    display: block;
  }

  .collection-card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .collection-card img {
    flex: 1;
    object-fit: cover;
  }

  .collection-grid {
    grid-auto-flow: dense;
    display: contents;
  }

  /* Parent container becomes the grid */
  .collections .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
}

/* HERO BANNER */
.hero-bannerx {
  width: 100%;
  min-height: 60vh;          /* PC height */
  background: linear-gradient(
      rgba(0,0,0,0.4),
      rgba(0,0,0,0.4)
    ),
    url("assets/images/banner/Discover\ beautiful\ handmade\ resin\ crafts\ &\ paintings.png");       /* replace with your image */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
