/* /gratuity-calculator-uae/. Brand colours only: #281445 purple, #354AC2 blue,
   #DCDCDE grey, #F8F8F8 off-white. Font comes from the Elementor kit. */
.bam-gc {
  --gc-purple: #281445;
  --gc-blue: #354ac2;
  --gc-grey: #dcdcde;
  --gc-off: #f8f8f8;
  font-family: 'Montserrat', sans-serif;
  color: var(--gc-purple);
}
.bam-gc-hero {
  background: var(--gc-purple);
  color: #fff;
  padding: 80px 20px 120px;
  text-align: center;
}
.bam-gc-hero h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
}
.bam-gc-hero p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: var(--gc-grey);
}
.bam-gc-tool {
  background: var(--gc-off);
  padding: 0 20px 80px;
}
.bam-gc-card {
  max-width: 1040px;
  margin: -80px auto 0;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(40, 20, 69, 0.14);
}
.bam-gc-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 36px;
}
.bam-gc-field { display: flex; flex-direction: column; gap: 6px; }
.bam-gc-field-wide { grid-column: 1 / -1; }
.bam-gc-field label { font-size: 14px; font-weight: 600; }
.bam-gc-field input {
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--gc-grey);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--gc-purple);
}
.bam-gc-field input:focus {
  outline: none;
  border-color: var(--gc-blue);
  box-shadow: 0 0 0 3px rgba(53, 74, 194, 0.18);
}
.bam-gc-field small { font-size: 12.5px; line-height: 1.5; color: #5d5470; }
.bam-gc-actions { grid-column: 1 / -1; display: flex; gap: 12px; margin-top: 4px; }
.bam-gc-submit,
.bam-gc-reset {
  height: 50px;
  padding: 0 28px;
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.bam-gc-submit { flex: 1; border: 0; background: var(--gc-blue); color: #fff; }
.bam-gc-submit:hover { background: var(--gc-purple); }
.bam-gc-reset { border: 1px solid var(--gc-grey); background: #fff; color: var(--gc-purple); }
.bam-gc-reset:hover { border-color: var(--gc-purple); }
.bam-gc-result {
  background: var(--gc-purple);
  color: #fff;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bam-gc-result p { margin: 0 0 12px; font-size: 15px; line-height: 1.6; color: #fff; }
.bam-gc-result .bam-gc-placeholder { color: var(--gc-grey); font-size: 16px; }
.bam-gc-result .bam-gc-error { color: #fff; background: rgba(255, 255, 255, 0.1); padding: 12px 14px; border-radius: 8px; }
.bam-gc-result .bam-gc-label { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gc-grey); }
.bam-gc-result .bam-gc-total { margin: 4px 0 20px; font-size: 38px; font-weight: 700; line-height: 1.15; }
.bam-gc-breakdown { margin: 0 0 16px; padding: 0; }
.bam-gc-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid rgba(220, 220, 222, 0.25);
  font-size: 14px;
}
.bam-gc-breakdown dt { color: var(--gc-grey); }
.bam-gc-breakdown dd { margin: 0; font-weight: 600; text-align: right; }
.bam-gc-result .bam-gc-note { font-size: 13.5px; }
.bam-gc-result .bam-gc-disclaimer { margin: 8px 0 0; font-size: 12.5px; color: var(--gc-grey); }
.bam-gc-info { background: #fff; padding: 70px 20px; }
.bam-gc-info-inner { max-width: 880px; margin: 0 auto; }
.bam-gc-info h2 { margin: 36px 0 14px; font-size: 26px; line-height: 1.3; color: var(--gc-purple); }
.bam-gc-info h2:first-child { margin-top: 0; }
.bam-gc-info p,
.bam-gc-info li { font-size: 16px; line-height: 1.75; color: #3a3050; }
.bam-gc-info ul { margin: 0 0 16px; padding-left: 22px; }
.bam-gc-info a { color: var(--gc-blue); }
.bam-gc-table { width: 100%; border-collapse: collapse; margin: 6px 0 20px; font-size: 15px; }
.bam-gc-table th,
.bam-gc-table td { padding: 12px 14px; border: 1px solid var(--gc-grey); text-align: left; }
.bam-gc-table th { background: var(--gc-purple); color: #fff; font-weight: 600; }
.bam-gc-table tr:nth-child(even) td { background: var(--gc-off); }
.bam-gc-cta { background: var(--gc-blue); color: #fff; padding: 56px 20px; text-align: center; }
.bam-gc-cta h2 { margin: 0 0 10px; color: #fff; font-size: 28px; }
.bam-gc-cta p { margin: 0 auto 22px; max-width: 620px; font-size: 16px; line-height: 1.7; color: #fff; }
.bam-gc-cta a {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  background: #fff;
  color: var(--gc-purple);
  font-weight: 600;
  text-decoration: none;
}
.bam-gc-cta a:hover { background: var(--gc-purple); color: #fff; }
@media (max-width: 900px) {
  .bam-gc-card { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .bam-gc-hero { padding: 56px 16px 100px; }
  .bam-gc-hero h1 { font-size: 30px; }
  .bam-gc-tool { padding: 0 16px 56px; }
  .bam-gc-form,
  .bam-gc-result { padding: 24px; }
  .bam-gc-form { grid-template-columns: 1fr; }
  .bam-gc-result .bam-gc-total { font-size: 32px; }
  .bam-gc-info { padding: 48px 16px; }
  .bam-gc-info h2 { font-size: 22px; }
}
.bam-gc-cta p a { display: inline; padding: 0; background: none; color: #fff; text-decoration: underline; font-weight: 600; }
.bam-gc-cta p a:hover { background: none; color: var(--gc-grey); }
/* The theme styles every button and [type=submit] yellow; these must win. */
.bam-gc button.bam-gc-submit,
.bam-gc button.bam-gc-submit:focus { background: var(--gc-blue) !important; color: #fff !important; border: 0 !important; }
.bam-gc button.bam-gc-submit:hover { background: var(--gc-purple) !important; }
.bam-gc button.bam-gc-reset,
.bam-gc button.bam-gc-reset:focus { background: #fff !important; color: var(--gc-purple) !important; border: 1px solid var(--gc-grey) !important; }
.bam-gc button.bam-gc-reset:hover { border-color: var(--gc-purple) !important; }
.bam-gc-result a.bam-gc-expert {
  display: block; margin: 8px 0 14px; padding: 13px 18px; border-radius: 8px;
  background: #fff; color: var(--gc-purple); font-weight: 700; font-size: 15px; text-align: center; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.bam-gc-result a.bam-gc-expert:hover { background: var(--gc-blue); color: #fff; }
html { scroll-behavior: smooth; }
#enquire { scroll-margin-top: 90px; }
