*{
    margin: 0;
    padding: 0;
    font-family: "Noto Serif Display", serif;
    text-decoration: none;
}

html, body {
    font-family: "Playfair Display", serif;
}


.h1{
    font-family: "Playfair Display", serif !important;
    font-weight: 700;
}

.a{
    text-decoration: none;
}
.button{
    text-decoration: none;
}

.header{
    height: 92vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(images/banner_v.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.subpage-header {
    width: 100%;
    height: 50vh;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(images/banner_v.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

.header-iv{
    height: 92vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(images/banner.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

.subpage-header-iv {
    width: 100%;
    height: 50vh;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(images/banner.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}



nav{
    display: flex;
    padding: 2% 2%;
    justify-content: space-between;
    align-items: center;
}

nav img{
    width: 100px;
    height: 100px;
}

.nav-links{
    flex: 1;
    text-align: right;
}

.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 0px 15px;
    position: relative;
}

.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}

.nav-links ul li::after{
    content: "";
    width: 0%;
    height: 3px;
    background: #8C55FF;
    display: block;
    margin: auto;
    transition: 0.55s;
}

.nav-links ul li:hover::after{
    width: 100%;
}

/* Dropdown Styles */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(4, 9, 30, 0.9);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 100;
    top: 100%;
    left: 0;
    text-align: left;
    border-radius: 4px;
    padding-top: 10px; /* Provides a bridge for the mouse */
    margin-top: -5px;
}


.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px !important;
    transition: 0.3s;
}

.dropdown-content a:hover {
    background-color: #8C55FF;
    color: white;
}

.nav-links ul li:hover .dropdown-content {
    display: block;
}


.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1{
    font-size: 75px;
    letter-spacing: 5px;
}

.text-box p{
    margin: 10px 0 40px;
    font-size: 20px;
    color: #fff;
}

.committees{
    width: 100%;
    position: relative;
    padding: 3% 0% 3%;
}

.committees-header{
    text-align: center;
    color: #390962;
    margin-bottom: 1%;
}


.p{
    color: #4e4e4e;
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
    padding: 0% 5% 0% 5% ;
    flex-wrap: wrap;
}

.committee-card{
    text-align: center;
    flex-basis: 31%;
    background: #f8f8f8;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;

}

.committee-card-2{
    text-align: center;
    flex-basis: 48%;
    background: #f8f8f8;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;

}

.committee-card h3{
    color: #390962;
}

.committee-card-2 h3{
    color: #390962;
}

.committee-card p{
    color:#888888;
    text-decoration: none;
}

.committee-card-2 p{
    color:#888888;
    text-decoration: none;
}

.committee-card:hover{
    transform: scale(1.02) perspective(0px);
    box-shadow: 0 7px 12px rgba(91, 62, 115, 0.5);
    transition: 0.5s;
}

.committee-card-2:hover{
    transform: scale(1.02) perspective(0px);
    box-shadow: 0 7px 12px rgba(91, 62, 115, 0.5);
    transition: 0.5s;
}

.card-btn {
    display: inline-block;
    min-height: 45px;
    min-width: 150px;
    padding: 10px 25px;
    border-radius: 25px;
    border: 2px solid #390962;
    color: #390962;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    background: transparent;
    cursor: pointer;
}

.card-btn:hover{
    background-color: #390962;
    color: white;
    transition: 0.5s;
}

.line{
    width: 130px;
    height: 4px;
    background: #8C55FF;
    margin: auto;
    margin-bottom: 15px;
}

.about-us-header{
    text-align: center;
    color: #390962;
    margin-top: 1%;
}

.about-us{
    width: 80%;
    margin: auto;
    padding-top: 80px;
}

.about-col{
    padding: 30px 3px;
    overflow: hidden;
}


.about-col img{
    float: left;
    margin-right: 4%;
    margin-bottom: 2.5%;
    max-width: 300px;
    width: 100%;
    height: auto;
}

.resources-header{
    text-align: center;
    color: #390962;
    margin-top: 2%;
}

.resources{
    width: 80%;
    margin: auto;
    padding-top: 80px;
}

.table_component {
    width: 100%;
}

.table_component table {
    border: 2px solid #390962;
    height: 100%;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 1px;
    text-align: center;
}

.table_component caption {
    caption-side: top;
    text-align: center;
}

.table_component th {
    border: 2px solid #390962;
    background-color: #390962;
    color: #ffffff;
    padding: 5px;
}

.table_component td {
    border: 2px solid #390962;
    background-color: #ffffff;
    color: #000000;
    padding: 10px;
}

.regular-btn {
    align-self: left;
    border: 0;
    background: none;
    display:block;
    height: 50px;
    width: 150px;
    border-radius: 20px;
    border: 2px solid #390962;
    color: #390962;
    text-align: center;
    position:relative;
    left: 50%;
    transform: translateX(-50%);
}
.secretariat-img-div{
    text-align: center;
    justify-content: center;
    display: flex;
}

.layout {
    width: 100%;
    display: flex;
    gap: 16px;
    align-self: center;
  }



.photo-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 15px;
    padding: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit:cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-tall {
    grid-row: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
}

@media (max-width: 1200px) {
    .photo-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    .gallery-title h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .photo-gallery {
        grid-template-columns: 1fr;
    }
}

/* GRID */
.grid {
    width: 90%;
    margin: 2rem auto 4rem;
    display: grid;
    gap: 2rem;
    justify-items: stretch;
}


/* Column layouts */
.grid-1 {
    grid-template-columns: 1fr;
}
.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr));
}
.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}


@media (max-width: 768px) {
    .text-box h1 {
        font-size: 45px;
    }
    .text-box p {
        font-size: 16px;
    }
    .nav-links ul li a {
        font-size: 14px !important;
    }
    .nav-links ul li {
        padding: 0 8px;
    }
    .committee-card, .committee-card-2 {
        flex-basis: 100% !important;
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    nav {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        text-align: center;
    }
    .nav-links ul li {
        display: block;
        margin-bottom: 10px;
    }
}



/* MEMBER CARD */
.member {
    text-align: center;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

/* IMAGE LOCK */
.image-box {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid black;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* NAME */
.member h4 {
    margin-top: 0.75rem;
    font-weight: 500;
}

.footer {
    width: 100%;
    text-align: center;
    padding: 15px 0;
    background: #04091e;
    color: #fff;
}

.footer p {
    font-size: 14px;
    font-weight: 300;
}

