/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Jost', sans-serif;
  margin: 0;
  padding: 0;
  /* background: url('img/bg.png') no-repeat center center fixed; */
  background-color: #bad2f5;
  background-size: cover;
  color: #333;
}

/* Navbar */
header {
  background-color: #fff;
  /* Same dark blue as intro background */
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
  /* Remove default gap */
}

/* Intro Section */
.intro {
  background-color: #0b2944;
  /* Same dark blue */
  color: #ffffff;
  text-align: center;
  padding: 20px;
  margin: 10px;
  /* No margin between navbar and intro */
  border-radius: 100px 0;
  /* Remove rounded corners for a seamless look */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.intro-container {
  max-width: 800px;
  margin: 0 auto;
}

.intro h1 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
  text-transform: uppercase;
  border-bottom: 2px solid #ffd700;
  display: inline-block;
  padding-bottom: 5px;
}

.intro p {
  font-size: 18px;
  line-height: 1.6;
  margin-top: 20px;
  color: #ffffff;
}

/* Logo and Nav Styling */
.logo {
  font-size: 24px;
  font-weight: bold;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  background-color: #4682b4;
  /* Steel blue */
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

nav ul li a:hover {
  background-color: #ffd700;
  /* Cadet blue */
}

main {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 10px;
  min-height: 80vh;
}

.intro,
.support-info {
  margin-bottom: 40px;
  padding: 20px;
  border-radius: 10px;
  background-color: none;
  /* Add a semi-transparent background for readability */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1,
h2 {
  color: #2e8b57;
  /* Sea green */
}

.brand-buttons {
  display: flex;
  justify-content: space-evenly;
  margin: 20px 0;
}

.brand-buttons button {
  width: 100px;
  height: 100px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 100%;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.1s ease, transform 0.1s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  flex-direction: column;
  background: none;
}

.brand-buttons button img {
  width: 100px;
  height: 100px;
  border-radius: 150%;
  object-fit: cover;
  background: none;
  box-shadow: 2px 2px 5px rgba(142, 6, 6, 0.5),
    -2px -2px 5px rgba(179, 7, 7, 0.5);
}

.brand-buttons button .tick-mark {
  display: none;
  position: absolute;
  top: -10px;
  /* Position above the button */
  color: #28a745;
  /* Green color for tick mark */
  font-size: 18px;
  font-weight: bold;
}

.brand-buttons button.selected .tick-mark {
  display: block;
}

.brand-buttons button:hover {
  background-color: #0056b3;
  transform: scale(1.1);
  /* Slightly enlarge on hover */
}

.next-button-container {
  display: flex;
  justify-content: center;
  /* Center the button horizontally */
  margin: 20px 0;
}

.next-button {
  display: inline-block;
  width: auto;
  padding: 10px 20px;
  background-color: #dc3545;
  /* Red */
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  position: relative;
  align-items: center;
}

.next-button::after {
  content: '→';
  /* Arrow symbol */
  margin-left: 10px;
  font-size: 16px;
}

.next-button:hover {
  background-color: #0c0b0b;
  transform: scale(1.05);
  /* Slightly enlarge on hover */
}

footer {
  background-color: #060606;
  /* Tomato color */
  color: white;
  text-align: center;
  padding: 10px 0;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

footer a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  transition: text-decoration 0.3s ease;
}

footer a:hover {
  text-decoration: underline;
  color: red;
}

/* Media Queries */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .brand-buttons {
    flex-wrap: wrap;
    gap: 15px;
  }

  .brand-buttons button {
    width: 80px;
    height: 80px;
  }

  .brand-buttons button img {
    width: 80px;
    height: 80px;
  }

  .next-button {
    font-size: 14px;
    padding: 8px 15px;
  }

  .intro h1 {
    font-size: 28px;
  }

  .intro p {
    font-size: 16px;
  }

  footer {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .brand-buttons button {
    width: 60px;
    height: 60px;
  }

  .brand-buttons button img {
    width: 60px;
    height: 60px;
  }

  .intro h1 {
    font-size: 24px;
  }

  .intro p {
    font-size: 14px;
  }

  .next-button {
    font-size: 12px;
    padding: 6px 10px;
  }
}
