/* =========================================
   1. GLOBAL & DESKTOP STYLES (Base > 1024px)
   ========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Afacad", sans-serif;
}

:root {
  --primary: #d27e2b;
  --secondary: #fefafa;
  --hover-transition: all 0.3s ease-in-out;
  --muted: #666;
  --dark: #1a1a1a;
  --soft-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

body,
html {
  width: 100%;
  position: relative;
}

body p,
a,
li,
div {
  font-family: "Afacad", sans-serif;
  font-display: swap;
  font-size: 20px;
  line-height: 1.7;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3 {
  font-family: "Afacad", sans-serif;
  font-weight: 600;
  margin: 0;
}

h1 {
  font-size: 64px;
  line-height: 1.2;
}

h2 {
  font-size: 48px;
  line-height: 1.25;
  font-weight: bold;
}

h3 {
  font-size: 26px;
  line-height: 1.3;
  font-weight: bold;
}

/* Fonts */
@font-face {
  font-family: "Alkatra";
  src: url("../assets/fonts/Alkatra-VariableFont_wght.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Afacad";
  src: url("../assets/fonts/Afacad-VariableFont_wght.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Afacad";
  src: url("../assets/fonts/Afacad-Italic-VariableFont_wght.woff2")
    format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

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

ul {
  list-style: none;
}

nav {
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 1000;
}

/* Navbar */
.navbar {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
}

.menu {
  display: none;
}

.logo a {
  font-family: "Alkatra", sans-serif;
  font-weight: bold;
  font-size: 35px;
}

.nav-links {
  display: flex;
  gap: 50px;
}

.nav-links li.active {
  font-weight: bold;
}

.nav-links li {
  cursor: pointer;
  transition: var(--hover-transition);
}

.nav-links li:hover {
  color: var(--primary);
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btns-div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-buttons .btn-primary {
  background-color: black;
  color: #fff;
  padding: 2px 20px;
  border-radius: 3px;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--hover-transition);
  border: 1px solid transparent;
}

.btns-div .btn-primary:hover {
  background-color: #fefafa;
  color: black;
  border: 1px solid black;
}

.nav-buttons .btn-outline {
  color: black;
  background-color: transparent;
  border: 1px solid black;
  font-size: 20px;
  padding: 2px 20px;
  border-radius: 3px;
  cursor: pointer;
  transition: var(--hover-transition);
}

.nav-buttons .btn-outline:hover {
  color: #fefafa;
  background-color: black;
}

.form-group {
  position: relative;
}

/* Base Tooltip Styling */
.error-tooltip {
  display: none; /* Hidden by default, toggled via .active class */
  position: absolute;
  top: 96px;
  left: 15px;
  margin-top: 0px; /* Aligns arrow precisely with the input border */
  z-index: 3;
  filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.15));
}

.error-tooltip.active {
  display: block;
}

/* Tooltip Body */
.tooltip-content {
  background-color: #fffd8b; /* Soft yellow background */
  border: 1px solid #e89c45; /* Yellow/Orange border */
  border-radius: 2px;
  padding: 4px 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #000;
  font-size: 18px;
  font-weight: 400;
  white-space: nowrap;
  position: relative;
  z-index: 5;
}

/* The Orange Warning Icon */
.error-icon {
  width: 23px;
  height: 23px;
  background-color: #e79333; /* Deep orange */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-size: 16px;
}

/* Base Arrow (The Border) */
.tooltip-arrow {
  width: 0;
  height: 0;
  position: absolute;
  left: 19px;
  top: -17px; /* Positioned to overlap the content border */
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 18px solid #e89c45; /* Matches content border color */
  z-index: 6;
}

/* Inner Arrow (The Mask) */
/* This hides the 1px border of the tooltip-content */
.tooltip-arrow::after {
  content: "";
  position: absolute;
  left: -8.5px; /* Slightly smaller than parent to center */
  top: 2px; /* Pushes it down to cover the content border */
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 17px solid rgba(255, 253, 139, 1); /* Matches content background color */
  z-index: 7; /* Placed above everything to hide the border line */
}

/*-----------------Page-Hero-------------------*/
.page-hero,
.policy-hero,
.blog-hero,
.checkout-hero {
  /* Gradient: White Top -> Light Orange Bottom */
  background: linear-gradient(0deg, #e9a41929 0%, #ffffff 100%);
  padding: 50px 30px 80px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 25px;
}

.hero-title {
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.hero-subtitle {
  font-size: 28px;
  color: var(--text-dark);
  font-weight: 400;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #d27e2b;
  color: white;
  padding: 4px 16px;
  border-radius: 4px;
  font-weight: 500;
  position: absolute;
  bottom: -9%;
  left: 50%;
  transform: translateX(-50%);
  gap: 10px;
  width: max-content;
  white-space: nowrap;
}

.breadcrumb span {
  font-weight: normal;
  color: white;
}

.breadcrumb img {
  position: relative;
  top: 1px;
  margin: auto 0;
}

/* Hero Section */
.hero {
  margin-top: 10px;
  height: 620px;
  background: linear-gradient(
    to bottom,
    #fff 50%,
    rgba(255, 229, 179, 0.7),
    rgba(233, 163, 25, 0.3)
  );
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Replaced margin-bottom on child with padding here to shift visual center up */
  padding-bottom: 200px;
}

.hero-imgs {
  position: absolute;
  top: 0;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  height: 100%;
  pointer-events: none;
}

.hero-img {
  position: absolute;
  top: -15%;
  max-width: 90%;
  aspect-ratio: auto; /* Natural aspect ratio */
}

.hero-img.hero-left {
  transform: rotate(3deg);
  left: 5%;
  top: -3%;
}

.hero-img.hero-right {
  transform: rotate(-3deg);
  right: 5%;
  top: -3%;
}

.hero-content {
  max-width: 900px;
  position: relative;

  /* Flexbox Layout replacing margins */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.hero-content h1 {
  font-weight: bold;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.highlight {
  color: #d87e19;
}

.hero-content p {
  max-width: 87%;
  font-size: 26px;
  margin: 0; /* Cleaned */
}

.hero-content .buttons {
  margin-top: 30px; /* Specific offset for buttons */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.btn-outline,
.btn-primary {
  padding: 4px 25px;
  font-size: 26px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: var(--hover-transition);
}

.hero .btn-outline {
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 1px 1px 8px 2px rgba(0, 0, 0, 0.17);
}

.hero .btn-outline:hover {
  background-color: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
}

.hero .btn-primary {
  background: var(--primary);
  color: white;
  font-weight: 500;
}

.hero .btn-primary:hover {
  background-color: black;
  color: white;
}

/* Features */
.features-section {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.features-container {
  max-width: 950px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 0 20px;
  position: absolute;
  top: -10%;
  z-index: 10;
}

.feature-card {
  background: #fff;
  width: 190px;
  height: 166px;
  padding: 25px 10px;
  border-radius: 5px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: 0.2s ease-in-out;

  /* Flex Layout for internals */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.feature-card p {
  font-weight: 600;
  color: #333;
  margin: 0;
}

/* Main content */
.content {
  max-width: 920px;
  margin: 32px auto 0px;
  padding: 120px 20px 20px 20px; /* Top padding reserved for absolute overlap */
  text-align: center;

  /* Flex layout replacing margins */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.content h2 {
  margin: 0; /* Cleaned */
}

.content .accent-sub {
  color: black;
  font-size: 28px;
  line-height: 1.4;
  font-weight: bold;
  color: #d87e19;
  margin: 0; /* Cleaned */
}

.content p.lead {
  max-width: 670px;
  color: black;

  line-height: 1.6;
  margin: 0; /* Cleaned */
}

/* Info boxes grid */
.info-wrap {
  max-width: 1300px;
  padding: 10px 0px;
  margin: 20px 40px 50px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px 60px;
}

.info-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border-radius: 5px;
  padding: 22px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  min-height: 80px;
  transition: transform 0.2s ease-out;
}

.info-card:hover {
  transform: translateX(6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.info-badge {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background-color: #a86523;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04) inset;
}

.info-badge img {
  width: auto;
  height: auto;
  display: block;
  aspect-ratio: 1/1; /* Added */
}

.info-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px; /* Replaces margin-bottom on title */
}

.info-title {
  font-weight: bold;
  font-size: 22px;
  line-height: 1.4;
  margin: 0;
}

.info-text {
  margin: 0;

  line-height: 1.5;
}

/* Info Section (Price Varies) */
.info-section {
  background: rgba(219, 166, 61, 0.47);
  min-height: 480px;
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: center;
}

.mini-card {
  max-width: 230px;
  background: white;
  border-radius: 5px;
  padding: 15px 25px;
  box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  transition: transform 0.2s ease-in;
}

.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.mini-card:hover img {
  transform: scale(1.03);
}

.mini-card .icon {
  width: 60px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-card .icon img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1/1; /* Added */
  object-fit: contain;
}

.mini-card .caption {
  font-size: 26px;
  line-height: 1.3;
  color: black;
  margin: 0;
}

.text-area {
  padding: 8px 12px;
  width: 40%;
  max-width: 700px;

  /* Flex layout replacing margins */
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.text-area h3 {
  font-size: 48px;
  line-height: 1.15;
  font-weight: bold;
  margin: 0;
}

.text-area p {
  color: black;

  line-height: 1.6;
  max-width: 500px;
  margin: 0;
}

/* About Gemstone Section */
.about-gemstone-section {
  max-width: 1390px;
  margin: 36px auto;
  padding: 30px 40px;
}

.about-gemstone-section h2 {
  text-align: center;
  max-width: 785px;
  width: 100%;
  margin: 0 auto;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 650px;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  gap: 40px;
}

.left {
  width: 100%;

  /* Flex layout replacing margins */
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kicker {
  font-weight: bold;
  font-size: 28px;
  color: #d27e2b;
  margin: 0;
}

.desc {
  color: black;

  line-height: 1.7;
  max-width: 600px;
  margin: 0;
}

.bullets {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.bullet {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.bullet .icon-wrap {
  width: 50px;
  height: 50px;
  background: black;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 2px;
}

.bullet .icon-wrap img {
  aspect-ratio: 1/1; /* Added */
  width: 60%;
}

.bullet .text {
  font-size: 14px;
  color: var(--dark);
  display: flex;
  flex-direction: column;
  gap: 4px; /* Replaces margin-bottom on title */
}

.bullet .text .title {
  font-weight: bold;
  font-size: 22px;
  margin: 0;
}

.bullet .text .sub {
  margin: 0;
}

/* Kit */
.kit {
  background-color: #f9e6c1;
  border-radius: 5px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;

  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kit h3 {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  margin: 4px 0 0 0;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 20px;
}

.tile {
  background: #fff;
  border-radius: 8px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: var(--soft-shadow);
  text-align: center;
  min-height: 78px;
  aspect-ratio: 185/115;
  transition: transform 0.3s ease-in-out;
}

.tile .label {
  line-height: 1.3;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.tile:hover img {
  transform: scale(1.03);
}

.tile img {
  width: auto;
  display: block;
  aspect-ratio: 1/1; /* Added */
}

/* Vedic Gemstones Section */
.vedic-gemstone-section {
  margin: 36px auto;
  padding: 30px 40px;
  background: linear-gradient(to bottom, rgba(255, 229, 179, 0.4853), #fff 30%);
}

.vedic-hero {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}

.vedic-hero h2 {
  font-size: 28px;
  font-weight: bold;
  line-height: 1.15;
  color: #d27e2b;
  margin: 0;
}

.vedic-hero .sub {
  color: black;
  margin: 0 0 16px 0;
}

.vedic-hero .vedic-kicker {
  font-weight: bold;
  font-size: 48px;
  line-height: 1.2;
  margin: 0;
}

.grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  justify-items: center;
  align-items: center;
  margin-top: 28px;
}

.card {
  background: #fff;
  width: 100%;
  height: 100%;
  max-width: 370px;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.1);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-direction: column;
}

.gem-thumb {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(16, 24, 40, 0.06);
  flex-shrink: 0;
  overflow: hidden;
}

.gem-thumb img {
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

/* On card hover, scale the image slightly */
.card:hover .gem-thumb img {
  transform: scale(1.08); /* Zooms in 8% */
}

.title {
  font-weight: bold;
  font-size: 28px;
  margin: 0;
}
.vedic-gemstone-section .title {
  text-align: center;
}

.pills {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 5px;

  box-shadow: 0 4px 10px rgba(10, 20, 30, 0.03);
}

.view-btn {
  margin-top: 20px;
  width: 100%;
  padding: 12px 12px;
  background: #0d0d0d;
  color: #fff;
  border-radius: 4px;
  border: none;
  font-weight: bold;
  font-size: 23px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: var(--hover-transition);
}

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

.view-btn img {
  width: 24px;
  height: auto;
  transition: transform 0.3s ease;
}

.view-btn:hover img {
  transform: translateX(6px);
}

/* Testimonials */
.testimonial-section {
  margin: 36px auto;
  padding: 30px 40px;
  background: linear-gradient(to bottom, rgba(233, 163, 25, 0.16), #fff 75%);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.section-title {
  margin: 0;
}

.section-subtitle {
  line-height: 1.6;
  color: black;
  margin: 0;
}

.testimonials-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 70px;
  max-width: 1300px;
  width: 100%;
  margin: 100px auto 0;
}

.testimonial-card {
  position: relative;
  width: 100%;
  max-width: 370px;
  margin-top: 40px;
  border-radius: 10px 20px;
  box-shadow: 0px 0px 21px 0 rgba(0, 0, 0, 0.52);
  transition: transform 0.3s ease;
}

/* On hover, lift the whole card slightly */
.testimonial-card:hover {
  transform: translateY(-10px);
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fec791;
  border-radius: 20px;
  transform: rotate(6deg);
  z-index: 0;
  transition: transform 0.3s ease;
}

.card-content {
  position: relative;
  background: white;
  padding: 20px 34px 30px 35px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  z-index: 1;
  text-align: center;
  height: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: -65px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background-color: #ddd;
  aspect-ratio: 1/1; /* Added */
  margin-bottom: 5px; /* Adjusting for gap */
  transition: transform 0.3s ease;
}

.testimonial-card:hover .avatar {
  transform: scale(1.1); /* Zooms in 10% */
}

.card-content h3 {
  color: #1a1a1a;
  margin: 0;
}

.card-content p {
  color: black;
  line-height: 1.6;
  flex-grow: 1;
  margin: 0;
}

.author-name {
  font-size: 28px;
  font-weight: bold;
  color: #d27e2b;
  margin-top: 5px; /* Visual adjustment */
}

/* CTA Section */
.cta-section {
  background-color: black;
  color: white;
  padding: 80px 20px;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.decor-left,
.decor-right {
  position: absolute;
  top: 0;
  height: 100%;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  opacity: 0.8;
  pointer-events: none;
  z-index: 50;
  aspect-ratio: auto; /* Added */
}

.decor-left {
  left: 0;
}

.decor-right {
  right: 0;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.cta-title {
  font-size: 60px;
  font-weight: bold;
  line-height: 1.2;
  margin: 0;
}

.cta-subtitle {
  font-size: 26px;
  color: #fff;
  max-width: 645px;
  line-height: 36px;
  margin: 0 0 25px 0; /* Extra space for buttons */
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 25px;
  border-radius: 50px;
  width: 343px;
  text-decoration: none;
  transition: transform 0.2s;
  display: inline-block;
  text-align: center;
  transition: var(--hover-transition);
}

.btn-white {
  background-color: white;
  font-size: 26px;
  color: black;
  box-shadow: none;
}

.btn-white:hover {
  background-color: var(--primary);
  color: var(--secondary);
}

.btn-gold {
  background-color: var(--primary);
  color: white;
  font-size: 26px;
  font-weight: bold;
}

.btn-gold:hover {
  background-color: white;
  color: black;
}

/* Certification Strip */
.cert-strip {
  background: linear-gradient(to right, #ffe2c5, #fff4e8);
  padding: 40px 20px;
  min-height: 214px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 90px;
  border-bottom: 1px solid #eee;
}

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 150px;
}

.cert-item .secure-payment {
  background-color: #ffffff7a;
  height: 85px;
  width: 85px;
  border-radius: 50%;
  border: 2px solid #023f81;
}

.cert-icon-box {
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.cert-icon-box img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  aspect-ratio: 1/1; /* Added */
}

.cert-title {
  font-size: 22px;
  font-weight: bold;
  color: black;
}

.cert-desc {
  color: black;
}

/* Main Footer */
.main-footer {
  background: linear-gradient(to top, rgba(233, 163, 25, 0.2), #fff 35%);
  padding: 40px 40px;
  display: flex;
  justify-content: center;
  color: black;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, max-content));
  gap: clamp(40px, 9vw, 120px);
  max-width: 1440px;
  padding: 0px 30px;
  margin: 0 auto;
  justify-content: center;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col h3 {
  font-size: 28px;
  line-height: normal;
  font-weight: bold;
  margin: 0;
}

.footer-col ul {
  line-height: 1.5;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col li {
  margin: 0;
}

.footer-col a {
  text-decoration: none;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.footer-col a img {
  position: relative;
  top: 8px;
}

.quick-links a:hover {
  transform: translateX(5px); /* Slides right */
  color: var(--primary); /* Uses your orange variable */
}

.brand-col p {
  color: black;
  margin: 0;
  line-height: 1.5;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 5px;
}

.brand-logo .logo-icon {
  width: 41px;
  height: 41px;
  background-color: #d27e2b;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  aspect-ratio: 1/1; /* Added */
}

.brand-logo h2 {
  font-size: 28px;
  line-height: normal;
  font-weight: bold;
}

.trust-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 5px;

  color: black;
}

/* Bottom Bar */
.bottom-bar {
  background-color: #000;
  color: white;
  padding: 20px 20px;
  min-height: 54px;
}

.bottom-container {
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment-methods span {
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.payment-methods span img {
  position: relative;
  top: 8px;
}

.payment-icons {
  display: flex;
  gap: 9px;
  align-items: center;
}

.payment-icons .bank-icon {
  width: 40px;
  height: 27px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.legal-links {
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px 40px;
  padding: 0 40px;
}

.legal-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Optional: Light up the text color too */
.legal-links a:hover {
  color: #ffd6ac;
  text-decoration: underline;
  text-decoration-color: #ffd6ac;
}

/* =========================================
   MOBILE SIDEBAR MENU STYLES
   ========================================= */

/* Overlay Background */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000cc;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Sidebar Container */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 50%;
  height: 100vh;
  background: #ffffff;
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  overflow-y: auto;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-sidebar.open {
  transform: translateX(0);
}

/* Header Section */
.sidebar-header {
  text-align: center;
  margin-bottom: 30px;
  padding: 0 25px;
}

.menu-seperator {
  margin: 10px auto;
  width: 90%;
  height: 1px; /* border thickness */
  background: linear-gradient(
    to right,
    #fefafa 0%,
    #00000099 50%,
    #ffffff 100%
  );
}

.sidebar-header .brand-name {
  font-family: "Alkatra", serif;
  font-size: 26px;
  font-weight: bold;
  color: #000;
  margin-bottom: 10px;
}

/* Profile Section */
.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0px 0px 25px 40px;
  margin-bottom: 10px;
}

.sidebar-profile .profile-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-info {
  display: flex;
  flex-direction: column;
}

.profile-name {
  font-family: "Afacad", sans-serif;
  font-weight: 700;

  color: #000;
}

.profile-role {
  font-family: "Afacad", sans-serif;

  color: #00000066;
}

/* Navigation Links */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  align-items: normal;
  width: 100%;
  gap: 12px;
  padding: 0;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0px 10px 40px;
  text-decoration: none;
  color: #00000099;

  font-weight: 500;
  transition: all 0.2s ease;
  border-right: 4px solid transparent; /* Placeholder for active border */
}

.nav-item .nav-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-item .nav-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.6; /* Gray out icons slightly by default */
  transition: opacity 0.2s;
}

/* Active State (Matches Image) */
.nav-item.active {
  background: linear-gradient(to right, #ffffff 0%, #fff7e7 50%, #ffefd0 100%);
  border-right: 5px solid #d27e2b; /* Orange border right */
}

.nav-item.active .nav-icon img {
  opacity: 1;
}

.nav-item:hover {
  background: linear-gradient(to right, #ffffff 0%, #fff7e7 50%, #ffefd0 100%);
  border-right: 5px solid #d27e2b; /* Orange border right */
}

.nav-item:hover .nav-icon img {
  opacity: 1;
}

/* Footer Section */
.sidebar-footer {
  padding: 10px 20px 0 40px;
}

.footer-label {
  color: #00000099;
  margin-bottom: 8px;
}

.social-icons {
  display: flex;
  gap: 8px;
}

.social-icons a img {
  width: 24px;
  height: 24px;
  transition: opacity 0.2s;
}

.social-icons a:hover img {
  opacity: 1;
}

@media (max-width: 1300px) {
  .nav-links {
    gap: 25px;
  }

  .bottom-container {
    justify-content: center;
  }

  .hero-content {
    margin-top: 50px;
    max-width: 800px;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .kit {
    max-width: 900px;
    margin: 0 auto;
  }

  .desc {
    max-width: 100%;
  }

  .footer-grid {
    gap: clamp(40px, 2vw, 60px);
  }

  .payment-icons {
    flex-wrap: wrap;
    align-items: center;
  }
}

/* =========================================================
   2. TABLET STYLES (Range: 768px - 1024px)
   ========================================================= */
@media (max-width: 1024px) {
  h1 {
    font-size: 38px;
    line-height: 1.15;
  }

  h2 {
    font-size: 32px;
    line-height: 1.15;
  }

  h3 {
    font-size: 24px;
    line-height: 1.3;
  }

  .navbar {
    padding: 20px 40px 20px;
  }
  .logo a {
    font-size: 32px;
  }
  .nav-links {
    display: none;
  }
  .menu {
    height: 30px;
    display: block;
    cursor: pointer;
  }
  .menu img {
    height: auto;
    width: 32px;
    object-fit: contain;
    aspect-ratio: 1/1; /* Added */
  }

  .nav-buttons {
    display: flex;
    gap: 15px;
  }
  .nav-buttons .btn-outline {
    display: block;
  }
  .nav-buttons .btn-primary {
    display: block;
  }

  .page-hero,
  .policy-hero,
  .blog-hero,
  .checkout-hero {
    background: linear-gradient(0deg, #e9a41929 0%, #ffffff 100%);
    padding: 40px 30px 90px;
    gap: 12px;
  }

  .hero {
    margin-top: 30px;
    height: 570px;
  }

  .hero-img {
    max-height: 70%;
  }
  .hero-img.hero-left {
    top: 5%;
    left: 0%;
  }
  .hero-img.hero-right {
    top: 5%;
    right: 0%;
  }
  .hero-content {
    max-width: 85%;
    margin-top: 0;
  }
  .hero-content h1 {
    max-width: 650px;
    margin: auto;
  }
  .hero-content p {
    font-size: 22px;
    max-width: 80%;
  }
  .hero-content .buttons {
    flex-direction: row;
    gap: 20px;
  }

  .btn-outline,
  .btn-primary {
    font-size: 22px;
  }

  .features-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: space-between;
    gap: 15px;
    max-width: 100%;
    width: 100%;
    padding: 0 40px;
  }
  .feature-card {
    width: 100%;
    height: auto;
    padding: 30px 10px;
  }
  .feature-card img {
    height: 60px;
  }

  .content {
    margin-top: 0;
    max-width: 688px;
  }

  .content h2 {
    margin: 0 10%;
  }
  .content .accent-sub,
  .kicker {
    font-size: 24px;
  }

  .info-section {
    display: flex;
    flex-direction: column-reverse;
    padding: 40px 0;
    gap: 30px;
  }

  .info-grid {
    gap: 20px 20px;
  }

  .info-card {
    gap: 8px;
    padding: 15px;
  }

  .info-badge {
    width: 44px;
    height: 44px;
  }

  .text-area {
    width: 65%;
    text-align: center;
  }
  .text-area h3 {
    max-width: 100%;
    font-size: 32px;
  }
  .text-area p {
    max-width: 100%;
  }

  .tile {
    aspect-ratio: 185 / 100;
  }

  .card-grid {
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    padding: 20px 40px;
  }

  .mini-card {
    padding: 15px 10px;
    width: 100%;
    height: 100%;
  }

  .about-gemstone-section h2 {
    line-height: 42px;
  }

  .mini-card .caption {
    font-size: 22px;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-gemstone-section h2 {
    max-width: 70%;
  }

  .desc {
    max-width: 100%;
  }

  .left {
    gap: 16px;
  }

  .vedic-hero .vedic-kicker {
    font-size: 32px;
  }

  .vedic-hero h2 {
    font-size: 24px;
  }

  .vedic-gemstone-section .grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    gap: 32px 20px;
  }

  .card {
    padding: 30px 15px;
  }

  .card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .testimonials-container {
    margin-top: 30px;
    gap: 45px;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .card-content {
    padding: 20px 20px 30px 20px;
  }

  .card-content h3,
  .author-name {
    font-size: 22px;
  }
  .testimonial-card {
    width: 330px;
  }

  .cta-content {
    max-width: 540px;
  }

  .cta-title {
    font-size: 32px;
  }

  .cta-subtitle {
    font-size: 22px;
  }

  .btn-white,
  .btn-gold {
    font-size: 22px;
  }

  .cert-strip {
    gap: 20px;
    padding: 40px;
  }

  .decor-left {
    left: -15%;
  }

  .decor-right {
    right: -15%;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(180px, max-content));
    padding: 0px 40px;
    gap: 36px 110px;
  }

  .footer-grid .footer-col:nth-child(3) {
    order: 1;
  }

  .footer-col {
    margin-left: 0;
  }
  .bottom-container {
    justify-content: center;
  }

  .brand-col p {
    width: 92%;
  }

  .payment-methods {
    margin-top: 14px;
  }

  .payment-icons {
    flex-wrap: nowrap;
    align-items: center;
  }

  .trust-list {
    margin-top: 8px;
  }

  .legal-links {
    gap: 24px;
  }
}

/* =========================================================
   3. MOBILE STYLES (Range: 768px and down)
   ========================================================= */
@media (max-width: 767px) {
  h1 {
    font-size: 34px;
    line-height: 1.15;
  }

  h2 {
    font-size: 30px;
    line-height: 1.15;
  }

  h3 {
    font-size: 22px;
    line-height: 1.3;
  }

  .navbar {
    padding: 15px 20px;
  }

  .logo a {
    font-size: 26px;
  }

  .nav-buttons .btn-primary,
  .nav-buttons .btn-outline {
    display: none !important;
  }
  .nav-buttons {
    gap: 0;
  }

  .menu {
    display: block;
    margin-left: auto;
  }

  .menu img {
    width: 30px;
  }

  .page-hero,
  .policy-hero,
  .blog-hero,
  .checkout-hero {
    padding: 20px 30px 75px;
    gap: 12px;
  }

  .breadcrumb {
    padding: 4px 10px;
    bottom: -15%;
  }

  .hero {
    margin-top: 0;
    min-height: 770px;
    padding: 0 15px 60px;
    overflow: hidden;
  }

  .hero-img {
    width: 25%;
    max-width: 100px;
  }

  .hero-content {
    margin-top: 30px;
    margin-bottom: 120px;
    max-width: 95%;
    gap: 15px;
  }
  .hero-content h1 {
    margin-top: 10px;
  }
  .hero-content p {
    font-size: 22px !important;
    max-width: 100%;
  }

  .hero-content .buttons {
    flex-direction: column;
    width: 100%;
    max-width: 350px;
    margin: 25px auto 0;
  }
  .hero-content .btn-outline,
  .hero-content .btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 40px;
    padding-right: 40px;
  }

  .hero-img.hero-left {
    transform: rotate(100deg);
    top: -10%;
    left: 37%;
  }
  .hero-img.hero-right {
    transform: rotate(80deg);
    top: auto;
    bottom: 5%;
    right: 35%;
  }

  .features-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    top: -75px;
    padding: 0 15px;
    width: fit-content;
  }
  .feature-card {
    padding: 30px 10px;
    width: 100%;
    height: 150px;
  }

  .content {
    padding-top: 220px;
    gap: 10px;
  }
  .content h2 {
    margin: 40px 5% 0;
  }

  .content .accent-sub,
  .kicker {
    font-size: 22px !important;
  }

  .info-badge {
    width: 40px;
    height: 40px;
  }

  .info-body {
    gap: 4px;
  }

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

  .info-card {
    padding: 15px;
  }

  .info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .info-wrap {
    margin: 0px 20px 40px;
  }

  .text-area {
    width: 95%;
  }

  .card-grid {
    padding: 0px 20px;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: fit-content;
  }

  .text-area h3 {
    font-size: 30px;
  }

  .tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
    max-width: 500px;
    margin: 0 auto;
  }

  .tile {
    aspect-ratio: 185 / 140;
  }

  .tile img {
    width: 50px;
  }

  .two-col {
    gap: 10px;
  }

  .left {
    padding: 0 20px;
  }

  .kicker,
  .desc {
    text-align: center;
  }

  .about-gemstone-section {
    padding: 0px;
  }

  .bullets {
    padding-inline: 20px;
    margin: 6px auto 0px;
  }

  .vedic-gemstone-section .grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .vedic-hero .vedic-kicker {
    font-size: 30px;
  }

  .title {
    font-size: 26px;
  }

  .vedic-hero h2 {
    font-size: 22px;
  }

  .cta-title {
    font-size: 30px;
    margin: 0 3%;
  }

  .gem-thumb {
    width: 118px;
    height: 118px;
  }

  .grid .card {
    width: 100%;
    max-width: 360px;
    gap: 18px;
  }

  .about-gemstone-section h2 {
    max-width: 93%;
  }

  .vedic-gemstone-section {
    padding: 20px;
  }

  .testimonial-section {
    background: linear-gradient(to bottom, rgba(233, 163, 25, 0.16), #fff 10%);
    padding: 28px 25px;
  }

  .avatar {
    width: 80px;
    height: 80px;
  }

  .cert-strip {
    justify-content: space-between;
    padding: 24px;
  }

  .btn-white,
  .btn-gold {
    width: 300px;
  }
  .cert-strip .cert-item:nth-child(3) {
    display: none;
  }

  .cta-section {
    padding: 120px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }

  .decor-left,
  .decor-right {
    position: absolute;
    left: 50%;
    height: 100vw;
    width: auto;
    max-width: 60%;
    z-index: 1;
    opacity: 0.7;
    aspect-ratio: auto;
  }

  .decor-left {
    top: 0;
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .decor-right {
    top: auto;
    bottom: 0;
    transform: translate(-50%, 50%) rotate(90deg);
  }

  .cta-content {
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }

  .main-footer {
    padding: 40px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 30px;
    width: 100%;
  }
  .footer-grid .footer-col:nth-child(3) {
    order: 0;
  }
  .footer-col {
    gap: 12px;
  }

  .footer-col h3 {
    font-weight: 600;
  }

  .brand-col p {
    width: 75%;
  }

  .trust-list,
  .payment-methods {
    margin-top: 6px;
  }

  .bottom-container {
    flex-direction: column;
    text-align: center;
  }
  .payment-methods {
    flex-direction: column;
  }
  .legal-links {
    justify-content: space-between;
    gap: 8px 25px;
    padding: 0;
  }

  .legal-links a:nth-child(1) {
    order: 1;
  }
  .legal-links a:nth-child(2) {
    order: 1;
    flex: 1 1 265px;
  }

  .legal-links a:nth-child(5),
  .legal-links a:nth-child(7) {
    order: -1;
  }

  .mobile-sidebar {
    width: 70%;
  }

  .sidebar-nav {
    margin-bottom: 10px;
  }

  .nav-item,
  .sidebar-footer {
    padding: 10px 0px 10px 24px;
  }

  .sidebar-profile {
    padding: 10px 0px 20px 24px;
  }

  .sidebar-header {
    margin-bottom: 0;
  }
}

@media (min-width: 450px) and (max-width: 767px) {
  .hero-img.hero-right {
    right: 40%;
  }

  .hero-img.hero-left {
    left: 40%;
  }
}
