/* Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #000;
  color: white;
}

/* Nav */

nav {
  background-image: linear-gradient(to right, #001f3f, #0040ff);
  margin: 0;
  padding: 0 1.5rem;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
}

.header-socials {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: flex-start;
  padding: 5px;
  margin-left: -2%;
}

.header-socials i {
  font-size: 2.2rem;
}

.header-socials a i {
  margin-left: 7vh;
}

#logo {
  position: relative;
  width: 100%;
  margin-left: -19%;
  max-width: 100px;
  animation-name: slidedown;
  animation-duration: 1.5s;
  border-radius: 50%;
}

#logo img {
  width: 100%;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  animation-duration: 1.5s;
  gap: 2em;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  position: relative;
}

nav ul li a::after {
  content: "";
  display: block;
  height: 2px;
  background: white;
  width: 0;
  position: absolute;
  bottom: -4px;
  left: 0px;
  transition: width 0.5s ease;
}

nav ul li a:hover::after {
  width: 100%;
  transition: width 0.5s ease;
}

.menu-toggle {
  text-align: center;
  font-size: 2.5rem;
  color: white;
  z-index: 9999;
}

nav ul {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5em;
  position: fixed;
  top: 0;
  right: 0;
  width: 20vw;
  border-top-left-radius: 20px;
  height: 100vh;
  background-color: #001f3f;
  z-index: 9998;
  padding: 2rem;
  animation: slideright 0.5s ease-in-out;
}

.active {
  display: flex;
}

/* Hero */
#hero {
  position: relative;
  height: 75vh;
  background-image: url("./images/mhh.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: grid;
  grid-template-areas: "stack";
  place-items: center;
}

/*Engaging section*/

.engage-div {
  margin: 5% 0 5% 0;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 50px;
  align-items: center;
  justify-content: space-evenly;
}

.engage-o,
.engage-f,
.engage-t {
  width: 390px;
  max-width: 100%;
  height: auto;
  text-align: center;
  display: inline-block;
}
.engage-o {
  animation: moveUp 1.5s ease-in-out infinite;
}

.engage-o img,
.engage-t img,
.engage-f img {
  width: 90%;
  border-radius: 20px;
  height: 100%;
  max-height: 400px;
}

.engage-o button,
.engage-t button,
.engage-f button {
  margin-top: 5%;
  padding: 17px 35px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 20px;
  border-radius: 10px;
  background-color: rgb(25, 83, 181);
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}

.engage-o button a,
.engage-t button a,
.engage-f button a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.engage-o button:hover,
.engage-f button:hover,
.engage-t button:hover {
  background-color: white;
  color: rgb(25, 83, 181);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.engage-t {
  animation: moveUp 1.5s ease-in-out infinite;
  animation-delay: 1s;
}
.engage-f {
  animation: moveUp 1.5s ease-in-out infinite;
  animation-delay: 2s;
}

/* selector bar */
.inline-menu {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.inline-menu button {
  background: transparent;
  border: 2px solid white;
  padding: 10px 20px;
  color: white;
  cursor: pointer;
  border-radius: 10px;
  font-size: 14px;
  transition: 0.3s;
}

.inline-menu button:focus {
  background-color: blue;
  color: white;
}

.inline-menu button:hover,
.inline-menu button.active {
  background: rgba(123, 123, 178, 0.589);
  border-color: transparent;
}

/* content sections */
.section {
  display: none;
  width: 65%;
  height: 450px;
  margin: auto;
  position: relative;
  padding: 30px;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.6s ease-in-out;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.section.active {
  display: block;
}

.section p {
  position: relative;
  margin-top: 15%;
  z-index: 3;
  padding: 15px;
  border-radius: 10px;
  line-height: 1.6;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes moveUp {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px); /* gentle rise */
  }
  100% {
    transform: translateY(0); /* back down */
  }
}

.horizontal-scroll {
  margin-bottom: 5%;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.horizontal-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.item {
  flex: 0 0 auto;
  width: 350px;
  height: auto;
  margin-right: 5px;
  margin-left: 5px;
  background: rgba(153, 153, 199, 0.132);
  color: white;
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  border-radius: 12px;
  padding: 10px;
  box-sizing: border-box; /* makes padding fit inside */
  overflow: hidden; /* prevents text from spilling outside */
  word-wrap: break-word; /* break long words */
  white-space: normal; /* allow multi-line wrapping */
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

#hero-text {
  width: 85%;
  position: relative;
  grid-area: stack;
  animation-name: slideUp;
  animation-duration: 1.5s;
  z-index: 2;
  text-align: center;
  padding: 0.5em;
}

.item img {
  width: 100%;
  border: 20px;
}

.item p {
  margin-top: 5%;
  position: relative;
}

a.subscribe-btn {
  margin-top: 5%;
  display: inline-block;
  padding: 10px 15px;
  background: linear-gradient(90deg, #0040ff, #001f3f);
  color: white;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

a.subscribe-btn:hover {
  background: linear-gradient(90deg, #001f3f, #0040ff);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 64, 255, 0.4);
}

#hero-text h2 {
  font-size: 5.6rem;
  grid-area: stack;
  -webkit-text-stroke: 3px blue;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  margin-top: 1.5rem;
  font-family: "Bebas Neue", sans-serif;
}

#hero-button {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5em;
}

#hero-button button {
  background-color: #005eff;
  color: white;
  border-radius: 10px;
  border: none;
  padding: 0.8em 2em;
  font-size: 1em;
  animation-duration: 1.5s;
  cursor: pointer;
  transition: all 0.3s ease;
}

#hero-button button:hover {
  background-color: #003fbd;
  box-shadow: 0 0 10px white;
  transform: scale(1.05);
}

h1 {
  text-align: center;
  margin-top: 3%;
}

@media (max-width: 750px) {
  nav ul li {
    margin: 2%;
  }

  .item {
    width: 350px;
    height: auto;
  }

  #search-bar {
    width: 60%;
  }

  .section {
    width: 92%;
  }

  .engage-div {
    margin-top: 15%;
  }

  .engage-t {
    margin-top: 0;
  }

  nav ul {
    gap: 0.5rem;
    width: 100vw;
  }

  .header-socials {
    display: none;
  }

  .header-socials a i {
    font-size: 20px;
  }

  #logo {
    margin: auto;
    height: 10%;
    border: hidden;
    width: 30%;
  }

  #logo img {
    margin-top: 5%;
  }

  #hero {
    height: 50vh;
    background-image: url("images/mob.jpg");
  }
  #hero::before {
    background: rgba(0, 0, 0, 0.6);
  }

  #hero-text {
    margin-top: -5%;
  }

  #hero-text h2 {
    font-size: 3.8rem;
  }
  #hero-text p {
    font-size: 1.6rem;
  }

  .footer-container {
    justify-content: center;
  }
}

#highlights,
#matchdays {
  width: 100%;
  display: flex;
  padding: 5%;
  flex-direction: row;
  flex-wrap: wrap;
  height: auto;
  gap: 2rem;
}
#matchdays {
  width: 100%;
  display: flex;
  padding: 2%;
  flex-direction: row;
  flex-wrap: wrap;
  height: auto;
  gap: 1rem;
}

video {
  width: 100%;
  object-fit: cover;
  height: 100%;
  top: 0;
  right: 0;
  position: absolute;
}

#news {
  width: 100%;
  display: flex;
  padding: 5%;
  flex-direction: row;
  flex-wrap: wrap;
  height: auto;
  gap: 2rem;
}

#new {
  width: 30%;
  position: relative;
  text-align: center;
  height: 50%;
}

#new img {
  position: relative;
  width: 70%;
  height: auto;
  margin: auto;
  top: 0;
}

#new video {
  position: relative;
  width: 100%;
  height: auto;
  margin: auto;
  top: 0;
}

#new p {
  margin-top: 5%;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  text-align: center;
  line-height: 25px;
}

#new p strong {
  font-size: x-large;
  font-family: "Bebas Neue", sans-serif;
  color: #145592;
}

#new button {
  margin-top: 2%;
  display: inline-block;
  background-color: #1e90ff;
  color: white;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.4);
  transition: all 0.3s ease;
}

#new button:hover {
  background-color: #187bcd;
  box-shadow: 0 6px 18px rgba(30, 144, 255, 0.5);
  transform: translateY(-2px);
}

#highlight,
#matchday {
  width: 40%;
  position: relative;
  background-color: black;
  height: 50vh;
}

#matchday {
  width: 40%;
  position: relative;
  background-color: black;
  height: 50vh;
  padding: 2%;
}
/* Footer */
footer {
  background-color: rgba(68, 68, 161, 0.201);
  padding: 2em 0;
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
}

.footer-container {
  margin-top: 5%;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: justify;
  gap: 1.5rem;
}

.footer-sec {
  padding: 20px;
  width: 100%;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.498);
  font-size: 0.75rem;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 20px;
}

.quick-links li a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.498);
}

footer i {
  margin: 0.5em;
  font-size: 1.9rem;
}

#author {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 12px;
}

footer p a {
  text-decoration: none;
}

footer p a:hover {
  color: wheat;
  transition: 0.6s ease-in-out;
}

.newsletter {
  width: 100%;
  max-width: 400px;
  margin: auto;
  padding: 1rem;
  border-radius: 1rem;
}
.newsletter h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0.75rem 0;
}
input[type="email"] {
  padding: 0.7rem 0.8rem;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  font: inherit;
}
input[type="email"]:focus {
  outline: none;
  border-color: #9ca3af;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}
.fineprint {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0.75rem 0 0;
}
button {
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 0.75rem;
  font: 600 1rem/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  cursor: pointer;
}
button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

/*SQUAD*/
#search {
  margin: auto;
  margin-top: 5%;
  text-align: center;
}

#search-bar {
  width: 20%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  font-size: 16px;
  transition: 0.3s ease;
  box-shadow: 0 0 8px rgba(0, 128, 0, 0.1); /* soft green glow */
}

#search-bar:focus {
  border-color: #28a745;
  box-shadow: 0 0 12px rgba(40, 167, 69, 0.3); /* brighter glow on focus */
}

#select-gallery {
  height: 50px;
  width: 90px;
  background-color: #081b33;
  color: white;
  text-align: center;
  margin: 5%;
}

.squad-cards {
  margin-top: 2%;
  height: auto;
  width: auto;
  display: flex;
  text-align: center;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}

.card {
  background-color: rgb(59, 101, 206);
  border-radius: 10px;
  padding: 2%;
  margin: 5%;
  color: black;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  box-shadow: 0 2px 20px rgba(255, 255, 0, 0.5);
  max-width: 250px;
  border-style: none;
  text-overflow: none;
  width: 100%;
  height: auto;
}

.card p {
  display: none;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
}

.card img:hover {
  cursor: pointer;
  transform: translateY(-5px);
  transition: 0.5s ease-in-out;
}

/*RESPONSIVENESS*/

@media (max-width: 750px) {
  #highlights,
  #news,
  #matchdays {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    margin-bottom: 5%;
  }

  #matchdays {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    margin-bottom: 5%;
  }

  #new img {
    height: auto;
    width: 95%;
  }

  #highlight,
  #new,
  #matchday {
    width: 95%;
  }

  .squad-cards {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0;
    text-align: center;
    row-gap: 50px;
  }

  .card {
    margin: auto;
    margin-bottom: 2%;
  }

  .card img {
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
}

/*Player Details*/

#main {
  margin: 3%;
  width: 100%;
  height: 100vh;
}

#Pdetails {
  background-color: transparent;
  font-size: 3rem;
  width: 24%;
  margin-left: 3%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

#Pname,
#Pnumber {
  margin: 0 2%;
}
.buy-btn {
  background-image: linear-gradient(to right, #001f3f, #0040ff);
  color: white;
  padding: 0.8em 2em;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 94, 255, 0.3);
  transition: all 0.3s ease-in-out;
  letter-spacing: 1px;
}

.buy-btn:hover {
  background: #ffffff;
  color: #003fbd;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
  border: 2px solid #003fbd;
}
#Pstats {
  display: flex;
  flex-wrap: wrap;
  z-index: 200;
  margin-left: -2%;
  flex-direction: row;
  margin-top: 3%;
  padding: 2.5em;
  gap: 3rem;
  width: 35%;
  justify-content: justify;
  align-items: justify;
  text-align: center;
  color: white;
}

.stat-box {
  padding: 0.5em;
}

.stat-box p {
  margin-bottom: 0.5em;
  font-size: 1rem;
  color: #ccc;
}

#Page,
#Papps,
#Pgoals,
#Passists,
#MOTM,
#POTM {
  font-size: 2.8rem;
  font-weight: bold;
  color: #e7e7e7;
  font-family: "Poppins", sans-serif;
}

#playerimg {
  margin: auto;
  width: 50%;
  height: 100vh;
}

/* Responsive: stack full width on small screens */
@media (max-width: 750px) {
  #Pstats {
    width: 90%;
    margin: 2em auto;
    float: none;
    margin-top: 60vh;
  }

  .stat-box p {
    font-size: x-large;
  }

  .sponsor-card img {
    width: 70%;
  }

  #Pdetails {
    font-size: x-large;
  }

  .buy-btn {
    padding: 15%;
  }
}

/*FIXTURE */
.fixtures-section {
  padding: 4% 6%;
  background: #081b33; /* deep midnight blue */
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #e4f1ff; /* light icy blue */
}

.fixtures-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 900px;
  margin: auto;
}

.fixture-card {
  background-color: #123456; /* strong muted navy */
  border: 1px solid #1c4e80; /* deep ocean blue */
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 15px rgba(12, 38, 74, 0.4);
  transition: 0.3s ease;
  color: #d6eaff; /* soft text blue */
}

.fixture-card:hover {
  box-shadow: 0 8px 25px rgba(14, 50, 100, 0.5);
}

.teams {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 15px;
}

.team {
  text-align: center;
}

.team img {
  width: 60vh;
  height: 20vh;
  object-fit: contain;
  margin-bottom: 8px;
}

#score {
  font-size: xx-large;
  font-weight: 600;
  color: #f0f6ff;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.fixture-details {
  text-align: center;
}

.fixture-details button {
  padding: 1% 3%;
  background-color: #d0e6ff;
  border: none;
  border-radius: 10px;
  margin-right: 10px;
  cursor: pointer;
}

.fixture-details button a {
  text-decoration: none;
  color: #081b33;
  font-size: large;
  font-weight: 500;
}

.fixture-details button:hover {
  background-color: #7ab8ff;
  transition: 0.4s ease;
}

.vs {
  font-size: 1.2rem;
  font-weight: bold;
  color: #94c9ff;
}

.fixture-details p {
  margin: 4px 0;
  font-size: 0.95rem;
  text-align: center;
  color: #b8d6f5;
}

/*CONTACT*/

.contact-section {
  background-image: url("images/contact.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6% 8%;
  color: #ffffff;
  position: relative;
}
.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.contact-title {
  position: relative;
  z-index: 2;
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 10px;
  color: #69b8ff;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

.contact-subtitle {
  position: relative;
  text-align: center;
  z-index: 2;
  font-size: 1rem;
  margin-bottom: 40px;
  color: #c7dfff;
}

.contact-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.contact-form {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  background-color: rgba(69, 106, 224, 0.05);
  color: #fff;
  font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a0b8d8;
}

.contact-form button {
  padding: 14px;
  background-color: #5ea6ff;
  color: #fff;
  border: none;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #3688e0;
}

.contact-info {
  flex: 1 1 40%;
  background-color: rgba(69, 106, 224, 0.05);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.contact-info img {
  border-radius: 50%;
  border: 2px white solid;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.contact-info p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #cce0f7;
}

#map-loc {
  width: 100%;
  margin: auto;
  text-align: center;
  background-color: #1a324d;
}

#map-loc iframe {
  width: 90%;
  height: 300px;
}

/*SPONSOR DETAILS*/

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin: 2rem 0 1rem;
  font-weight: bold;
}

.sponsor-section {
  padding: 2rem;
}

.sponsor-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
}

.sponsor-card {
  background-color: rgba(12, 3, 131, 0.2);
  border-radius: 12px;
  padding: 2rem;
  padding-bottom: 5vh;
  margin-top: 5%;
  width: 30%;
}

.sponsor-card i {
  font-size: 2.6rem;
  margin-left: 30px;
  position: relative;
  margin-top: 5vh;
}

.sponsor-card i {
  position: relative;
  z-index: 1;
}

.sponsor-card i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border: 2px solid white;
  border-radius: 50%;
  opacity: 1;
  transition: 0.5s ease-in-out;
  z-index: 0;
}

.sponsor-card i:hover::after {
  width: 150%;
  height: 150%;
  opacity: 1;
}

.sponsor-card i:hover {
  transform: translateY(-6px);
  transition: 0.6s ease-in-out;
}

.sponsor-card img {
  width: 50%;
  border-radius: 50%;
  border: 2px solid white;
  animation: heartbeat 2s infinite;
  height: auto;
  object-fit: contain;
}

/* CTA */
.sponsor-cta {
  text-align: center;
  padding: 2rem 1rem;
  background-color: transparent;
  border-radius: 12px;
  max-width: 600px;
  margin: 0 auto 3rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sponsor-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.sponsor-cta p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.cta-button {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background-color: #f3f3f3;
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: rgb(0, 0, 0);
  color: blue;
}

/* Responsive Adjustments */
@media (max-width: 730px) {
  .section-title {
    font-size: 2rem;
  }

  .sponsor-card img {
    width: 100%;
  }
  .sponsor-flex {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    justify-items: center;
  }
  .sponsor-card {
    width: 90%;
  }
  .team img {
    width: 90px;
    height: 70px;
  }
  .team p {
    max-width: 120px;
  }
  .sponsor-card i::after {
    display: none;
  }
}

/* Heartbeat Animation */
@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.1);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.1);
  }
  70% {
    transform: scale(1);
  }
}

/*Kits Page*/

#kit-hero {
  background-color: #a0b8d8;
  width: 97%;
  margin: auto;
  height: auto;
  display: flex;
  gap: 1.7rem;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  padding-bottom: 5%;
}

#kit-header {
  position: relative;
  display: inline-block;
  text-align: center;
  padding-top: 5%;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  font-size: xx-large;
}

#kit-header:after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #ffffff6f;
}

#kit {
  margin-top: 5%;
  width: 100%;
  max-width: 300px;
  border: 2px solid white;
  text-align: center;
  height: 100%;
  max-height: 500px;
  border-radius: 2%;
  padding: 20px;
  box-shadow: 5px 6px 10px rgba(255, 255, 255, 0.3);
}

#kit:hover {
  box-shadow: 7px 8px 15px rgba(255, 255, 255, 0.5);
}

#kit img {
  width: 100%;
  height: 300px;
  border-radius: 15px;
}

#kit img:hover {
  transform: translateY(-9px);
  transition: 0.5s ease-in-out;
}

#kit p {
  margin-top: 5%;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: larger;
}

#kit button {
  margin-top: 10%;
  position: relative;
  overflow: hidden;
  background-color: white;
  color: black;
  border-radius: 10px;
  border: none;
  padding: 10px;
  cursor: pointer;
  transition: color 0.4s ease-in-out;
}

#kit button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: green;
  z-index: 0;
  transition: left 0.4s ease-in-out;
}

#kit button:hover {
  cursor: pointer;
  padding: 15px 25px;
  border-radius: 10px;
  transform: translateY(-10px);
  border-style: none;
  transition: 0.5s ease-in-out;
}

#kit button:hover::before {
  left: 0;
}

#kit button span {
  position: relative;
  z-index: 1;
}
