
:root {
  --light-color: rgb(19, 59, 222);
  --blue-color: rgb(34, 56, 145);
  --orange-color: rgb(248, 158, 69);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f5f5f5;
}

body, h1, h2, h3, h4, h5, h6, p, a, li, span, button {
  font-family: 'Poppins', sans-serif;
}
.btn, .nav-link, .hero-content a {
  font-family: 'Poppins', sans-serif;
}
body {
  font-family: "Poppins", sans-serif;
  background: #f8f9fa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

@media (max-width: 576px) {
  .auth-card {
    padding: 25px;
    border-radius: 12px;
  }
}


.auth-title {
  font-weight: 600;
  text-align: center;
  margin-bottom: 25px;
}


.form-control {
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid #ddd;
  transition: 0.2s ease;
}

.form-control:focus {
  border-color: #198754;
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.15);
}

.error-text {
  font-size: 0.8rem;
  color: #dc3545;
  margin-top: 4px;
}

.btn-modern {
  width: 100%;
  border-radius: 10px;
  padding: 12px;
  font-weight: 600;
  background-color: #198754;
  border: none;
  transition: 0.2s ease;
}

.btn-modern:hover {
  background-color: #157347;
}


.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 20px;
  color: #1e293b;
}

.logo span {
  font-size: 24px;
  color: #2563eb;
}

.logo img {
  height: 100%;
  max-height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  margin-right: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #475569;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #2563eb;
}

.nav-link:hover {
  color: var(--light-color);
}

.nav-item .nav-link.active {
  color: var(--light-color) !important;
}

.join-btn {
  color: white !important;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
}

.profile-icon,
.login-icon,
.register-icon {
  display: none;
}

.logout-btn {
  padding: 1rem;
  text-decoration: none;
  color: white;
}


.hero {
  height: 90vh;
  background: linear-gradient(rgba(37, 99, 235, 0.7), rgba(15, 23, 42, 0.7)),
    url("../images/cover3.jpeg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 64px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-content p {
  text-align: center;
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 40px;
  width: 100%;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: #2563eb;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-secondary {
  background: white;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  color: #1e293b;
  font-weight: 600;
  transition: 0.3s;
}

.btn-secondary:hover {
  background: #e2e8f0;
}


.why-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.why-item {
  flex: 1;
}


.card {
  border: 0;
  border-radius: 20px;
  height: 17rem;
}

.icon {
  color: var(--orange-color);
  width: 3rem;
  height: 3rem;
  margin: 20px;
}

.landing-profile {
  padding: 3rem;
  background-color: var(--blue-color);
  color: rgb(255, 255, 255);
}
.icon-prof{
    width: 10rem;
    height: 10rem;
  }
.landing-dashboard {
  background-color: var(--blue-color);
  color: rgb(255, 255, 255);
  height: 25rem;
}

.landing {
  color: rgb(255, 255, 255);
  height: 25rem;
}

.image {
  border-radius: 20px;
  width: 90%;
}

.story p {
  color: rgba(0, 0, 0, 0.684);
}

.values {
  background-color: rgba(245, 244, 244, 0.721);
}

.values p {
  color: rgba(0, 0, 0, 0.659);
}

.coaches {
  background-color: rgba(245, 244, 244, 0.721);
}

.coach-img {
  width: 25rem;
  height: 25rem;
  object-fit: cover;
  border-radius: 20px;
}

.achi {
  background-color: var(--blue-color);
  color: white;
  gap: 5rem;
}

.achi h1 {
  display: flex;
  justify-content: center;
}

.achi p {
  color: rgba(241, 244, 255, 0.877);
  font-size: 0.9rem;
  text-align: center;
}
.service-img-right{
  border-radius: 0 20px 20px 0;
                min-height: 100%;
                object-fit: cover;
                height: 300px;
}.service-img-left{
                border-radius: 20px 0 0 20px;
                min-height: 100%;
                object-fit: cover;
                height: 300px;
}

.event-card {
  transition: transform 0.3s ease-in-out;
}

.event-card:hover {
  transform: translateY(-12px);
}


.footer {
  background: #0b1d33;
  color: #cbd5e1;
  padding: 40px 6%;
  font-size: 14px;
  line-height: 1.4;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-logo {
  color: white;
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
}

.footer-text {
  margin-bottom: 15px;
  font-size: 13px;
  line-height: 1.5;
}

.footer h3 {
  color: white;
  margin-bottom: 15px;
  font-size: 16px;
}

.footer ul {
  list-style: none;
  padding-left: 0;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul li a {
  text-decoration: none;
  color: #cbd5e1;
  transition: 0.3s;
  font-size: 14px;
}

.footer ul li a:hover {
  color: #3b82f6;
}

.social-icons a {
  margin-right: 12px;
  font-size: 16px;
  color: #cbd5e1;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #3b82f6;
}

.contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  align-items: flex-start;
}

.contact-item i {
  color: #3b82f6;
  margin-top: 3px;
  font-size: 16px;
}

.footer-bottom {
  text-align: center;
  margin-top: 35px;
  padding-top: 15px;
  border-top: 1px solid #1e293b;
  font-size: 12px;
  color: #94a3b8;
}


@media (min-width: 992px) {
  .navbar {
    position: sticky;
    top: 0;
    z-index: 1020;
  }
  .register-card{

    width: 60%;
  }
}



@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .nav-item{
    font-size: 18px;
  }
  .hero-content h1 {
    font-size: 40px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .nav-links {
    display: none;
  }
  .landing-profile{
    font-size: 13px;
    padding: 2rem !important;
  }

  .icon-prof{
    width: 5rem;
    height: 5rem;
    display: flex;
    margin-bottom:3px ;
  }
  .service-img-left, .service-img-right{
              border-radius: 0 0 20px 20px;
                min-height: 100%;
                object-fit: cover;
                height: 25rem;
  }

 .footer {
  background: #0b1d33;
  color: #cbd5e1;
  padding: 40px 6%;
  font-size: 14px;
  line-height: 1.4;
}

  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 991.98px) {
  .navbar {
    position: relative !important;
    height: auto !important;
    overflow: visible !important;
  }

  .navbar-collapse {
    position: static !important;
    width: 100%;
  }

  .navbar-nav {
    background-color: white;
    padding: 1rem 0;
  }
}

/* ======================= BOOKING STYLES ======================= */

.booking-section {
  padding: 80px 0;
  min-height: 70vh;
}

.booking-card {
  border-radius: 15px;
  padding: 40px;
  background: white;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.booking-title {
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

.booking-stages-container {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}

.booking-stage {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.booking-stage.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.booking-stage.slide-out-left {
  transform: translateX(-100%);
  opacity: 0;
}

.stage-indicator {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.stage-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e0e0e0;
  transition: all 0.3s ease;
}

.stage-dot.active {
  background: #2563eb;
  transform: scale(1.3);
}

.stage-dot.completed {
  background: #10b981;
}

.btn-book,
.btn-next,
.btn-back {
  background-color: #2563eb;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  transition: 0.3s ease;
  color: white;
}

.btn-book:hover,
.btn-next:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-back {
  background-color: #6b7280;
  margin-right: 10px;
}

.btn-back:hover {
  background-color: #4b5563;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(107, 114, 128, 0.3);
}

.sport-option {
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  position: relative;
  overflow: visible;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sport-option > input[type="radio"] {
  margin-top: 2px;
}

.sport-option:hover {
  border-color: #2563eb;
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
  transform: translateY(-2px);
}

.sport-option.selected {
  border-color: #2563eb;
  background: linear-gradient(135deg, #eff6ff 0%, #f0f7ff 100%);
  transform: translateY(-2px);
}

.sport-option input[type="radio"] {
  width: 20px;
  height: 20px;
  margin: 0;
  cursor: pointer;
  accent-color: #2563eb;
}

.sport-option label {
  cursor: pointer;
  flex: 1;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.level-options {
  margin-top: 16px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  display: none;
  animation: slideDown 0.3s ease;
  border: none;
  width: 100%;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.level-options.show {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  padding-top: 16px;
  border-top: 2px solid #e5e7eb;
  margin-top: 16px;
}

.level-option {
  margin: 0;
}

.level-option input[type="radio"] {
  display: none;
}

.level-option label {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 10px;
  background: white;
  border: 2px solid #e5e7eb;
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 14px;
  text-transform: capitalize;
}

.level-option label:hover {
  border-color: #2563eb;
  color: #2563eb;
  transform: translateY(-2px);
}

.level-option input[type="radio"]:checked + label {
  background: #2563eb;
  border-color: #2563eb;
  color: white;
}

.quantity-btn {
  transition: all 0.2s ease;
  border: 2px solid #e5e7eb;
}

.quantity-btn:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: white;
  transform: scale(1.05);
}

.quantity-btn:active {
  transform: scale(0.95);
}

.quantity-input {
  max-width: 150px;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.time-slot {
  padding: 15px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}

.time-slot:hover {
  border-color: #2563eb;
  background: #f0f7ff;
}

.time-slot.selected {
  border-color: #2563eb;
  background: #2563eb;
  color: white;
}

.time-slot.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f3f4f6;
}

.payment-method {
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-method:hover {
  border-color: #2563eb;
  background: #f0f7ff;
}

.payment-method.selected {
  border-color: #2563eb;
  background: #eff6ff;
}

.payment-method input[type="radio"] {
  margin-right: 10px;
}

.file-upload-area {
  border: 2px dashed #d1d5db;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  margin-top: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.file-upload-area:hover {
  border-color: #2563eb;
  background: #f9fafb;
}

.file-upload-area.has-file {
  border-color: #10b981;
  background: #f0fdf4;
}

.file-upload-area input[type="file"] {
  display: none;
}

.file-name {
  margin-top: 10px;
  color: #10b981;
  font-weight: 500;
}

.booking-summary {
  background: #f9fafb;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}

.summary-item:last-child {
  border-bottom: none;
}

.btn-group-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .booking-card {
    padding: 25px;
  }

  .time-slots {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }

  .btn-group-nav {
    flex-direction: column;
  }

  .btn-back {
    margin-right: 0;
    margin-bottom: 10px;
  }
}