body {
  background: #0a1536;
  color: #1a2340;
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
}

header {
  width: 100%;
  background: #f9f9f9;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 1.5rem 0;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: block;
  margin: 0 0 0 2.5rem;
  max-width: 100px;
  height: auto;
}

nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2.5rem;
  font-size: 1.1rem;
  margin-top: 0;
  margin-right: 2.5rem;
}

main {
  max-width: 1200px;
  margin: 0 auto 2.5rem auto; /* add bottom margin for yellow gap */
  padding: 2.5rem 1.5rem 2.5rem 1.5rem;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px rgba(0,0,0,0.07);
  min-height: 70vh;
}

@media (max-width: 100px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
  }
  .logo {
    margin: 0 0 0 0.5rem;
  }
  nav {
    margin-right: 0.5rem;
    gap: 1.2rem;
  }
  main {
    padding: 1.5rem 0.5rem;
    border-radius: 0.5rem;
  }
}

nav a {
  color: #1a2340;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover {
  color: #1e90ff;
}

/* Highlight active menu item */
nav a.active {
  background: #0a1536; /* dark navy blue */
  color: #fff !important;
  border-radius: 0.5rem;
  padding: 0.4rem 1.1rem;
  transition: background 0.2s, color 0.2s;
}
nav a.active:hover {
  background: #16204a; /* slightly lighter navy blue for hover */
  color: #fff !important;
  transition: background 0.2s, color 0.2s;
}

/* Modal (form) style: modern, centered, with shadow and rounded corners */
.wide-form {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 6px 32px rgba(10,21,54,0.18);
  max-width: 420px;
  margin: 2.5rem auto;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

/* Contact and registration forms: same style */
.wide-form, .contact-form {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: #f3f7ff;
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(30,144,255,0.07);
}

/* Footer: dark navy blue background, white text */
footer {
  background: #0a1536;
  color: #fff;
  margin-top: 0;
  /* Remove any margin-bottom or set to 0 */
}
.footer-columns h4,
.footer-columns a,
.footer-bottom,
.footer-credits a {
  color: #fff !important;
}
.footer-columns a:hover {
  color: #ffd600 !important;
}
.footer-bottom {
  border-top: 1px solid #22305a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.3rem 1.5rem 0.3rem 1.5rem; /* reduced vertical padding */
  background: #0a1536;
  color: #fff;
  font-size: 1rem;
}
.footer-bottom .footer-copyright {
  margin: 0;
}
.footer-bottom .footer-credits {
  margin: 0;
}
@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.7rem 0.7rem;
  }
}

/* Compact and sleek form styles for all forms */
.wide-form {
  max-width: 480px;
  margin: 0 auto;
  padding: 1.5rem 1.2rem;
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(30,144,255,0.10);
  background: #fafdff;
  gap: 1rem;
}
.wide-form label,
.wide-form fieldset {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}
.wide-form input[type="text"],
.wide-form input[type="email"],
.wide-form input[type="tel"] {
  padding: 0.6rem 0.9rem;
  font-size: 1rem;
  border-radius: 0.4rem;
}
.wide-form button[type="submit"] {
  max-width: 160px;
  padding: 0.7rem 0;
  font-size: 1rem;
  border-radius: 0.5rem;
  margin-top: 0.8rem;
}
.wide-form fieldset {
  padding: 0.7rem 0.7rem 0.4rem 0.7rem;
  border-radius: 0.5rem;
  margin-bottom: 0.7rem;
}
.form-image-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.portrait-container {
  display: flex;
  justify-content: center;
}
.portrait-container img {
  max-width: 140px;
  border-radius: 0.7rem;
  box-shadow: 0 2px 8px rgba(30,144,255,0.10);
}
@media (max-width: 768px) {
  .contact-main-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }
  .contact-info, .contact-side {
    padding: 1.5rem;
  }
  .wide-form {
    max-width: 100%;
    padding: 1rem 0.5rem;
  }
  .portrait-container img {
    max-width: 120px;
  }
  .contact-social {
    justify-content: center;
  }
}

.partner-label {
  display: none;
}

/* Show partner label when needed via JS */

/* Heading and List Spacing */
h3 {
  margin-bottom: 0.5rem; /* Reduced space after h3 headers */
}

h3 + ul {
  margin-top: 0; /* Remove top margin from ul elements that follow h3 */
}

/* Rules & Regulations page certification styling */
.rules-list {
  margin: 2rem 0 2.5rem 2rem;
  font-size: 1.13rem;
  color: #1a2340;
  line-height: 1.7;
  padding-left: 1.5rem;
}
.rules-certify {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.08rem;
  font-weight: 500;
  margin: 2rem 0 1.5rem 0;
  color: #1e90ff;
}
.rules-certify input[type="checkbox"] {
  accent-color: #1e90ff;
  width: 1.2em;
  height: 1.2em;
}
.main-btn {
  background: #c40000;
  color: #fff;
  border: none;
  border-radius: 0.7rem;
  padding: 1rem 0;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1.2rem;
  box-shadow: 0 2px 8px rgba(30,144,255,0.08);
  transition: background 0.2s, color 0.2s;
  width: 100%;
  max-width: 220px; /* reduced from 350px */
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.main-btn:hover {
  background: #7a0000;
  color: #fff;
}

/* Save for Later button */
.main-btn.save-later {
  margin-top: 0.7rem;
  background: #ffd600;
  color: #0a1536;
}

/* Clear Saved Data button */
.main-btn.clear-saved {
  margin-top: 0.7rem;
  background: #eee;
  color: #0a1536;
}

/* Carousel styles */
.carousel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 480px;
  min-height: 340px;
  aspect-ratio: 16/7;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 4px 24px rgba(30,144,255,0.10);
  background: #eaf3ff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.2s cubic-bezier(0.77,0,0.175,1);
  background: #fff;
  border-radius: 0.7rem;
}
.carousel-img.active {
  opacity: 1;
  z-index: 2;
  transition: opacity 1.2s cubic-bezier(0.77,0,0.175,1);
}
@media (max-width: 1200px) {
  .carousel {
    max-width: 98vw;
    height: 38vw;
    min-height: 180px;
    aspect-ratio: 16/7;
  }
  .carousel-img {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    object-fit: contain;
  }
}
@media (max-width: 700px) {
  .carousel {
    height: 48vw;
    min-height: 140px;
    aspect-ratio: 16/10;
  }
  .carousel-img {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    object-fit: contain;
  }
}

/* About Us profiles layout */
.profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  margin: 3rem 0 2rem 0;
}
.profile-card {
  background: #fafdff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(30,144,255,0.07);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  max-width: 270px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s;
}
.profile-card:hover {
  box-shadow: 0 6px 24px rgba(30,144,255,0.13);
}
.profile-card img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.1rem;
  border: 3px solid #1e90ff;
}
.profile-card h3 {
  margin: 0.5rem 0 0.2rem 0;
  font-size: 1.18rem;
  color: #1a2340;
}
.profile-card p {
  font-size: 1.02rem;
  color: #7a8ca3;
  margin: 0.2rem 0 0 0;
}
@media (max-width: 900px) {
  .profiles {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .profile-card {
    max-width: 98vw;
  }
}

/* Gallery grid layout */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0 2rem 0;
  justify-items: center;
}
.gallery img {
  width: 100%;
  max-width: 170px;
  height: 120px;
  object-fit: cover;
  border-radius: 0.7rem;
  box-shadow: 0 2px 8px rgba(30,144,255,0.10);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.gallery img:hover {
  transform: scale(1.07);
  box-shadow: 0 6px 18px rgba(30,144,255,0.18);
}
@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .gallery {
    grid-template-columns: 1fr;
  }
  .gallery img {
    max-width: 98vw;
    height: 28vw;
  }
}

/* --- GALLERY CAPTIONS --- */
.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}
.gallery-caption {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #1a2340;
  font-style: italic;
  text-align: center;
}
@media (max-width: 900px) {
  .gallery-caption {
    max-width: 98vw;
  }
}
@media (max-width: 600px) {
  .gallery-caption {
    max-width: 98vw;
    font-size: 0.98rem;
  }
}

/* --- GALLERY MODAL CAPTION --- */
.album-caption {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #1a2340;
  text-align: center;
}

/* About Us main container and side profiles */
.about-main-container {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}
.about-info {
  flex: 2;
}
.about-side {
  flex: 1;
  background: #fafdff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(30,144,255,0.07);
  padding: 2rem 1.2rem 1.2rem 1.2rem;
  min-width: 180px;
  max-width: 260px;
  text-align: center;
}
.about-side h3 {
  margin-bottom: 1.2rem;
  color: #1e90ff;
  font-size: 1.13rem;
}
.side-profiles {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  align-items: center;
}
.side-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f3f7ff;
  border-radius: 1rem;
  padding: 1.1rem 1rem 0.7rem 1rem;
  box-shadow: 0 1px 4px rgba(30,144,255,0.07);
  width: 100%;
  max-width: 170px;
}
.side-profile img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 1rem;
  border: 2px solid #ffd600;
  box-shadow: 0 2px 8px rgba(30,144,255,0.10);
  margin-bottom: 0.7rem;
}
.side-profile strong {
  color: #1a2340;
  font-size: 1.08rem;
  display: block;
  margin-bottom: 0.2rem;
}
.side-profile span {
  color: #7a8ca3;
  font-size: 0.98rem;
}
@media (max-width: 900px) {
  .side-profiles {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.1rem;
    justify-content: center;
  }
  .side-profile {
    max-width: 45vw;
    min-width: 120px;
  }
}

/* Sponsors and partners: center logos */
.sponsor-logos, .partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin: 2rem 0 1.5rem 0;
}
.sponsor-logos img, .partner-logos img {
  width: 120px;
  height: 70px;
  max-width: 120px;
  max-height: 70px;
  min-width: 120px;
  min-height: 70px;
  object-fit: contain;
  background: #fff;
  border-radius: 0.7rem;
  box-shadow: 0 1px 4px rgba(30,144,255,0.07);
  padding: 0.5rem 1rem;
  margin: 0 0.5rem 0.5rem 0;
}
@media (max-width: 700px) {
  .sponsor-logos img, .partner-logos img {
    width: 80vw;
    max-width: 80vw;
    min-width: 0;
    height: 50px;
    max-height: 50px;
    min-height: 50px;
  }
}

/* Hero and H1 styling */
.hero h1 {
  text-align: center;
  font-size: 2.3rem;
  font-weight: 700;
  color: #1e90ff;
  margin-bottom: 1.2rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a2340;
  margin-bottom: 1.2rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero.compact-hero {
  min-height: 480px;
  height: 480px;
  max-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem 2.5rem 1.5rem;
  margin: 0 auto 2.5rem auto;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px rgba(0,0,0,0.07);
  max-width: 1200px;
}
@media (max-width: 1200px) {
  .hero.compact-hero {
    max-width: 98vw;
    border-radius: 1rem;
    padding: 1.5rem 0.5rem 1.5rem 0.5rem;
  }
}

/* Hero buttons styling */
.hero-buttons {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2.5rem;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  pointer-events: none;
}
.hero-btn {
  background: #140151;
  color: #fff;
  border: none;
  border-radius: 0.7rem;
  padding: 1rem 2.2rem;
  font-size: 1.18rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(30,144,255,0.08);
  transition: background 0.2s, color 0.2s;
  margin: 0 0.5rem;
  text-decoration: none;
  display: inline-block;
}
.hero-btn:hover {
  background: #1e90ff;
  color: #140151;
}
.hero-buttons .main-btn,
.hero-buttons .sponsor-btn {
  background: #c40000;
  color: #fff;
  border: none;
  border-radius: 0.7rem;
  padding: 1rem 0;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(30,144,255,0.08);
  transition: background 0.2s, color 0.2s;
  width: 100%;
  max-width: 220px; /* reduced from 350px */
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-decoration: none;
}
.hero-buttons .main-btn:hover,
.hero-buttons .sponsor-btn:hover {
  background: #7a0000;
  color: #fff;
}

/* Ensure hero buttons are clickable and above overlays */
.hero-buttons a {
  pointer-events: auto !important;
  z-index: 100 !important;
  position: relative;
}

/* News main container and announcements (same layout as About Us) */
.news-main-container {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}
.news-info {
  flex: 2;
}
.blog-side {
  flex: 1;
  background: #fafdff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(30,144,255,0.07);
  padding: 2rem 1.2rem 1.2rem 1.2rem;
  min-width: 180px;
  max-width: 260px;
  text-align: center;
}
.blog-side h3 {
  margin-bottom: 1.2rem;
  color: #1e90ff;
  font-size: 1.13rem;
}
.side-announcements {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: center;
}
.announcement {
  background: #f3f7ff;
  border-radius: 1rem;
  padding: 1.1rem 1rem 0.7rem 1rem;
  box-shadow: 0 1px 4px rgba(30,144,255,0.07);
  width: 100%;
  max-width: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.announcement img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 1rem;
  border: 2px solid #ffd600;
  box-shadow: 0 2px 8px rgba(30,144,255,0.10);
  margin-bottom: 0.7rem;
}
.announcement strong {
  color: #1a2340;
  font-size: 1.08rem;
  display: block;
  margin-bottom: 0.2rem;
}
.announcement span {
  color: #7a8ca3;
  font-size: 0.98rem;
}
.announcement a {
  color: #1e90ff;
  text-decoration: none;
}
.announcement a:hover {
  text-decoration: underline;
}
@media (max-width: 900px) {
  .blog-main-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  .blog-side {
    max-width: 98vw;
    min-width: 0;
    margin-top: 1.5rem;
  }
}

/* Blog story layout: text beside image, then under image on wrap; image modal */
.main-stories {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}
.story {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: #fafdff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(30,144,255,0.07);
  padding: 1.5rem 1.2rem;
  position: relative;
  flex-wrap: wrap;
}
.story img {
  width: 180px;
  height: 270px;  /* Changed to achieve 2:3 aspect ratio */
  object-fit: cover;
  border-radius: 1rem;
  border: 2px solid #ffd600;
  box-shadow: 0 2px 8px rgba(30,144,255,0.10);
  cursor: pointer;
  flex-shrink: 0;
}
.story-content {
  flex: 1;
  min-width: 180px;
}
@media (max-width: 700px) {
  .story {
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.5rem;
  }
  .story img {
    width: 98vw;
    height: 147vw;  /* Changed to maintain 2:3 aspect ratio (98 * 1.5 = 147) */
    margin-bottom: 0.7rem;
  }
  .story-content {
    width: 100%;
  }
}

/* News image modal */
.news-img-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(30,34,64,0.85);
  align-items: center;
  justify-content: center;
}
.blog-img-modal.active {
  display: flex;
}
.blog-img-modal-content {
  position: relative;
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 4px 32px rgba(30,144,255,0.18);
  padding: 1.5rem 2rem 2rem 2rem;
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.blog-img-modal-img {
  width: 60vw;
  max-width: 600px;
  height: 50vh;
  object-fit: contain;
  border-radius: 0.7rem;
  background: #f3f7ff;
}
.blog-img-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2.2rem;
  color: #1a2340;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
}
@media (max-width: 700px) {
  .blog-img-modal-content {
    padding: 0.5rem 0.2rem 1rem 0.2rem;
  }
  .blog-img-modal-img {
    width: 95vw;
    height: 30vh;
  }
}

/* Contact form matches registration/sponsor form */
.contact-form {
  max-width: 800px;  /* Increased from 700px */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: #f5f5f5;  /* Light grey background */
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.contact-form label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333333;  /* Darker text for contrast */
  margin-bottom: 0.3rem;
  text-align: left;
  letter-spacing: 0.02em;
}
.contact-form .form-row {
  margin-bottom: 0.8rem;  /* Reduced from default */
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  margin-top: 0.2rem;
  padding: 0.8rem 1rem;
  border: 1px solid #dedede;
  border-radius: 0.6rem;
  font-size: 1rem;
  background: #ffffff;
  color: #333333;
  transition: all 0.2s;
  min-width: 300px;  /* Ensures minimum width */
}
.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form textarea::placeholder {
  color: #999999;
  opacity: 1;
}
.contact-form input:focus, .contact-form textarea:focus {
  border: 1px solid #1e90ff;
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(30,144,255,0.1);
}
.contact-form button[type="submit"] {
  background: #1e90ff !important;
  color: #fff;
  border: none;
  border-radius: 0.7rem;
  padding: 1rem 0;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  max-width: 220px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: background 0.2s;
}
.contact-form button[type="submit"]:hover {
  background: #1873cc !important;
  color: #fff;
}

.register-link {
  text-decoration: none;
  display: inline-block;
}

#registrationSection {
  display: none;
}

/* Contact page two-column layout and social icons */
.contact-main-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}
.contact-info {
  background: #fff;
  padding: 2rem;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(30,144,255,0.07);
}
.contact-side {
  background: #2c3e50;  /* Dark gray background */
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  padding: 2rem;
  min-width: 180px;
  text-align: left;
}
.contact-details {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem 0;
  font-size: 1.08rem;
  color: #1a2340;
}
.contact-details li {
  margin-bottom: 0.7rem;
}
.interactive-header {
  color: #1e90ff;
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  font-weight: 600;
}
.contact-social {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  align-items: center;
  margin: 1.5rem 0;
}
.social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #fff;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(30,144,255,0.15);
  transition: transform 0.2s, background-color 0.2s;
}
.social-icon:hover {
  transform: scale(1.1);
  background-color: #f0f8ff;
}
.social-icon:hover {
  transform: scale(1.1);
}
.social-icon img {
  width: 20px;
  height: 20px;
  filter: invert(15%) sepia(70%) saturate(2000%) hue-rotate(200deg);
}
.social-icon.instagram { background-image: url('images/social-instagram.svg'); }
.social-icon.tiktok { background-image: url('images/social-tiktok.svg'); }
.social-icon.youtube { background-image: url('images/social-youtube.svg'); }
.social-icon:hover { background-color: #ffd600; }
.contact-handle {
  font-size: 1.08rem;
  color: #1e90ff;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  font-weight: 600;
}
@media (max-width: 900px) {
  .contact-main-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  .contact-side {
    max-width: 98vw;
    min-width: 0;
    margin-top: 1.5rem;
  }
}

/* Footer 3 columns */
.footer-columns {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 1rem 0 0.5rem 0; /* reduced vertical padding */
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.footer-col {
  flex: 1 1 180px;
  min-width: 150px;
  margin-bottom: 0.5rem; /* reduced bottom margin */
}
.footer-col h4 {
  color: #1e90ff;
  font-size: 1.08rem;
  margin-bottom: 1.1rem;
  font-weight: 600;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 0.7rem;
}
.footer-col ul li a {
  color: #ffd600;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: #1e90ff;
  text-decoration: underline;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
  align-items: center;
  justify-content: flex-start;
  margin-top: 0.5rem;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  display: block;
  filter: brightness(0) invert(1);
  transition: transform 0.2s, filter 0.2s;
}
.footer-social a img:hover {
  transform: scale(1.12);
  filter: brightness(0) invert(1) drop-shadow(0 0 6px #fff);
}
.footer-credits {
  color: #fff;
  font-size: 1.05rem;
  text-align: right;
  margin: 0;
  padding: 0 1.5rem 0 0;
}
.footer-credits .developer-credit {
  color: #c40000; /* true dark red */
  font-weight: bold;
  transition: color 0.2s;
}
.footer-credits .developer-credit:hover {
  color: #7a0000; /* deeper red on hover */
}
@media (max-width: 900px) {
  .footer-credits {
    text-align: center;
    padding: 0;
    margin-top: 0.3rem;
  }
}

/* HERO BANNER: Edge-to-edge, centered, no truncation */
.hero,
.hero.compact-hero,
.carousel {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  left: unset;
  right: unset;
  transform: none;
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px rgba(0,0,0,0.07);
  background: #fff;
  padding: 0;
}

.carousel-img,
.hero-carousel-img {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 1.5rem;
}

@media (max-width: 1200px) {
  .hero,
  .hero.compact-hero,
  .carousel {
    max-width: 98vw;
    border-radius: 1rem;
  }
  .carousel-img,
  .hero-carousel-img {
    border-radius: 1rem;
  }
}

/* --- BUTTONS: Unified style for all main, hero, and form buttons --- */
.main-btn,
.hero-btn,
.contact-form button[type="submit"],
.wide-form button[type="submit"] {
  background: #0a1536 !important; /* dark navy blue */
  color: #fff !important;
  border: none;
  border-radius: 0.7rem;
  padding: 1rem 0;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1.2rem;
  box-shadow: 0 2px 8px rgba(30,144,255,0.08);
  transition: background 0.2s, color 0.2s;
  width: 100%;
  max-width: 220px;
  min-width: 180px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-decoration: none;
}
.main-btn:hover,
.hero-btn:hover,
.contact-form button[type="submit"]:hover,
.wide-form button[type="submit"]:hover {
  background: #16204a !important; /* lighter navy blue */
  color: #ffd600 !important; /* yellow text on hover */
}

/* --- FORM ROWS: Label left, input right for all forms --- */
.form-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.1rem;
}
.form-row label {
  flex: 0 0 210px;
  font-size: 1.08rem;
  font-weight: 500;
  color: #1a2340;
  margin-bottom: 0;
  text-align: right;
  align-items: center;
  display: flex;
  justify-content: flex-end;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="password"],
.form-row textarea {
  flex: 1 1 0%;
  margin-top: 0;
  padding: 0.9rem 1.1rem;
  border: 1.5px solid #1e90ff;
  border-radius: 0.6rem;
  font-size: 1.08rem;
  background: #fff;
  font-style: italic;
  color: #1a2340;
  transition: border 0.2s;
}
.form-row input:focus,
.form-row textarea:focus {
  border: 2px solid #ffd600;
  outline: none;
}
@media (max-width: 700px) {
  .form-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
  }
  .form-row label {
    text-align: left;
    justify-content: flex-start;
    margin-bottom: 0.2rem;
  }
}

/* --- FORM/ADVERT FLEX LAYOUT --- */
.form-advert-container {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}
.form-section {
  flex: 1.2;
  min-width: 320px;
}
.form-advert {
  flex: 1;
  background: #fafdff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(30,144,255,0.07);
  padding: 2rem 1.2rem 1.2rem 1.2rem;
  min-width: 180px;
  max-width: 320px;
  text-align: center;
}
.form-advert h3 {
  margin-bottom: 1.2rem;
  color: #1e90ff;
  font-size: 1.13rem;
}
@media (max-width: 900px) {
  .form-advert-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  .form-advert {
    max-width: 98vw;
    min-width: 0;
    margin-top: 1.5rem;
  }
}

/* --- CHECKBOX GROUP --- */
.form-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 1.1rem 0;
}
.form-fieldset legend {
  font-weight: 600;
  color: #1a2340;
  margin-bottom: 0.7rem;
  font-size: 1.08rem;
}
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-left: 0.5rem;
}
.checkbox-group label.checkbox-label {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.5em !important;
  font-size: 1.08rem;
  font-weight: 500;
  color: #1a2340;
  margin-bottom: 0.2em;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
}
.checkbox-group input[type="checkbox"] {
  margin: 0 !important;
  accent-color: #1e90ff;
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
}
.categories-row {
  border: none;
  padding: 0;
  margin: 0 0 1.1rem 0;
}
.categories-flex {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}
.categories-flex legend {
  min-width: 210px;
  font-weight: 600;
  color: #1a2340;
  font-size: 1.08rem;
  margin: 0.6rem 0 0 0;
  padding: 0;
  line-height: 1.2;
  text-align: right;
  flex-shrink: 0;
}
.checkbox-group.checkbox-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2rem;
  margin-left: 0;
  width: 100%;
}
@media (max-width: 700px) {
  .categories-flex {
    flex-direction: column;
    gap: 0.5rem;
  }
  .categories-flex legend {
    text-align: left;
    margin-bottom: 0.3rem;
  }
  .checkbox-group.checkbox-2col {
    grid-template-columns: 1fr;
  }
}
.form-row-2col {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.1rem;
}
.form-row-2col .form-row {
  flex: 1 1 0%;
  min-width: 0;
}
@media (max-width: 900px) {
  .form-row-2col {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Rules & Regulations page certification styling */
.rules-list {
  margin: 2rem 0 2.5rem 2rem;
  font-size: 1.13rem;
  color: #1a2340;
  line-height: 1.7;
  padding-left: 1.5rem;
}
.rules-certify {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.08rem;
  font-weight: 500;
  margin: 2rem 0 1.5rem 0;
  color: #1e90ff;
}
.rules-certify input[type="checkbox"] {
  accent-color: #1e90ff;
  width: 1.2em;
  height: 1.2em;
}
.rules-row {
  margin-bottom: 1.1rem;
}
.download-rules {
  display: inline-block;
  background: #1e90ff;
  color: #fff;
  font-weight: 600;
  padding: 0.5em 1.2em;
  border-radius: 0.5em;
  text-decoration: none;
  margin-bottom: 0.7em;
  transition: background 0.2s, color 0.2s;
}
.download-rules:hover {
  background: #ffd600;
  color: #0a1536;
}
.rules-accept {
  margin-bottom: 1.1rem;
}
.rules-accept .checkbox-label {
  font-size: 1rem;
  font-weight: 500;
  color: #1a2340;
  gap: 0.6em;
}
.rules-accept a {
  color: #1e90ff;
  text-decoration: underline;
}
.rules-accept a:hover {
  color: #ffd600;
}
