/* Font imports */
@import url('https://fonts.googleapis.com/css2?family=Calibri:wght@400;700&display=swap');

/* Font classes */
.font-calibri-regular {
  font-family: 'Calibri', sans-serif;
  font-weight: 400;
}

.font-calibri-bold {
  font-family: 'Calibri', sans-serif;
  font-weight: 700;
}

.font-franklin-gothic-heavy {
  font-family: 'Franklin Gothic Heavy', 'Arial Black', sans-serif;
  font-weight: 900;
}

.font-franklin-gothic {
  font-family: 'Franklin Gothic', 'Arial', sans-serif;
  font-weight: 500;
  color: #444;
}

.font-century-gothic {
  font-family: 'Century Gothic', 'Arial', sans-serif;
  font-weight: 400;
}

.font-century-gothic-bold {
  font-family: 'Century Gothic', 'Arial', sans-serif;
  font-weight: 700;
}

.separator-line-header {
  height: 1px;
  background-color: var(--bs-main-blue);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.nav-btn {
  font-family: 'Calibri', sans-serif;
  font-weight: 400;
  font-size: 30px;
  text-transform: uppercase;
  padding: 8px 16px;
  border: none;
  background: none;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  color: var(--bs-main-blue);
  text-decoration: none;
}

.nav-btn.active,
.nav-btn-bold {
  font-weight: 700;
}

:root {
  --bs-main-blue: #159FC4;
  --bs-accent-blue: #0A568A;
  --bs-main-red: #D92026;
  --bs-accent-red: #A01E20;
  --bs-main-blue-rgb: 21, 159, 196;
  --bs-accent-blue-rgb: 10, 86, 138;
  --bs-main-red-rgb: 217, 32, 38;
  --bs-accent-red-rgb: 160, 30, 32;
}

.text-main-blue { color: var(--bs-main-blue) !important; }
.text-accent-blue { color: var(--bs-accent-blue) !important; }
.text-main-red { color: var(--bs-main-red) !important; }
.text-accent-red { color: var(--bs-accent-red) !important; }

.bg-main-blue { background-color: var(--bs-main-blue) !important; }
.bg-accent-blue { background-color: var(--bs-accent-blue) !important; }
.bg-main-red { background-color: var(--bs-main-red) !important; }
.bg-accent-red { background-color: var(--bs-accent-red) !important; }

.border-main-blue { border-color: var(--bs-main-blue) !important; }
.border-accent-blue { border-color: var(--bs-accent-blue) !important; }
.border-main-red { border-color: var(--bs-main-red) !important; }
.border-accent-red { border-color: var(--bs-accent-red) !important; }

.btn-main-blue {
  color: #ffffff;
  background-color: var(--bs-main-blue);
  border-color: var(--bs-main-blue);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(21, 159, 196, 0.075);
}
.btn-main-blue:hover {
  color: #ffffff;
  background-color: var(--bs-accent-blue);
  border-color: var(--bs-accent-blue);
}
.btn-main-blue:focus {
  color: #ffffff;
  background-color: var(--bs-accent-blue);
  border-color: var(--bs-accent-blue);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(21, 159, 196, 0.075), 0 0 0 0.18rem rgba(21, 159, 196, 0.5);
}
.btn-main-blue:active {
  color: #ffffff;
  background-color: var(--bs-accent-blue);
  border-color: var(--bs-accent-blue);
}
.btn-main-blue:disabled {
  color: #ffffff;
  background-color: var(--bs-main-blue);
  border-color: var(--bs-main-blue);
}

.btn-outline-main-blue {
  border-radius: 0 !important;
  color: var(--bs-main-blue);
  border-color: var(--bs-main-blue);
  background-color: transparent;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.btn-outline-main-blue:hover {
  color: #ffffff;
  background-color: var(--bs-main-blue);
  border-color: var(--bs-main-blue);
}
.btn-outline-main-blue:focus {
  box-shadow: 0 0 0 0.18rem rgba(21, 159, 196, 0.5);
}

.btn-accent-blue {
  color: #ffffff;
  background-color: var(--bs-accent-blue);
  border-color: var(--bs-accent-blue);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(10, 86, 138, 0.075);
}
.btn-accent-blue:hover {
  color: #ffffff;
  background-color: var(--bs-main-blue);
  border-color: var(--bs-main-blue);
}

.btn-outline-accent-blue {
  color: var(--bs-accent-blue);
  border-color: var(--bs-accent-blue);
  background-color: transparent;
}
.btn-outline-accent-blue:hover {
  color: #ffffff;
  background-color: var(--bs-accent-blue);
  border-color: var(--bs-accent-blue);
}

.btn-main-red {
  color: #ffffff;
  background-color: var(--bs-main-red);
  border-color: var(--bs-main-red);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(217, 32, 38, 0.075);
}
.btn-main-red:hover {
  color: #ffffff;
  background-color: var(--bs-accent-red);
  border-color: var(--bs-accent-red);
}

.btn-outline-main-red {
  color: var(--bs-main-red);
  border-color: var(--bs-main-red);
  background-color: transparent;
}
.btn-outline-main-red:hover {
  color: #ffffff;
  background-color: var(--bs-main-red);
  border-color: var(--bs-main-red);
}

.btn-accent-red {
  color: #ffffff;
  background-color: var(--bs-accent-red);
  border-color: var(--bs-accent-red);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(160, 30, 32, 0.075);
}
.btn-accent-red:hover {
  color: #ffffff;
  background-color: var(--bs-main-red);
  border-color: var(--bs-main-red);
}

.btn-outline-accent-red {
  color: var(--bs-accent-red);
  border-color: var(--bs-accent-red);
  background-color: transparent;
}
.btn-outline-accent-red:hover {
  color: #ffffff;
  background-color: var(--bs-accent-red);
  border-color: var(--bs-accent-red);
}

.text-main-blue {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-main-blue-rgb), var(--bs-text-opacity)) !important;
}
.text-main-blue, .text-main-blue:hover {
  color: #1F2937 !important;
}
.text-main-blue a:not(.btn), .text-main-blue h1, .text-main-blue h2, .text-main-blue h3, .text-main-blue h4, .text-main-blue h5, .text-main-blue h6, .text-main-blue .h1, .text-main-blue .h2, .text-main-blue .h3, .text-main-blue .h4, .text-main-blue .h5, .text-main-blue .h6, .text-main-blue .display-1, .text-main-blue .display-2, .text-main-blue .display-3, .text-main-blue .display-4 {
  color: #1F2937;
}
.text-main-blue .text-muted {
  color: rgba(31, 41, 55, 0.7) !important;
}

/*========== Navbar styles ============ */
.navbar-new {
  background-color: #fff !important;
  padding: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-new .navbar-nav {
  display: flex;
  align-items: stretch;
}

.navbar-new .navbar-nav .nav-item {
  display: flex;
  align-items: center;
  border-right: 1px solid #ccc;
}

.navbar-new .navbar-nav .nav-item:last-child {
  border-right: none;
}

.navbar-new .nav-link {
  font-family: 'Calibri', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #666 !important;
  text-transform: uppercase;
  padding: 0.4rem 1.75rem !important;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  height: 100%;
}

.navbar-new .nav-link:hover,
.navbar-new .nav-link.auth-link:hover {
  background-color: var(--bs-main-blue);
  color: #fff !important;
}

.navbar-new .nav-link.auth-link {
  color: var(--bs-main-blue) !important;
  font-weight: 600 !important;
}

.navbar-new .home-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #000;
  color: #fff;
  font-size: 14px;
  transition: transform 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.navbar-new .home-icon:hover {
  transform: scale(1.15);
}

.navbar-new .navbar-toggler {
  border: none;
}

.navbar-new .navbar-toggler .fa-bars {
  font-size: 22px;
  color: #000;
}

/*=========== Custom Sidebar ===============*/
.site-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1040;
}

.site-sidebar-overlay.show {
  opacity: 1;
  visibility: visible;
}

.site-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 300px;
  max-width: 85vw;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.04), 0 20px 60px rgba(0,0,0,0.2);
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  z-index: 1041;
  display: flex;
  flex-direction: column;
}

.site-sidebar.open {
  transform: translateX(0);
}

.site-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
}

.site-sidebar-header img {
  height: 40px;
}

.site-sidebar-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0.5rem 0.5rem;
}

.site-sidebar .navbar-nav .nav-item {
  border-right: none;
  border-bottom: 1px solid #f1f1f1;
}

.site-sidebar .navbar-nav .nav-item:last-child {
  border-bottom: none;
}

.site-sidebar .nav-link {
  padding: 0.85rem 1rem !important;
  font-size: 18px;
  color: #666 !important;
}

.site-sidebar .nav-link:hover,
.site-sidebar .nav-link.auth-link:hover {
  background: var(--bs-main-blue);
  color: #fff !important;
}

.site-sidebar-footer {
  border-top: 1px solid #eee;
  padding: 0.5rem 1rem;
}

body.no-scroll {
  overflow: hidden;
}

/* ========== Compete Sub-Navigation ========== */
.compete-subnav {
  background-color: #fff;
  padding: 0.75rem 0;
  margin-bottom: 1.25rem;
}

.compete-subnav-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

.compete-subnav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 0.75rem;
  width: fit-content;
}

.compete-subnav-label {
  color: var(--bs-main-red);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-right: 0.5rem;
}

.compete-subnav-separator {
  color: #ccc;
  font-size: 16px;
  margin: 0 0.75rem;
  font-weight: 300;
}

.compete-subnav-link {
  color: var(--bs-main-blue);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  transition: color 0.3s ease;
  padding: 0.25rem 0;
}

.compete-subnav-link:hover {
  color: var(--bs-accent-blue);
  text-decoration: none;
}

.compete-subnav-link.active {
  color: var(--bs-main-blue);
  text-decoration: underline;
  font-weight: 500;
}

/* Responsive adjustments for sub-navigation */
@media (max-width: 991.98px) {
  .compete-subnav-container {
    width: 100%;
    padding-left: 0;
  }
  
  .compete-subnav-links {
    justify-content: flex-start;
  }
  
  .compete-subnav-label {
    font-size: 15px;
  }
  
  .compete-subnav-link {
    font-size: 15px;
  }
  
  .compete-subnav-separator {
    font-size: 15px;
    margin: 0 0.5rem;
  }
}

@media (max-width: 767.98px) {
  .compete-subnav {
    padding: 0.5rem 0;
    margin-bottom: 1rem;
  }
  
  .compete-subnav-container {
    width: 95%;
  }
  
  .compete-subnav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 0.5rem;
  }
  
  .compete-subnav-label {
    font-size: 14px;
    margin-bottom: 0.25rem;
  }
  
  .compete-subnav-separator {
    display: none;
  }
  
  .compete-subnav-link {
    font-size: 14px;
    padding: 0.3rem 0;
    text-align: left;
  }
}


@media (min-width: 1200px) {

  .site-sidebar { display: none; }
  .site-sidebar-overlay { display: none; }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .navbar-new {
    min-height: 65px;
  }
  
  .navbar-new .nav-link {
    padding: 0.6rem 1.5rem !important;
    font-size: 18px;
  }
  
  .navbar-new .home-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
  
  .section-subtitle {
    font-size: 1.2rem;
  }

  .nav-btn {
    font-size: 20px;
    padding: 6px 12px;
  }

  .homepage-main-title {
    font-size: 60px;
  }

  .homepage-subtitle {
    font-size: 32px;
  }

  .prize-highlight {
    font-size: 1.2rem;
    padding: 15px;
  }
  
  .hero-section {
    min-height: 50vh;
    padding-top: 70px;
  }
  
  .hero-section .display-1 {
    font-size: 2.5rem;
  }
  
  .hero-section .display-4 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .navbar-new {
    min-height: 56px;
  }

  .navbar-new .navbar-brand {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .navbar-new .navbar-toggler {
    padding: 0.25rem 0.5rem;
  }

  .navbar-new .home-icon {
    width: 32px;
    height: 32px;
  }

  .nav-btn {
    font-size: 16px;
    padding: 4px 8px;
  }
  
  .homepage-main-title {
    font-size: 40px;
  }
  
  .homepage-subtitle {
    font-size: 24px;
  }

  .section-title {
    font-size: 2rem;
  }
  
  .hero-section .display-1 {
    font-size: 2rem;
  }
  
  .hero-section .display-4 {
    font-size: 1.5rem;
  }
  
  .info-section-card {
    margin-bottom: 1rem;
  }
}


/* ====== Footer Styles ====== */
.site-footer {
  background-color: #fff;
  color: #333;
  font-family: 'Calibri', sans-serif;
  /* border-top: 1px solid #e5e5e5; */
}

.footer-top-line {
  height: 1px;
  background-color: var(--bs-main-blue);
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-content {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.footer-contact h5 {
  color: grey;
  font-size: 18px;
  margin-bottom: 0.5rem;
}

.footer-contact p {
  font-size: 16px;
  color: #555;
  margin-bottom: 0.25rem;
}

.footer-email {
  color: var(--bs-main-blue);
  text-decoration: none;
}

.footer-email:hover {
  text-decoration: underline;
}

.footer-social .footer-icon {
  display: inline-block;
  margin: 0 8px;
  color: #555;
  background: #f2f2f2;
  width: 38px;
  height: 38px;
  line-height: 40px;
  border-radius: 50%;
  text-align: center;
  font-size: 18px;
  transition: all 0.3s ease;
}

.footer-social .footer-icon:hover {
  background: var(--bs-main-blue);
  color: #fff;
}

.footer-bottom {
  font-size: 1rem;
  color: #555;
}

@media (max-width: 767.98px) {
  .footer-contact {
    text-align: flex-start;
  }

  .footer-social {
    text-align: center;
  }

  .footer-social .footer-icon {
    margin: 5px;
  }

  .footer-bottom p {
    text-align: center;
    margin: 0 auto;
    width: 95%;
  }
}
