/* =========================================================
   Kicks N Hits — Final Aesthetic Theme (with slider fix)
   ========================================================= */
:root{
  --primary:#000000;
  --primary-600:#1E40AF;
  --accent:#22C55E;
  --ink:#0F172A;
  --muted:#475569;
  --surface:#F1F5F9;
  --card:#FFFFFF;
  --header:#0B192C; /* darker header */
  --line:#E2E8F0;
  --shadow:0 10px 30px rgba(2,6,23,.08);
}

/* Base */
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--header);
  color: var(--header);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

/* Top strip */
.blackSpace {
  background: var(--primary);
  width: 100%;
  color: #e5e7eb;
  padding: 8px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.blackSpace .icons {
  position: absolute;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.icons img {
  width: 22px;
  height: 22px;
  opacity: .9;
  transition: opacity .2s ease, transform .1s ease;
}
.icons img:hover { opacity: 1; transform: translateY(-1px); }
.company-name {
  flex-grow: 1;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .6px;
}

/* Header / Nav */
.main-header {
  background: linear-gradient(180deg, var(--primary), var(--header));
  padding: 18px 0;
  border-bottom: 1px solid rgba(226,232,240,.08);
  box-shadow: var(--shadow);
}
.header-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.logo-section img {
  height: auto; max-width: 170px; object-fit: contain;
}
.main-nav { flex-grow: 1; text-align: center; }
.main-nav a {
  text-decoration: none;
  color: #e5e7eb;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0 16px;
  position: relative;
  transition: color .25s ease;
}
.main-nav a:hover { color:#fff; }
.main-nav a::after{
  content:""; position:absolute; left:0; bottom:-8px; height:2px; width:0;
  transition: width .2s ease;
}
.main-nav a:hover::after{ width:100%; }

/* Dropdown */
.dropdown { position: relative; display: inline-block; }
.dropdown-content {
  display: none;
  position: absolute; top:100%;
  background: var(--card);
  min-width: 200px;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 10px;
  z-index: 10;
  text-align: left;
}
.dropdown-content a {
  color: var(--ink);
  padding: 12px 14px;
  display: block;
  font-weight: 600;
  text-transform: none;
}
.dropdown-content a:hover {
  background: #EEF2FF;
  color: var(--primary-600);
}
.dropdown:hover .dropdown-content { display: block; }

/* Home / Slider */
.container { padding: 2rem 1rem; }
.wrapper { position: relative; max-width: 1100px; margin: 0 auto; }
.slider {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 460px;
  max-height: 680px;
  background: var(--card);
  overflow: hidden;
  border-radius: 18px;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
}

/* ✅ FIX: Show full image without cutting faces */
.slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* instead of cover */
  background-color: #F1F5F9;
; /* adds black background around image */
  opacity: 0;
  animation: fadeSlide 45s infinite;
  transition: opacity 1s ease-in-out;
  user-select: none;
}

/* Slideshow animation */
.slider img:nth-child(1) { animation-delay: 0s; }
.slider img:nth-child(2) { animation-delay: 5s; }
.slider img:nth-child(3) { animation-delay: 10s; }
.slider img:nth-child(4) { animation-delay: 15s; }
.slider img:nth-child(5) { animation-delay: 20s; }
.slider img:nth-child(6) { animation-delay: 25s; }
.slider img:nth-child(7) { animation-delay: 30s; }

@keyframes fadeSlide {
  0% { opacity: 0; }
  5% { opacity: 1; }
  22% { opacity: 1; }
  27% { opacity: 0; }
  100% { opacity: 0; }
}

/* Dots */
.nav {
  display: flex; gap: 8px;
  position: absolute; bottom: 16px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.nav a {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.85);
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
  transition: transform .15s ease, opacity .2s ease;
  opacity:.9;
}
.nav a:hover { transform: scale(1.15); opacity: 1; }

/* Sections */
.page-section { display: none; }
.our-story-container, .team-container, .volunteering-opportunities-container,
.playbook-section-container {
  max-width: 1000px; margin: 0 auto;
  background: var(--card);
  padding: 40px;
  border-radius: 18px;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
}
.our-story-container h1, .team-container h1,
.volunteering-opportunities-container h1, .playbook-section-container h1 {
  font-size: 2.1rem; text-align: center; margin-bottom: 18px; color: var(--ink);
}
.our-story-container p, .volunteering-opportunities-container p,
.playbook-section-container p {
  line-height: 1.75; font-size: 16px; color: #1f2937; text-align: justify;
}

/* Team */
.team-member {
  display: flex; align-items: center; gap: 24px; margin-bottom: 36px;
  background: #F8FAFC; border:1px solid var(--line); border-radius: 14px; padding: 16px;
}
.team-member img {
  width: 180px; height: 180px; border-radius: 12px; object-fit: cover;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}
.team-info h2 { margin: 0; color: var(--ink); font-size: 20px; font-weight: 800; }
.team-info p { margin-top: 8px; color: #334155; font-size: 15px; line-height: 1.6; text-align: justify; }
.team-member:nth-child(even){ flex-direction: row-reverse; }

/* Responsive */
@media (max-width: 768px){
  .team-member{ flex-direction: column; text-align: center; }
  .team-member img{ width: 150px; height: 150px; }
}

/* Volunteering cards */
.volunteering-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 22px; margin-bottom: 26px;
}
.volunteer-card{
  background: #F1F5FF;
  border:1px solid #DBEAFE;
  border-radius: 14px; padding: 22px; text-align: left;
  box-shadow: 0 2px 8px rgba(30,64,175,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.volunteer-card:hover{ transform: translateY(-3px); box-shadow: 0 8px 20px rgba(2,6,23,.08); }
.volunteer-card h3{ color: var(--primary-600); margin-bottom: 8px; }
.volunteer-card p{ color: #334155; }

/* Buttons */
.back-home-btn, .btn, .register-form button, #btnRegister{
  display:inline-block;
  padding:6px 12px;
  border-radius: 6px;
  background: var(--primary);
  color:#fff; border:none; font-weight:800;
  box-shadow: 0 8px 20px rgba(37,99,235,.25);
  text-decoration: none;
  transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
}
.back-home-btn:hover, .btn:hover,
.register-form button:hover, #btnRegister:hover{
  background: var(--primary);
  transform: translateY(-1px);
}

/* register page designing */

/* -------------- REGISTER PAGE -------------- */
.register-section {
  background-color: #fff;
  padding: 60px 20px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.register-container {
  max-width: 550px;
  width: 100%;
  background: #e6e8eb;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
}

.register-container h1 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #111;
}

.register-intro {
  font-size: 15px;
  color: #555;
  margin-bottom: 25px;
}

/* ===== Improved Form Layout ===== */
.register-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 20px;
  text-align: left;
}

.register-form label {
  grid-column: span 2;
  font-weight: bold;
  color: #333;
}

.register-form input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}

#firstName, #lastName {
  grid-column: span 1;
}

#email, #contact {
  grid-column: span 2;
}

/* Footer */
.footer {
  background: linear-gradient(360deg, var(--primary), var(--header));
  color: #cbd5e1;
  padding: 60px 20px;
  margin-top: 60px;
  border-top: 3px solid var(--primary);
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto 24px auto;
  text-align: left;
}
.footer-col h3 {
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(226,232,240,.15);
  padding-bottom: 6px;
}
.footer-logo img {
  width: 150px; height: auto; 
}
.sports-list { color: #e2e8f0; font-style: italic; margin-bottom: 12px; font-size: 15px; }
.footer-contact p { margin: 6px 0; font-size: 14px; color: #cbd5e1; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #e2e8f0; transition: color .2s ease; }
.footer-links a:hover { color: #fff; }
.footer-copy {
  text-align: center; font-size: 13px; color: #94a3b8;
  margin-top: 16px; border-top: 1px solid rgba(226,232,240,.15); padding-top: 14px;
}



/* video section */
/* === GENERAL RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === VIDEO SECTION === */
.video-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Full screen height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

/* === BACKGROUND VIDEO === */
.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 82%;
  object-fit: cover; /* Adjusts automatically to screen */
  z-index: -1;
  filter: brightness(0.6);
}

/* === OVERLAY CONTENT === */
.video-overlay {
  text-align: center;
  z-index: 1;
  padding: 20px;
  max-width: 800px;
  animation: fadeIn 2s ease;
}

/* === TEXT STYLING === */
.video-overlay h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.video-overlay p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #f5f5f5;
}

/* === BUTTON === */
.cta-button {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(90deg, #ff5e00, #ff9900);
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 1px;
}

.cta-button:hover {
  background: linear-gradient(90deg, #ff9900, #ff5e00);
  transform: scale(1.05);
}

/* === FADE-IN ANIMATION === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === RESPONSIVE STYLING === */
@media (max-width: 768px) {
  .video-overlay h1 {
    font-size: 2rem;
  }

  .video-overlay p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 1rem;
  }
}
