/* =========================
   BASE
========================= */

:root {
  --primary: #783d8f;
  --primary-dark: #783d8f;
  --text: #292429;
  --muted: #6c6269;
  --border: #ded5d9;
  --soft: #f9f3f3;
  --white: #ffffff;
  --error: ##783d8f;
  --footer-bg: #783d8f;

  --font-heading: "Baloo Bhaina 2", sans-serif;
  --font-body: "Montserrat", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.carnival-page {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
}

[hidden] {
  display: none !important;
}

img {
  max-width: 100%;
}

a,
button,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* .skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  color: var(--white);
  background: var(--primary-dark);
  border-radius: 6px;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
} */


/* Top Social Header */
.top-header {
  width: 100%;
  background: var(--primary);
  /* padding: 9px 0; */
}

.top-header__container {
  width: 100%;
  padding: 9px 50px;
  /* max-width: 1320px; */
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.top-header__social {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.top-header__social li {
  margin: 0;
  padding: 0;
}

.top-header__social a {
  color: #ffffff;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* =========================
   HEADER
========================= */

.site-header {
  position: relative;
  z-index: 100;
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid #eee5e8;
}

.site-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  /* max-width: 1440px; */
  margin: 0 auto;
  padding: 12px 50px;
}

.site-header__logo {
  display: inline-flex;
  /* flex: 0 1 250px; */
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.site-header__logo img {
  display: block;
  width: 100%;
  max-width: 350px;
  height: auto;
}

.site-header__navigation {
  margin-left: auto;
}

.site-header__menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header__menu li {
  margin: 0;
  padding: 0;
}

.site-header__menu a {
  display: inline-block;
  padding: 12px 0;
  color: var(--primary);
  font-size: 17px;
  font-weight: 500;
  line-height: 23px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-header__menu a:hover,
.site-header__menu a[aria-current="page"] {
  color: var(--primary);
}

.site-header__toggle {
  display: none;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
}

.site-header__toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.site-header__toggle[aria-expanded="true"]
  .site-header__toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header__toggle[aria-expanded="true"]
  .site-header__toggle-line:nth-child(2) {
  opacity: 0;
}

.site-header__toggle[aria-expanded="true"]
  .site-header__toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-btn{
  padding: 8px 25px !important;
    border-radius: 50px;
    color: #ffffff !important;
}
.header-btn.visitor-btn{
  background: var(--primary);
}
.header-btn.partner-btn{
  background: #fdb331;
}

/* =========================
   PAGE BANNER
========================= */

.page-banner {
  padding: 58px 20px;
  background: var(--soft);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.banner-content {
  max-width: 900px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-banner h1 {
  margin: 0;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600;
  line-height: 1.12;
}

/* =========================
   REGISTRATION FORM
========================= */

.form-section {
  padding: 42px 20px 64px;
}

.form-card {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 14px 45px rgb(50 25 35 / 5%);
}

.form-card h2,
.form-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
}

.form-card h2 {
  margin: 0 0 16px;
  color: var(--primary);
  font-size: clamp(32px, 4vw, 42px);
}

.form-card h3 {
  margin: 0 0 20px;
  color: var(--text);
  font-size: 28px;
}

.form-intro {
  margin-bottom: 28px;
}

.form-intro p {
  margin: 0 0 14px;
  color: var(--muted);
}

.required-note {
  font-size: 13px;
}

.required {
  color: var(--primary);
}

.form-group {
  margin: 0 0 23px;
}

.form-group > label,
.form-card legend {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
}

.form-card input:not([type="checkbox"]),
.form-card select {
  display: block;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 12px 14px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 7px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
}

.form-card select {
  padding-right: 32px;
}

.form-card input::placeholder {
  color: #847980;
  opacity: 1;
}

.form-card fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

.phone-row {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
  gap: 12px;
}

.field-hint {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

/* =========================
   NOTICE AND CONSENT
========================= */

.important-note {
  margin: 30px 0;
  padding: 22px;
  background: var(--soft);
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
}

.important-note h3 {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 26px;
}

.important-note p {
  margin: 0 0 14px;
  font-size: 14px;
}

.important-note p:last-child {
  margin-bottom: 0;
}

.consent-group {
  margin: 0 0 24px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 14px 0;
}

.checkbox-row input[type="checkbox"] {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  margin: 3px 0 0;
  accent-color: var(--primary);
  cursor: pointer;
}

.checkbox-row label {
  font-size: 14px;
  cursor: pointer;
}

.form-card a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.turnstile-container {
  margin-bottom: 22px;
}

.form-status:not(:empty),
.notice {
  margin: 0 0 18px;
  padding: 12px 14px;
  color: var(--error);
  background: var(--soft);
  border-radius: 6px;
  font-size: 14px;
}

.form-status.is-success {
  color: var(--text);
}

/* =========================
   BUTTONS
========================= */

.submit-button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 25px;
  color: var(--white);
  background: var(--primary);
  border: 0;
  border-radius: 7px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}
.button-link{
  background: #fdb331 !important;
}

.submit-button {
  width: 100%;
}

.submit-button:hover,
.button-link:hover {
  background: var(--primary-dark);
}

.submit-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-card a.button-link {
  color: var(--white);
  text-decoration: none;
}

/* =========================
   THANK-YOU PAGE SUPPORT
========================= */

.thank-you-card {
  max-width: 740px;
  text-align: center;
}

.thank-you-card > p {
  margin: 0 0 18px;
  color: var(--muted);
}

.thank-you-card .important-note {
  text-align: left;
}

.thank-you-card .button-link {
  margin-top: 8px;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
}

.site-footer__container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-right: 28px;
  padding-left: 28px;
}

.site-footer__widgets {
  padding: 60px 0 50px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}

.site-footer__column h2 {
  margin: 0 0 15px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
}

.site-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links li {
  margin: 0 0 5px;
}

.site-footer a {
  color: #ffffff;
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__address {
  font-style: normal;
}

.site-footer__address p {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
}

.site-footer__organizer {
  display: inline-block;
  max-width: 248px;
}

.site-footer__organizer img {
  display: block;
  width: 248px;
  max-width: 100%;
  height: auto;
}

.site-footer__bottom {
  padding: 22px 0;
  border-top: 1px solid #fff;
}

.site-footer__bottom-inner {
 text-align: center;
}

.site-footer__copyright {
  margin: 0;
  color: #ffffff;
  font-size: 13px;
}

.site-footer__social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.site-footer__social a {
  display: inline-block;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 600;
}

.site-footer__social i{
  font-size: 22px;
}

/* =========================
   TABLET AND MOBILE
========================= */

@media (max-width: 999px){
  .site-header__container {
    flex-wrap: wrap;
    gap: 0;
    padding: 12px 30px;
  }
}

@media (max-width: 900px) {
  

  .site-header__logo {
    flex-basis: 200px;
    max-width: calc(100% - 64px);
  }

  .site-header__toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-header__navigation {
    flex-basis: 100%;
    width: 100%;
    margin-left: 0;
    padding-top: 16px;
  }

  .site-header__menu {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #eee5e8;
  }

  .site-header__menu li {
    border-bottom: 1px solid #eee5e8;
  }

  .site-header__menu a {
    display: block;
    padding: 14px 4px;
  }

  .site-footer__grid {
    gap: 28px;
  }

  .site-footer__bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .page-banner {
    padding: 40px 18px;
  }

  .form-section {
    padding: 24px 12px 40px;
  }

  .form-card {
    padding: 24px 18px;
    border-radius: 12px;
  }

  .phone-row {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 8px;
  }

  .important-note {
    padding: 18px;
  }

  .site-footer__container {
    padding-right: 22px;
    padding-left: 22px;
  }

  .site-footer__widgets {
    padding: 38px 0;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .site-footer__column h2 {
    margin-bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

