* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Aileron;
  line-height: 1.6;
  color: #111;
}
@font-face {
    font-family: Poppins-Bold;
    src: url('./fonts/Poppins-Bold.ttf');
}
@font-face {
    font-family: Aileron;
    src: url('./fonts/Aileron-Regular.otf');
}
@font-face {
    font-family: Aileron-Bold;
    src: url('./fonts/Aileron-Bold.otf');
}
a {
    text-decoration: none;
}
.hero {
  background: url('./images/default-header-bg-1.png') center/cover no-repeat;
  padding: 80px 0;
  text-align: center;
  color: white;
  position: relative;
  height: 100vh;
}
.hero.min {
    height: 50vh;
}
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  /*background: rgba(0, 0, 0, 0.4);*/
  padding: 20px 50px;
  position: absolute;
  top: 0;
  width: 100%;
}
.navbar .mobile_logo {
    display: none;
}
.navbar .logo {
  font-weight: bold;
}

.navbar .logo img {
    width: auto;
    height: 150px;
    cursor: pointer;
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 15px;
  align-items: center;
}
.navbuttons {
    padding: 10px 25px;
    border-radius: 50px;
    background: #fff;
    backdrop-filter: blur(7.5px);
    color: #000;
    font-size: 15px;
    cursor: pointer;
    height: fit-content;
}
/*.navbuttons:hover {*/
/*    background: rgba(255, 255, 255, 0.60);*/
/*}*/
.navbar .hamburger-menu {
    color: #ffffff;
    font-size: 25px;
    display: none;
}
.hamburger-menu-close {
    color: #080a33;  
    font-size: 25px;
    display: none;
}
.navbar .navbar_action_buttons {
    height: 80%;
    /*width: 25%;*/
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.navbar .navbar_action_buttons .navbar_btn {
    padding: 10px 25px;
    border-radius: 5px;
    border: none;
    color: white;
    font-size: 12px;
}
.navbar .hamburger-menu {
    color: #ffffff;
    font-size: 25px;
    display: none;
}
.hamburger-menu-close {
    color: #080a33;  
    font-size: 25px;
}
.mobile_nav_bar {
    display: none;
}
.mobile_nav_bar .navbar_navigation {
    display: none;
}
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    /*background-color: #f9f9f9;*/
    min-width: 200px;
    margin-left: -55px;
    border-radius: 30px;
    margin-top: 0px;
    background: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(7.5px);
    padding: 12px 16px;
    z-index: 1;
}
.dropdown-content a button {
    padding: 10px 0;
    background: none;
    border: none;
    color: #000;
    font-size: 15px;
    cursor: pointer;
}
.dropdown:hover .dropdown-content {
  display: flex;
  flex-direction: column;
}
.btn {
  background: #fff;
  color: #000;
  padding: 13px 25px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 17px;
  height: fit-content;
}

.btn.outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.hero-content {
    margin-top: 300px;
    width: 100%;
    padding: 0 15%;
    align-self: center;
}
.hero.min.swimming {
  background: url('./images/swimming-header-bg-2.png') center/cover no-repeat;
}
.hero.min.lawn_t {
  background: url('./images/lawnt-header-bg.png') center/cover no-repeat;
}
.hero.min.darts {
  background: url('./images/dart-header-bg.png') center/cover no-repeat;
}
.hero.min.cads {
  background: url('./images/cads-header-bg.png') center/cover no-repeat;
}
.hero.min.snooker {
  background: url('./images/snooker-header-bg.png') center/cover no-repeat;
}
.hero.min.table_t {
  background: url('./images/table-t-header-bg.png') center/cover no-repeat;
}
.hero.min.squash {
  background: url('./images/squash-header-bg.png') center/cover no-repeat;
}

.hero.min .hero-content {
    margin-top: 100px;
}
.hero-content h1 {
    align-self: center;
    color: #FFF;
    text-align: center;
    font-family: Aileron-Bold;
    font-size: 70px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}

.hero-content p {
    font-size: 24px;
    margin: 50px;
    font-family: Aileron;
}
.hero-content h1 span {
  color: #3f2a85;
}
.hero-buttons {
    display: flex;
    align-self: center;
    justify-content: center;
    column-gap: 30px;
    margin-top: 20px;
}

.hero-buttons .btn {
    display: flex;
    height: 60px;
    padding: 17px 29px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 60px;
    background: #000080;
    color: #ffffff;
    font-family: Aileron;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.hero-buttons .btn.outline {
    background: transparent; 
    color: #ffffff;
}
.join-banner {
    background: #000080;
    color: white;
    text-align: center;
    width: 70%;
    display: flex;
    padding: 19px 56px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 100px auto;
    border-radius: 25px;
}
.join-banner b {
    color: #FFF;
    text-align: center;
    font-family: Aileron;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.48px;   
}
.features {
  padding: 60px 20px;
  background: #F8FBFB;
  text-align: center;
}
.features h1 {
    color: #000080;
    font-family: Poppins-Bold;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 180%; /* 72px */
}
.features p {
    font-size: 18px;
    font-weight: 700;
    color: #666;
}
.features-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.feature-card {
    background: white;
    border-radius: 15px;
    background: #FFF;
    box-shadow: 0px 7.5px 45px 0px rgba(38, 45, 118, 0.08);
    display: flex;
    flex-direction: column;
    width: 337.5px;
    padding: 25px 25px;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.feature-card h3 {
    color: #000080;
    text-align: center;
    font-family: Aileron;
    font-size: 22.5px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.feature-card p {
    color: #000057;
    text-align: center;
    font-family: Aileron;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 23px; /* 164.286% */
}
.feature-card .card-icon {
    width: 75px;
    height: 75px;
    flex-shrink: 0;
    background: #000080;
    border-radius: 50%;
    margin: 20px auto;
    filter: drop-shadow(0px 7.5px 30px rgba(54, 61, 136, 0.06));
    display: flex;
    justify-content: center;
    align-items: center;
}
.card-icon svg {
    margin: auto;
}
.legacy {
  background: #000080;
  color: white;
  text-align: center;
  padding: 60px 15%;
}
.legacy h1 {
    color: #FFF;
    text-align: center;
    font-family: Aileron-Bold;
    font-size: 60px;
    font-style: normal;
    font-weight: 700;
    line-height: 180%; /* 108px */
}
.legacy b {
    color: #FFF;
    text-align: center;
    font-family: Aileron;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 180%; /* 36px */
}
.legacy p {
    color: rgba(255, 255, 255, 0.60);
    text-align: center;
    font-family: Aileron;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%; /* 28.8px */
    letter-spacing: 0.36px;
}
.legacy-buttons {
    margin: 20px 0;
    gap: 20px;
}
.legacy-buttons .btn {
    margin: 0 10px;
}
.legacy-images {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}
.legacy-img {
    width: 275px;
    height: 400px;
    /*max-width: 90%;*/
    border-radius: 20px;
    background-position: center;
    background-size: cover;
}
.legacy-img.big {
    width: 300px;
    height: 450px;
}
.news-events {
  padding: 60px 40px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.news-events h1 {
    margin-bottom: 0.2rem;
    color: #000080;
    text-align: center;
    font-family: Aileron-Bold;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 180%; /* 72px */
}

.subtitle {
    margin-bottom: 2.5rem;
    color: #000057;
    text-align: center;
    font-family: Aileron;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 180%; /* 32.4px */
}

.container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.main-event {
  flex: 1 1 45%;
  text-align: left;
}

.main-image {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center center;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.main-image.small {
    height: 150px;
}

.main-event h3 {
  color: #1d164d;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.main-event p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.read-more-red {
  color: #c0392b;
  text-decoration: none;
  font-size: 0.9rem;
}

.read-more-red:hover {
  text-decoration: underline;
}

.side-events {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-card {
  display: flex;
  gap: 16px;
  align-items: center;
  height: 150px;
  margin-bottom: 15px;
}

.event-card img {
  width: auto;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  position: relative;
}
.event-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.event-content h4 {
  color: #1d164d;
  margin: 15px 0;
  font-size: 1rem;
}

.event-content p {
  font-size: 0.85rem;
  color: #666;
  margin: 10px 0;
  text-align: start;
}

.view-more-button {
  margin-top: 40px;
}

.view-more-button a {
  background-color: #1d164d;
  color: #fff;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
}

.view-more-button a:hover {
  background-color: #2d2373;
}

footer {
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(90deg, #8b2c34, #c47b62);
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  border-radius: 8px;
  margin: 0 10%;
  transform: translateY(50%);
  z-index: 10;
  position: relative;
}

.cta-text {
  font-size: 1.5rem;
  font-weight: bold;
}

.cta-button {
  background: #fff;
  color: #333;
  padding: 10px 24px;
  border: none;
  border-radius: 20px;
  font-size: 1rem;
  cursor: pointer;
}

.cta-button:hover {
  background-color: #eee;
}

/* Footer Main */
.footer-main {
  background-color: #000080;
  padding: 100px 40px 30px;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-section {
  flex: 1;
  min-width: 220px;
}

.footer-logo {
  width: 80px;
  margin-bottom: 16px;
}

.footer-section h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #f1f1f1;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-section p {
  font-size: 0.85rem;
  color: #f1f1f1;
  line-height: 1.5;
}

/* Social Icons */
.social-icons i {
  font-size: 1.2rem;
  margin-right: 12px;
  color: #ccc;
  cursor: pointer;
}

.social-icons i:hover {
  color: #fff;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #7ace90;
}
.subpage-section {
  padding: 80px 20px;
  /*background-color: #f9f9fb;*/
  color: #333;
}

.subpage-container {
  width: 85%;
  margin: 0 auto;
}

.subpage-title {
  font-size: 2rem;
  font-weight: 700;
  color: #000080;
  margin-bottom: 24px;
  font-family: Poppins-Bold;
}

.subpage-text {
  font-size: 20px;
  line-height: 1.7;
  color: #000057;
  margin-bottom: 50px;
}

ul li, ol li {
  font-size: 20px;
  line-height: 1.7;
  color: #000057;
}

.subpage-text-list {
    display: inline-flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.subpage-text-list li {
    width: 50%;
}   
.subpage-container h4 {
  font-size: 20px;
  font-weight: 600;
  color: #000080;
  margin-top: 24px;
  margin-bottom: 8px;
}
.facilities-section {
  /*padding: 60px 20px;*/
  /*background: #fff;*/
  /*font-family: 'Segoe UI', sans-serif;*/
}
.facilities-section.message-section {
    padding: 100px 10%;
}
.facility-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.facility-row.reverse {
  flex-direction: row-reverse;
}

.facility-text {
  flex: 1;
  width: 50%;
  padding: 20px;
  text-align: left;
}

.facility-text h2 {
  font-size: 40px;
  color: #000080;
  font-weight: bold;
  font-family: Poppins-Bold;
  margin-bottom: 15px;
}
.facilities-section.message-section .facility-text h2 {
    font-size: 30px;
}

.facility-text p {
  font-size: 20px;
  color: #000057;
  line-height: 38px;
}

.facilities-section.message-section .facility-text p {
    font-size: 17px;
}

.facility-img {
  flex: 1;
  width: 35%;
  /*padding: 20px;*/
}

.facility-img img {
  width: 100%;
  height: auto;
  border-radius: 30px;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); /* Adjusts columns dynamically */
    gap: 10px; /* Adds space between grid items */
    /* padding: 20px; */
    width: 100%;
    height: 100%;
    justify-items: center;
    margin-top: 50px;
}
/* Individual grid items */
.grid-item {
    background-color: #f4f4f4;
    border-radius: 10px;
    padding: 10px;
    height: 200px;
    width: 170px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    background-size: cover;
    background-position: center top;
    text-align: start;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Name text */
.grid-item h3 {
    font-size: 14px;
    margin: 2px 0;
    font-family: RecklessNeue-Bold;
    text-shadow: 0px 0px 3px #000000;
    color: #ffffff;
}
.grid-item a {
    font-size: 10px;
    font-family: RecklessNeue-Regular;
    text-shadow: 0px 0px 3px #000000;
    color: #ffffff;
}
/* Location text */
.grid-item p {
    font-size: 8px;
    margin: 5px 0;
    color: #ffffff;
    text-shadow: 0px 0px 3px #000000;
    font-family: RecklessNeue-Light;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    /*.facility-row, .facility-row.reverse {*/
    /*    flex-direction: column;*/
    /*}*/
    .facility-row, .facility-row.reverse {
        flex-direction: column-reverse;
    }
    .facility-text {
        flex: 1;
        width: 100%;
        padding: 0px;
        text-align: left;
    }
    .facility-img {
        flex: 1;
        width: 100%;
         padding: 0px; 
        margin-bottom: 10px;
    }
}

button:hover {
    opacity: 0.7;
}  

@media only screen and (max-width: 1440px) {
    .navbar {
        display: flex;
        justify-content: center;
        align-items: center;
        /* background: rgba(0, 0, 0, 0.4); */
        padding: 20px 0px;
        position: absolute;
        top: 0;
        width: 100%;
        margin: auto;
    }
    .navbuttons {
        padding: 10px 15px;
        border-radius: 50px;
        background: #fff;
        backdrop-filter: blur(7.5px);
        color: #000;
        font-size: 14px;
        font-weight: bolder;
        cursor: pointer;
        height: fit-content;
    }
    .navbar ul {
        display: flex;
        list-style: none;
        gap: 10px;
    }
    .btn {
        background: #fff;
        color: #000;
        padding: 13px 15px;
        border: none;
        border-radius: 50px;
        cursor: pointer;
        font-size: 14px;
        height: fit-content;
    }
}   

@media only screen and (max-width: 1024px) {
    .navbuttons {
        padding: 10px 10px;
        border-radius: 50px;
        background: #fff;
        backdrop-filter: blur(7.5px);
        color: #000;
        font-size: 13px;
        cursor: pointer;
        height: fit-content;
    }
    .navbar .logo img {
        width: auto;
        height: 100px;
    }
    .hero-content h1 {
        align-self: center;
        color: #FFF;
        text-align: center;
        font-family: Aileron-Bold;
        font-size: 70px;
        font-style: normal;
        font-weight: 900;
        line-height: normal;
    }
}

@media only screen and (max-width: 768px) {
    .navbar .hamburger-menu {
        display: block;
    }
    .navbar .navbar_navigation {
        display: none;
    }
    .navbar ul {
        display: none;
    }
    .navbar .mobile_logo {
        display: block;
    }
    .navbar .mobile_logo img {
        width: auto;
        height: 80px;
        cursor: pointer;
    }
    .navbar .logo img {
        width: auto;
        height: 80px;
    }
    .hero {
        background: url('./images/default-header-bg-1.png') center/cover no-repeat;
        padding: 80px 0px;
        text-align: center;
        color: white;
        position: relative;
        height: 80vh;
    }
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        /* background: rgba(0, 0, 0, 0.4); */
        padding: 30px 10px;
        position: absolute;
        top: 0;
        width: 100%;
    }
    .mobile_nav_bar {
        display: none;
        height: 100%;
        width: 100%;
        background-color: #f8f8f8;
        z-index: 100;
        top: 0;
        position: fixed;
    }
    .hamburger-menu-close {
        color: #080a33;  
        font-size: 25px;
        display: block;
    }
    /*.mobile_nav_bar .navbar {*/
    /*    z-index: 1;*/
    /*}*/
    .mobile_nav_bar .navbar_navigation {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        height: 70%;
        row-gap: 15px;
        margin-top: 30%;
        align-self: center;
    }
    .btn {
        background: #fff;
        color: #000;
        padding: 13px 25px;
        border: none;
        border-radius: 50px;
        cursor: pointer;
        font-size: 13px;
    }
    .navbuttons {
        padding: 10px 35px;
        border-radius: 50px;
        background: #000080;
        backdrop-filter: blur(7.5px);
        color: #fff;
        font-size: 15px;
        cursor: pointer;
    }
    .dropdown {
      position: relative;
      display: inline-block;
    }
    
    .dropdown-content {
        display: none;
        position: relative;
        /* background-color: #f9f9f9; */
        min-width: 200px;
        margin-left: 0;
        border-radius: 30px;
        margin-top: 0px;
        background: #fff;
        backdrop-filter: none;
        padding: 12px 16px;
        z-index: 100;
    }
    .dropdown-content a button {
        padding: 5px 0;
        background: none;
        border: none;
        color: #000;
        font-size: 15px;
        cursor: pointer;
    }
    .dropdown:hover .dropdown-content {
      display: flex;
      flex-direction: column;
    }
    /*.navbuttons:hover {*/
    /*    background: #000080;*/
    /*    opacity: 0.7;*/
    /*}*/
    .hero-content h1 {
        font-size: 40px;
    }
    .hero-content {
        margin-top: 100px;
        width: 100%;
        padding: 0 5%;
        align-self: center;
    }
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-self: center;
        justify-content: center;
        row-gap: 15px;
        margin-top: 20px;
        width: 70%;
        margin: auto;
    }
    .subpage-text {
        font-size: 15px;
        line-height: 1.7;
        color: #000057;
        margin-bottom: 50px;
    }
    .features h1 {
        font-size: 25px;
    }
    .features-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin-top: 30px;
    }
    .legacy {
        background: #000080;
        color: white;
        text-align: center;
        padding: 60px 5%;
    }
    .legacy h1 {
        color: #FFF;
        text-align: center;
        font-family: Aileron-Bold;
        font-size: 30px;
        font-style: normal;
        font-weight: 700;
        line-height: 180%;
    }
    .legacy-images {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 50px;
    }
    .legacy-img {
        width: 70%;
        height: 150px;
        /* max-width: 90%; */
        border-radius: 20px;
        background-position: center;
        background-size: cover;
    }
    .legacy-img.big {
        width: 85%;
        height: 200px;
    }
    .cta-banner {
        background: linear-gradient(90deg, #8b2c34, #c47b62);
        padding: 30px 40px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: white;
        border-radius: 8px;
        margin: 0 5%;
        transform: translateY(50%);
        z-index: 10;
        position: relative;
        flex-direction: column;
    }
    .cta-text {
        font-size: 1rem;
        font-weight: bold;
    }
    .cta-button {
        background: #fff;
        color: #333;
        padding: 10px 24px;
        border: none;
        border-radius: 20px;
        font-size: 1rem;
        cursor: pointer;
        margin-top: 10px;
    }
}
