/* Gold buying page */
.gb-hero{
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(242, 201, 76, 0.28), transparent 34%),
    radial-gradient(circle at 86% 10%, rgba(212, 203, 196, 0.14), transparent 30%),
    linear-gradient(120deg, #5a0336 0%, #7a0649 58%, #8d1459 100%);
  color: #fff;
}

.gb-hero-content{
  position: relative;
  z-index: 2;
  max-width: 740px;
}

.gb-hero-content h1{
  font-size: 50px;
  line-height: 1.12;
  margin-bottom: 14px;
  color: #fff;
}

.gb-hero-content p{
  max-width: 680px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.94);
}

.gb-hero-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.gb-section{
  padding: 72px 0;
}

.gb-why{
  background: #D4CBC4;
}

.gb-why-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.gb-card{
  background: #D4CBC4;
  border-radius: 20px;
  padding: 24px 18px;
  border: 1px solid rgba(242, 201, 76, 0.32);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.gb-icon{
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 14px;
  background: #D4CBC4;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
}

.gb-card h3{
  font-size: 20px;
  margin-bottom: 8px;
}

.gb-card p{
  margin: 0;
}

.gb-items{
  background: #D4CBC4;
}

.gb-two-col{
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  align-items: start;
}

.gb-list{
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

.gb-list li{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.gb-list i{
  color: #ffffff;
  line-height: 1.2;
}

.gb-col-note{
  background: #D4CBC4;
  border: 1px solid rgba(184, 134, 11, 0.26);
  border-radius: 18px;
  padding: 22px;
}

.gb-col-note h3{
  font-size: 22px;
  margin-bottom: 10px;
}

.gb-process{
  background: #D4CBC4;
}

.gb-process-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gb-step{
  background: #D4CBC4;
  border-radius: 18px;
  border: 1px solid rgba(242, 201, 76, 0.35);
  padding: 20px 16px;
}

.gb-step-no{
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #5a0336;
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}

.gb-step h3{
  font-size: 20px;
  margin-bottom: 8px;
}

.gb-step p{
  margin: 0;
}

.gb-faq{
  background: #D4CBC4;
}

.gb-faq-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gb-faq-item{
  background: #D4CBC4;
  border-radius: 16px;
  border: 1px solid rgba(90, 3, 54, 0.12);
  box-shadow: var(--shadow-sm);
  padding: 20px 16px;
}

.gb-faq-item h3{
  font-size: 20px;
  margin-bottom: 8px;
}

.gb-faq-item p{
  margin: 0;
}

.gb-cta{
  padding: 30px 0 72px;
  background: #D4CBC4;
}

.gb-cta-box{
  border-radius: 28px;
  background: linear-gradient(130deg, #4b062f 0%, #7a0649 55%, #8d1459 100%);
  color: #fff;
  padding: 48px 24px;
  text-align: center;
}

.gb-cta-box h2{
  font-size: 34px;
  margin-bottom: 10px;
  color: #fff;
}

.gb-cta-box p{
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 16px;
}

.gb-cta-actions{
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 1199px){
  .gb-hero-content h1{
    font-size: 44px;
  }

  .gb-why-grid,
  .gb-process-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gb-faq-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px){
  .gb-hero{
    padding: 76px 0;
  }

  .gb-hero-content h1{
    font-size: 34px;
  }

  .gb-hero-content p{
    font-size: 15px;
  }

  .gb-section{
    padding: 52px 0;
  }

  .gb-two-col,
  .gb-why-grid,
  .gb-process-grid{
    grid-template-columns: 1fr;
  }

  .gb-card,
  .gb-step,
  .gb-faq-item{
    border-radius: 14px;
    padding: 16px 14px;
  }

  .gb-card h3,
  .gb-step h3,
  .gb-faq-item h3{
    font-size: 18px;
  }

  .gb-col-note{
    border-radius: 14px;
    padding: 16px 14px;
  }

  .gb-cta{
    padding: 16px 0 52px;
  }

  .gb-cta-box{
    border-radius: 18px;
    padding: 32px 18px;
  }

  .gb-cta-box h2{
    font-size: 26px;
  }
}

@media (max-width: 575px){
  .gb-section{
    padding: 44px 0;
  }

  .gb-hero-content h1{
    font-size: 28px;
  }

  .gb-hero-actions,
  .gb-cta-actions{
    flex-direction: column;
  }

  .gb-hero-actions .btn,
  .gb-cta-actions .btn{
    width: 100%;
  }

  .gb-card,
  .gb-step,
  .gb-faq-item,
  .gb-col-note,
  .gb-cta-box{
    padding: 16px 14px;
    border-radius: 16px;
  }
}

/* Final Gold Buying page 3D theme layer */
html,
body,
.gb-section,
.gb-why,
.gb-items,
.gb-process,
.gb-faq,
.gb-cta {
  background: #D4CBC4 !important;
  background-color: #D4CBC4 !important;
}

.gb-card,
.gb-col-note,
.gb-step,
.gb-faq-item {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #e7ded7 0%, #D4CBC4 58%, #b9a89f 100%) !important;
  border: 2px solid #5a0336 !important;
  border-radius: 16px !important;
  box-shadow:
    7px 8px 0 rgba(90, 3, 54, 0.22),
    0 18px 30px rgba(90, 3, 54, 0.16),
    inset 1px 1px 0 rgba(255, 255, 255, 0.5) !important;
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, filter 0.3s ease !important;
}

.gb-card::before,
.gb-col-note::before,
.gb-step::before,
.gb-faq-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.42), transparent 42%, rgba(242, 201, 76, 0.24));
  opacity: 0.65;
  pointer-events: none;
}

.gb-card::after,
.gb-col-note::after,
.gb-step::after,
.gb-faq-item::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 5px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, #5a0336 0%, #D4CBC4 48%, #f2c94c 100%);
  box-shadow: 0 -5px 14px rgba(90, 3, 54, 0.18);
  pointer-events: none;
}

.gb-card > *,
.gb-col-note > *,
.gb-step > *,
.gb-faq-item > * {
  position: relative;
  z-index: 1;
}

.gb-card:hover,
.gb-col-note:hover,
.gb-step:hover,
.gb-faq-item:hover {
  transform: translateY(-9px) rotateX(4deg) rotateY(-3deg) !important;
  filter: brightness(1.04);
  border-color: #7a0649 !important;
  box-shadow:
    10px 12px 0 rgba(90, 3, 54, 0.28),
    0 24px 38px rgba(90, 3, 54, 0.22),
    inset 1px 1px 0 rgba(255, 255, 255, 0.58) !important;
}

.gb-icon,
.gb-step-no {
  background: linear-gradient(145deg, #7a0649 0%, #5a0336 58%, #36011f 100%) !important;
  color: #fff !important;
  border: 2px solid #f2c94c !important;
  box-shadow:
    4px 5px 0 rgba(90, 3, 54, 0.24),
    0 12px 22px rgba(90, 3, 54, 0.24),
    inset 1px 1px 0 rgba(255, 255, 255, 0.22) !important;
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.gb-card:hover .gb-icon,
.gb-step:hover .gb-step-no {
  transform: translateY(-4px) translateZ(16px) scale(1.06) !important;
  box-shadow:
    6px 7px 0 rgba(90, 3, 54, 0.3),
    0 16px 28px rgba(90, 3, 54, 0.3),
    inset 1px 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.gb-icon i,
.gb-list i {
  color: #fff !important;
}

.gb-list i {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 8px;
  background: linear-gradient(145deg, #7a0649, #5a0336);
  border: 1px solid #f2c94c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 4px 0 rgba(90, 3, 54, 0.18);
}

.gb-cta-box {
  position: relative;
  overflow: hidden;
  border: 2px solid #f2c94c !important;
  box-shadow:
    8px 10px 0 rgba(90, 3, 54, 0.28),
    0 24px 42px rgba(90, 3, 54, 0.24),
    inset 1px 1px 0 rgba(255, 255, 255, 0.2) !important;
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.gb-cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(242, 201, 76, 0.2), transparent 34%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 48%);
  pointer-events: none;
}

.gb-cta-box > * {
  position: relative;
  z-index: 1;
}

.gb-cta-box:hover {
  transform: translateY(-8px) rotateX(3deg) !important;
  box-shadow:
    11px 13px 0 rgba(90, 3, 54, 0.32),
    0 30px 48px rgba(90, 3, 54, 0.3),
    inset 1px 1px 0 rgba(255, 255, 255, 0.26) !important;
}

.gb-hero .btn,
.gb-cta-box .btn,
.gb-col-note .btn {
  border: 2px solid #f2c94c !important;
  box-shadow: 5px 6px 0 rgba(42, 1, 25, 0.28), 0 12px 22px rgba(90, 3, 54, 0.2) !important;
  transition: transform 0.24s ease, box-shadow 0.24s ease !important;
}

.gb-hero .btn:hover,
.gb-cta-box .btn:hover,
.gb-col-note .btn:hover {
  transform: translateY(-4px) !important;
  box-shadow: 7px 8px 0 rgba(42, 1, 25, 0.32), 0 16px 28px rgba(90, 3, 54, 0.26) !important;
}

#inquiry-form form {
  position: relative;
  overflow: hidden;
  max-width: 720px !important;
  padding: 30px 28px !important;
  background: linear-gradient(145deg, #e7ded7 0%, #D4CBC4 58%, #b9a89f 100%) !important;
  border: 2px solid #5a0336 !important;
  border-radius: 18px !important;
  box-shadow:
    8px 10px 0 rgba(90, 3, 54, 0.24),
    0 22px 36px rgba(90, 3, 54, 0.18),
    inset 1px 1px 0 rgba(255, 255, 255, 0.52) !important;
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

#inquiry-form form::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.42), transparent 44%, rgba(242, 201, 76, 0.22));
  pointer-events: none;
}

#inquiry-form form::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 6px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, #5a0336 0%, #D4CBC4 48%, #f2c94c 100%);
  box-shadow: 0 -5px 14px rgba(90, 3, 54, 0.18);
}

#inquiry-form form:hover {
  transform: translateY(-8px) rotateX(3deg) !important;
  box-shadow:
    11px 13px 0 rgba(90, 3, 54, 0.3),
    0 28px 44px rgba(90, 3, 54, 0.24),
    inset 1px 1px 0 rgba(255, 255, 255, 0.58) !important;
}

#inquiry-form form > * {
  position: relative;
  z-index: 1;
}

#inquiry-form .form-label {
  color: #5a0336 !important;
  font-weight: 700;
}

#inquiry-form .form-control {
  min-height: 50px;
  color: #3a2631;
  background: rgba(212, 203, 196, 0.82) !important;
  border: 2px solid rgba(90, 3, 54, 0.34) !important;
  border-radius: 14px !important;
  box-shadow: inset 2px 2px 5px rgba(90, 3, 54, 0.08), 3px 4px 0 rgba(90, 3, 54, 0.1) !important;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease !important;
}

#inquiry-form textarea.form-control {
  min-height: 118px;
}

#inquiry-form .form-control:focus {
  border-color: #5a0336 !important;
  box-shadow: 0 0 0 4px rgba(242, 201, 76, 0.24), 4px 5px 0 rgba(90, 3, 54, 0.16) !important;
  transform: translateY(-2px);
}

#inquiry-form .btn {
  border: 2px solid #f2c94c !important;
  box-shadow: 5px 6px 0 rgba(42, 1, 25, 0.28), 0 12px 22px rgba(90, 3, 54, 0.2) !important;
}

#inquiry-form .btn:hover {
  transform: translateY(-4px) !important;
  box-shadow: 7px 8px 0 rgba(42, 1, 25, 0.32), 0 16px 28px rgba(90, 3, 54, 0.26) !important;
}

@media (max-width: 767px) {
  .gb-card,
  .gb-col-note,
  .gb-step,
  .gb-faq-item {
    box-shadow:
      5px 6px 0 rgba(90, 3, 54, 0.2),
      0 14px 24px rgba(90, 3, 54, 0.14),
      inset 1px 1px 0 rgba(255, 255, 255, 0.45) !important;
  }

  .gb-card:hover,
  .gb-col-note:hover,
  .gb-step:hover,
  .gb-faq-item:hover {
    transform: translateY(-6px) rotateX(3deg) !important;
  }

  #inquiry-form form {
    padding: 22px 16px !important;
    border-radius: 16px !important;
    box-shadow:
      5px 6px 0 rgba(90, 3, 54, 0.2),
      0 14px 24px rgba(90, 3, 54, 0.14),
      inset 1px 1px 0 rgba(255, 255, 255, 0.45) !important;
  }

  #inquiry-form form:hover {
    transform: translateY(-6px) rotateX(3deg) !important;
  }
}
