/* ================ VARIABLES & BASE ================ */
:root {
  --primary: #FF6B6B;         /* Coral red */
  --secondary: #4ECDC4;       /* Tiffany blue */
  --dark: #292F36;           /* Gunmetal */
  --light: #F7FFF7;          /* Mint cream */
  --accent: #FFE66D;         /* Naples yellow */
  --text: #2D3047;           /* Space cadet */
  --registration: #6B5B95;   /* Royal purple */
  
  --font-main: 'Poppins', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
  --shadow-md: 0 5px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background-color: var(--light);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  padding: 100px 0;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================ COMPONENTS ================ */
/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

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

.btn-primary:hover {
  background-color: #ff5252;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  border: 2px solid white;
  color: white;
  background: transparent;
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary);
}

/* ----- Cards ----- */
.card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card-img-container {
  height: 250px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.card:hover .card-img {
  transform: scale(1.1);
}

.card-body {
  padding: 25px;
}

/* ================ HEADER & NAV ================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  background: rgba(41, 47, 54, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 15px 0;
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  margin-left: 12px;
  color: white;
}

.brand-name span {
  font-weight: 400;
  color: var(--accent);
}

.nav-link {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  padding: 8px 15px;
  margin: 0 5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: calc(100% - 30px);
}

.nav-link:hover,
.nav-link.active {
  color: white;
}

/* ================ HERO SECTION ================ */
.hero-section {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(41,47,54,0.8) 0%, rgba(78,205,196,0.4) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  color: white;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  line-height: 1.2;
}

.hero-content h1 span {
  color: var(--accent);
  display: inline-block;
}

.hero-content .lead {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.8rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-20px) translateX(-50%); }
  60% { transform: translateY(-10px) translateX(-50%); }
}

/* ================ ABOUT SECTION ================ */
.about-section {
  background-color: white;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.experience-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary);
  color: white;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.experience-badge span {
  font-size: 1.8rem;
  line-height: 1;
}

.experience-badge small {
  font-size: 0.7rem;
  display: block;
  text-align: center;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.feature-box {
  background: white;
  padding: 25px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-left: 4px solid var(--secondary);
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

/* ================ DIVISIONS SECTION ================ */
.divisions-section {
  background: var(--light);
}

.division-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.division-header h3 {
  color: var(--primary);
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 0;
}

.division-header span {
  background: var(--primary);
  color: white;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.division-info {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.division-info li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

.division-info i {
  color: var(--primary);
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

/* ================ STAFF SECTION ================ */
.staff-section {
  background: white;
}

.staff-info {
  text-align: center;
  padding: 20px;
}

.staff-info h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.position {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.bio {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ================ CAPTAINS SECTION ================ */
.captains-section {
  background: var(--light);
}

.captain-info {
  text-align: center;
  padding: 20px;
}

.captain-info h3 {
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 15px;
}

.stat-item {
  text-align: center;
}

.stat-item span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 5px;
}

.stat-item strong {
  font-size: 1rem;
  color: var(--text);
}

/* ================ MEDIA SECTION ================ */
.media-section {
  background: white;
}

.video-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-info {
  padding: 20px;
  text-align: center;
}

.video-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.video-info p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* ================ REGISTRATION SECTION ================ */
.registration-section {
  background: linear-gradient(135deg, var(--registration) 0%, #8579a1 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.registration-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.registration-section::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.registration-container {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  padding: 50px;
}

.registration-info h3 {
  color: var(--registration);
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.registration-info h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent);
}

.registration-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.registration-features li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--text);
}

.registration-features i {
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--registration);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: var(--text);
}

.contact-item i {
  color: var(--registration);
  font-size: 1.2rem;
  margin-right: 15px;
}

.form-header {
  background: var(--registration);
  color: white;
  padding: 25px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin: -50px -50px 30px -50px;
  text-align: center;
}

.form-header h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  background: rgba(255,255,255,0.8);
}

.form-control:focus {
  border-color: var(--registration);
  outline: none;
  box-shadow: 0 0 0 3px rgba(107, 91, 149, 0.1);
}

/* ================ FOOTER ================ */
.footer-section {
  background: var(--dark);
  color: white;
  padding: 80px 0 30px;
  position: relative;
}

.footer-section::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23292F36" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%23292F36"/></svg>');
  background-size: cover;
}

.footer-brand {
  margin-bottom: 30px;
}

.footer-brand img {
  margin-bottom: 15px;
}

.footer-brand h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: white;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
}

.footer-links h5 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: white;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact h5 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: white;
}

.footer-contact p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 10px;
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  color: white;
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* ================ RESPONSIVE ================ */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  section {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.3rem;
  }
  
  .hero-content .lead {
    font-size: 1rem;
  }
  
  .registration-container {
    padding: 30px;
  }
  
  .form-header {
    margin: -30px -30px 20px -30px;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 15px;
  }
  
  .registration-section::before,
  .registration-section::after {
    display: none;
  }
}