/* ============================ */
/*  GLOBAL STYLES & TYPOGRAPHY */
/* ============================ */
body {
  font-family: 'Crimson Text', serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 500;
  text-align: center;
}

h1 { font-size: 2.5rem;
  margin-top: auto;
  margin-bottom: auto;
}

h2 { font-size: 2.2rem; }
h3 { font-size: 2rem; }

h5 {
  font-weight: 400;
  font-family: 'Nunito Sans', sans-serif;}
  

p, a, li, span {
  font-weight: 400;
  font-family: 'Nunito Sans', sans-serif;
  
}

/* Fix for Navbar Overlapping Title */
.container {
  padding-top: 100px; /* Adjust this value if needed */
}

.fade-container {
  margin-top: 20px; /* for extra breathing room under navbar */
}


.contact-link {
  text-decoration: none;
  color: inherit;
}


/* ============================ */
/*  NAVIGATION BAR - Desktop & Mobile Fixes */
/* ============================ */
.navbar {
  position: fixed;
  width: 100%;
  top: -100px;
  left: 0;
  transition: top 0.5s ease-in-out, opacity 0.5s ease-in-out;
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 10px 20px;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}

.navbar.scrolled {
  opacity: 1;
  visibility: visible;
  top: 0;
}


.navbar-left {
  flex: 1;
  text-align: left;
  color: black;
}

.navbar-center {
  flex: 1;
  text-align: center;
}

.navbar-right {
  flex: 1;
  text-align: right;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  color: black;

}

.navbar-brand {
  font-family: 'Nunito Sans', serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.navbar-toggler {
  display: none;
  border: none;
  font-size: 1.5rem;
  background: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .navbar-toggler {
      display: block;
      position: absolute;
      left: 15px;
      top: 12px;
  }
  .navbar-right {
      display: none;
  }
}

/* ============================ */
/*  HERO SECTION */
/* ============================ */

/* ========== HERO TEXT FADE-IN ========== */
.hero h1,
.hero p {
opacity: 0;
transform: translateY(40px);
animation: heroFadeIn 1.5s ease-out forwards;
}

.hero p {
animation-delay: 0.4s;
}

@keyframes heroFadeIn {
to {
  opacity: 1;
  transform: translateY(0);
}
}
.hero {
  height: 100vh; /* Full screen height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: white;
  padding: 20px;
  position: relative;
}
/*hero statement*/
.hero h1 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 10px;
}
/* hero sub statement*/
.hero p {
  font-size: 2rem;
  font-weight: bold;
}

/* Contact Page Styling */
.contact-info p {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.contact-link {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.contact-link:hover {
  text-decoration: underline;
}

.btn-primary {
  background-color: #007bff;
  border-color: #007bff;
  font-size: 1.1rem;
  padding: 10px 20px;
  font-family: 'Nunito Sans', sans-serif;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  


}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}





.hero-text {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 6rem;  /* Change to desired size */
  font-weight: 600;
  text-align: center;
  max-width: 80%;
  margin: 0 auto;
  color: rgb(0, 0, 0);
  line-height: 1.6;
}

.blue-text{
  color: #007bff;
  font-weight: 800;
}

@keyframes bounce {
  
}
/* Scroll Arrow */
.scroll-arrow {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #007bff; /* Blue color */
  animation: bounce 1.5s infinite;
  cursor: pointer;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  animation: bounce 2s infinite;
  z-index: 10;
}

.arrow-down {
  width: 3px;
  height: 150px;
  background-color: #4f8dfd;
  position: relative;
}

.arrow-down::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  border: solid #4f8dfd;
  border-width: 0 3px 3px 0;
  padding: 6px;
  display: inline-block;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -10px); }
  60% { transform: translate(-50%, -5px); }
}


/* ============================ */
/* INFO SECTION */
/* ============================ */

.jump-link {
display: inline-block;
transition: transform 0.2s ease, color 0.2s ease;
text-decoration: underline;
color: #007bff; /* bright blue */
font-weight: 500;
}

.jump-link:hover {
transform: translateY(-3px);
color: #0056b3; /* slightly darker on hover */
}

.info-section {
  padding: 60px 20px;
  text-align: center;
  background: #f8f9fa;
}

.info-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.info-section p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

.info-grid {
  display: flex;
  flex-direction: column; /* Stack items vertically */
  align-items: center; /* Center the cards */
  gap: 15px;
  max-width: 700px; /* Keep it compact */
  margin: 0 auto;
}

.info-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  width: 100%; /* Stretch cards */
}

.info-card:hover {
  transform: scale(1.05);
}

/* Icons inside cards */
.info-card i {
  font-size: 4rem;
  color: #007bff;
  margin-bottom: 10px;
  display: block;
}

/* Subtle Animation */
.info-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.info-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.selection-content {
  margin-top: 15px;
  text-align: left;
}

.selection-content h3 {
  font-size: 1.2rem;
  margin-top: 10px;
}

.selection-content ul {
  padding-left: 20px;
}

.selection-content ul li {
  margin-bottom: 5px;
}

.development-content {
  margin-top: 15px;
  text-align: left;
}

.development-content h3 {
  font-size: 1.2rem;
  margin-top: 10px;
}

.development-content ul {
  padding-left: 20px;
}

.development-content ul li {
  margin-bottom: 5px;
}
.info-list {
  padding-left: 20px; /* Ensures bullets align properly */
  text-align: left;
}

.info-list li {
  margin-bottom: 8px; /* Adds spacing between bullet points */
}

.text-center-referee{
  margin-bottom: 50px;
  margin-top: -50px;
}




/* ============================ */
/*  MOBILE MENU */
/* ============================ */
/* ========== MOBILE MENU ANIMATION ========== */
.mobile-menu {
  position: fixed;
  top: 0; /* ðŸ‘ˆ important */
  left: 0;
  width: 100%;
  height: 100vh;
  background: white;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  /* animation */
  transform: translateY(-100%);
  transition: transform 0.4s ease-in-out;
}

.mobile-menu.active {
  transform: translateY(0);
}




body.menu-open {
  overflow: hidden;
}

/* ============================ */
/*  FOOTER  */
/* ============================ */
.footer {
  background: white;
  color: black;
  text-align: center;
  padding: 20px 0;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.footer h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.footer p {
  font-size: 1.2rem;
  opacity: 0.8;
}

.social-links a {
  display: inline-block;
  font-size: 1.5rem;
  margin: 0 10px;
  color: black;
  transition: opacity 0.3s ease-in-out;
}

.social-links a:hover {
  opacity: 0.7;
}
/* referee profile image*/

.referee-name {
  color: #007bff; /* Bootstrap Primary Blue */
  font-weight: bold;
  font-size: 2rem;
  margin-bottom: 10px;
}

.card-img-top {
  width: 100%; /* Ensures the image stretches to fit the card width */
  height: 500px; /* Sets a fixed height for all images */
  object-fit: cover; /* Ensures images fill the area without distortion */
  border-radius: 8px; /* Optional: Keeps images visually uniform */
}
.referee-details-img {
  width: 100%; /* Responsive width */
  max-width: 250px; /* Limits image size */
  height: auto; /* Maintains aspect ratio */
  border-radius: 10px; /* Smooth rounded corners */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Optional shadow effect */
  display: block; /* Ensures it doesn't overflow */
  margin: 10px auto; /* Centers the image */
}


.referee-bio {
  font-size: 1.1rem;
  margin-top: 10px;
}



.action-photo {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.ref-name-link {
  font-weight: bold;
  color: black;
  text-decoration: none;
}


/* REFEREE DETAILS*/
.ref-role {
  color: black;
  font-weight: normal;
}
.ref-link {
  text-decoration: none;
  color: inherit;
}




.back-button:hover {
  background-color: #f5f5f5; /* Darker blue on hover */
  color: #ffffff;
  font-family: 'Nunito Sans', sans-serif;

}

/* ============================ */
/*  ABOUT PAGE */
/* ============================ */

.about-title{
  margin-top:-20px;
  margin-bottom: 50px;
}

.founder-card {
  width: 200px;        /* ÃƒÂ¢Ã‚Â¬Ã¢â‚¬Â¦ÃƒÂ¯Ã‚Â¸Ã‚Â Explicitly locks the card size */
  text-align: center;
}


.founder-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


.founder-name {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 1.2rem;
}

.founder-title {
  font-size: 0.95rem;
  color: #555;
}

/* ============ CLEAN MOBILE FIXES ============ */

/* Ensure navbar doesn't cover content */
.container {
  padding-top: 100px;
}

.fade-container {
  margin-top: 20px;
}

/* Improve navbar layout responsiveness */
.navbar {
  flex-wrap: wrap;
  padding: 10px 16px;
}

/* Center the brand cleanly */
.navbar-brand {
  margin: 0 auto;
  font-size: 1.4rem;
  text-align: center;
  white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .navbar-left,
  .navbar-right {
      display: none;
  }

  .navbar-toggler {
      display: block;
      position: absolute;
      left: 15px;
      top: 12px;
  }

  .navbar-brand {
      font-size: 1.1rem;
      margin: 0 auto;
      padding-top: 4px;
  }

  .hero h1 {
      font-size: 2.4rem;
  }

  .hero p {
      font-size: 1.4rem;
  }

  .hero-text {
      font-size: 2.6rem;
      padding-top: 15vh; /* raises the text higher on mobile */

      max-width: 90%;
  }
}

/* Fix dropdown menu to appear just below navbar */
/* ========== MOBILE MENU ANIMATION (SLIDE-IN) ========== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background-color: white;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
}


body.menu-open {
  overflow: hidden;
}

/* ============ ADDITIONAL MOBILE POLISH ============ */

/* 1. Hero text sits higher on mobile */


  .hero p {
      font-size: 1.3rem;
  }
}

/* 2. Improve mobile dropdown menu styling */
.mobile-menu a.nav-link {
  font-size: 1.2rem;
  font-weight: 600;
  color: #000;
  padding: 10px 0;
  text-align: center;
  width: 100%;
  border-bottom: 1px solid #eee;
}

.mobile-menu a.nav-link:last-child {
  border-bottom: none;
}

.mobile-menu a.nav-link:hover {
  background-color: #f5f5f5;
}

/* ============ FINAL POLISH ============ */

/* 1. Refined hero height and positioning on mobile */


/* 2. Center hamburger icon visually on mobile */
.navbar-toggler {
  display: block;
  position: absolute;
  left: 15px;
  top: 16px; /* Adjusted from 12px */
  width: 40px;
  height: 40px;
  padding: 6px;
  border: none;
  background: none;
  z-index: 1001;
}

.navbar-toggler-icon {
  width: 100%;
  height: 100%;
  background-size: 60% 60%;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============ NAVBAR VISUAL BALANCE ON MOBILE ============ */

@media (max-width: 768px) {
.navbar-brand {
  font-size: 1.1rem;
  padding-top: 4px;
}

.navbar-toggler {
  top: 14px;
}
}

/* Optional: minimum height for navbar to center contents visually */
.navbar {
align-items: center;
min-height: 60px;
}

/* ============ HERO SECTION HEIGHT FIX FOR MOBILE ============ */


}

/* ============ HERO SECTION HEIGHT & VERTICAL CENTERING FIX FOR MOBILE ============ */


}

/* ============ HERO CENTERING - FINAL MOBILE ADJUSTMENT ============ */


}

@media (max-height: 850px) and (max-width: 768px) {
.hero {
  padding-top: 30px;
}
}

/* ============ HIDE MOBILE MENU & TOGGLER ON DESKTOP ============ */
@media (min-width: 769px) {
.navbar-toggler,
.mobile-menu {
  display: none !important;
}
}

@media (min-width: 769px) {
  .navbar {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: space-between;
    padding: 10px 40px !important;
  }

  .navbar-left,
  .navbar-center,
  .navbar-right {
    flex: 1;
  }

  .navbar-left {
    text-align: left;
  }

  .navbar-center {
    text-align: center;
  }

  .navbar-right {
    text-align: right;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
  }

  .navbar-toggler,
  .mobile-menu {
    display: none !important;
  }
}

/* ========== DESKTOP NAVBAR FIX (OVERRIDE-PROOF) ========== */
@media (min-width: 769px) {
.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 40px !important;
  background: white !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  z-index: 1000 !important;
  flex-wrap: nowrap !important;
}

.navbar-left,
.navbar-center,
.navbar-right {
  flex: 1 !important;
}

.navbar-left {
  text-align: left !important;
}

.navbar-center {
  text-align: center !important;
}

.navbar-right {
  text-align: right !important;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 15px !important;
}

.navbar-toggler,
.mobile-menu {
  display: none !important;
}
}

/* ========== SCROLL REVEAL ANIMATIONS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


@media (max-width: 768px) {
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 12vh 20px 4vh;
  text-align: center;
}

.hero-text {
  font-size: 2rem;
  line-height: 1.4;
  margin: 0 auto;
}

.scroll-indicator {
  bottom: 20px;
  animation: bounce 2s infinite;

}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
}


/* Old version - safe to remove or comment */

#menuIcon {
  font-size: 2rem;
  color: #000;
  font-weight: bold;
  transition: opacity 0.3s ease-in-out;
  user-select: none;
}

#menuIcon:hover {
  opacity: 0.7;
}


.navbar-toggler {
  background: transparent;
  padding: 10px;
  border: none;
}

.mentor-section {
  padding: 3rem 1rem;
  text-align: center;
}

.mentor-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.mentor-card {
  background-color: #f8f8f8;
  padding: 1.5rem;
  border-radius: 10px;
  width: 250px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.mentor-card img {
  width: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.mentor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.mentor-detail-container {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 1rem;
}

.mentor-name {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.mentor-detail-flex {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap; /* Wrap for small screens */
  justify-content: center;
}

.mentor-photo {
  width: 300px;
  max-width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mentor-bio {
  max-width: 500px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.back-button {
  background-color: #2563eb;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.2s ease;
  display: inline-block;
}

.back-button:hover {
  color: #0056b3;
}

.back-btn-container {
  text-align: center;
  margin-top: 2rem;
}


