body {
  margin: 0;
  font-family: Arial, sans-serif;
  xbackground: linear-gradient(to bottom right, #b22234, #ff6666);
  background: #B22234;
background: radial-gradient(circle, rgba(178, 34, 52, 1) 0%, rgba(242, 109, 109, 1) 50%, rgba(148, 22, 22, 1) 100%);
}

header {
  text-align: center;
  padding: 40px 0px 0px;
  color: white;
}

a {
	text-decoration: none;
}

.logo {
  width: 80%;
  max-width: 400px;
  height: auto;
  margin: 0 auto 10px;
  display: block;
  opacity: 0;
  transform: scale(0.8);
  animation: fadeInScale 1s ease forwards;
  border-radius: 12px;
}

.logo-myaccount {
  width: 80%;
  max-width: 200px;
  height: auto;
  margin: 0 auto 10px;
  display: block;
  opacity: 0;
  transform: scale(0.8);
  animation: fadeInScale 1s ease forwards;
  border-radius: 12px;
}

@keyframes fadeInScale {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.content-container {
  background: white;
  margin: 0 auto;
  max-width: 1000px;
  padding: 20px;
  position: relative;
  border-radius: 12px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f0f0f0;
  min-height: 70px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.navbar ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-grow: 1;
}

.navbar li {
  margin: 0 10px;
}

.navbar a {
  text-decoration: none;
  color: #800020;
  font-weight: bold;
  padding: 10px 16px;
  border-radius: 6px;
  background-color: #f8f8f8;
  transition: all 0.3s ease;
}

.navbar a:hover {
  background-color: #ffd6d6;
  color: #b22222;
}

.navbar a.active {
  background-color: #800020;
  color: white;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-right: 15px;
    order: -1; /* moves to the start of the flex row */

}

.hamburger span {
  background: #800020;
  height: 3px;
  width: 25px;
  margin: 4px 0;
}

.section {
  padding: 50px 0;
  text-align: center;
}

.divider {
  border-top: 1px solid #ccc;
  margin: 20px 0;
}

.slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
}

.slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 1s ease;
}

.slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.caption {
  position: absolute;
  bottom: 10px;
  left: 20px;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 5px;
  font-size: 1rem;
}

footer {
  text-align: center;
  padding: 30px 20px;
  color: white;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: center;
}

.logo-grid a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 200px;
  border: 3px solid #f5b5b5; /* Light red border around each cell */
  border-radius: 12px;
  padding: 10px;
  box-sizing: border-box;
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-grid a:hover {
  transform: scale(1.03);
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.1);
}

.logo-grid img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}







.logo-grid img:hover {
  transform: scale(1.05);
}


@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: stretch;
  }

  .navbar ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #f0f0f0;
    position: absolute;
    top: 70px;
    left: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .navbar ul.active {
    display: flex;
  }

  .navbar ul li {
    margin: 10px 0;
    text-align: left;
  }

  .hamburger {
    display: flex;
    align-self: flex-end;
  }
}

.animated-title {
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeSlideIn 1s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animated-title-slam {
  animation: slamDrop 1s ease-out forwards;
  transform-origin: top center;
}

@keyframes slamDrop {
  0% {
    opacity: 0;
    transform: scale(2) translateY(-100px) rotateX(45deg);
  }
  60% {
    opacity: 1;
    transform: scale(1.05) translateY(10px) rotateX(0deg);
  }
  80% {
    transform: scale(0.98) translateY(-5px);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

.animated-title-wiggle {
  display: inline-block;
  animation: flagWiggle 2s ease-out forwards;
  transform-origin: left center;
}

@keyframes flagWiggle {
  0%   { transform: rotate(0deg); }
  10%  { transform: rotate(3deg); }
  20%  { transform: rotate(-3deg); }
  30%  { transform: rotate(3deg); }
  40%  { transform: rotate(-2deg); }
  50%  { transform: rotate(2deg); }
  60%  { transform: rotate(-1deg); }
  70%  { transform: rotate(1deg); }
  80%, 100% { transform: rotate(0deg); }
}

