* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo span {
    font-size: 24px;
    font-weight: bold;
    color: #2c5aa0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2c5aa0;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 120px 0 80px;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.registration-info {
    margin-bottom: 40px;
}

.registration-info p {
    font-size: 1.1rem;
    margin: 10px 0;
    color: #555;
}

.logo-container {
    margin: 40px 0;
}

.logo {
    max-width: 300px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Section Titles */
.section-title {
    font-size: 2.2rem;
    color: #2c5aa0;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 600;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #fff;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

/* Members Section */
.members {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.member-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.member-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c5aa0;
    font-weight: 600;
}

.member-card p {
    font-size: 1.1rem;
    color: #555;
    font-weight: 500;
}

.member-card.president {
    border-top: 4px solid #dc3545;
}

.member-card.secretary {
    border-top: 4px solid #2c5aa0;
}

.member-card.treasurer {
    border-top: 4px solid #28a745;
}

.member-card.executive {
    border-top: 4px solid #fd7e14;
    grid-column: span 2;
}

.member-card ul {
    list-style: none;
    margin-top: 15px;
}

.member-card li {
    padding: 8px 0;
    font-size: 1.1rem;
    color: #555;
    border-bottom: 1px solid #eee;
}

.member-card li:last-child {
    border-bottom: none;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #fff;
}

.contact-info {
    max-width: 600px;
    margin-top: 30px;
}

.contact-item {
    text-align: left;
    padding: 15px 0;
    background: none;
    border-radius: 0;
    border-left: none;
    border-bottom: 1px solid #eee;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item h3 {
    font-size: 1.1rem;
    color: #2c5aa0;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.4;
    margin: 0;
}

.contact-item a {
    color: #2c5aa0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #dc3545;
}

/* Footer */
.footer {
    background-color: #2c5aa0;
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

.footer p {
    font-size: 1rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .member-card.executive {
        grid-column: span 1;
    }

    .members-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .executive-members {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .member-photo {
        width: 100px;
        height: 100px;
    }
    
    .executive-photo {
        width: 70px;
        height: 70px;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .about, .members, .contact {
        padding: 60px 0;
    }

    .logo {
        max-width: 200px;
    }
    
    .executive-members {
        grid-template-columns: 1fr;
    }
    
    .executive-photo {
        width: 60px;
        height: 60px;
    }
}

/* Member Photos */
.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #2c5aa0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.member-photo:hover {
    transform: scale(1.05);
}

/* Executive Committee Layout */
.member-card.executive {
    border-top: 4px solid #fd7e14;
    grid-column: 1 / -1;
    max-width: 100%;
    margin: 0 auto;
}

.executive-members {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.executive-member {
    text-align: center;
    padding: 15px;
}

.executive-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 3px solid #fd7e14;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.executive-member p {
    font-size: 1rem;
    color: #555;
    margin: 0;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .executive-members {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        gap: 15px;
    }
    
    .member-photo {
        width: 100px;
        height: 100px;
    }
    
    .executive-photo {
        width: 70px;
        height: 70px;
    }
}

@media screen and (max-width: 480px) {
    .executive-members {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    
    .executive-photo {
        width: 60px;
        height: 60px;
    }
}

/* Map Container Styling */
.map-container {
    margin-top: 40px;
    text-align: center;
}

.map-container h3 {
    color: #2c5aa0;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.map-container iframe {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

.map-link {
    margin-top: 15px;
}

.view-larger-map {
    display: inline-block;
    background-color: #2c5aa0;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.view-larger-map:hover {
    background-color: #1e3f73;
    text-decoration: none;
    color: white;
}

/* Responsive Map */
@media (max-width: 768px) {
    .map-container iframe {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .map-container iframe {
        height: 200px;
    }
    
    .view-larger-map {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Previous Meetings Page Styles */
.previous-meetings {
    padding: 120px 0 80px;
    background-color: #f8f9fa;
    min-height: 100vh;
}

.page-title {
    font-size: 2.5rem;
    color: #2c5aa0;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-description {
    font-size: 1.2rem;
    color: #555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.meetings-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.meeting-image {
    position: relative;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.meeting-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.meeting-image:hover .gallery-img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.meeting-image:hover .image-overlay {
    transform: translateY(0);
}

.image-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.image-overlay p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
}

/* Active navigation link */
.nav-link.active {
    color: #2c5aa0;
    font-weight: 600;
}

/* Responsive Design for Previous Meetings */
@media screen and (max-width: 768px) {
    .meetings-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .previous-meetings {
        padding: 100px 0 60px;
    }
    
    .gallery-img {
        height: 200px;
    }
}

@media screen and (max-width: 480px) {
    .meetings-gallery {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 1.6rem;
    }
    
    .page-description {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .gallery-img {
        height: 180px;
    }
}

/* Previous Meetings Preview Section */
.meetings-preview {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.preview-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.preview-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.preview-photo {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 200px;
}

.preview-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.preview-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.preview-photo:hover img {
    transform: scale(1.05);
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preview-photo:hover .preview-overlay {
    opacity: 1;
}

.preview-overlay span {
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

.view-all-btn {
    text-align: center;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #0056b3;
}

/* Previous Meetings Gallery */
.meetings-gallery {
    padding: 40px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.gallery-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    max-height: 80%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.gallery-img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.05);
}

.modal-navigation {
    margin-top: 20px;
}

.prev-btn, .next-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    padding: 10px 15px;
    margin: 0 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(255,255,255,0.4);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .preview-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .preview-photo, .gallery-photo {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .preview-gallery, .gallery-grid {
        grid-template-columns: 1fr;
    }
}
