/* ----------------------------------
   ROOT VARIABLES
-------------------------------------*/
:root {
  /* Fonts */
  --font-primary: "urw-din", sans-serif;

  /* Colors */
  --color-primary: #181581;
  --color-primary-dark: #181581;
  --color-text: #0d0f2c;
  --color-text-light: #4b5563;
  --color-bg: #f5f7fc;
  --color-white: #ffffff;
  --color-border: #dbe3ff;
  --color-card-bg: #ffffff;
  --color-btn-start: #181581;
  --color-secondary: #53ceda;
  --color-secondary-dark: #00a7dc;
  --color-accent: #ede941;
  --color-box-shadow: 0 20px 40px rgba(75, 97, 206, 0.18);

  /* Bootstrap Primary Override */
  --bs-primary: #181581;
  --bs-primary-rgb: 24, 21, 129;
  --bs-btn-primary-bg: #181581;
  --bs-btn-primary-border-color: #181581;
  --bs-btn-primary-hover-bg: #12106a;
  --bs-btn-primary-hover-border-color: #12106a;
  --bs-btn-primary-active-bg: #0e0c54;
  --bs-btn-primary-active-border-color: #0e0c54;

  /* Gradient */
  --gradient-hero: linear-gradient(
    135deg,
    #f4f7ff 0%,
    #edf2ff 50%,
    #e4ebff 100%
  );

  /* Layout */
  --container-max: 1440px;

  /* Radius */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  /* Shadow */
  --shadow-soft: 0 10px 30px rgba(79, 109, 245, 0.08);

  /* Spacing */
  --section-padding: 100px 0;
}

/* ----------------------------------
   BASIC RESET
-------------------------------------*/
body {
  font-family: "urw-din", sans-serif;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 400;
  background-color: var(--color-bg);
  letter-spacing: -0.2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "refrigerator-deluxe", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

/* Headings & Text */

li,
p,
a {
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  line-height: 1.4;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

/* Links */
a {
  color: inherit;
  transition: all 0.3s ease-in-out;
}

a:hover,
a:focus {
  text-decoration: none;
  outline: none;
}

/* Images */
img {
  max-width: 100%;
}

/* Sections */
.section-padding {
  padding: var(--section-padding);
}

.section-title {
  font-size: 48px;
  line-height: 100%;
  font-weight: 600;
  margin: 0 0 40px;
}

.pt0 {
  padding-top: 0;
}

.pb0 {
  padding-bottom: 0;
}

/* Container override */
.container {
  max-width: var(--container-max);
  padding-left: 20px;
  padding-right: 20px;
}

/* ----------------------------------
   UTILITIES
-------------------------------------*/
.text-primary-custom {
  color: var(--color-primary);
}

.text-dark-custom {
  color: var(--color-text);
}

.text-light-custom {
  color: var(--color-text-light);
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease;
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* Header*/

.custom-invite-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #eef2fb;
  border-bottom: 1px solid rgba(18, 28, 68, 0.08);
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.custom-invite-header.scrolled {
  backdrop-filter: saturate(200%) blur(12px);
  background-color: rgba(255, 255, 255, 0.72);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-logo img {
  max-height: 100px;
  width: auto;
  display: block;
}

.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  text-decoration: none;
  color: #26324b;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover {
  background: rgba(72, 95, 214, 0.08);
  color: #181581;
}

.nav-arrow {
  font-size: 11px;
}

.dropdown-menu-box {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 270px;
  max-width: 320px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 55px rgba(17, 24, 56, 0.16);
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.28s ease;
  z-index: 20;
}

.nav-item:hover .dropdown-menu-box {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item:last-child .dropdown-menu-box,
.nav-item:nth-last-child(2) .dropdown-menu-box {
  left: auto;
  right: 0;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 14px;
  color: #26324b;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.25s ease;
}

.dropdown-link i {
  width: 18px;
  text-align: center;
  color: #181581;
  font-size: 15px;
}

.dropdown-link:hover {
  background: #f4f7ff;
  color: #16213d;
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: nowrap;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;

  &.btn-primary {
    color: var(--color-primary-dark);
    background-color: var(--color-accent);
    border-color: var(--color-accent);

    &:hover,
    &:focus,
    &:active,
    &.active {
      color: var(--color-white);
      background-color: var(--color-primary-dark);
      border-color: var(--color-primary-dark);
    }
  }

  &.btn-secondary {
    color: var(--color-white);
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);

    &:hover,
    &:focus,
    &:active,
    &.active {
      color: var(--color-white);
      background-color: var(--color-primary-dark);
      border-color: var(--color-primary-dark);
    }
  }
}

.header-btn {
  padding: 10px 20px;
}

.mobile-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 12px;
  background: #181581;
  color: #fff;
  font-size: 18px;
  align-items: center;
  justify-content: center;
}

.mobile-nav-panel {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 100%);
  height: 100vh;
  background: #fff;
  z-index: 10000;
  box-shadow: -12px 0 30px rgba(20, 27, 60, 0.14);
  overflow: hidden;
}

.mobile-nav-panel.show {
  display: block;
}

.mobile-nav-inner {
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 16px 28px;
}

.mobile-dropdown-item {
  border: 1px solid #e8edfa;
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #f9fbff;
}

.mobile-dropdown-toggle {
  width: 100%;
  border: none;
  background: transparent;
  padding: 15px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  color: #26324b;
}

.mobile-dropdown-item.active .mobile-dropdown-toggle i {
  transform: rotate(180deg);
}

.mobile-dropdown-toggle i {
  transition: transform 0.3s ease;
}

.mobile-submenu {
  display: none;
  padding: 0 10px 10px;
}

.mobile-dropdown-item.active .mobile-submenu {
  display: block;
}

.mobile-submenu a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 12px;
  border-radius: 12px;
  color: #42506d;
  font-size: 15px;
  font-weight: 500;
}

.mobile-submenu a i {
  width: 18px;
  text-align: center;
  color: #181581;
}

.mobile-submenu a:hover {
  background: #eef3ff;
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.mobile-menu-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
}

.mobile-menu-close {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: #eef2fb;
  color: #26324b;
  font-size: 18px;
}

.support-footer {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 20px;
  background: linear-gradient(
    91.92deg,
    #5e55b8 -20.26%,
    #5683c1 50.38%,
    #309fb3 121.02%
  );
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.support-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.support-item i {
  font-size: 14px;
  color: #fff;
}

.support-item a {
  color: #fff;
  text-decoration: none;
}

.support-item a:hover {
  opacity: 0.85;
}

.support-heading {
  width: 100%;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.support-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Section 1 */

/* =========================
   HERO SECTION
========================= */
.hero-section {
  position: relative;
  overflow: hidden;
  z-index: 1;
  background-image: url(../img/Hero-background.png);
  background-size: cover;
  background-position: center center;
  padding-bottom: 40px;
}

.hero-section .container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  z-index: -1;
}

.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  background: #fff;
  width: 350px;
  border-radius: 23px;
  padding: 15px;
}

.hero-logo img {
  width: 100%;
  height: auto;
}

.hero-wrapper {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-title {
  max-width: 800px;
  margin: 0 auto 30px;
  letter-spacing: -2px;
  color: #fff;
  font-weight: 400;
  font-size: 48px;
  line-height: 60px;
  letter-spacing: 0px;
  text-align: center;
}

.hero-description {
  max-width: 840px;
  margin: 0 auto 30px;
  color: #fff;
  font-weight: 400;
  font-style: Regular;
  font-size: 30px;
  line-height: 100%;
  letter-spacing: 0px;
  text-align: center;
  vertical-align: middle;
}

.text-focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: nowrap;
  width: fit-content;
  min-width: 166px;
}

.text-focus-secondary {
  background: #53ceda;
  color: #fff;
  font-size: 20px;
}

.hero-description strong {
  font-weight: 600;
  color: #ede941;
}

.text-primary-custom {
  color: var(--color-primary-dark);
}

.reasons-attend-section {
  padding: 100px 0 40px;
  overflow: hidden;
  scroll-margin-top: 100px;
}

.reasons-attend-container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.reasons-attend-title {
  text-align: center;
  font-size: 48px;
  line-height: 100%;
  font-weight: 600;
  color: #fff;
  margin: 0 0 60px;
}

.reasons-carousel {
  overflow: hidden;
  width: 100%;
  position: relative;
  touch-action: pan-y;
  cursor: grab;
}

.reasons-carousel.dragging {
  cursor: grabbing;
}

.reasons-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  will-change: transform;
}

.reason-box {
  flex: 0 0 25%;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.04);
  user-select: none;
  padding: 24px;
}

.reason-box-image {
  height: 170px;
  overflow: hidden;
  margin-bottom: 40px;
  border-radius: 8px;
}

.reason-box-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.reason-box-content {
  text-align: center;
}

.reason-box-content h3 {
  margin: 0 0 16px;
  font-size: 21px;
  line-height: 100%;
  font-weight: 600;
  color: #000000;
}

.reason-box-content p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #000000;
}

.reasons-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}

.reasons-dots button {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: #cbd5e1;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reasons-dots button.active {
  width: 30px;
  border-radius: 999px;
  background: linear-gradient(
    91.92deg,
    #5e55b8 -20.26%,
    #5683c1 50.38%,
    #309fb3 121.02%
  );
}

.reason-box {
  position: relative;
  overflow: hidden;
}

.reason-box::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0;
  background: #181581;
  transition: height 0.3s ease;
}

.reason-box.is-active::after {
  height: 12px;
}

/* =========================
   HERO ACTIVATE BOX

/* section 2 */

/* Sidebar Button Styling */
/* =========================
   SIDEBAR BUTTON WITH IMAGES
========================= */
/* Sidebar Button Styling */

.landing-section .row {
  margin-inline: 0px;
}

.landing-section {
  padding-block: 100px;
  scroll-margin-top: 100px;
}

/* section 3 */

/* Section Styling */
.track-comp-code-box {
  max-width: 1070px;
  background: linear-gradient(92.15deg, #1585e121 22.93%, #18158129 114.46%);
  margin-inline: auto;
  padding-inline: 100px;
  padding-block: 60px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

/* Title Styling */
/* .track-comp-code-title {
  font-weight: 600;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #181581;
  margin-bottom: 20px;
  text-align: center;
} */

/* Description Styling */
.track-comp-code-description {
  color: #0d0f2c;
  margin-bottom: 40px;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0px;
  text-align: center;
  vertical-align: middle;
}

.track-link-btn {
  min-width: 284px;
}

/* section 4 */

.event-countdown-section {
  background: #53ceda5e;
  scroll-margin-top: 100px;
}

.event-countdown-container {
  margin: 0 auto;
  text-align: center;
}

.event-countdown-label {
  margin: 0;
  font-size: 26px;
  line-height: 100%;
  color: #181581;
  font-weight: 400;
}

.event-countdown-timer {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.countdown-item {
  min-width: 90px;
  text-align: center;
}

.countdown-number {
  font-size: 54px;
  line-height: 100%;
  font-weight: 700;
  color: #181581;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.countdown-text {
  font-size: 16px;
  line-height: 100%;
  color: #00a7dc;
  font-weight: 400;
}

/* Fifth section */

/* Footer */
.custom-footer {
  background-color: #fff;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Images */
.footer-left img,
.footer-right img {
  max-height: 150px;
  width: auto;
  display: block;
}

.custom-footer {
  background-color: #fff;
  padding: 20px 0;
}

.footer-left {
  justify-self: start;
  width: 33%;
}

.footer-left img {
  max-height: 120px;
  width: auto;
  display: block;
}

.footer-center {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 33%;
  justify-content: end;
}

.footer-center a {
  color: var(--color-primary-dark);
  font-size: 26px;
  text-decoration: none;
  transition: all 0.3s;

  &:hover {
    color: var(--color-secondary);
  }
}

.footer-right {
  display: flex;
  text-align: center;

  justify-content: center;
  width: 33%;
}

.footer-right p {
  margin: 0;
  font-size: 18px;
  color: var(--color-text);
  font-weight: 600;
}
