:root {
  /* Easy-to-change color palette */
  --primary: #1f3c88;
  --secondary: #493d91;
  --accent: #ea7434;
  --accent-dark: #f27236;
  --light-bg: #f9f8fc;
  --white: #ffffff;
  --dark: #222222;
  --muted: #6c757d;
  --border: #e8e8e8;

  /* Gradiant Colors */
  --first: #ea7434;
  --second: #c74956;
  --third: #4f1964;
  --fourth: #f5a50b;
}

/* Base */
body,
button,
input,
select,
textarea {
  font-family: "Poppins", sans-serif;
}

body {
  background-color: var(--white);
  color: var(--dark);
  line-height: 1.6;
  font-size: 16px;
}

body,
button,
input,
select,
textarea {
  font-family: "Poppins", sans-serif;
}

.auth-title {
  text-align: center;
  font-size: 4rem;
  line-height: 1.05;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.auth-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 2.2rem;
  font-weight: 400;
}

.auth-input::placeholder {
  color: #222;
  opacity: 1;
  font-size: 1.05rem;
  font-weight: 400;
}

.auth-submit-btn {
  min-width: 320px;
  height: 76px;
  border-radius: 999px;
  background: var(--secondary);
  color: #fff;
  border: none;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 0 2rem;
  transition: all 0.2s ease;
}

/* Buttons */
.btn-violet {
  background: var(--secondary);
  border: var(--third);
}

.btn-violet:hover {
  background: var(--secondary);
  border: var(--third);
}

.btn-orange {
  background: var(--first);
  border: var(--first);
}

.btn-orange:hover {
  background: var(--second);
  border: var(--second);
}

.text-orange {
  color: var(--first);
}

.text-violet {
  color: var(--secondary);
}

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

/* User dropdown button */
.user-dropdown-toggle {
  border: none;
  background: transparent;
  padding: 0.5rem 0.75rem;
}

.user-dropdown-toggle:hover,
.user-dropdown-toggle:focus,
.user-dropdown-toggle:active {
  color: #fff;
  background: transparent;
  box-shadow: none;
}

/* User dropdown menu */
.user-dropdown-menu {
  min-width: 280px;
  border-radius: 14px;
  padding: 1rem 0;
  overflow: hidden;
}

.user-dropdown-menu .dropdown-item {
  font-size: 1.1rem;
  padding: 0.85rem 1.5rem;
  color: #212529;
}

.user-dropdown-menu .dropdown-item:hover {
  background-color: #f8f9fa;
}

.user-dropdown-menu .dropdown-divider {
  margin: 0.5rem 0;
}

/* Topbar */
.topbar {
  background: linear-gradient(
    90deg,
    rgba(234, 116, 52, 1) 0%,
    rgba(199, 73, 86, 1) 35%,
    rgba(79, 25, 100, 1) 80%,
    rgba(245, 165, 11, 1) 100%
  );
  color: var(--white);
  font-size: 1rem;
  padding: 0.45rem 0;
}

.topbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar .topbar-right a {
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1rem;
  font-weight: 500;
}

.topbar .topbar-left a {
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.7rem;
  font-weight: 500;
}

.topbar a:hover {
  /* color: var(--primary); */
}

.topbar-right a {
  font-size: 1.2rem;
}

/* Main navbar */
.main-navbar {
  background: linear-gradient(
    90deg,
    rgba(234, 116, 52, 1) 0%,
    rgba(199, 73, 86, 1) 35%,
    rgba(79, 25, 100, 1) 80%,
    rgba(245, 165, 11, 1) 100%
  );
  padding: 0.75rem 0;
  z-index: 1030;
}

.main-navbar .nav-link {
  color: var(--white);
  font-size: 1rem;
  text-transform: uppercase;
  margin: 0 0.15rem;
  font-weight: 500;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: #ffd6a5;
}

.nav-auth-buttons .btn {
  border-radius: 50px;
  font-size: 1rem;
  padding: 0.45rem 1rem;
  min-width: 120px;
}

.btn-signin {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.btn-signin:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn-create {
  background: var(--white);
  /* color: var(--primary); */
  border: 1px solid var(--white);
}

.btn-create:hover {
  background: #f1f1f1;
  color: var(--primary);
}

/* Hero section */
.hero-banner {
  position: relative;
  min-height: 620px;
  background: url("https://images.unsplash.com/photo-1505373877841-8d25f7d46678?auto=format&fit=crop&w=1600&q=80")
    center center/cover no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.82),
    rgba(255, 255, 255, 0.55)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-text-box {
  padding: 2rem 1rem 2rem 0;
}

.hero-date {
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.05rem;
  color: #444;
  max-width: 600px;
}

.hero-buttons {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--primary);
  color: var(--white);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
}

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

.btn-hero-secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
}

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

/* Right hero card */
.hero-info-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  padding: 2rem;
  border-left: 6px solid var(--accent);
}

.hero-info-card h3 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.event-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.event-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  color: #444;
}

.event-list li:last-child {
  border-bottom: none;
}

/* Sections */
.overview-section {
  background: var(--white);
}

.overview-section p {
  text-align: justify;
}

.brand-display {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  text-transform: uppercase;
}

.section-heading h2,
.section-title {
  color: var(--secondary);
  font-weight: 800;
}

.heading-line {
  width: 80px;
  height: 4px;
  background: var(--accent);
  border-radius: 50px;
  margin-top: 0.6rem;
}

/* Featured banner */
.featured-banner {
  background: linear-gradient(135deg, #f3f4f8, #e7ecf7);
  padding: 2rem;
  border-radius: 14px;
}

/* Sponsors */
.sponsors-section {
  background: #fcfcfd;
}

.tier-title {
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.sponsor-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--muted);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.large-sponsor {
  max-width: 500px;
  margin: 0 auto;
  height: 140px;
  font-size: 2rem;
  color: var(--dark);
}

/* Inner hero */
.inner-hero {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}

.inner-hero h1 {
  font-size: 2.7rem;
  font-weight: 800;
}

/* Footer */
.site-footer {
  background: var(--secondary);
  color: var(--white);
  padding: 1.5rem 0;
  /* margin-top: 3rem; */
}

/* Modal */
.custom-modal {
  border: none;
  border-radius: 16px;
  overflow: hidden;
}

.modal-header-dark {
  background: var(--primary);
  color: var(--white);
}

.modal-header-accent {
  background: var(--accent);
  color: var(--dark);
}

.modal .form-control {
  border-radius: 10px;
  padding: 0.75rem 0.95rem;
}

.modal .btn {
  border-radius: 10px;
  padding: 0.75rem 1rem;
}

/* Responsive */
@media (max-width: 1199.98px) {
  .main-navbar .nav-link {
    margin: 0;
  }
}

@media (max-width: 991.98px) {
  .hero-banner {
    min-height: auto;
    padding: 4rem 0;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-text-box {
    padding-right: 0;
  }

  .hero-info-card {
    margin-top: 2rem;
  }

  .brand-display {
    font-size: 2.2rem;
  }
}

@media (max-width: 575.98px) {
  /* .topbar-wrapper {
    flex-direction: column;
    align-items: flex-start;
  } */

  .hero-title {
    font-size: 1.8rem;
  }

  .inner-hero h1 {
    font-size: 2rem;
  }

  .topbar-left,
  .topbar-right {
    gap: 0.6rem;
  }

  .topbar a {
    font-size: 0.85rem;
  }
}

/* =========================
   HERO CAROUSEL
========================= */

.hero-carousel-section {
  position: relative;
}

.hero-carousel .hero-slide {
  position: relative;
  min-height: 700px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-carousel .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.86),
    rgba(255, 255, 255, 0.45)
  );
  z-index: 1;
}

.hero-carousel .hero-content {
  position: relative;
  z-index: 2;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.min-vh-hero {
  min-height: 700px;
}

.hero-text-box {
  padding: 2rem 1rem 2rem 0;
}

.hero-date {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.1;
  margin-bottom: 1rem;
  max-width: 720px;
}

.hero-description {
  font-size: 1.05rem;
  color: #444;
  max-width: 620px;
  text-align: justify;
}

.hero-buttons {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--secondary);
  color: var(--white);
  border-radius: 999px;
  padding: 0.85rem 1.7rem;
  border: none;
  font-weight: 500;
}

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

.btn-hero-secondary {
  background: transparent;
  color: var(--secondary);
  border: 1px solid var(--secondary);
  border-radius: 999px;
  padding: 0.85rem 1.7rem;
  font-weight: 500;
}

.btn-hero-secondary:hover {
  background: var(--secondary);
  /* color: var(--secondary); */
}

/* Right-side event card */
.hero-info-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  padding: 2rem;
  border-left: 6px solid var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hero-info-card h3 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.event-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.event-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  color: #444;
}

.event-list li:last-child {
  border-bottom: none;
}

/* Owl nav */
.hero-carousel .owl-nav {
  margin: 0;
}

.hero-carousel .owl-nav button.owl-prev,
.hero-carousel .owl-nav button.owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--secondary) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.hero-carousel .owl-nav button.owl-prev:hover,
.hero-carousel .owl-nav button.owl-next:hover {
  background: var(--secondary) !important;
  color: var(--white) !important;
}

.hero-carousel .owl-nav button.owl-prev {
  left: 24px;
}

.hero-carousel .owl-nav button.owl-next {
  right: 24px;
}

.hero-nav-arrow {
  font-size: 1.2rem;
  line-height: 1;
}

/* Owl dots */
.hero-carousel .owl-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  text-align: center;
}

.hero-carousel .owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  margin: 5px 6px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
}

.hero-carousel .owl-dots .owl-dot.active span,
.hero-carousel .owl-dots .owl-dot:hover span {
  background: var(--secondary);
  transform: scale(1.1);
}

/* Responsive hero */
@media (max-width: 991.98px) {
  .hero-carousel .hero-slide,
  .min-vh-hero {
    min-height: 620px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-text-box {
    padding-right: 0;
  }

  .hero-info-card {
    margin-top: 2rem;
  }

  .hero-carousel .owl-nav button.owl-prev,
  .hero-carousel .owl-nav button.owl-next {
    width: 46px;
    height: 46px;
  }

  .hero-carousel .owl-nav button.owl-prev {
    left: 12px;
  }

  .hero-carousel .owl-nav button.owl-next {
    right: 12px;
  }
}

@media (max-width: 767.98px) {
  .hero-carousel .hero-slide,
  .min-vh-hero {
    min-height: 560px;
  }

  .hero-carousel .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.88),
      /* rgba(255, 255, 255, 0.72) */ rgba(255, 255, 255, 0.4)
    );
  }

  .hero-content {
    padding-top: 2rem;
    padding-bottom: 4rem;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .hero-carousel .owl-nav button.owl-prev,
  .hero-carousel .owl-nav button.owl-next {
    display: none;
  }

  .hero-carousel .owl-dots {
    bottom: 16px;
  }
}

.test-site-banner {
  background: #fff3cd;
  color: #856404;
  border-bottom: 1px solid #ffe69c;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  z-index: 1050;
}
