/* Next Event Section */
.grids-block{
    background-color:transparent !important;
}
.next-event {
    text-align: left;
    margin-bottom: 4rem;
    font-family: Montserrat;
}

.next-event h2 {
    margin-bottom: 1.5rem;
    font-size: 24px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.1599999964237213px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;

}

.signup-form {
    display: flex;
    max-width: 500px;
    gap: 1rem;
}

.signup-form input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 470px;
    height: 60px;
    top: 92px;
    gap: 0px;
    opacity: 0px;

}

.signup-form button {
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    background: #b31f36;
    border-radius: 0px;
    height: 50px;
    line-height: 50px;

}

.signup-form button:hover {
    background: #323232;
    transition: all 0.71s ease;
}

/* Past Events Section */
.past-events h2 {
    margin-bottom: 2rem;
    font-family: Montserrat;
    font-size: 24px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.1599999964237213px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none; 
    margin-bottom: 0px !important;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.event-card {
    background: white;
    padding: 2rem;
    border-radius: 0px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 320px;
    height:280px;
    display: flex; 
    flex-direction: column; 
    min-height: 200px; 

}

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

.event-date {
    margin-bottom: 1rem;
    font-family: Playfair Display;
    font-size: 16px;
    font-weight: 700;
    line-height: 36.4px;
    letter-spacing: 0.5px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;

}

.event-card h3 {
    margin-bottom: 1.5rem;
    font-family: Montserrat;
    font-size: 26px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: 1px;
    text-align: left;

}

.event-location {
    color: #c41230;
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 700;
    line-height: auto;
    letter-spacing: 0.5px;
    text-align: left;
    margin-top: auto;
}

.load-more {
    display: block;
    margin: 2rem auto;
    padding: 1rem 2rem;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: Montserrat;
    font-size: 13px;
    font-weight: 500;
    line-height: 15.85px;
    letter-spacing: 1px;
    text-align: left;
}

.load-more:hover {
    background-color: #444;
}


/* New Events Section */
.new-events h2 {
    margin-bottom: 2rem;
    font-family: Montserrat;
    font-size: 24px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.1599999964237213px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;

}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .signup-form {
        flex-direction: column;
        padding: 0 1rem;
    }

    .signup-form button {
        width: 100%;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .event-card {
        padding: 1.5rem;
    }

    .modal {
        padding: 30px 20px;
        width: 95%;
        margin: 20px;
    }

    .button-container {
        flex-direction: column;
        gap: 10px;
    }

    .modal-btn {
        width: 100%;
    }

    .modal-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .next-event h2 {
        font-size: 1.5rem;
    }

    .event-card h3 {
        font-size: 1.2rem;
    }
} 








/* ABOUT TAB CSS */

.about-container {
    display: flex;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
}

.about-content {
    flex: 0 0 80%;
    max-width: 80%;
}

.about-content h1 {
    margin-bottom: 2rem;
    font-family: Montserrat;
    font-size: 24px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.1599999964237213px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;

}

.about-content p {
    color: #666;
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 500;
    line-height: 28px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;

}

.manager-card {
    flex: 0 0 20%;
    max-width: 20%;
}

.manager-card h2 {
    margin-bottom: 2rem;
    font-family: Montserrat;
    font-size: 24px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.1599999964237213px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.manager-card-inner {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.manager-profile {
    text-align: center;
    display: flex;
    align-items: center;
    gap: 15px;
}

.manager-profile img {
    max-width: 150px;
    border-radius: 50%;
    margin-bottom: 10px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.manager-profile h3 {
    color: #666;
    font-weight: normal;
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }

    .about-content,
    .manager-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .manager-card-inner {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .manager-profile {
        flex: 0 0 calc(50% - 15px);
    }
}

@media screen and (max-width: 480px) {
    .manager-profile {
        flex: 0 0 100%;
    }
}


/* Members Section */
.members-section h2 {
    margin-bottom: 2rem;
    font-family: Montserrat;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.1599px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.member-card {
    background: white url('path/to/card-pattern.png') center/cover;
    padding: 1.5rem;
    border-radius: 0px !important;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

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

.member-avatar {
    width: 100px;
    height: 100px;
    background: #f0f0f0 url('path/to/default-avatar.png') center/cover;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.member-card h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;

}

.member-card p {
    color: #666;
    font-family: Montserrat;
    font-size: 12px;
    font-weight: 600;
    line-height: 12px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;

}

.view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #BF4356, #BF4356);
    transition: all 0.3s ease;
    background-blend-mode: overlay;
}
.view-all a{
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: 0.1599999964237213px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}
.view-all a:hover{
   color: #FFF;
}

.view-all:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.view-all-btn {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.blursection{
    filter: blur(3px);
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* Remove dark theme */
@media (prefers-color-scheme: dark) {
    .container {
        background-color:#f0ede8 !important;
    }
    .about-section {
        background-color:#f0ede8 !important;
    }
    .manager-card {
        background-color:#f0ede8 !important;
    }
    .member-card {
        background: #fff !important;
        border: 1px solid #fff !important;;
    }
    .member-card h3{
        color: #666 !important;
    }
    .member-card p{
        color: #666 !important;
    }
    .modal-title{
        color: #666 !important;
    }
    .members-section h2{
        color: #666 !important;
    }
}

/* Responsive Design */
@media (min-width: 1440px) {
    .container {
      max-width: 135rem !important;
    }
}

@media (max-width: 1200px) {
    .members-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .container {
        margin: 1rem;
    }
}

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

@media (max-width: 768px) {
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .container {
        padding: 1rem;
    }
    .about-section,
    .manager-card {
        padding: 1rem;
    }
    
    .about-section p {
        font-size: 1rem;
    }
    
    .member-avatar {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .members-grid {
        grid-template-columns: 1fr;
    }
    
    .about-section h2,
    .chapter-manager h2,
    .members-section h2 {
        font-size: 1.5rem;
    }
    
    .member-card {
        padding: 1rem;
    }
} 

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

.member-card {
    animation-delay: calc(n * 0.1s);
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #fff;
    }
    
    .container {
        background-color: #2d2d2d;
    }
    
    .about-section,
    .manager-card {
        background-color: #333;
    }
    
    .member-card {
        background-color: #2d2d2d;
        border-color: #444;
    }
    
    .about-section p,
    .member-card p {
        color: #ccc;
    }
    
    .about-section h2,
    .chapter-manager h2,
    .members-section h2,
    .member-card h3 {
        color: #fff;
    }
} 

.view-all {
    background-color: #BF4356;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px !important;
    font-weight: bold;
    cursor: pointer;
    height: 163px;
    margin-top: 1px;
}

.view-all a{
    font-family: Montserrat;
    color: white;
    font-size: 18px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 0.1599999964237213px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;

}

.load-more-btn-past-event{
    text-align: center !important;
}

.load-more-btn-past-event .moreload-ajax{
    width: auto;
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    background: #b31f36;
    border-radius: 0px;
    height: 50px;
    line-height: 50px;
    margin-bottom: 25px;
}

.button .moreload-ajax:hover {
    background: #323232;
    transition: all 0.71s ease;
}

.load-more-btn-new-event{
    text-align: center !important;
}

.load-more-btn-new-event .moreload-ajax{
    width: auto;
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    background: #b31f36;
    border-radius: 0px;
    height: 40px;
    line-height: 40px;
    margin-bottom: 25px;
}



/* Overlay background */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Modal container */
.modal {
    background: #F0EDE8;
    padding: 70px;
    width: 90%;
    position: relative;
    text-align: center;
    max-width: 710px;
    height: 410px;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 25px;
    cursor: pointer;
    border: none;
    background: none;
    padding: 5px;
    border-radius:0px !important;
}

.close-btn svg {
    width: 24px;
    height: 24px;
    color: #323232;
    transition: color 0.2s;
}
.close-btn:hover {
    color: #323232;
    background: none;
}

.close-btn:hover svg {
    color: #323232;
    background: none;
}

/* Modal heading */
.modal-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modal text */
.modal-text {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    padding-top: 20px;
    text-align: left;
}
.modal-text2 {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
    padding-bottom: 20px;
    text-align: left;
}

/* Button container */
.button-container {
    display: flex;
    gap: 5px;
    justify-content: center;
}

/* Buttons */
.modal-btn {
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius:0px !important;
}

.login-btn {
    width: auto;
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    background: #b31f36;
    border-radius: 0px;
    height: 50px;
    line-height: 50px;
    min-width: 125px;
}

.signup-btn {
    width: auto;
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    background: #b31f36;
    border-radius: 0px;
    height: 50px;
    line-height: 50px;
    min-width: 125px;
}

.modal-btn:hover {
    background-color: #C41E3A;
    color: white;
}