/* RESET & BASIC STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  color: #333;

  /* Animated gradient background behind everything */
  background: linear-gradient(-45deg, #c8102e, #0052a5, #001f54, #ff6666);
  background-size: 400% 400%;
  animation: gradientBG 12s ease infinite;
  position: relative;
  min-height: 100vh;
}

/* Animated gradient keyframes */
@keyframes gradientBG {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* FLOATING BUBBLES (background) */
.bubble {
  position: absolute;
  bottom: -200px;
  border-radius: 50%;
  opacity: 0.8;
  animation: floatBubbles 15s linear infinite;
  box-shadow: 0 8px 15px rgba(255, 255, 255, 0.2);
  z-index: 1; /* behind content, in front of gradient */
}

@keyframes floatBubbles {
  0%   { transform: translateY(0) scale(1); }
  50%  { transform: translateY(-500px) scale(1.1); }
  100% { transform: translateY(-1000px) scale(1); }
}

.bubble1 { width: 150px; height: 150px; left: 10%;  background: rgba(255,255,255,0.15); }
.bubble2 { width: 200px; height: 200px; left: 30%;  background: rgba(255,255,255,0.25); animation-delay: 3s; }
.bubble3 { width: 100px; height: 100px; left: 50%;  background: rgba(255,255,255,0.10); animation-delay: 6s; }
.bubble4 { width: 180px; height: 180px; left: 70%;  background: rgba(255,255,255,0.20); animation-delay: 2s; }
.bubble5 { width: 130px; height: 130px; left: 85%;  background: rgba(255,255,255,0.30); animation-delay: 4s; }

/* LAYOUT WRAPPERS */
header,
main,
footer {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 1em 2em;
  position: relative;
  z-index: 5;
}

/* LOGO + TITLE CONTAINER */
.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75em;
}

/* Adjust the logo size as needed */
.team-logo {
  height: 50px;
  width: auto;
}

/* HEADER (TOP BAR) */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  flex-wrap: wrap;
  gap: 1em;
}

header h1 {
  font-size: 1.8rem;
  cursor: default;
  flex-shrink: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.5em;
  flex-wrap: wrap;
}

/* NAV LINKS */
nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.3s ease;
}

nav a:hover {
  transform: scale(1.1);
}

/* NAV BUTTONS */
nav button {
  background-color: #fff;
  color: #c8102e;
  border: none;
  padding: 0.5em 1em;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.3s ease;
}

nav button:hover {
  background-color: #f1f1f1;
  transform: translateY(-2px) scale(1.05);
}

/* HERO SECTION
   Updated background to background.png and scaled to cover */
.hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  position: relative;

  background: url('images/background.png') center/cover no-repeat;
  background-size: cover;

  margin-bottom: 2em;
  border-radius: 50px;
  padding: 2em;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 0.5em;
}

.hero p {
  max-width: 700px;
  font-size: 1.2rem;
  margin-bottom: 1.5em;
}

.hero button {
  background-color: #fff;
  color: #c8102e;
  border: none;
  padding: 0.75em 1.5em;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.hero button:hover {
  background-color: #f1f1f1;
  transform: translateY(-2px) scale(1.05);
}

/* MAIN CONTENT SECTIONS */
main section {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50px;
  padding: 2em;
  margin-bottom: 2em;
  box-shadow: none;
  z-index: 5;
}

section h3 {
  color: #c8102e;
  margin-bottom: 1em;
  font-size: 1.8rem;
  text-align: center;
}

.content-block {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  align-items: center;
  justify-content: center;
}

.text {
  flex: 1;
  min-width: 300px;
}

.image {
  flex: 1;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image img {
  height: 300px;
  border-radius: 15px; /* Rounded rectangles for images */
  border: 4px solid #c8102e;
  transition: transform 0.6s ease;
}

.image img:hover {
  transform: scale(1.05) rotate(1deg);
}

section ul {
  list-style: none;
  margin-top: 1em;
  padding-left: 0;
}

section li {
  margin: 0.5em 0;
  padding-left: 2em;
  position: relative;
}

section li::before {
  content: "•";
  color: #0052a5;
  position: absolute;
  left: 0;
}

/* FOOTER */
footer {
  text-align: center;
  color: #fff;
  margin-bottom: 2em;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* MEDIA QUERIES */
@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
  }

  .hero h2 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}