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

body {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #f1f1f1;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header styling */
header {
  background: linear-gradient(to right, #1e3c72, #2a5298);
  color: white;
  padding: 2rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

header h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.8rem;
}

.caption {
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: 0.5rem;
  color: #ffd700;
  animation: fadeInSlide 2s ease-in-out;
  text-shadow: 1px 1px 6px #000;
}

/* Animation for caption */
@keyframes fadeInSlide {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navigation styling */
nav {
  background: #142850;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 1.1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.4);
  flex-wrap: wrap;
}

nav a {
  color: #f1f1f1;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

nav a:hover,
nav a:focus {
  color: #ffd700;
  outline: none;
}

/* Hero section */
.hero {
  background: url('images/hero-cricket.jpg') no-repeat center center/cover;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 6px #000;
  margin-bottom: 2rem;
}

/* Content container */
.content {
  padding: 2rem 3rem;
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.2rem;
  background-color: rgba(28, 43, 54, 0.85);
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.6);
}

/* Headings */
.content h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #ffd700;
  border-bottom: 2px solid #ffd700;
  padding-bottom: 0.4rem;
}

/* Teams container */
.teams-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.team-card {
  background: #1c2b36;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  width: 280px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.7);
}

.team-card h3 {
  margin-bottom: 0.7rem;
  color: #ffd700;
}

.team-card p {
  font-size: 1rem;
  color: #ddd;
}

/* Form styling for contact page */
form {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
}

form label {
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #ffd700;
}

form input[type="text"],
form input[type="email"],
form textarea {
  padding: 0.7rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  resize: vertical;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
  outline: 2px solid #ffd700;
  background-color: #2c5364;
  color: #fff;
}

form button {
  background-color: #ffd700;
  border: none;
  color: #112d4e;
  font-weight: 700;
  padding: 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

form button:hover,
form button:focus {
  background-color: #e6c200;
  outline: none;
}

/* Footer */
.footer {
  background: #112d4e;
  color: #ddd;
  text-align: center;
  padding: 1.5rem 1rem;
  margin-top: auto;
  font-size: 1rem;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.4);
}

/* Responsive */
@media (max-width: 600px) {
  .content {
    padding: 1.5rem 1.5rem;
  }

  nav {
    gap: 1rem;
    font-size: 1rem;
  }

  .teams-container {
    flex-direction: column;
    align-items: center;
  }

  .team-card {
    width: 100%;
    max-width: 320px;
  }
}
