/********** NAVIGATION BAR **********/
.navigation-bar-main-container {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    width: 100%;
    margin-top: -80px;
    height: 80px;
    background-color: rgb(248, 248, 248);
    backdrop-filter: blur(10px) brightness(150%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 999;
}

.navigation-bar-icon {
    position: relative;
    left: 0px;
    width: 60px;
    height: 60px;
    cursor: pointer;
}

.navigation-bar-icon:hover {
    scale: 1.05;
}

.navigation-bar-links-container {
    display: flex;
    gap: 35px;
}

.navigation-bar-link {
    text-decoration: none;
    color: black;
    font-weight: 500;
}

.navigation-bar-link:hover {
    color: #783636;
}

.navigation-bar-right-side-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}


.navigation-bar-hamburger-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: none;
}

.navigation-bar-hamburger-icon {
    width: 30px;
    height: 30px;
    color: black;
}


/* whos the ref btn */
#whos-the-ref-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  padding: 8px 20px;
  border: 1px solid cornflowerblue;
  border-radius: 30px;
  cursor: pointer;
}

#whos-the-ref-btn:hover {
  background-color: rgb(70, 113, 207);
  
  img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(1%) hue-rotate(278deg) brightness(112%) contrast(102%);
  }
}

.whos-the-ref-btn-img-full {
  height: 25px;
  width: auto;
}

.whos-the-ref-btn-img-small {
  height: 25px;
  width: auto;
  display: none;
}



/* Mobile Menu Styles */
.mobile-menu-container {
    display: none;
    text-align: start;
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    background-color: rgb(255, 255, 255);
    padding: 20px 10%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.mobile-menu-container.active {
    display: flex;
}

.mobile-menu-link {
    text-decoration: none;
    color: black;
    font-weight: 500;
    padding: 8px 0;
}

.mobile-menu-link:hover {
    color: #3C457E;
}

/* Dropdown Styles */
.dropdown-container {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -70px;
  background-color: rgb(255, 255, 255);
  backdrop-filter: blur(10px);
  min-width: 230px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border-radius: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  z-index: 1000;
  padding: 10px 15px;
  text-align: center;
  font-size: 0.9rem;

  a:hover {
      background-color: rgb(230, 230, 230);
      border-radius: 10px;
  }
}

.dropdown-container:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-container:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-item {
  position: relative;
  display: block;
  padding: 10px 15px;
  color: #000000;
  text-decoration: none;
}

.dropdown-item:hover {
  background-color: #ffffff;
  border-radius: 7px;
}

/* Mobile Dropdown Styles */
.mobile-dropdown {
    width: 100%;
}

.mobile-dropdown-toggle {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 12px 0;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    align-items: right;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
}

.mobile-dropdown .mobile-dropdown-toggle p {
      position: relative;
      right: 0;
      width: fit-content;
      font-family: Arial, Helvetica, sans-serif;
      font-size: 1rem;
      font-weight:normal;
}

.mobile-dropdown-menu {
  position: relative;
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;

  a {
    position: relative;
    font-size: 0.85rem;
    margin-left: 15px;
  }
}

.mobile-dropdown.active .mobile-dropdown-menu {
    max-height: 500px;
}

.mobile-dropdown.active .mobile-dropdown-arrow {
  transform: rotate(180deg);
}

.navigation-bar-hamburger-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.navigation-bar-hamburger-icon {
  width: 30px;
  height: 30px;
  color: black;
}





/* Popup */
.popup .popup-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  background: rgba(24, 24, 24, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(1px);
  z-index: 999;
  display: none;
}
  
.popup .popup-content{
  position: fixed;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%) scale(0);
  width: 100%;
  z-index:10000;
}

.popup-close-button {
    position: relative;
    background-color: #EEEDFF;
    border-radius: 50%;
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #3C457E;

    .close-btn {
        cursor: pointer;
        height: 30px;
        width: 30px;
        color: #3C457E;
    }
}  

.popup.active .popup-overlay {
  display: block;
}

.popup.active .popup-content,
.popup.active .lets-connect-popup {
  transform: translate(-50%, -50%) scale(1);
}





/********** LANDING PAGE **********/
#index-landing-page-main {
  position: relative;
  height: calc(100vh - 80px);
  width: 100%;
  display: flex;
  padding: 50px 0;

  /* landing page image */
  background: linear-gradient(
      to bottom, 
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 0)
  ), url('img/img-0007.webp');
  background-size: cover;
  background-repeat: no-repeat;
}

.landing-page-info-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 30px 50px;
  align-self: self-end;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  padding: 30px 30px 30px 50px;
  width: 90%;
  border-radius: 30px;
  height: fit-content;
}

.landing-page-info-container-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 350px;
    max-width: auto;
    row-gap: 15px;
    flex-grow: 1;
    
    .landing-page-info-title {
      position: relative;
      font-family: Arial, Helvetica, sans-serif;
      font-size: clamp(1.85rem, 2.5vw, 4vw);
      font-weight: bold;
      color: white;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
      width: fit-content;
      text-wrap:wrap;
    }

    .landing-page-info-text {
        color: white;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
        font-size: 0.95rem;
        line-height: 22px;
    }
}

.landing-page-info-container-right {
    position: relative;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    justify-content: center;
    align-items: center;
    padding: 30px 50px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px) brightness(150%);
    width: 350px;
    max-width: auto;
    flex-grow: 1;
}

.landing-page-buttons-container {
  position: relative;
  display: flex;
  flex-direction: row;
  column-gap: 30px;
  margin-top: 20px;

  .landing-page-button-1 {
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      column-gap: 15px;
      height: 45px;
      width: 140px;
      font-size: 1rem;
      line-height: 35px;
      border-radius: 30px;
      border: none;
      background-color: white;
      cursor: pointer;
      color: black;
  }

  .landing-page-button-1:hover {
      transform: scale(1.1);
  }

  .landing-page-button-2:hover{
      transform: scale(1.1);

      svg {
        transform: translateX(5px);
      }
  }

  .landing-page-button-2 {
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      column-gap: 15px;
      font-size: 1rem;
      border: none;
      color: white;
      background-color: transparent;
  }
}

.landing-page-button-1-svg {
    position: relative;
    width: 25px;
    height: 25px;
}

.landing-page-button-2-svg {
    position: relative;
    height: auto;
    width: 30px;
    color: white;
}

.landing-page-newsletter-container {
    display: flex;
    align-items: center;
    width: 100%;
    height: 40px;
    margin-top: 20px;

    .landing-page-newsletter-input {
        width: 100%;
        height: 100%;
        padding: 0 20px;
        border-radius: 20px;
        border: 1px solid #ccc;
        font-size: 1rem;
        color: black;
    }

    .landing-page-newsletter-button {
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
        right: 0;
        align-self: center;
        margin-right: 50px;
        height: 40px;
        width: 40px;
        border-radius: 50%;
        border: none;
        background-color: lightgray;
        cursor: pointer;
    }
}

.landing-page-newsletter-icon {
    position: relative;
    height: 25px;
    width: 25px;
}





/* rugby achievements */
#rugby-achievements-achieved-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 20px 53px;
    padding: 30px 3vw;
    justify-content: space-evenly;
    height: fit-content;
    width: 80%;
    border: 0.5px solid white;
    border-radius: 20px;
    background: linear-gradient(rgba(122, 132, 165, 0.2) 70%, rgba(102, 109, 147, 0.2) 100%), 
                  url('img/abstract-background-img-0001.jpg') no-repeat center center/cover;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.45);

    div {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    div .rugby-achievements-achieved-number {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 5vw;
        font-size: clamp(2rem, 5vw, 10rem);
        font-weight: bolder;
        color: #3C457E;
    }

    div p {
        color: #3C457E;
    }

    .rugby-achievements-divider {
        position: relative;
        height: 90px;
        width: 1.5px;
        background-color: #3C457E;
    }
}





/********** INFORMATION BOXES **********/
#index-information-boxes-main {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: fit-content;
  padding: 0px 10%;
  gap: 30px;
}

.section-title-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;

  .section-title {
      position: relative;
      font-size: clamp(1.3rem, 3vw, 4.5vw);
      padding: 0 15px;
      z-index: 2;
      background-color: rgb(240, 240, 240);
      text-align: center;
      pointer-events: none;
  }

  .section-title-line {
      position: absolute;
      width: 80%;
      height: 2px;
      left: 50%;
      transform: translateX(-50%);
      border-top-right-radius: 2px;
      border-bottom-right-radius: 2px;
      background-color: black;
      z-index: 1;
  }
}

.index-information-box {
  position: relative;
  display: flex;
  margin-top: -10px;
  justify-content: center;
  align-items: center;
  height: 200px;
  width: 250px;
  max-width: auto;
  flex-grow: 1;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(
    to bottom, 
    rgba(0, 0, 0, 0.0),
    rgba(0, 0, 0, 0.7)
  );

  .index-information-box-img {
    position: absolute;
    bottom: 0;
    right: 0;
    object-fit: cover;
    z-index: -1;
    overflow: hidden;
  }

  .index-information-box-button {
    position: absolute;
    display: flex;
    flex-direction: row;
    column-gap: 20px;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: 50px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    color: black;
    cursor: pointer;
    z-index: 2;
  }
}

.index-information-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.5);
  z-index: 1; 

  .index-information-box-img {
    position: absolute;
    bottom: 0;
    right: 0;
    object-fit: cover;
    z-index: -1;
    overflow: hidden;
  }
}

.index-information-box-button-svg {
    position: relative;
    width: 25px;
    height: 25px;
}




/********** INFORMATION BOXES **********/
#index-latest-news-main {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: fit-content;
  padding: 0px 10%;
}

.index-news-snippets-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    margin-top: 15px;
}

.index-news-snippet {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 10px;
    padding: 20px 30px;
    border: 1.5px solid #3C457E;
    height: 100%;
}

.index-news-snippet-title {
    font-size: clamp(1.3rem, 2.5vw, 2.5vw); 
    font-weight: bold;
    color: #3C457E;
    margin-bottom: 5px;
}

.index-news-snippet-subtitle {
    font-size: 0.8rem;
    color: gray;
    margin-bottom: 10px;
}

.index-news-snippet-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center; 
    width: fit-content;
    height: fit-content;
    column-gap: 20px;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.index-news-snippet-button-text {
    font-size: 1rem;
    color: #3C457E;
}

.index-news-snippet-button-text:hover {
    margin-right: 10px;
}

.index-news-snippet-button-svg {
    width: 50px;
    height: auto;
    color: #3C457E;
}





/* events calendar */ 
#events-calendar-main-container {
  padding: 0 10%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 100px 30px;
}

.events-calendar-name-of-month {
  position: relative;
  width: 100%;
  height: fit-content;
  padding: 10px 5px; 
  border-radius: 7px;
  /* background-color: rgba(30, 60, 95, 0.6); */
  background-color: #4E627C;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: -170px;
  margin-bottom: -50px;
  font-size: clamp(1.2rem, 2.5vw, 4vw);
  font-weight: bolder;
  color: white;
}

.panel-title {
  cursor: pointer;
  user-select: none;
}

.panel-title:hover {
  background-color: rgb(40, 50, 60);
}

.panel-title::after {
  content: url("data:image/svg+xml;utf8,<svg height='40px' width='auto' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='%23fff' stroke='%23fff' stroke-width='4'><path d='M78.466,35.559L50.15,63.633L22.078,35.317c-0.777-0.785-2.044-0.789-2.828-0.012s-0.789,2.044-0.012,2.827L48.432,67.58 c0.365,0.368,0.835,0.563,1.312,0.589c0.139,0.008,0.278-0.001,0.415-0.021c0.054,0.008,0.106,0.021,0.16,0.022 c0.544,0.029,1.099-0.162,1.515-0.576l29.447-29.196c0.785-0.777,0.79-2.043,0.012-2.828S79.249,34.781,78.466,35.559z'/></svg>");

  position: absolute;
  right: 0;
  margin-right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.panel-title.active::after {
  transform: translateY(-50%) rotate(180deg);
}

/* reveal animation */
.panel-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

.panel-content.open {
  max-height: fit-content; /* Large enough to fit the content */
  opacity: 1;
}

.events-calendar-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  margin-top: -40px;
  width: 200px;
  max-width: auto;
  height: 150px;
  border-radius: 15px;
  background-color: rgba(200, 200, 200, 0.3);
  z-index: 1;
  border: 0.5px solid white;

  .events-calendar-date {
    position: absolute;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8rem;
    font-weight: bolder;
    z-index: -1;
    top: -80px;
    /* color: rgba(35, 70, 120, 0.4); */
    color: #929eb8;
  }

  .events-calendar-list-container {
    position: relative;
    width: 100%;
    padding: 15px 20px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    height: 100%;

    li {
      position: relative;
      list-style-type:  disc;
      padding-left: 5px;
      margin-left: 12px;
    }
  }

  .events-calendar-list-container h2 {
    text-shadow: 0 0 10px white;
    border-bottom: 1px solid black;
    padding-bottom: 5px;
    margin-bottom: 10px;
    text-align: center;
  }

  .events-calendar-list-container li {
    font-size: 0.8rem;
  }
}






/* product card carousel */
.slider-wrapper {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    padding: 0 10%;
    height: fit-content;
}

.slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 30px;
    padding: 20px 0;
    scroll-padding: 0 20px;
    height: fit-content;
    width: 100%;
    -ms-overflow-style: none; 
    scrollbar-width: none; 
}

.slider::-webkit-scrollbar {
  display: none;
}

.slide {
  position: relative;
  background-color: #e4e9f4;
  border: 1px solid white;
  border-radius: 20px;
  padding: 20px;
  width: 250px;
  flex: 0 0 auto;
  text-align: center;
  height: 300px;
  display: flex;
  flex-direction: column; 
  justify-content: space-between;
  align-items: center;
  will-change: transform;
}

.product-card-info-container {
  position: relative;
  width: 100%;
  height: 100px;
  border-radius: 10px;
  /* background-color: #3C457E; */
  background-color: #505A71;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 0.5px solid white;

  p {
    position: relative;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
  }
}

.slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.product-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    /* top: 35px; */
    /* margin-bottom: 15px; */
    padding: 15px;
}

.slide-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.price {
    font-weight: bold;
    color: #e29faf;
    margin-top: auto;
}

.arrow {
    cursor: pointer;
    z-index: 2;
    user-select: none;
    background-color: transparent;
    border: none;
}

.arrow[disabled] {
    opacity: 0.5;
    pointer-events: none;
}

.product-carousel-buttons-container {
    position: relative;
    bottom: 0px;
    display: flex;
    flex-direction: row;
    width: 165px;
    padding: 5px 10px;
    border-radius: 40px;
    height: fit-content;
    justify-content: space-between;
    background-color: lightgray;
}

.slider-arrow-svg {
    position: relative;
    padding: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
}

.slide-last {
    background-color: #3C457E;
    border-radius: 20px;
    padding: 30px;
    width: 250px;
    flex: 0 0 auto;
    text-align: center;
    align-items: center;
    height: 300px;
    display: flex;
    gap: 30px;
    flex-direction: column; 
    justify-content: center;
    text-decoration: none;
    color: inherit;
    border: 1px solid white;
    color: white;
}

.view-more-card-img {
  height: 100px;
  width: 100px;
  border: 1.5px solid white;
  border-radius: 50%;
  padding: 15px;
}

.view-more-card-div {
  width: fit-content;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 15px;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
  border: 1.5px solid white;
  padding: 5px 20px;
  cursor: pointer;
  font-size: 1rem;
}

.view-more-card-div:hover {
  transform: scale(1.05);
  background-color: #d6dcea;
  color: black;
}



/* facebook posts */
#facebook-posts-main-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 85%;
  padding: 80px 5% 50px 5%;
  border-radius: 20px;
  height: fit-content;
  background-color: white;
  box-shadow: 0 20px 20px -10px rgba(0, 0, 0, 0.3);
  margin: 60px 0 50px 0;
}

.facebook-posts-profile-card-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: fit-content;
  height: fit-content;
  margin-bottom: 30px;
  background-color: rgb(245, 245, 245);
  padding: 10px 50px;
  border-radius: 15px;

  button {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: rgb(67, 91, 119);
    color: white;
    border: none;
    cursor: pointer;
  }

  button:hover {
    background-color: rgb(10, 100, 200);
  }

  button svg {
    position: relative;
    height: 20px;
    width: auto;
    fill: white;
  }

  button p {
    position: relative;
    font-size: 1rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
  }

  p {
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
  }
}

.facebook-posts-profile-card-img {
  position: absolute;
  height: 150px;
  width: 150px;
  border-radius: 50%;
  border: 1px solid gray;
  top: -165px;
}

.facebook-posts-title-badge-container {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  column-gap: 15px;

  h2 {
    font-size: clamp(1.3rem, 3vw, 4.5vw);
    font-weight: bolder;
    color: rgb(10, 100, 200);
  }

  img {
    position: relative;
    height: 25px;
    width: auto;
    top: 2.5px;
  }
}

.facebook-posts-likes-handle-container {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  column-gap: 10px;
  margin: 5px 0;

  p, a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    color: gray;
  }
}







/* WP RUGBY SOCIETY VALUES */
#wp-rugby-society-values-main {
  position: relative;
  width: 80%;
  border-radius: 20px;
  padding: 20px;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: Arial, sans-serif;
  background-color: #dfe4efee;
}

#wp-rugby-society-values-main th {
  color: black;
  font-size: 2vw;
  font-weight: bold;
  width: fit-content;
  padding: 20px;
  border-right: 2.5px solid #ffffff; 
  border-bottom: 2.5px solid #ffffff;
}
    
#wp-rugby-society-values-main td {
  padding: 15px 15px 15px 15px;
  border-bottom: 2px solid #ffffff;
  vertical-align: top;
}

#wp-rugby-society-values-main tr:last-child td {
  border-bottom: none;
}

#wp-rugby-society-values-main p {
  margin: 0 0 10px 0;
  line-height: 1.5;
}

#wp-rugby-society-values-main ul {
  margin: 0;
  padding-left: 20px;
  font-size: 0.85rem;
}

#wp-rugby-society-values-main li {
  margin-bottom: 8px;
  line-height: 1.4;
}


.rugby-values-vertical-line {
  position: absolute;
  height: 100%;
  width: 1px;
  background-color: black;
  margin-left: 10%;
  left: 16%;
  z-index: 10;
}

.rugby-values-container {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0 30px;
  height: fit-content;
  width: 100%;
  padding: 20px 0;
  background-color: rosybrown;

  .rugby-values-text {
    background-color: lightblue;
  }

  .rugby-values-subtitle {
    position: relative;
    width: 20%;
    margin: 0;
    z-index: 1;
    background-color: rgb(196, 196, 196);
  }

  ul li {
    font-size: 0.85rem;
    margin-left: 15px;
    line-height: 20px;
  }
}

.rugby-values-text-container {
  position: relative;
  width: 80%;
  background-color: bisque;
}




/* UPDATED VALUES SECTION */
#vision-mission-values-main-container {
  position: relative;
  padding: 0px 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#vision-mission-values-main-container .honorary-achievements-chairmen-info-container .main-values-container {
  position: relative;
  background-color: white;
  padding: 20px 50px;
  border-radius: 0px 0px 15px 15px;
  box-shadow: 0 20px 10px -10px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.main-values-container {
  position: relative;
  display: flex;
  flex-direction: column;
  row-gap: 15px;
  align-items: center;
}

.main-values-container ul {
  position: relative;
  margin-left: 20px;
}





/* testimonials */
#what-our-referees-say-main {
  position: relative;
  display: flex;
  height: fit-content;
  flex-direction: column;
  align-items: center;
  padding: 0 10%;
}






/********** SPONSORS (CAROUSEL) **********/
#sponsor-carousel-container {
  height: 150px;
  overflow: hidden;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
}

.sponsor-carousel-track {
  margin-top: 20px;
  height: 150px;
  display: flex;
  animation: scroll 50s linear infinite;
  width: max-content;
}

.sponsor-carousel-track img {
  margin: 0 20px;
  object-fit: contain;
  flex-shrink: 0;
}

@keyframes scroll {
  0% {
  transform: translateX(0);
  }
  100% {
  transform: translateX(-50%);
  }
}






/* testimonials */
.testimonials-slider-container {
  position: relative;
  width: 107%;
  overflow: hidden;
  padding: 0 30px;
  margin-top: 15px;
}

.testimonials-slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.testimonials-slider-track::-webkit-scrollbar {
  display: none;
}
.testimonials-slider-track {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.testimonials-card {
  background: white;
  border-radius: 12px;
  padding: 30px 45px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  min-width: 300px;
  max-width: 350px;
  flex: 0 0 auto;

  p {
    height: 65px;
  }
}

.testimonials-card-stars {
  color: #1d4ed8;
  margin-bottom: 10px;
  
    svg {
      position: relative;
      height: 20px;
      width: 20px;
    }
}

.testimonials-card p {
  font-size: 14px;
  color: #333;
  margin-bottom: 15px;
}

.testimonials-card-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonials-card-profile svg {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonials-card-profile img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  border: 1.5px solid black;
  object-fit: cover;
}

.testimonials-card-profile-info {
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
}

.testimonials-card-profile-info strong {
  display: block;
  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
}

/* Buttons */
.slider-buttons {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  pointer-events: none;
}

.slider-buttons button {
  background: white;
  border: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  pointer-events: auto;
  transition: opacity 0.3s;
}

.slider-buttons button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}








/********** BECOME A REFEREE [PAGE] **********/
#alt-landing-page-title-container {
    margin-top: 180px;
    margin-bottom: 150px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    height: fit-content;
    padding: 50px 80px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 0.0),
        rgba(0, 0, 0, 0.95)
    ), url('img/img-0001.jpg');
    background-size: cover;
    background-repeat: no-repeat;

    h1 {
        z-index: 1;
        font-size: 4vw;
        font-weight: bold;
        color: white;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        text-align: center;
    }
}


#about-referees-main-container {
    position: relative;
    padding: 50px 0 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: fit-content;
    width: 85%;
    background-color: rgb(255, 255, 255);
    border-radius: 20px;
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.3));
    border: 0.5px solid lightgray;

    .b-a-r-section-title {
      position: absolute;
      top: -35px;
      background-color: rgb(0, 0, 0);
      color: white;
      height: fit-content;
      width: fit-content;
      padding: 20px 50px;
      border-radius: 20px;
      font-size: 2.5vw;
    }
}

.become-a-referee-hero-text, 
.sponsors-hero-text {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 15px;
}

.about-become-a-referee-buttons-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 30px;
    justify-content: left;
    margin-top: 10px;
    width: 100%;
    padding: 0 30px;

    .become-a-referee-application-button {
        position: relative;
        height: fit-content;
        width: fit-content;
        max-width: auto;
        flex-grow: 1;
        padding: 10px 20px;
        border: none;
        border-radius: 10px;
        background-color: transparent;
        border: 1.5px solid #4c59ad;
        font-size: 1rem;
        display: flex;
        flex-direction: row;
        column-gap: 15px;
        justify-content: center;
        align-items: center;
        color: #4c59ad;
        cursor: pointer;
    }

    .become-a-referee-application-button:hover {
        background-color: #4c59ad;
        color: white;
    }
}


#about-why-not-become-a-referee-main-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: fit-content;
    padding: 0px 10%;
}

.about-why-not-become-a-referee-content-container-1 {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    background-color: rgb(222, 226, 241);
    border-radius: 15px;
    padding: 30px 50px;
}

.about-why-not-become-a-referee-content-container-inner-1 {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 45px;

  h1 {
    position: absolute;
    font-size: 9rem;
    font-weight: bold;
    border: 1px solid #797fa3;
    border-radius: 50%;
    height: 200px;
    width: 200px;
    display: flex;
    padding: 0 0 0 50px;
    align-items: center;
    color: #797fa3;
  }

  div {
    position: relative;
    border: 0.5px solid lightgray;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    padding: 20px 30px;
    width: 86%;
    margin: 0;
    left: 14%;
    z-index: 2;
    background-color: rgb(248, 248, 248);
    box-shadow: -10px 8px 18px rgba(0, 0, 0, 0.5);
  }

  ul {
      padding: 10px 0;
      margin-left: 20px;
      font-family: 'Comfortaa';
      font-size: 0.95rem;
  }
}



.about-why-not-become-a-referee-content-container-inner-2 {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 50px;

  h1 {
    position: absolute;
    font-size: 9rem;
    font-weight: bold;
    border: 1px solid #797fa3;
    border-radius: 50%;
    height: 200px;
    width: 200px;
    display: flex;
    padding: 0 0 0 70px;
    align-items: center;
    right: 0;
    margin: 0;
    color: #797fa3;
  }

  div {
    position: relative;
    border: 0.5px solid lightgray;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    padding: 20px 30px;
    width: 86%;
    margin: 0;
    right: 0;
    z-index: 2;
    height: fit-content;
    background-color: rgb(248, 248, 248);
    box-shadow: 10px 8px 18px rgba(0, 0, 0, 0.5);
  }

  ul {
    padding: 10px 0;
    margin-left: 20px;
    font-family: 'Comfortaa';
    font-size: 0.95rem;
  }
}

.about-why-not-become-a-referee-content-container-inner-3 {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 50px;

  h1 {
    position: absolute;
    font-size: 9rem;
    font-weight: bold;
    border: 1px solid #797fa3;
    border-radius: 50%;
    height: 200px;
    width: 200px;
    display: flex;
    padding: 0 0 0 50px;
    align-items: center;
    color: #797fa3;
;
  }

  div {
    position: relative;
    border: 0.5px solid lightgray;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    padding: 20px 30px;
    width: 86%;
    margin: 0;
    left: 14%;
    z-index: 2;
    background-color: rgb(248, 248, 248);
    box-shadow: -10px 8px 18px rgba(0, 0, 0, 0.5);
  }

  ul {
    padding: 10px 0;
    margin-left: 20px;
    font-family: 'Comfortaa';
    font-size: 0.95rem;
  }
}






/********** SPONSORS [PAGE] **********/
    .glow {
      color: whitesmoke;
      font-weight: bold;
      text-shadow: 
        0 0 5px rgb(240, 240, 240), 
        0 0 10px white, 
        0 0 20px white, 
        0 0 40px white;
    }

    .sponsors-handshake-svg {
      position: relative;
      min-width: 120px;
      width: 15vw;
      height: auto;
      padding: 20px;
      border-radius: 50%;
      border: 1.5px solid black;
      margin-bottom: 50px;
    }

    .section-header {
      text-align: center;
      margin-bottom: 3rem;
    }



    /* =============  Buttons  ============= */
    .btn {
      display: inline-block;
      padding: 12px 24px;
      border-radius: 10px;
      font-weight: 600;
      text-align: center;
      cursor: pointer;
      border: none;
    }

    .btn-primary {
      /* background-color: rgb(50, 70, 90); */
      background-color: #283242;
      padding: 15px 30px;
      border-radius: 10px;
      color: white;
      font-size: 1.2rem;
      box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
      cursor: pointer;
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 0 10px gray;
    }

    .btn-secondary {
      background-color: transparent;
      color: white;
      border: 2px solid white;
      font-size: 1.2rem;
      padding: 15px 30px;
      border-radius: 10px;
    }

    .btn-secondary:hover {
      background-color: rgba(255, 255, 255, 0.1);
      transform: translateY(-2px);
    }

    .btn-nav {
      padding: 8px 16px;
      background-color: cornflowerblue;
      border-radius: 10px;
      margin-left: 15px;
    }

    .btn-nav:hover {
      background-color: #e6c200;
    }


    /* =============  Hero Section  ============= */
    .hero {
      position: relative;
      height: calc(100vh - 80px);
      display: flex;
      align-items: center;
      background: linear-gradient(rgba(55, 55, 55, 0) 70%, rgba(255, 255, 255, 0.8) 100%), 
                  url('img/background-img-0006.png') no-repeat center center/cover;
      color: white;
      text-align: center;
      padding-top: 80px;
    }

    .hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to right,
                rgba(255, 255, 255, 0.4) 0%,
                rgba(62, 62, 62, 0.2) 10%,
                rgba(64, 64, 64, 0.2) 90%,
                rgba(255, 255, 255, 0.4) 100%);
      backdrop-filter: blur(5px);
    }

    .hero-content {
      position: relative;
      z-index: 1;
      width: 100%;
    }

    .hero-title {
      font-size: 4rem;
      margin-bottom: 1rem;
      text-transform: uppercase;
      letter-spacing: 2px;
    }

    .hero-subtitle {
      font-size: 1.7rem;
      font-family: Arial, Helvetica, sans-serif;
      margin: 2rem 0;
      width: 100%;
      padding: 0 20%;
      font-weight: 900;
      text-align: center;
      color: rgb(50, 70, 90);
      text-shadow: 0 0 20px white;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
    }

    .hero-cta {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      margin-top: 2rem;
    }



    /* =============  Stats Section  ============= */
    .stats {
      padding: 20px 20px;
      /* background-color: rgb(50, 70, 90); */
      background-color: #283242;
      color: white;
    }

    .stats .container {
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
    }

    .stat-item {
      text-align: center;
      padding: 20px;
      flex: 1;
      min-width: 200px;
    }

    .stat-number {
      font-size: 7vw;
      font-weight: 700;
      font-family: Arial, Helvetica, sans-serif;
      /* color: rgb(50, 70, 90); */
      color: #283242;
      margin-bottom: 10px;
      -webkit-user-select: none; 
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
    }

    .stat-label {
      font-size: 1.1rem;
      opacity: 0.9;
      -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
    }


    /* =============  Sponsors Section  ============= */
    .sponsors {
      display: flex;
      flex-direction: column;
      width: 100%;
      padding: 80px 0 0 0;
      background: #e8e8e8;
    }

    .sponsor-tier {
      position: relative;
      margin-bottom: 3rem;
      width: 100%;
      margin: 0;
      padding: 0 10%;
    }

    .tier-title {
      text-align: center;
      font-size: 1.8rem;
      margin-bottom: 2rem;
      position: relative;
    }

    .tier-title:after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 60px;
      height: 3px;
    }

    .sponsor-grid {
      display: flex;
      gap: 30px;
      flex-wrap: wrap;
      justify-items: center;
      width: 100%;
      margin: 0;
      padding: 0;
    }

    .sponsor-card {
      flex-grow: 1;
      background: white;
      border-radius: 10px;
      padding: 30px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.175);
      width: 300px;
      max-width: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    .sponsor-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.175);
    }

    .sponsor-logo {
      height: 100px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
    }

    .sponsor-img-text-divider {
      position: relative;
      height: 1.5px;
      width: 80%;
      background-color: gray;
      margin-bottom: 20px;
    }

    .sponsor-logo img {
      max-height: 100%;
      max-width: 100%;
      object-fit: contain;
      filter: grayscale(100%);
      opacity: 0.8;
    }

    .sponsor-card:hover .sponsor-logo img {
      filter: grayscale(0%);
      opacity: 1;
    }

    .sponsor-card-outsurance .sponsor-outsurance-logo {
      filter: brightness(0) saturate(100%) invert(64%) sepia(11%) saturate(20%) hue-rotate(358deg) brightness(89%) contrast(87%);
      opacity: 1;
    }
    

    .sponsor-card-outsurance:hover {
      background: rgb(122, 56, 141);
      opacity: 1;

      .sponsor-logo img {
        filter: none;
      }

      .sponsor-info h4, 
      .sponsor-info p {
        color: white;
      }

      .sponsor-img-text-divider {
        background-color: white;
      }
    }

    .sponsor-card-bossa:hover {
      background: rgb(0, 0, 0);
      opacity: 1;


      .sponsor-info h4, 
      .sponsor-info p {
        color: rgb(255, 255, 255);
      }

      .sponsor-img-text-divider {
        background-color: rgb(255, 255, 255);
      }
    }

    .sponsor-info {
      text-align: center;
    }

    .sponsor-info h4 {
      margin-bottom: 5px;
      font-size: 1.2rem;
      font-weight: bolder;
    }

    .sponsor-info p {
      color: gray;
      font-size: 0.85rem;
    }

    .subsidiary-sponsor-container {
      background: linear-gradient(to bottom, #e8e8e8 50%, white 100%);
      padding: 0 10% 100px 10%;
    }

    .subsidiary-sponsor-card {
      position: relative;
      flex-grow: 1;
      background: white;
      border-radius: 10px;
      padding: 30px;
      box-shadow: 0 0 10px gray;
      width: fit-content;
      max-width: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    .subsidiary-sponsor-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 0 10px gray;
    }

    .subsidiary-sponsor-card img {
      position: relative;
      height: 100px;
      width: auto;
      flex-grow: 1;
    }



    /* =============  Benefits Section  ============= */
    .benefits {
      padding: 80px 10%;
      /* background-color: white; */

    }

    .benefits-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;

      li {
        list-style: none;
      }
    }

    .benefit-card {
      background-color: rgb(255, 255, 255);
      border-radius: 10px;
      padding: 30px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.148);
      text-align: center;
      border: 1px solid white;
    }

    .benefit-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 0 10px gray;
    }

    .benefit-icon {
      width: 80px;
      height: 80px;
      background-color: #1a3a6a;
      padding: 15px;
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
      font-size: 1.8rem;
    }

    .benefit-card h3 {
      color: #1a3a6a;
      margin-bottom: 15px;
    }

    .benefit-card ul {
      text-align: left;
    }

    .benefit-card li {
      margin-bottom: 10px;
      position: relative;
      font-size: 0.85rem;
      padding-left: 25px;
    }

    .benefit-card li:before {
      content: '\f00c';
      font-family: 'Font Awesome 6 Free';
      font-weight: 900;
      position: absolute;
      left: 0;
      color: #1a3a6a;
    }



    /* =============  Testimonials  ============= */
    .testimonials {
      padding: 80px 0;
      background: linear-gradient(to bottom, white 0%, #dedede 100%);
    }

    .testimonial-slider {
      max-width: 800px;
      margin: 0 auto;
    }

    .testimonial {
      background: white;
      border-radius: 20px;
      padding: 40px;
      box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
      position: relative;
    }

    .testimonial:before {
      content: '\201C';
      font-family: Georgia, serif;
      font-size: 5rem;
      color: lightgray;
      position: absolute;
      top: 20px;
      left: 20px;
      line-height: 1;
    }

    .testimonial-content {
      position: relative;
      z-index: 1;
    }

    .testimonial p {
      font-size: 1.1rem;
      font-style: italic;
      margin-bottom: 20px;
    }

    .testimonial-author {
      display: flex;
      align-items: center;
    }

    .testimonial-author svg {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      object-fit: cover;
      margin-right: 15px;
      border: 1px solid black;
      padding: 10px;
    }

    .testimonial-author h4 {
      margin-bottom: 5px;
    }

    .testimonial-author p {
      font-size: 0.9rem;
      color: gray;
      margin: 0;
      font-style: normal;
    }



    /* keen to become a spoonsor */
    #keen-to-become-a-sponsor-main {
      position: relative;
      width: 100%;
      padding: 0 10%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      font-size: 1rem;
      line-height: 20px;
      background: linear-gradient(to bottom, #dedede 50%, #ebebeb 100%);
    }



    /* =============  Contact Section  ============= */
    #sponsors-contact-main-container {
      position: relative;
      padding: 80px 7%;
      background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.9)), 
                  url('img/background-img-0005.jpg') no-repeat center center/cover;
      color: white;
      padding: 50px 10%;
    }

    .contact-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      align-items: center;
    }

    .contact-info h2 {
      color: white;
      margin-bottom: 20px;
      font-size: 2.5rem;
    }

    .contact-info p {
      margin-bottom: 30px;
      font-size: 1.1rem;
    }

    .contact-details {
      margin-top: 30px;
    }

    .contact-item {
      display: flex;
      align-items: center;
      margin-bottom: 15px;

      span {
        font-family: 'Comfortaa';
      }
    }

    .contact-item svg {
      width: 40px;
      height: 40px;
      background: white;
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 15px;
    }

    .contact-form {
      background: white;
      border-radius: 10px;
      padding: 20px;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    }

    .form-group {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-bottom: 20px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
      width: 100%;
      padding: 12px 15px;
      border: 1px solid lightgray;
      border-radius: 10px;
      font-family: 'Comfortaa';
      font-size: 0.85rem;
    }

    .contact-form input:focus,
    .contact-form select:focus,
    .contact-form textarea:focus {
      outline: none;
      border-color: cornflowerblue;
      box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
    }

    .contact-form textarea {
      min-height: 120px;
      resize: vertical;
      font-family: 'Comfortaa';
      font-size: 1rem;
    }

    .contact-form button {
      width: 100%;
      border: none;
    }

    /* =============  Animations  ============= */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .fade-in {
      animation: fadeIn 1s ease forwards;
    }








/********** OUR HISTORY [PAGE] **********/
#our-history-main-container {
  position: relative;
  padding: 0px 10%;
}

.our-history-content-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: fit-content;
    row-gap: 50px;
    margin-top: 20px;
}

.societies-included-with-photo-container {
  position: relative;
  display: flex;
  flex-wrap: wrap-reverse;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: fit-content;
  gap: 20px 50px;
  border-radius: 20px;
  padding: 20px;
  background-color: white;
  box-shadow: -0px 15px 30px rgba(0, 0, 0, 0.2);
}

.first-wprrs-exco-1992-text {
  position: relative;
  width: 300px;
  max-width: auto;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: left;

  p {
    position: relative;
    margin-bottom: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
    font-weight: bolder;
  }

  ul {
    border-top: 0.5px solid black;
    width: 90%;
    padding-top: 10px;
    line-height: 22px;
  }

  ul li {
    position: relative;
    margin-left: 20px;
  }
}

.first-wprrs-exco-1992-img {
  position: relative;
  width: 300px;
  max-width: auto;
  flex-grow: 1;
  border-radius: 10px;
}


/* portfolios */
#our-history-portfolios-main-container { 
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: fit-content;
  padding: 0px 10%;
}

.our-history-portfolios-content-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: fit-content;
  gap: 30px;
  margin-top: 20px;
}



/* legal documentation */
.our-history-legal-content-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: fit-content;
  gap: 20px;
  padding: 0 10%;
  margin-top: 20px;
}

.our-history-legal-div {
  position: relative;
  height: fit-content;
  display: flex;
  flex-direction: column;
  row-gap: 15px;
  width: 250px;
  max-width: auto;
  flex-grow: 1;
  border-radius: 15px;
  text-align: center;
  padding: 15px;
  background-color: rgb(250, 250, 250);
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);

  h3 {
    position: relative;
    width: 100%;
    border-bottom: 1px solid black;
    padding-bottom: 10px;
    pointer-events: none;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

.our-history-legal-div-button-container {
  position: relative;
  display: flex; 
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  border: 1px solid black;
  border-radius: 8px; 
  width: 100%;
  height: fit-content;

  button svg,
  a svg {
    position: relative;
    height: 20px;
    width: 20px;
    margin: 0;
    top: -1px;
  }

  button, a {
    position: relative;
    width: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    column-gap: 10px;
    border: none;
    background-color: transparent;
    margin: 0;
    padding: 7px 17px;
    cursor: pointer;
  }

  .our-history-legal-div-button-divider {
    position: relative;
    height: 20px;
    width: 1.5px;
    background-color: black;
  }
}

.our-history-legal-div-button-container:hover {
  background-color: rgb(0, 0, 0);

  button, a {
    color: white
  }

  .our-history-legal-div-button-divider {
    background-color: white;
  }
}


.our-history-legal-div:hover {
  border: none;
  background-color: rgb(250, 250, 250);
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.4);
}

.honorary-achievements-chairmen-info-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 15px 20px;
  height: fit-content;

  /* collapse feature */
  max-height: 0;
  overflow: hidden;
}

  .honorary-achievements-chairmen-info-container.show {
      max-height: fit-content;
  }

.honorary-achievements-chairmen-info {
  position: relative;
  display: flex;
  height: fit-content;
  width: fit-content;
  padding: 10px 30px;
  max-width: auto;
  flex-grow: 1;
  border: 1px solid black;
  border-radius: 30px;
  justify-content: center;
  text-align: center;

  p {
    position: relative;
  }
}

  .honorary-achievements-column-container {
      display: flex; 
      flex-direction: column; 
      justify-content: center; 
      align-items: center; 
      row-gap: 15px; 
      width: 80dvw; 
  
      .honorary-achievements-chairmen-info {
          width: 80%;
      }
  }


.honorary-achievements-chairmen-info:hover {
    background-color: rgb(245, 245, 245);
    border: none;
    box-shadow: 0 10px 15px -10px rgba(0, 0, 0, 0.4);
}

#our-history-legal-main-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: fit-content;
}

.our-history-legal-div-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 25vw;
  max-width: auto;
  flex-grow: 1;
  height: min-content;
  row-gap: 10px;
  border: 1.5px solid #797fa3;
  padding: 20px;
  border-radius: 15px;

  svg {
    position: relative;
    padding: 0px;
    height: auto;
    width: 10vw;
    color: #797fa3;
    margin: 0;
  }

  button {
    position: relative;
    width: 100%;
    background-color: lightgray;
    height: 50px;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    font-size: 1rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background-color: #797fa3;
    color: white;
  }
}

.our-history-legal-div-container button svg {
  position: relative;
  height: 25px;
  width: 25px;
  color: white;
}













/********** FOOTER **********/
#footer-main-container {
  position: relative;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: fit-content;
  /* background-color: rgba(10, 20, 40, 0.8); */
  background-color: #283242;
  color: white;
}

.footer-container-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 20px 15%;
  padding: 20px 5%;
}

.footer-logo-main {
  position: relative;
  width: 150px;
  height: 150px;
  bottom: -10px;
}

.footer-links-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px 50px;
  flex-grow: 1;
  width: 720px;
  max-width: auto;
}

.footer-contact-numbers, 
.footer-email-addresses, 
.footer-about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 5px;
  
  p, a {
    position: relative;
    font-size: 0.9rem;
    color: white;
  }
}

.footer-contact-number-info {
  display: flex;
  flex-direction: row;
  column-gap: 10px;
  width: 100%;

  svg {
    position: relative;
    width: 35px;
    height: 35px;
    color: white;
  }

  div {
    display: flex;
    row-gap: 3.5px;
    flex-direction: column;
    width: 100%;
  }
}



.footer-divider-line {
  position: relative;
  width: 90%;
  margin: 5px 0;
  height: 1px;
  background-color: white;
}

.footer-container-bottom {
  display: flex;
  flex-wrap: wrap-reverse;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 5%;
  margin-bottom: 15px;
  font-size: 0.75rem;
  text-align: center;
  gap: 20px 50px;
}

.legal-links {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  column-gap: 20px;

  a {
    color: white;
  }
}

.footer-copyright-text {
  position: relative;
  text-align: center;
}









/* referee applications styling */
.form-step { 
  display: none; 
  padding: 0 50px 0px 50px;
  width: 100%;
  border-radius: 20px;
  margin: 0;
}

.form-step.active { 
  display: block; 
}

button { margin: 10px 5px; }
.other-input { margin-top: 5px; display: none; }

/* Progress meter styles */
.progress-container {
  width: 70%;
  margin: 10px 0 30px 0;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 20px;
  font-family: 'Comfortaa';
  font-size: 0.8rem;
}

.progress-steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background-color: #e0e0e0;
  z-index: 1;
  transform: translateY(-50%);
}

.progress-bar {
  position: absolute;
  top: 50%;
  left: 0;
  height: 4px;
  background-color: #3C457E;
  z-index: 2;
  transform: translateY(-50%);
}

.step-marker {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  color: #666;
  font-weight: bold;
}

.step-marker.active {
  background-color: #3C457E;
  color: white;
}

.step-label {
  position: absolute;
  top: 55px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 12px;
  color: #666;
}
.step-marker.active + .step-label {
  color: #3C457E;
  font-weight: bold;
}

#test-application-form,
#junior-application-form,
#senior-application-form {
  position: relative;
  height: fit-content;
  width: 80%;
  margin-top: -5px;
  padding: 0 10px 10px 10px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: white;
  box-shadow: 0 0 30px 0px rgba(0, 0, 0, 0.1);
}

label {
  font-family: 'Comfortaa';
  font-size: 0.85rem;
}

.application-form-main-title {
  position: relative;
  color: #3C457E;
  font-size: 1.8rem;
  margin: 50px 0 30px 0;
  text-align: center;
}

.popup-close-button {
  cursor: pointer;
  padding: 5px;
}

.popup-close-button svg {
  width: 24px;
  height: 24px;
}

/* Section headers */
.application-section-header {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 10px 15px;
  margin-bottom: 20px;
  border-radius: 5px;
  background-color: #EEEDFF;
}

.application-section-header h2 {
  position: relative;
  color: #3C457E;
  margin: 0;
  font-size: 1.1rem;
}

.application-section-header h3 {
  position: relative;
  color: #3C457E;
  margin: 0;
  font-size: 1.1rem;
}

.application-header-line {
  position: relative;
  width: 100%;
  height: 1.5px;
  background-color: gray;
}

.application-sub-section-header {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  margin: 15px 0px;
  border-radius: 5px;
  background-color: #EEEDFF;
}

.application-sub-section-header h3 {
  position: relative;
  color: #3C457E;
  margin: 0;
  font-size: 1rem;
}

/* Form layout */
.align-divs-horizontally {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 20px;
  width: 100%;
  margin-bottom: 20px;
  height: auto;
}

.align-divs-horizontally input,
.align-divs-horizontally select {
  flex-grow: 1;
  width: 150px;
  max-width: auto;
  height: 30px;
  align-items: center;
  padding: 0px 10px;
  border: 1px solid black;
  border-radius: 10px;
  font-family: 'Comfortaa';
  font-size: 0.85rem;
}

.align-divs-horizontally-gender p, 
.align-divs-horizontally label {
  position: relative;
  top: 0px;
}

.align-divs-horizontally-gender select {
    font-family: 'Comfortaa';
    color: gray;
}

.align-divs-horizontally div {
    align-self: center;
    flex-grow: 1;
    width: 150px;
    max-width: auto;
    margin: 0;
    display: flex;
    align-items: center;
}

#id-number,
#passport-number,
#province {
  height: 30px;
  border-radius: 10px;
  padding: 0 20px;
  border: 1px solid black;
  flex-grow: 1;
  width: fit-content;
  max-width: auto;
}

.align-divs-horizontally-gender {
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 5px 50px;
  justify-content: center;
  margin-bottom: 15px;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
}

.align-divs-horizontally-gender div {
  display: flex; 
  flex-wrap: wrap;
  flex-direction: row;
  gap: 5px 20px;
  flex-grow: 1;
  max-width: auto;
}

.align-divs-horizontally-gender div select {
  flex-grow: 1;
  width: fit-content;
  max-width: auto;
  height: 30px;
  border-radius: 10px;
  padding: 0 20px;
}

.align-divs-horizontally-gender p {
  position: relative;
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
}

/* Experience sections (senior specific) */
.experience-item {
  margin-bottom: 15px;
  padding: 15px;
  background-color: #f5f5f5;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  border: 1px solid #ddd;
}

.add-experience-btn {
  background-color: #3C457E;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 30px;
  cursor: pointer;
  margin-bottom: 20px;
  font-family: 'Comfortaa';
  font-size: 0.85rem;
}

.add-experience-btn:hover {
  background-color: #2a325e;
}

/* Transport options */
.transport-options {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  justify-content: center;
}

.transport-option {
  display: flex;
  align-items: center;
  gap: 8px;
}

.transport-option input[type="radio"] {
  width: 16px;
  height: 16px;
}

/* Radio button questions */
.question-with-radio-buttons {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px 20px;
  font-size: 0.9rem;
  margin-bottom: 25px;
}

.question-with-radio-buttons p {
  margin: 0;
  font-weight: bold;
  min-width: 250px;
}

.question-with-radio-buttons div {
  position: relative;
  display: flex;
  column-gap: 15px;
}

.question-with-radio-buttons input[type="radio"] {
  width: 16px;
  height: 16px;
}

/* Declaration section */
.declaration-section {
  position: relative;
  font-size: 0.85rem;
  background-color: #EEEDFF;
  padding: 15px;
  border-radius: 10px;
  margin: 20px 0;
}

.declaration-section p {
  margin-bottom: 10px;
}

.checkbox-container {
  position: relative;
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-container input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

/* Form buttons */
.application-button-container {
  position: relative;
  margin-top: 20px;
  height: 40px;
  border-radius: 30px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  padding: 0px;
  justify-content: space-between;
  align-items: center;
  background-color: #EEEDFF;
  border: 1px solid #3C457E;
  width: 100%;
  margin: 20px auto;
}

.application-next-button {
  position: relative;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  border: none;
  column-gap: 10px;
  width: 150px;
  height: 40px;
  top: -1px;
  right: -1px;
  margin: 0;
  background-color: #3C457E;
  cursor: pointer;
  color: white;
  font-family: 'Comfortaa';
}

.application-next-button svg {
  width: 40px;
  height: auto;
  color: white;
  margin: 0;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(312deg) brightness(103%) contrast(101%);
}

.application-previous-button {
  position: relative;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 10px;
  border-radius: 30px;
  margin: 0;
  padding: 0px 0px 0px 20px;
  width: fit-content;
  border: none;
  background-color: transparent;
  cursor: pointer;
  font-family: 'Comfortaa';
}

.application-previous-button svg {
  width: 40px;
  height: auto;
  color: black;
  margin: 0;
}

.application-submit-button {
  position: relative;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  border: none;
  column-gap: 10px;
  width: fit-content;
  height: 40px;
  top: -1px;
  right: -1px;
  margin: 0;
  padding: 0 20px;
  background-color: #3C457E;
  cursor: pointer;
  color: white;
  font-family: 'Comfortaa';
}

.application-submit-button svg {
  width: 25px;
  height: 25px;
  color: black;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(312deg) brightness(103%) contrast(101%);
}

/* Form containers */
#junior-form-container,
#senior-form-container {
  max-height: 0;
  overflow: hidden;
  /* transition: max-height 0.5s ease, padding 0.5s ease; */
  padding: 0;
}

#junior-form-container.show,
#senior-form-container.show {
  max-height: 2500px;
  padding: 100px 0px 50px 0;
}

.verification-input {
    position: relative;
}

.verification-status {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    vertical-align: middle;
    background-size: contain;
    background-repeat: no-repeat;
}

.match {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="green"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>');
}

.no-match {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="red"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg>');
}

/* Validation styles */
input:required, select:required {
    border: 1px solid #ccc;
}

.required-message {
    position: relative;
    color: #ff4444;
    font-size: 0.8rem;
    font-family: Arial, Helvetica, sans-serif;
    margin-top: -10px;
    display: none;
}

.invalid-field {
    border-color: #ff4444 !important;
}

/* For the radio button groups */
.invalid-radio-group {
    outline: 2px solid #ff4444;
    padding: 5px;
    border-radius: 4px;
}

.invalid-radio-group p {
    color: #ff4444;
}


/* placeholer  */
.floating-label {
  position: relative;
  margin-bottom: 20px;
}

.floating-label input {
  padding: 10px;
  border: 1px solid #ccc;
  width: 200px;
}

.floating-label label {
  position: absolute;
  top: 8px;
  left: 10px;
  color: #999;
  pointer-events: none;
}

/* When input is focused or has content */
.floating-label input:focus ~ label,
.floating-label input:not(:placeholder-shown) ~ label {
  top: -5px; 
  font-size: 12px;
  color: #007bff;
  background-color: white;
  padding: 0 8px;
}



/* blur text for 'become a referee' page */
.b-a-r-landing-page-content-container {
  position: relative;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), 
    url('img/background-img-0005.jpg');
  background-size:cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  flex-direction: column;
  row-gap: 15px;
  justify-content: center;
  align-items: center;
  width: 85%;
  height: fit-content;
  padding: 50px 0;
  border-radius: 20px;
}


.blur-text-container {
  position: relative;
  margin-top: -100px;
  width: fit-content;
  height: fit-content;
  padding: 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  border-radius: 20px;
  backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.2);
}

.blur-text {
    color: rgba(255, 255, 255, 1);
    font-family: 'PermanentMarker';
  -webkit-text-stroke: 0.8px black; 
  text-stroke: 0.8px black;
  font-size: 8vw;
  position: relative;
  padding: 0.5rem 1rem;
}









/******************** CONTACT US [PAGE] ********************/
#contact-us-landing-section, 
#honorary-achievement-landing-section,
#our-history-landing-section {
  position: relative;
  height: auto;
  padding: 50px 10%;
  width: 70%;
  border-radius: 20px;
  /* background-color: rgb(50, 70, 90); */
  background-color: #283242;
  pointer-events: none;

  h2 {
    text-align: center;
    color: #283242;
    font-weight: bold;
    font-size: clamp(2.5rem, 6vw, 8vw);
    word-break:break-all;
    text-shadow: 
      0 0 10px rgba(240, 240, 240, 0.9), 
      0 0 15px rgba(255, 255, 255, 0.8), 
      0 0 25px rgba(255, 255, 255, 0.7), 
      0 0 45px rgba(255, 255, 255, 0.6);
  }

  p {
    position: relative;
    color: white;
    text-align: center;
    margin-top: 10px;
    font-size: clamp(1rem, 2vw, 3vw);

  }
}



  /* Info Cards */
  #contact-us-info-cards-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
      max-width: auto;
      margin: 40px auto;
      padding: 0 10%;
  }
  .contact-us-info-card {
      background: white;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  .contact-us-info-card:hover {
      transform: translateY(-5px);
  }
  .contact-us-info-card h3 {
      margin-top: 0;
      color: rgb(50, 70, 90);
  }

  .contact-us-info-card-icon-title {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    column-gap: 20px;
    margin-bottom: 10px;

    svg {
      position: relative;
      height: 30px;
      width: 30px;
      top: -2px;
      color: rgb(50, 70, 90);
    }

    h3 {
      font-size: 1.5rem;
    }
  }



  /* chairperson container */
  .contact-us-chairperson-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    height: fit-content;
    width: 100%;
  }




.new-exco-container {
  display: grid;
  gap: 20px 65px;

  .contact-us-chairperson-sub-content-container-1 h2 {
    font-size: 3.3vw;
  }
}

/* Layout grande (desktop) */
@media (min-width: 900px) {

  .new-exco-container {
    grid-template-areas: 
      "one two"
      "one three";
    /* grid-template-columns: 1fr 1fr; */
  grid-template-columns: minmax(100px, 330px) 1fr;

    grid-template-rows: auto auto;
  }
  .contact-us-chairperson-div-item:nth-child(1) { grid-area: one; }
  .contact-us-chairperson-div-item:nth-child(2) { grid-area: two; }
  .contact-us-chairperson-div-item:nth-child(3) { grid-area: three; }
}

/* Layout médio (tablet) */
@media (max-width: 899px) and (min-width: 600px) {
  .new-exco-container {
    gap: 50px 60px;

    grid-template-areas: 
      "one two"
      "three three";
      grid-template-columns: minmax(100px, 200px) 1fr;

    grid-template-rows: auto auto;
  }
  .contact-us-chairperson-div-item:nth-child(1) { grid-area: one; }
  .contact-us-chairperson-div-item:nth-child(2) { grid-area: two; }
  .contact-us-chairperson-div-item:nth-child(3) { grid-area: three; }
}

/* Layout pequeno (mobile) */
@media (max-width: 599px) {
  .new-exco-container {
    gap: 40px 60px;

    grid-template-areas: 
      "one"
      "two"
      "three";
          /* grid-template-columns: minmax(100px, 200px) 1fr 1fr; */

    grid-template-rows: auto auto auto;
    justify-items: center;
    text-align: center;
    width: 100%;

    .contact-us-chairperson-sub-content-container-1 h2 {
      width: 100%;
      text-align: center;
    }
  }
  .contact-us-chairperson-div-item:nth-child(1) { grid-area: one; }
  .contact-us-chairperson-div-item:nth-child(2) { grid-area: two; }
  .contact-us-chairperson-div-item:nth-child(3) { grid-area: three; }
}




  .contact-us-chairperson-img-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: end;
    border-radius: 20px;
    padding: 20px;
    background-color: rgb(165, 172, 186);
  }

  .contact-us-chairperson-img {
    position: relative;
    height: auto;
    width: 100%;
    border-radius: 15px;
  }

  .contact-us-chairperson-content-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: auto;
  }

  .contact-us-chairperson-sub-content-container-1 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-content: left;

    h2 {
      position: relative;
      width: fit-content;
      font-size: 2rem;
    }

    h3 {
      position: relative;
      margin-bottom: 10px;
    }

    p {
      position: relative;
      font-size: 0.9rem;
      line-height: 18px;
    }
  }

  .contact-us-chairperson-content-divider {
    position: relative;
    height: 1px;
    /* width: 100%; */
    margin: 30px 0;
    background-color: #000000;
  }

  .contact-us-chairperson-sub-content-container-2 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: left;

    h3 {
      position: relative;
      margin-bottom: 10px;
    }

    p {
      position: relative;
      font-size: 0.9rem;
      line-height: 18px;
    }
  }

  .contact-us-experience-container {
    position: relative;
    display: flex;
    justify-content: left;
    padding: 0;
    flex-direction: column;
    margin-top: 10px;

    div {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: row;
      row-gap: 15px;
      width: fit-content;
    }

    div svg {
      position: relative;
      height: 25px;
      width: 25px;
      margin-right: 15px;
      color: rgb(100, 110, 130);
    }

    div p {
      position: relative;
      font-size: 0.9rem;
    }
  }







  /* Team Directory */
  #contact-us-office-contacts-container {
    background: white;
    max-width: auto;
    margin: 40px auto;
    padding: 50px 10% 80px 10%;
    border-radius: 10px;
  }

  #contact-us-office-contacts-container h2 {
    position: relative;
    text-align: center;
    margin-bottom: 20px;
  }


/* executive members section */
.contact-us-exco-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px 40px;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 0 10%;
}


#contact-us-regional-coaches-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 0 10%;
}

.contact-us-exco-intro-paragraph {
  position: relative;
  width: 100vw;
  padding: 0 10%;
  text-align: center;
  margin: -20px 0 50px 0;
}

  #executive-members-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 15px;
  }

  /* .executive-member-card,  */
  #contact-us-regional-coaches-container .regional-coach-card {
    position: relative;
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 300px;
    max-width: auto;
    flex-grow: 1;
    padding: 5px 15px;
    border-radius: 10px;
    gap: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);


    .executive-member-img {
      position: relative;
      height: 85px;
      width: 85px;
      border-radius: 10px;
      border: 1px solid black;
      padding: 10px;
    }
  }

  .executive-member-text-container {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 5px;
    width: fit-content;
    height: 100px;
    max-width: auto;
    flex-grow: 1;
    
    h2 {
      position: relative;
      font-size: 1rem;
    }

    p, a {
      position: relative;
      font-size: 0.8rem;
    }
  }

  .team-grid {
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }

  .member {
    background: rgb(215, 222, 234);
    padding: 15px;
    border-radius: 8px;
    text-align: center;

    h4 {
      font-size: 1.45rem;
    }

    div {
      position: relative;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      column-gap: 10px;
    }

    div svg {
      position: relative;
      height: 20px;
      width: 20px;
      padding: 0;
      margin: 0;
      border: none;
    }
  }

  .member:hover {
    background: #e6f0ff;
  }

.member svg {
  position: relative;
  padding: 10px;
  border: 1px solid black;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}
.member h4 {
  margin: 10px 0 5px;
}
.member p {
  margin: 0;
  font-size: 0.9rem;
}



/* contact us */
#contact-us-contact-form-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 10%;
}

#contact-us-contact-form {
  position: relative;
  margin-top: 15px;
  width: 100%;
  background-color: white;
  border-radius: 20px;
  padding: 50px 8vw 30px 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);

  input, 
  select {
    position: relative;
    width: 100%;
    max-width: auto;
    flex-grow: 1;
    /* height: 30px; */
    padding: 7.5px 12.5px;
    border-radius: 5px;
    font-size: 0.9rem;
  }

  div {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 15px;
  }

  div input {
    position: relative;
    width: 200px;
    max-width: auto;
    flex-grow: 1;
    font-size: 0.9rem;
  }

  textarea {
    position: relative;
    width: 100%;
    resize: vertical;
    padding: 7.5px 12.5px;
    font-size: 0.9rem;
  }

  button {
    position: relative;
    font-size: 1rem;
    padding: 10px 30px;
    border-radius: 20px;
    background-color: transparent;
    border: 1px solid cornflowerblue;
    color: cornflowerblue;
    cursor: pointer;
  }

  button:hover {
    transform: scale(1.1);
    border: 1px solid cornflowerblue;
    background-color: cornflowerblue;
    color: white;
  }
}



/* Map */
.map {
    max-width: auto;
    margin: 40px auto;
    padding: 0 10%;
}
.map iframe {
    width: 100%;
    height: 350px;
    border: none;
    border-radius: 10px;
}






/******************** CONTACT US [PAGE] ********************/
#match-day-duties-main-container {
  position: relative;
  height: fit-content;
  width: 100%;
  padding: 0 10%;
}

.match-day-duties-text-container {
  position: relative;
  text-align: center;
  margin-top: 15px;
}


.match-day-duties-documents-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 50px 30px 25px 30px;
  border-radius: 20px;
  gap: 15px 30px;
  background-color: rgb(132, 140, 159);
}

.match-day-duties-documents-header-container {
  position: absolute;
  width: 360px;
  max-width: auto;
  margin: 0;
  height: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  column-gap: 20px;
  padding: 5px 20px;
  top: -25px;
  border-radius: 15px;
  background-color: rgb(50, 70, 90);
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0.3);


  svg {
    position: relative;
    height: 40px;
    width: 40px;
    margin: 0;
    color: white;
  }

  h2 {
    position: relative;
    color: white;
  }
}

.match-day-document-button {
  position: relative;
  height: fit-content;
  width: fit-content;
  max-width: auto;
  flex-grow: 1;
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  column-gap: 30px;
  align-items: center;
  padding: 10px 10px;
  background-color: rgb(240, 240, 240);
  cursor: pointer;

  svg {
    position: relative;
    height: 30px;
    width: 30px;
  }
}

.match-day-document-button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
}


/* sa rugby law book */
.sa-rugby-law-book-container {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  row-gap: 20px;
}

.sa-rugby-law-book-link-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0px 30px;
  width: fit-content;
  height: fit-content;
  padding: 0px 30px;
  border-radius: 20px;
  cursor: pointer;
  z-index: 2;

  p {
    position: relative;
  }

  svg {
    position: relative;
    height: 45px;
    width: auto;
  }
}

.sa-rugby-law-book-link-container:hover {
  background-color: whitesmoke;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
  gap: 0px 40px;

  p {
    position: relative;
  }
}


/* match report section */
#match-report-main-container {
  position: relative;
  padding: 80px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: rgb(250, 250, 250);
}

.match-report-text-container {
  position: relative;
  width: 100%;
  height: fit-content;
  margin-top: 15px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 10px;

  p {
    position: relative;
  }
}



/* disciplinary committee reports */
#disciplinary-committee-reports-container {
  position: relative;
  padding: 0 10%;
}

.disciplinary-committee-reports-text-container {
  position: relative;
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  row-gap: 12.5px;
  align-items: center;
  justify-content: center;
  text-align: center;

  p {
    position: relative;
    line-height: 19.5px;
  }
}


/* useful links section */
#useful-links-main-container {
  position: relative;
  width: 100%;
  padding: 50px 10%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  /* background-color: rgb(250, 250, 250); */
  background-color: rgb(204, 210, 224);
  align-items: center;
}

.useful-links-left-container {
  position: relative;
  display: flex;
  flex-direction: column;
  width: fit-content;
  min-width: 200px;

  .useful-link-text-1 {
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 5vw;
  }

  .useful-link-text-2 {
    position: relative;
      font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 5.8vw;
  }
}

.useful-links-right-container {
  position: relative;
  display: flex;
  flex-direction: column;
  width: fit-content;
  left: -20px;
}

.useful-link-div {
  position: relative;
  display: flex;
  justify-content: start;
  align-items: center;
  flex-direction: row;
  column-gap: 15px;
  margin-bottom: -10px;

  svg {
    position: relative;
    height: auto;
    width: 50px;
    margin: 0;
  }
}

.useful-link-div:hover {
  transform: translateX(10px);
}








/******************** VIRTUAL MEETINGS [PAGE] ********************/
#virtual-meetings-latest-video-main-container {
  position: relative;
  width: 80%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin: 15px 0;
  padding: 0 10%;
  justify-items: center;
  align-content: center;
  justify-content: center;
  border-radius: 20px;
  padding: 30px;
  background-color: white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.virtual-meetings-latest-video-right-container {
  position: relative;
  height: 100%;
  width: 100%;

  iframe {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12.5px;
  }
}

/* all videos */
#virtual-meetings-videos-main-container {
  position: relative;
  padding: 0 10%;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
    gap: 2rem;
    margin: 15px 0;
}

.video-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
            
.video-card:hover {
    transform: translateY(-5px);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    margin-top: 0;
    color: #1a3a6a;
}

.video-info p {
    color: #555;
    margin-bottom: 0;
    font-size: 0.85rem;
}


.virtual-meetings-info-container {
    position: relative;
    width: 100%;
    margin: 2rem auto;
    padding: 0 10%;
}

.virtual-meetings-hero-section {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.virtual-meetings-hero-section h2 {
    color: #1a3a6a;
    margin-top: 0;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 0.5rem;
    display: inline-block;
}



.upcoming-section {
    background-color: #323f53;
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin: 3rem 0;
    text-align: center;
}

.upcoming-section h2 {
    margin-top: 0;
    color: #ffffff;
    border-bottom: 1.5px solid white;
    padding: 0 0 10px 0;
    margin-bottom: 10px;
}







/******************** EXIMINATIONS / TAKE OUR TEST [PAGE] ********************/
#examination-main-container {
  position: relative;
  width: 100%;
  padding: 0 10%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.examination-quiz-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: fit-content;
  width: 250px;
  max-width: auto;
  flex-grow: 1;
  padding: 15px 20px;
  border-radius: 20px;
  background-color: rgb(255, 255, 255);
  border: 0.5px solid white;
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);

  h2 {
    position: relative;
    border-bottom: 1.5px solid black;
    padding-bottom: 5px;
    border-color: rgb(50, 75, 120);
    margin-bottom: 15px;
    font-weight: bolder;
    pointer-events: none;
    color: rgb(50, 75, 120);
  }

  h3 {
    position: relative;
    font-weight: bold;
    pointer-events: none;
    color: rgb(50, 75, 120);
  }

  p {
    font-size: 0.9rem;
    pointer-events: none;
    padding: 5px 0 15px 0;
  }

  button {
    position: relative;
    height: fit-content;
    width: fit-content;
    padding: 10px 30px;
    border-radius: 20px;
    border: none;
    font-size: 1rem;
    width: 70%;
    cursor: pointer;
    border: 1.5px solid rgb(150, 165, 180);
    background-color: transparent;
  }

  button:hover {
    background-color: rgb(141, 176, 209);
    width: 75%;
  }
}

.examination-quiz-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.4);
}








/******************** ANNUAL REPORTS [PAGE] ********************/
.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* Main Content */
.annual-reports-documents-main-container {
    position: relative;
    width: 100%;
    margin: 2rem auto;
    padding: 0 10%;
}

.annual-reports-page-header {
    position: relative;
    text-align: center;
    margin-bottom: 2rem;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 8px 10px rgba(0,0,0,0.2);
    padding: 30px 80px;
    width: 80%;
    pointer-events: none;
}


/* Reports Grid */
.annual-reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 15px;
}

.annual-report-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.annual-report-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.annual-report-thumbnail {
  height: 180px;
  background-color: #e8f1f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a3a6a;
  font-size: 4rem;
}

.annual-report-info {
  padding: 10px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  z-index: 2;
  background-color: white;    
}

.annual-report-info h3 {
    margin-top: 0;
    color: #1a3a6a;
    font-size: 1.3rem;
}

.annual-report-meta {
    display: flex;
    justify-content: space-between;
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: auto;
    font-family: 'Roboto';
}

.annual-report-download-btn {
    max-width: auto;
    flex-grow: 1;
    padding: 7.5px;
    column-gap: 15px
}

.annual-report-download-btn:hover {
    background-color: #0f2a4d;
}

/* download button container */
.annual-report-card-buttons-container {
    position: relative;
    display: flex;
    flex-direction: row;
    column-gap: 10px;
    justify-content: space-between;
}

.annual-report-card-buttons-container a, 
.annual-report-card-buttons-container button {
    position: relative;
    display: flex;
    flex-direction: row;
    background-color: #1a3a6a;
    color: white;
    height: fit-content;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    margin-top: 1rem;
}

.annual-report-card-buttons-container a svg {
    position: relative;
    height: 25px;
    width: 25px;
}

.annual-report-card-buttons-container button svg {
    position: relative;
    height: 40px;
    width: 40px;
    padding: 7px;
}

.annual-report-card-buttons-container button {
    position: relative;
    right: -5px;
}

.annual-report-card-buttons-container a p {
    position: relative;
    margin: 0;
    font-size: 0.85rem;
}


/* Responsive Design */
@media (max-width: 768px) {
    .annual-reports-grid {
        grid-template-columns: 1fr;
    }
}








/******************** GRADING SYSTEM [PAGE] ********************/
#grading-system-intro-container {
  position: relative;
  height: fit-content;
  width: 80%;
  padding: 0 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 20px;  
  border-radius: 20px;
  padding: 30px 50px 20px 50px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  background-color: rgb(250, 250, 250);

  div h1 {
    border-bottom: 2px solid black;
    padding-bottom: 15px;
  }
}

.grading-system-intro-container-text {
  position: relative;
  width: 100%;
  height: fit-content;
  text-align: center;
  margin-top: 5px;
}

.grading-system-intro-container-button {
  position: relative;
  height: fit-content;
  width: fit-content;
  padding: 10px 50px;
  border-radius: 30px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  column-gap: 20px;
  border: 1.5px solid rgb(80, 100, 130);
  background-color: transparent;
  cursor: pointer;

  p {
    position: relative;
    font-size: 1rem;
    color: rgb(60, 70, 90);
    font-weight: bolder;
  }

  svg {
    position: relative;
    height: 30px;
    width: 30px;
    color: rgb(80, 100, 130);
  }
}

.grading-system-intro-container-button:hover {
  background-color: rgb(80, 100, 130);

  p, svg {
    color: white;
  }
}







/******************** BOKSMART [PAGE] ********************/
#boksmart-main-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: fit-content;
  width: 100%;
  padding: 0 10%;
  row-gap: 100px;
}

.boksmart-img-container {
  position: relative;
  height: fit-content;
  width: 100%;
  padding: 0 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: -20px 0;

  img {
    position: relative;
    width: 50vw;
  }
}

.boksmart-text-container {
  position: relative;
  padding: 30px 50px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background-color: rgb(250, 250, 250);
  height: fit-content;

  p {
    position: relative;
    line-height: 22.5px;
  }

  .section-title-container h1 {
    position: relative;
    border-bottom: 2px solid black;
    width: 70%;
    padding-bottom: 15px;
    background-color: transparent;
  }
}

.boksmart-documents-container {
  position: relative;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}



/* my boksmart */
#my-boksmart-main-container {
  position: relative;
  width: 100%;
  padding: 0 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.my-boksmart-img-text-container {
  position: relative;
  width: 100%;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  padding: 30px 50px;
  gap: 20px 50px;
  justify-content: center;
  align-items: center;
}

.my-boksmart-img {
  position: relative;
  height: 100%;
  width: 100%;
  /* width: min-content; */
  /* flex-grow: 1; */
}

.my-boksmart-text-container {
  position: relative;
  height: 100%;
  width: 100%;
  /* width: min-content; */
  /* flex-grow: 1; */

  p {
    top: 50%;
    transform: translateY(-50%);
    position: relative;
    height: fit-content;
    text-align: center;
  }
}


.my-boksmart-word-button {
  position: relative;
  z-index: 10;
  width: fit-content;
  height: fit-content;
  cursor: pointer;
  pointer-events: all;
  font-size: 1.05rem;
  color: rgb(50, 75, 120);
  font-weight: bolder;
}

.my-boksmart-word-button:hover {
  font-size: 1.15rem;
}








/******************** NEWS [PAGE] ********************/
#news-featured-stories-container {
  position: relative;
  width: 100%;
  padding: 0 10%;
}

/* Featured news story */
.news-featured-card {
  position: relative;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-top: 15px;
}

.news-featured-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.news-featured-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.news-featured-card .news-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: #374151;
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  border: 0.5px solid white;
  padding: 10px 30px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
}

.featured-news-content,
.news-featured-card .news-content {
  padding: 1rem 1.5rem 1.5rem 1.5rem;
}

.news-featured-card h2 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #111827;
}

.news-featured-card p {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.news-featured-card .news-date {
  font-size: 0.85rem;
  color: gray;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: Arial, Helvetica, sans-serif;

  svg {
    position: relative;
    height: 20px;
    width: 20px;
  }
}

#news-all-stories-container {
  position: relative;
  width: 100%;
  padding: 0 10%;
}

#news-current-filter-option-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(50, 70, 90);
  width: 80%;
  padding: 10px 20px;
  border-radius: 10px;
  height: fit-content;

    h2 {
    color: white;
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2rem;
    }
}

.news-year-filter-button.active {
    background-color: rgb(40, 80, 120);
    color: white;
}

.news-year-filter-options-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  height: fit-content;
  width: 80%;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  padding: 20px 50px; 
  gap: 15px;

  button {
    position: relative;
    font-size: 1rem;
    padding: 10px 20px;
    margin: 0;
    border-radius: 20px;
    border: 1px solid rgb(40, 80, 120);
    background-color: transparent;
    cursor: pointer;
    color: rgb(40, 80, 120);
    width: fit-content;
    max-width: auto;
    flex-grow: 1;
  }

  button:hover {
    transform: scale(1.05);
  }

  .all {
    width: 100%;
  }
}


    .news-year-display {
      color: white;
      text-align: center;
      padding: 1.5rem;
      margin: 0 0 2rem 0;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      position: relative;
    }
    .news-year-display h2 {
      font-size: 1.8rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
    }
    .news-year-display .news-year-badge {
      padding: 0.4rem 1.2rem;
      border-radius: 30px;
      font-weight: 700;
      font-size: 1.5rem;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    }

    .news-year-display p {
      margin-top: 0.5rem;
      opacity: 0.9;
      font-size: 1.1rem;
    }

    .news-filters-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;
      margin-top: 2rem;
    }

    .news-filter-group {
      background: rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      padding: 0.75rem;
    }

    .news-filter-group h3 {
      margin-bottom: 0.75rem;
      font-size: 1rem;
      font-weight: 600;
    }

    .news-filters {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      justify-content: center;
    }

    .news-filters button {
      background: rgba(255, 255, 255, 0.2);
      border: none;
      padding: 0.5rem 1rem;
      border-radius: 20px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s;
      color: white;
    }

    .news-filters button:hover {
      background: rgba(255, 255, 255, 0.3);
    }

    .news-filters button.active {
      background: paleturquoise;
      color: gray;
    }

    .news-year-select {
      background: rgba(255, 255, 255, 0.2);
      border: none;
      border-radius: 20px;
      padding: 0.5rem 1rem;
      color: white;
      font-weight: 500;
      cursor: pointer;
    }

    .news-year-select option {
      background: gray;
    }

    /* News grid */
    .news-container {
      width: 100%;
      margin-top: 15px;
    }

    .news-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 2rem;
      width: 100%;
    }

    .news-card {
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      width: 100%;
      max-width: auto;
      flex-grow: 1;
      transition: transform 0.3s, box-shadow 0.3s;
    }

    .news-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 0 15px rgba(0,0,0,0.15);
    }

    .news-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }

    .featured-news-content,
    .news-card .news-content {
      padding: 1.5rem;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .news-card h3 {
      font-size: 1.15rem;
      margin-bottom: 0.75rem;
      color: #111827;
      line-height: 1.4;
      height: 50px;
      display: flex;
      align-items: center;
    }

    .news-card .news-meta {
      display: flex;
      justify-content: space-between;
      margin-bottom: 1rem;
      font-size: 0.85rem;
      font-family: Arial, Helvetica, sans-serif;
    }

    .news-card time {
      color: gray;
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }

    .news-card .news-category {
      background: lightgray;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 5px 10px;
      border-radius: 5px;
      font-family: Arial, Helvetica, sans-serif;
      font-size: 0.8rem;
    }

    .news-card p {
      flex: 1;
      font-size: 0.95rem;
      color: #374151;
      margin-bottom: 1.5rem;
      line-height: 1.5;
    }
    
    .news-featured-story-button,
    .news-card a {
      align-self: flex-start;
      text-decoration: none;
      background: transparent;
      padding: 3px 30px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: row;
      column-gap: 15px;
      border: 1px solid rgb(10, 100, 200);
      height: fit-content;
    }

    .news-featured-story-button p,
    .news-card a p {
      position: relative;
      color: rgb(10, 100, 200);
      width: fit-content;
      margin: 0;
    }

    .news-featured-story-button svg,
    .news-card a svg {
      position: relative;
      height: 35px;
      width: auto;
      margin: 0;
      color: rgb(10, 100, 200);
    }

    .news-featured-story-button:hover,
    .news-card a:hover {
      background-color: rgb(10, 100, 200);

      svg, p {
        color: white;
      }
    }

    /* No results message */
    .news-no-results {
      grid-column: 1 / -1;
      text-align: center;
      padding: 3rem;
      background: white;
      border-radius: 16px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }

    .news-no-results i {
      font-size: 3rem;
      color: lightgray;
      margin-bottom: 1rem;
    }

    .news-no-results h3 {
      font-size: 1.5rem;
      margin-bottom: 1rem;
      color: gray;
    }

    .news-no-results p {
      color: gray;
      max-width: 500px;
      margin: 0 auto;
    }

    /* Load more button */
    .news-load-more {
      text-align: center;
      margin: 2rem 0 4rem;
    }

    .news-load-more button {
      background: #001946;
      color: #fff;
      padding: 0.9rem 2rem;
      border: none;
      border-radius: 8px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.3s;
      display: inline-flex;
      align-items: center;
      gap: 0.75rem;
    }

    .news-load-more button:hover {
      background: gray;
    }

    /* Animation for filtering */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    .news-card {
      animation: fadeIn 0.5s ease-out;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .news-year-display h2 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
      }
      .news-year-display .news-year-badge {
        font-size: 1.3rem;
        padding: 0.3rem 1rem;
      }
      .news-hero {
        padding: 2rem 1.5rem 3rem;
      }
      .news-hero h1 {
        font-size: 2.2rem;
      }
      .news-filters-container {
        flex-direction: column;
      }
      .news-filter-group {
        width: 100%;
      }
      .news-carousel-container {
        padding: 0 1rem;
      }
      .news-container {
        padding: 0 1rem;
      }
      .news-grid {
        grid-template-columns: 1fr;
      }
      .news-carousel-nav {
        display: none;
      }
    }





/******************** NEWS: CONTENT [PAGE] ********************/
#main-breadcrumbs-container {
  position: relative;
  width: fit-content;
  height: fit-content;
  padding: 10px 40px;
  border-radius: 10px;
  background-color: white;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  column-gap: 10px;
  margin: 0 10%;
  box-shadow: 0 0 30px -10px rgba(0, 0, 0, 0.2);

  svg {
    position: relative;
    height: 30px;
    width: 30px;
    color: rgb(50, 75, 120);
  }
}

.breadcrumb-div-home {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  column-gap: 10px;
  cursor: pointer;

  svg {
    position: relative;
    height: 25px;
    width: 25px;
    color: rgb(50, 75, 120);
  }

  p {
    position: relative;
    color: rgb(50, 75, 120);
    font-weight: bolder;
    font-size: 0.9rem;
    font-family: 'Comfortaa';
  }
}

.breadcrumb-link {
  position: relative;
  text-decoration: none;
  font-size: 1rem;
  color: rgb(50, 75, 120);
  font-weight: bolder;
  font-size: 0.9rem;
  font-family: 'Comfortaa';
}

/* page content */
#news-downloadable-content-container {
  position: relative;
  padding: 0 10%;
}

#news-main-text-container {
  position: relative;
  width: 80%;
  padding: 50px;
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.4);
}

.news-main-img {
  position: relative;
  width: 80%;
  height: auto;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 20px;
}

.news-main-img:hover {
  transform: translate(-50%, -5px);
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.7);
}

#news-photo-text-grid-container {
  position: relative;
  width: 80%;
  display: grid;
  padding: 30px 50px;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
}

#news-photo-text-grid-container-2 {
  position: relative;
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 30px 50px;
  gap: 30px 50px;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);

  img {
    position: relative;
    height: 100%;
    width: 250px;
    max-width: auto;
    flex-grow: 1;
    border-radius: 15px;
  }

  .news-article-text-content {
    position: relative;
    height: auto;
    width: 400px;
    max-width: auto;
    flex-grow: 1;
  }
}

#news-video-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  height: fit-content;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);

  iframe {
    position: relative;
    width: 100%;
    height: 50dvh;
    border: none;
  border-radius: 20px;
    
  }
}

#news-photo-grid-container {
  position: relative;
  padding: 0 10%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;

  img {
    position: relative;
    height: 100%;
    width: 300px;
    max-width: auto;
    flex-grow: 1;
    border-radius: 10px;
  }
}








/******************** PHOTO ALBUM [PAGE] ********************/
#gallery-main-content-container {
    position: relative;
    width: 100%;
    padding: 0 10%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.gallery-photo {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    aspect-ratio: 1;
}

.gallery-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.gallery-photo.landscape {
    aspect-ratio: 16/9;
}

.gallery-photo.portrait {
    aspect-ratio: 9/16;
}

.gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-photo:hover img {
    transform: scale(1.05);
}

.gallery-photo-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 20px 15px 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-family: 'Comfortaa';
    font-size: 0.9rem;
}

.gallery-photo:hover .gallery-photo-name {
    opacity: 1;
    transform: translateY(0);
}

/* Modal Styles */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
    padding: 20px;
}

.gallery-modal.open {
    opacity: 1;
    pointer-events: all;
}

.gallery-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-modal-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-modal-caption {
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    margin-top: 20px;
    text-align: center;
    max-width: 600px;
    font-family: 'Comfortaa';
}

.gallery-close-btn {
    position: absolute;
    top: -20px;
    right: -20px;
    background: #e74c3c;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s ease;
    border: none;
    padding: 7.5px;
}

.gallery-close-btn:hover {
    background: #c0392b;
}

/* thumbnails */
.modal-button-container {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 2000;
    margin-bottom: -25px;
    bottom: 0;
    align-self: end;
}

.gallery-prev, .gallery-next {
    position: relative;
    font-size: 2rem;
    color: white;
    background: rgba(0,0,0,0.5);
    border-radius: 5px;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.gallery-prev {left: 20px;}
.gallery-next {right: 20px;}

.breadcrumbs-current-page-text-long {
  display: block;
}

.breadcrumbs-current-page-text-short {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .gallery-modal-caption {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .gallery-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-photo.landscape, .gallery-photo.portrait {
        aspect-ratio: 1;
    }

  #gallery-main-content-container {
      position: relative;
      width: 100%;
      padding: 0 7.5%;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
      gap: 20px;
  }

  #main-breadcrumbs-container {
    font-size: 0.75rem;
    padding: 10px 25px;
    column-gap: 0;
    width: max-content;
    left: 50%;
    transform: translateX(-50%);
    justify-content: space-between;
    width: 80%;
    margin: 0;
  }

  .breadcrumbs-current-page-text-long,
  .breadcrumbs-home-page-text {
    display: none;
  }

  .breadcrumbs-current-page-text-short {
    display: block;
  }
}





/******************** PHOTO ALBUM [PAGE] ********************/
#our-referees-main-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 10%;
}

.our-referees-info-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  justify-content: center;
  align-items: center;
  gap: 15px 20px;
  width: 100%;
  padding-top: 20px;
    
  /* collapse feature */
  max-height: 0;
  overflow: hidden;

  .referee-information {
    position: relative;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    padding: 10px 30px;
    column-gap: 20px;
    /* min-width: auto;
    max-width: 400px; */
    flex-grow: 1;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 8px 20px -15px rgba(0, 0, 0, 0.4);
  }

  .referee-information .referee-information-svg {
    position: relative;
    height: 75px;
    width: 75px;
  }
}

.our-referees-info-container.show {
    max-height: fit-content;
    margin-bottom: 100px;
}

.referee-information-text-container {
  position: relative;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.our-referees-view-profile-button {
  position: relative;
  display: flex;
  flex-direction: row;
  column-gap: 10px;
  height: fit-content;
  width: 120px;

  p {
    position: relative;
    font-size: 0.9rem;
  }

  svg {
    position: relative;
    height: 20px;
    width: 20px;
    top: -2px;
  }
}

.our-referees-main-img {
  position: relative;
  height: auto;
  width: 80vw;
}