/********** Template CSS **********/
:root {
  --primary: #6610F2;
  --light: #effff8;
  --dark: #340c74;
}

.fw-medium {
  font-weight: 500 !important;
}

.fw-semi-bold {
  font-weight: 600 !important;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-weight: 500;
  text-transform: uppercase;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: #ffffff;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 2px;
}

/*** Header ***/
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(61, 61, 61, 0.6);
  z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
}

@media (max-width: 768px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }

  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.page-header {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-header-inner {
  background: rgba(15, 23, 43, 0.7);
}

.breadcrumb-item+.breadcrumb-item::before {
  color: var(--light);
}

.booking {
  position: relative;
  margin-top: -100px !important;
  z-index: 1;
}



.footer {
  position: relative;
  /* margin-top: -110px;
    padding-top: 180px; */
}

.footer .btn.btn-social {
  margin-right: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid #ffffff;
  border-radius: 35px;
  transition: 0.3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #ffffff;
  font-size: 15px;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--light);
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

/* Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

@media (max-width: 700px) {
  .cookie-wrapper {
    width: 100%;
  }
}

.cookie-wrapper {
  position: fixed;
  bottom: 0px;
  right: 0;
  width: 40%;
  background: #fff;
  padding: 15px 25px 22px;
  transition: right 0.3s ease;
  box-shadow: 0 5px 10px rgb(0, 0, 0);
  z-index: 999;

  @media (max-width: 600px) {
    width: 100%;
  }
}

.cookie-wrapper .show {
  right: 20px;
}

.hidden {
  display: none;
}

header i {
  color: #6610F2;
  font-size: 32px;
  text-align: center;
}

header h2 {
  color: #6610F2;
  font-weight: 500;
  text-align: center;
}

.data {
  text-align: center;
}

.data p a {
  color: #6610F2;
  text-decoration: none;
  text-align: center !important;
}

.data p a:hover {
  text-decoration: underline;
}

.buttons {
  padding: 20px 0px;
  text-align: center;
}

.buttons .cookie-button {
  border: 2px solid #6610F2;
  color: #fff;
  padding: 8px 0;
  background: #6610F2;
  cursor: pointer;
  width: calc(100% / 2 - 10px);
  transition: all 0.5s ease;
  max-width: 150px;
  border-radius: 0;
}

.buttons #acceptBtn:hover {
  background-color: transparent;
  color: #6610F2;
}

#declineBtn {
  background-color: #fff;
  color: #6610F2;
}

#declineBtn:hover {
  background-color: #6610F2;
  color: #fff;
}

/* Footer Style */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* new styles  */

:root {
  --bg-dark: #121212;
  --accent: #6610F2;
  --text-light: #f0f0f0;
  --bg-card: #1e1e1e;
  --live-yellow: #FFC107;
  --live-green: #4CAF50;
  --live-purple: #9C27B0;
  --border-color: rgba(255, 255, 255, 0.1);
  --text-light: #f0f0f0;
  --text-muted: #b0b0b0;
  --border-color: rgba(255, 255, 255, 0.1);
  --bg-footer: #131836;

}


.navbar {
  background-color: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(5px);
  padding: 0.75rem 1rem;
}

.navbar-brand {
  font-weight: 700;
  color: var(--accent);
}

.nav-link {
  color: var(--text-light) !important;
  margin: 0 0.5rem;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--accent) !important;
}

.btn-accent {
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-accent:hover {
  background-color: #5a0bd7;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(102, 16, 242, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
  border-radius: 30px;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-outline:hover {
  background-color: var(--text-light);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 18, 18, 0.6), rgba(18, 18, 18, 0.8)), url('../img/aboutus-hero-section.jpg') no-repeat center center;
  background-size: cover;
  filter: brightness(0.7);
  z-index: -1;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Modal styles */
.modal-content {
  background-color: white;
  color: #333;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
  border-bottom: none;
  padding: 1.5rem 1.5rem 0.5rem;
}

.modal-title {
  font-weight: 700;
  font-size: 1.75rem;
  color: #121212;
}

.btn-close {
  color: #121212;
  opacity: 0.8;
  font-size: 1.2rem;
}

.form-control {
  padding: 0.75rem 1rem;
  border-radius: 5px;
  border: 1px solid #dee2e6;
  margin-bottom: 1rem;
}

.modal-body {
  padding: 1rem 1.5rem;
}

.modal-footer {
  border-top: none;
  padding: 0.5rem 1.5rem 1.5rem;
}

.btn-login {
  background-color: #121212;
  color: white;
  width: 100%;
  padding: 0.75rem;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-login:hover {
  background-color: #000;
  color: white;
}

/* Media queries */
@media (max-width: 768px) {
  .hero-content h1 {
      font-size: 2.5rem;
  }
  
  .navbar-collapse {
      background-color: rgba(18, 18, 18, 0.95);
      padding: 1rem;
      border-radius: 10px;
      margin-top: 0.5rem;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      z-index: 1000;
  }
}
.race-panels {
  margin-top: 2rem;
}

.race-card {
  background-color: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.race-header {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.race-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.race-icon span {
  font-size: 20px;
}

.race-title {
  font-weight: 600;
  font-size: 1.2rem;
  margin-right: auto;
}

.race-status {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.status-yellow {
  color: var(--live-yellow);
}

.status-green {
  color: var(--live-green);
}

.status-purple {
  color: var(--live-purple);
}

.race-location {
  padding: 0.75rem 1rem;
  background-color: rgba(0, 0, 0, 0.3);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid var(--border-color);
}

.horse-row {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.horse-row:last-child {
  border-bottom: none;
}

.horse-number {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  margin-right: 0.75rem;
  font-size: 1rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #4CAF50;
  margin-right: 0.75rem;
}

.horse-name {
  flex: 1;
  font-weight: 600;
}

.horse-op {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-right: 1rem;
}

.horse-win {
  text-align: right;
  width: 80px;
}

.win-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-bottom: 0.25rem;
}

.win-value {
  font-weight: 700;
  font-size: 1.2rem;
}

/* Horse number colors */
.horse-number-red {
  background-color: #D32F2F;
}

.horse-number-yellow {
  background-color: #FFEB3B;
  color: #121212;
}

.horse-number-purple {
  background-color: #9C27B0;
}

.horse-number-green {
  background-color: #4CAF50;
}

.horse-number-pink {
  background-color: #E91E63;
}

.horse-number-orange {
  background-color: #FF9800;
}

.horse-number-blue {
  background-color: #2196F3;
}

.horse-number-lime {
  background-color: #8BC34A;
  color: #121212;
}

.horse-number-deep-orange {
  background-color: #FF5722;
}

.horse-number-light-blue {
  background-color: #03A9F4;
}

.horse-number-brown {
  background-color: #795548;
}

.horse-number-lime-green {
  background-color: #CDDC39;
  color: #121212;
}

/* Win values colors */
.win-flemington {
  color: #D32F2F;
}

.win-eagle-farm {
  color: #4CAF50;
}

.win-caulfield {
  color: #9C27B0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .race-panels .col-lg-4:not(:last-child) {
      margin-bottom: 1.5rem;
  }
}

@media (max-width: 576px) {
  .horse-op {
      display: none;
  }
  
  .horse-name {
      font-size: 0.9rem;
  }
  
  .race-title, .race-status {
      font-size: 0.9rem;
  }
}

/* Section title */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title h2 {
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-title p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin: 1.5rem auto 0;
  border-radius: 2px;
}


/* footer start  */
.footer {
  background-color: var(--bg-footer);
  color: var(--text-light);
  padding: 3rem 0 1.5rem;
  position: relative;
}

.footer-logo {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.footer-helpline {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 2rem;
  transition: color 0.3s;
}

.footer-helpline:hover {
  color: var(--accent);
}

.partners-section {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
  margin-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.partners-title, .payment-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 600;
}

.partners-logos, .payment-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.partner-logo, .payment-logo {
  height: 40px;
  filter: grayscale(100%) brightness(200%);
  opacity: 0.7;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo:hover, .payment-logo:hover {
  filter: grayscale(0%) brightness(100%);
  opacity: 1;
}

.payment-logo {
  height: 30px;
}

.footer-nav {
  text-align: center;
  margin-bottom: 2rem;
}

.footer-nav a {
  display: inline-block;
  color: var(--text-light);
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-nav a:not(:last-child)::after {
  content: '•';
  position: absolute;
  right: -1rem;
  color: var(--text-muted);
}

.age-warning {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.age-icon {
  min-width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.2rem;
}

.age-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

.disclaimer-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.disclaimer-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.copyright {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Gradient border */
.gradient-divider {
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 2rem 0;
  opacity: 0.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer {
      padding: 2rem 0 1rem;
  }
  
  .footer-nav a {
      margin: 0 0.5rem;
      font-size: 0.9rem;
  }
  
  .footer-nav a:not(:last-child)::after {
      right: -0.5rem;
  }
  
  .age-warning {
      flex-direction: column;
      text-align: center;
      padding: 1rem;
  }
  
  .partners-logos, .payment-logos {
      gap: 1rem;
  }
  
  .partner-logo, .payment-logo {
      height: 30px;
  }
  
  .payment-logo {
      height: 25px;
  }
}