.president-message {
    padding: 40px 0;
}
.president-msg-outer {
    display: flex;
    position: relative;
}
.president-msg-outer::before {
    content: "";
    position: absolute;
    top: 6%;
    left: 0;
    width: 100%;
    height: 94%;
    background-color: var(--color-light-bg);
    z-index: 0;
}
.president-intro-box {
    border-radius: 20px;
    position: relative;
}
.president-img {
    border-radius: 20px;
    width: 338px;
    height: 100%;
    object-fit: cover;
}
.president-intro-box .intro{
    position: absolute;
    bottom: 0;
    border-radius: 20px;
    background: var(--color-blue);
    color: var(--color-light);
    padding: 10px;
    font-size: 14px;
    width: 100%;
    text-align: center;
}
.heading {
    font-weight: 700;
}
.president-intro-box .intro p {
    margin: 0;
    line-height: 1.2rem;
}
.president-intro-box .intro .title{
    font-weight: 700;
}
.president-msg-box {
    z-index: 1;
    margin-top: 2rem;
    padding: 8px 24px;
}
.president-msg-box .sub-heading {
    color: var(--color-blue);
    font-weight: 700;
}
.president-msg-box .content {
    color : var(--color-gray-2);
}
@media (max-width: 992px) {
    .president-msg-outer {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Club facility section */
.club-facility, .club-gallery {
  padding: 40px 0;
}

.club-facility .title, .club-gallery .title {
  text-align: center;
  font-weight: 600;
  margin-bottom: 30px;
}

.club-facility-grid {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

/* Facility Card */
.facility-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease;
  cursor: pointer;
}

.facility-card img {
    width: 100%;
    height: 300px;
    object-fit: fill;
    transition: transform 0.6s ease;
}

.facility-card:hover {
    border-radius: 12px;
}
.facility-card:hover img {
  transform: scale(1.1);
}

/* Overlay */
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #00000087;
    color: var(--color-light);
    padding: 8px;
    transform: translateY(76%);
    transition: transform 0.4s ease-in-out;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.facility-card:hover .overlay {
  transform: translateY(0);
  height: 100%;
}
.overlay .f1{
    font-weight: 700;
}
/* Gallery */
.club-gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    padding: 20px 0;
}

.club-gallery-grid img {
  width: 100%;
  height: 252px;
  object-fit: fill;
  border-radius: 8px;
}

/* Club facility page */
.the-campus {
    padding-bottom: 40px;
}
.the-facilities {
    padding: 40px 0;
    .facility-wrapper {
        padding: 20px 0;
    }
}
.the-facility {
    display: flex;
    justify-content: center;
    max-height: 400px;
    .facility-points {
        flex: 1.4;
        ul {
            list-style: disc;
            height: 400px;
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;
            padding-left: 6px;
        }
        li {
            width: 52%;
            padding: 0px 40px 0px 0;
             line-height: 1.6;
        }
    }
    .facility-images {
        flex: 2;
        display: flex;
        align-items: stretch;
        .facility-image-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            justify-content: center;
            img {
                width: calc(33.33% - 10px);
                height: 186px;
                object-fit: fill;
                object-fit: cover;
                flex-grow: 1;
            }
        }
    }
    
}
@media (max-width: 767px) {
    .facility-card {
        width: 100%;
    }
    .club-gallery-grid img {
        max-height: 220px!important;
    }
    .w-25 { width: 100%!important; }
    .w-30 { width: 100%!important; }
    .w-42 { width: 100%!important; }
    .w-22 { width: 100%!important; }
    .w-25 { width: 100%!important; }
    .w-26 { width: 100%!important; }
    
}
@media (min-width: 768px) {
    .facility-card {
        width: 48.3%;
    }
    .w-25 { width: 48.5%!important; }
    .w-30 { width: 48.5%!important; }
    .w-42 { width: 48.5%!important; }
    .w-22 { width: 48.5%!important; }
    .w-25 { width: 48.5%!important; }
    .w-26 { width: 48.5%!important; }
}
@media (min-width: 1024px) {
    /* .facility-card {
        width: 31.6%;
    }
    .facility-card.card-lg {
        width: 65.2%;
    } */
    .w-25 { width: 25%!important; }
    .w-30 { width: 29%!important; }
    .w-42 { width: 42%!important; }
    .w-22 { width: 22%!important; }
    .w-25 { width: 25%!important; }
    .w-26 { width: 25%!important; }
}
@media (min-width: 1366px) {
    .facility-card {
        width: 32%;
    }
    .facility-card.card-lg {
        width: 66%;
    }
    .w-25 { width: 24.9% !important; }
    .w-30 { width: 29.5%!important; }
    .w-42 { width: 42%!important; }
    .w-22 { width: 21.8%!important; }
    .w-26 { width: 26.5%!important; }
}
@media (min-width: 1920px) {
    .club-facility-grid {
        gap: 24px;
    }
    .facility-card.card-lg {
        width: 66%;
    }
    .w-25 { width: 25%!important; }
    .w-30 { width: 30%!important; }
    .w-42 { width: 42%!important; }
    .w-22 { width: 22%!important; }
    .w-26 { width: 26.5%!important; }
}
@media (min-width: 2560px) {
    .club-facility-grid {
        gap: 28px;
    }
    .facility-card {
        width: 32.2%;
    }
    .club-gallery-grid {
        gap: 20px;
    }
    .w-25 {
        width: 24.6% !important;
    }
    .w-22 {
        width: 22.1% !important;
    }
}
@media (max-width: 992px) { 
.the-facility {
        max-height: 100%;
        flex-direction: column;
        gap: 2rem;
        .facility-points {
            ul {
                padding-left: 2rem;
                li {
                    width: 50%;
                }
            }
        }
        .facility-images {
        .facility-image-grid {
            img {
                width: 48%;
            }
        }
    }
    }
}