/* ===========================
   GLOBAL RESET
   =========================== */
*, *::before, *::after {
  box-sizing: border-box;
}

/* ===========================
   HEADER & FOOTER VISIBILITY
   =========================== */
.desktop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px;
  background-color: #24304a;
}
.tablet-header,
.mobile-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px;
  background-color: #24304a;
}
.desktop-footer {
  background-color: #ffd700;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tablet-footer,
.mobile-footer {
  background-color: #ffd700;
  padding: 15px;
  display: none;
  justify-content: space-between;
  align-items: center;
}

/* ===========================
   MEDIA QUERIES
   =========================== */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .desktop-header,
  .desktop-footer,
  .mobile-header,
  .mobile-footer {
    display: none;
  }
  .tablet-header,
  .tablet-footer {
    display: flex;
  }
}
@media screen and (max-width: 767px) {
  .desktop-header,
  .desktop-footer,
  .tablet-header,
  .tablet-footer {
    display: none;
  }
  .mobile-header,
  .mobile-footer {
    display: block;
  }
}

/* ===========================
   GENERAL BODY STYLING
   =========================== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #24304a;
  color: #f2f2f2;
}

/* ===========================
   LOGO STYLING
   =========================== */
.desktop-logo img {
  height: 40px;
}
.tablet-logo img {
  height: 30px;
}
.visually-hidden {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ===========================
   DESKTOP NAVIGATION
   =========================== */
.desktop-menu {
  display: flex;
}
.desktop-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
}
.desktop-menu a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  padding: 5px;
}
.desktop-menu a:hover {
  background-color: #38446d;
}
.desktop-menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #24304a;
  padding: 10px;
  list-style: none;
  border-radius: 5px;
  z-index: 1000;
  white-space: nowrap;
}
.desktop-menu li:hover > ul {
  display: block;
}
.desktop-menu li ul li a {
  color: white;
  text-decoration: none;
  padding: 5px 10px;
  display: block;
}
.desktop-menu li ul li a:hover {
  background-color: #38446d;
}

/* ===========================
   TABLET NAVIGATION
   =========================== */
.tablet-menu {
  position: relative;
}
.tablet-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 5px;
}
.tablet-menu a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  padding: 5px;
}
.tablet-menu a:hover {
  background-color: #38446d;
}
.tablet-menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #24304a;
  padding: 10px;
  list-style: none;
  border-radius: 5px;
  z-index: 1000;
  white-space: nowrap;
}
.tablet-menu li:hover > ul {
  display: block;
}
.tablet-menu li ul li a {
  color: white;
  text-decoration: none;
  padding: 5px 10px;
  display: block;
}
.tablet-menu li ul li a:hover {
  background-color: #38446d;
}

/* ===========================
   MOBILE NAVIGATION
   =========================== */
.mobile-menu-container {display: flex;justify-content: space-between;align-items: center;padding: 10px;}
.mobile-logo {width: auto;height: 25px;}
.mobile-menu-wrapper {display: flex;flex-direction: column;position: relative;}
.mobile-hamburger {cursor: pointer;width: 32px;height: 25px;display: flex;flex-direction: column;justify-content: space-between;}
.mobile-hamburger div {width: 100%;height: 5px;background-color: white;}
.mobile-menu {display: none;flex-direction: column;background-color: #24304a;width: 250px;position: absolute;top: 32px;right: 0;z-index:9999;}
.mobile-menu a {text-decoration: none;color: white;padding: 10px;display: block;background-color: #384366;
                text-align: center;border-bottom: 1px solid #586286;}
.mobile-menu a:last-child {border-bottom: none;}
#mobile-menu-toggle {display: none;}
#mobile-menu-toggle:checked ~ .mobile-menu {display: flex;}
.mobile-submenu-container {border-bottom:1px solid #586286;}
.mobile-submenu {display: none;flex-direction: column;background-color: #24304a;padding: 5px;}
.mobile-submenu a {background-color: #384366;white-space: nowrap;padding: 5px;display: block;border-bottom: 1px solid #586286;}
.mobile-submenu a:last-child {border-bottom: none;}
.mobile-submenu-toggle {cursor: pointer;display: block;padding: 10px;background-color: #384366;text-align: center;color: white;}
#mobile-submenu-toggle {display: none;}
#mobile-submenu-toggle:checked ~ .mobile-submenu {display: flex;}

.desktop-image-container {position: relative;width: 100%;max-width: 1200px;margin: 0 auto;}
.tablet-image-container {position: relative;width: 100%;max-width: 768px;margin: 0 auto;}
.mobile-image-container {position: relative;width: 100%;max-width: 640px;margin: 0 auto;}





/* ===========================
   AWARD IMAGE SECTION
   =========================== */
#award-image-section {
  width: 100%;
  margin: 0 auto;
}
.image-container {
  width: 100%;
}
.background-image {
  width: 100%;
  height: auto;
  display: block;
}

/* ===========================
   AWARD SECTION STYLING
   =========================== */
.award-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 1rem auto;
  padding: 0 1rem;
  gap: 2rem;
}
.award-info,
.award-form {
  flex: 1 1 100%;
  max-width: 100%;
}
@media screen and (min-width: 768px) {
  .award-info {
    flex: 1 1 55%;
    max-width: 55%;
  }
  .award-form {
    flex: 1 1 40%;
    max-width: 40%;
  }
}
.award-info {
  font-size: 1.1rem;
  line-height: 1.6;
}
.award-form {
  background-color: #1c1c1c;
  padding: 2rem;
  border-radius: 8px;
  border: 3px solid #fff;
  color: #fff;
}
.award-form h3 {
  font-size: 1.4rem;
  color: #ffd700;
  margin-top: 0;
}
.award-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.award-form input,
.award-form textarea,
.award-form select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f9f9f9;
  color: #000;
}
.award-form button {
  padding: 0.75rem 1.5rem;
  background-color: #ffd166;
  color: #000;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}
.award-form button:hover {
  background-color: #ffb700;
}
.award-form .form-group {
  margin-bottom: 0.7rem;
}

/* ===========================
   Divider Styling
   =========================== */
.award-divider-image {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  gap: 1rem;
}
.award-divider-image::before,
.award-divider-image::after {
  content: "";
  flex: 1;
  height: 2px;
  background-color: #6ea0ff;
}
.award-divider-image img {
  height: 32px;
  width: auto;
}

/* ===========================
   Link Styling
   =========================== */
.award-link {
  color: #ffd166;
  text-decoration: none;
  font-weight: bold;
}
.award-link:hover {
  text-decoration: underline;
}


.thank-you-postcard {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  min-height: 100vh;
  background-color: #24304a;
}

.postcard-container {
  position: relative;
  width: 600px;
  max-width: 100%;
  margin: 0 auto;
}

.postcard-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.postcard-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 8px;

}

.postcard-overlay h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ffd700;
}

.postcard-overlay p {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.reference-id {
  font-weight: bold;
  margin-top: 1rem;
  color: #ffd166;
}

.return-link {
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #ffd166;
  color: #000;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.return-link:hover {
  background-color: #ffb700;
}

/* Tablet */
@media screen and (max-width: 1023px) {
  .postcard-container {
    width: 600px;
  }

  .postcard-overlay {
    padding: 1.5rem;
  }

  .postcard-overlay h3 {
    font-size: 1.6rem;
  }

  .postcard-overlay p {
    font-size: 1rem;
  }
}

/* Mobile */
@media screen and (max-width: 767px) {
  .postcard-container {
    width: 300px;
  }

  .postcard-overlay {
    padding: 1rem;
  }

  .postcard-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .postcard-overlay p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  .reference-id {
    font-size: 0.85rem;
    margin-top: 0.5rem;
  }

  .return-link {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
  }
}


  .thank-you-postcard {
    padding-top: 0.5rem;
    padding-bottom: 1rem;
    min-height: auto;
  }

  .postcard-container {
    margin-top: 0;
  }

  header, .site-header {
    margin-bottom: 0;
  }
}