/* Champion Club Custom Styles - Enhanced UI */

:root {
  --primary-color: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #60a5fa;
  --secondary-color: #64748b;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
  --info-color: #06b6d4;
  --dark-color: #1e293b;
  --light-color: #f8fafc;
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-danger: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--dark-color);
  background-color: #ffffff;
  line-height: 1.6;
  margin-top: 0 !important;
}

/* Navbar - Enhanced */
.navbar {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
  box-shadow: var(--shadow-lg);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.75rem;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.navbar-brand i {
  color: #fbbf24;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  border-radius: 0.5rem;
  font-weight: 500;
  position: relative;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.navbar-dark .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-dark .navbar-nav .nav-link:hover::after {
  width: 80%;
}

.navbar-dark .navbar-nav .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 700;
}

.navbar-dark .navbar-nav .nav-link.active::after {
  width: 80%;
}

/* Hero Slider - Enhanced */
#hero-slider {
  margin-top: 0;
  padding: 0;
  position: relative;
}

.carousel-item {
  height: 600px;
  position: relative;
  overflow: hidden;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
  transition: transform 0.5s ease;
}

.carousel-item:hover img {
  transform: scale(1.05);
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 900px;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.carousel-caption h1 {
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.8);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

.carousel-caption p {
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.8);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.carousel-caption .btn {
  padding: 0.875rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: none;
}

.carousel-caption .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 6px;
  transition: all 0.3s ease;
}

.carousel-indicators button.active {
  width: 40px;
  border-radius: 6px;
}

/* Cards - Enhanced */
.card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  box-shadow: var(--shadow);
  border-radius: 1rem;
  overflow: hidden;
  background: #ffffff;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.card-img-top {
  transition: transform 0.5s ease;
}

.card:hover .card-img-top {
  transform: scale(1.1);
}

.card-body {
  position: relative;
  z-index: 1;
}

.card-title {
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--secondary-color);
  line-height: 1.7;
}

/* Badge Styles */
.badge {
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 50px;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Button Styles - Enhanced */
.btn {
  font-weight: 600;
  border-radius: 0.75rem;
  padding: 0.625rem 1.5rem;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
  transform: translate(-50%, -50%);
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.btn-success {
  background: var(--gradient-success);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  border-radius: 50px;
}

/* Video Cards - Enhanced */
.video-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.video-card img {
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card:hover img {
  transform: scale(1.15);
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.8) 0%,
    rgba(124, 58, 237, 0.8) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.video-card:hover .play-overlay {
  opacity: 1;
}

.play-overlay .btn {
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.video-card:hover .play-overlay .btn {
  transform: scale(1);
  animation: playPulse 1.5s infinite;
}

@keyframes playPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
  }
}

/* Short Cards - Enhanced */
.short-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.short-card:hover {
  transform: scale(1.05);
}

.short-card img {
  height: 350px;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.short-card:hover img {
  filter: brightness(0.8);
}

.short-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(0, 0, 0, 0.3) 70%,
    rgba(0, 0, 0, 0.9) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.short-card:hover .short-overlay {
  opacity: 1;
}

.short-info {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  color: white;
  text-align: left;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Event Cards - Enhanced */
.event-card {
  overflow: hidden;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.event-card .bg-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  ) !important;
}

.event-card img {
  transition: transform 0.5s ease;
}

.event-card:hover img {
  transform: scale(1.1);
}

/* Leader Cards - Enhanced */
.leader-card {
  border-radius: 1rem;
  transition: all 0.4s ease;
}

.leader-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.leader-card img {
  border: 5px solid #f0f9ff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.leader-card:hover img {
  border-color: var(--primary-light);
  transform: scale(1.05);
}

.leader-card .social-links a {
  font-size: 1.3rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.leader-card .social-links a:hover {
  transform: scale(1.2) rotate(5deg);
}

/* Course Cards - Enhanced */
.course-card {
  border-radius: 1rem;
  overflow: hidden;
}

.course-card img {
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover img {
  transform: scale(1.1) rotate(2deg);
}

.course-card .badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}

/* Product Cards - Enhanced */
.product-card {
  border-radius: 1rem;
  overflow: hidden;
}

.product-card img {
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover img {
  transform: scale(1.15);
}

/* Training Cards - Enhanced */
.training-card {
  border-left: 5px solid var(--primary-color);
  border-radius: 1rem;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.training-card:hover {
  border-left-width: 8px;
  box-shadow: var(--shadow-xl);
  transform: translateX(5px);
}

.training-card .border {
  border-radius: 0.5rem;
  background: #f8fafc;
  transition: all 0.3s ease;
}

.training-card:hover .border {
  background: #e0f2fe;
}

/* Buttons - Additional Styles */
.btn {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-weight: 600;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn i {
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(3px);
}

/* Section Spacing */
section {
  padding: 3rem 0;
}

section h2 {
  font-weight: 800;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--primary-light)
  );
  border-radius: 2px;
}

/* Footer - Enhanced */
footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #e2e8f0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}

footer h5 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

footer h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-light);
  border-radius: 2px;
}

footer a {
  text-decoration: none;
  transition: all 0.3s ease;
  color: #cbd5e1;
}

footer a:hover {
  color: var(--primary-light) !important;
  transform: translateX(5px);
  display: inline-block;
}

footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

footer .social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-5px) rotate(360deg);
}

/* Tabs - Enhanced */
.nav-tabs {
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 2rem;
}

.nav-tabs .nav-link {
  color: var(--secondary-color);
  border: none;
  transition: all 0.3s ease;
  font-weight: 600;
  padding: 1rem 1.5rem;
  position: relative;
}

.nav-tabs .nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--primary-light)
  );
  transition: width 0.3s ease;
}

.nav-tabs .nav-link:hover {
  border-color: transparent;
  color: var(--primary-color);
  background: rgba(37, 99, 235, 0.05);
}

.nav-tabs .nav-link.active {
  color: var(--primary-color);
  background: transparent;
  border: none;
}

.nav-tabs .nav-link.active::after {
  width: 100%;
}

/* List Group - Enhanced */
.list-group-item {
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}

.list-group-item:hover {
  border-left-color: var(--primary-light);
  background-color: rgba(37, 99, 235, 0.05);
  transform: translateX(5px);
}

.list-group-item.active {
  border-left-color: var(--primary-color);
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.1) 0%,
    transparent 100%
  );
  color: var(--primary-color);
  font-weight: 600;
}

/* Progress Bar - Enhanced */
.progress {
  background-color: #e2e8f0;
  border-radius: 50px;
  height: 12px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-bar {
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--primary-light)
  );
  border-radius: 50px;
  transition: width 1s ease;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-item {
    height: 300px;
  }

  .carousel-caption h1 {
    font-size: 1.5rem;
  }

  .carousel-caption p {
    font-size: 0.9rem;
  }

  .short-card img {
    height: 250px;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light-color);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Loading Spinner */
.spinner {
  border: 3px solid var(--light-color);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Sticky Top Adjustment */
.sticky-top {
  top: 0;
}

/* Form Styles */
.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Table Styles */
.table {
  border-collapse: separate;
  border-spacing: 0;
}

.table thead th {
  background-color: var(--light-color);
  border-bottom: 2px solid var(--primary-color);
}

/* Modal */
.modal-content {
  border: none;
  border-radius: 10px;
}

.modal-header {
  background-color: var(--primary-color);
  color: white;
  border-radius: 10px 10px 0 0;
}

.modal-header .btn-close {
  filter: invert(1);
}

/* Alerts */
.alert {
  border: none;
  border-left: 4px solid;
}

.alert-success {
  border-left-color: var(--success-color);
}

.alert-danger {
  border-left-color: var(--danger-color);
}

.alert-warning {
  border-left-color: #ffc107;
}

.alert-info {
  border-left-color: #0dcaf0;
}

/* Accordion */
.accordion-button:not(.collapsed) {
  background-color: var(--primary-color);
  color: white;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

/* Social Links */
.social-links a {
  display: inline-block;
  transition: transform 0.3s;
}

.social-links a:hover {
  transform: translateY(-3px);
}

/* Hover Cards */
.hover-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2) !important;
}

.hover-card .card-body {
  transition: all 0.3s ease;
}

.hover-card:hover .card-body i {
  transform: scale(1.1);
}

/* Page Headers */
.page-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
  padding: 4rem 0 !important;
}

.page-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.page-header::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.page-header h1,
.page-header p {
  position: relative;
  z-index: 1;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.page-header h1 {
  font-weight: 800;
  letter-spacing: -1px;
}

/* Enhanced Play Overlay */
.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.85) 0%,
    rgba(124, 58, 237, 0.85) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.video-card:hover .play-overlay,
.short-card:hover .play-overlay {
  opacity: 1;
}

/* Modal Enhancements */
.modal-content {
  border: none;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.modal-header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  border: none;
  padding: 1.5rem 2rem;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
  opacity: 1;
}

.modal-body {
  padding: 2rem;
}

.modal-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid #e2e8f0;
}

/* Form Enhancements */
.form-control,
.form-select {
  border: 2px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

.form-label {
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

/* Alert Enhancements */
.alert {
  border: none;
  border-left: 5px solid;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}

.alert i {
  font-size: 1.25rem;
}

/* Feature Icons */
.feature-icon {
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.feature-icon:hover {
  transform: translateY(-5px) rotate(5deg);
  box-shadow: var(--shadow-lg);
}

/* Background Patterns */
.bg-light {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.loading {
  animation: shimmer 2s infinite;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 1000px 100%;
}

/* Responsive Improvements */
@media (max-width: 991px) {
  .page-header {
    padding: 3rem 0 !important;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  section {
    padding: 3rem 0;
  }
}

@media (max-width: 767px) {
  .carousel-item {
    height: 400px;
  }

  .carousel-caption h1 {
    font-size: 1.75rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }

  .page-header h1 {
    font-size: 1.75rem;
  }

  .navbar-brand {
    font-size: 1.5rem;
  }
}

@media (max-width: 575px) {
  .carousel-item {
    height: 300px;
  }

  .carousel-caption h1 {
    font-size: 1.5rem;
  }

  .carousel-caption p {
    font-size: 0.875rem;
  }

  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .carousel-control-prev,
  .carousel-control-next,
  .carousel-indicators,
  footer,
  .btn {
    display: none !important;
  }
}
