/* Base Styling */
html,
body {
    background-color: #f5f5f5;
    font-family: "Work Sans", sans-serif;
    color: #0E0E2C;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    padding: 1rem;
}

/* Typography */
h1 {
    color: #181414;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h2 {
    margin: 0 0 1.5rem 0;
    font-size: 1.75rem;
    color: #181414;
}

p {
    font-size: 1rem;
    line-height: 1.6;
}


/* Center page content */
.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* General Page Styling */
.page-content {
    margin-left: 200px;
    margin-right: 200px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* banner image */
#banner {
    margin: 5px;
    padding-top: 10px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #6b2d7e 0%, #424542 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: #f1c6f3;
    color: #6b2d7e;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Slideshow Container Styling */
.slideshow-container {
    position: relative;
    max-width: 900px;
    width: 100%;
    margin: 3rem auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background-color: rgba(0, 0, 0, 0.05);
}

/* Individual Slides */
.slides {
    display: none;
    width: 100%;
    height: 600px;
    position: relative;
}

/* Active Slide */
.slides.active {
    display: block;
}

/* Slide Image */
.slide-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Navigation Arrows */
.prev, 
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(107, 45, 126, 0.7);
    color: white;
    font-size: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 5;
    cursor: pointer;
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

.prev:hover, 
.next:hover {
    background-color: rgba(107, 45, 126, 1);
}

/* Caption Text */
.slides-text {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #f2f2f2;
    padding: 12px;
    text-align: center;
    font-size: 16px;
}

/* Fading Animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: 0.4}
    to {opacity: 1}
}

/* Make slideshow responsive */
@media screen and (max-width: 768px) {
    .slideshow-container {
        max-width: 100%;
        margin: 2rem auto;
    }
    
    .slides {
        height: 300px;
    }
    
    .prev, 
    .next {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .slides {
        height: 250px;
    }
    
    .prev, 
    .next {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .slides-text {
        padding: 8px;
        font-size: 14px;
    }
}

/* Section Styling */
.section-container {
    padding: 2rem;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #6b2d7e;
    position: relative;
    padding-bottom: 15px;
}

.section-subtitle {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.25rem;
    color: #6b2d7e;
    position: relative;
    padding-bottom: 15px;
}

.section-break {
    height: 3rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #6b2d7e 0%, #c79cea 100%);
}

.section-subtitle:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #6b2d7e 0%, #c79cea 100%);
}

/* Officer List Styling */
.officers-simple-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.officer-simple-card {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 250px;
    margin: 0.75rem;
}

.officer-simple-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.officer-simple-card h3 {
    color: #6b2d7e;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.officer-simple-card p {
    color: #555;
    margin: 0;
    font-size: 0.95rem;
}

@media screen and (max-width: 768px) {
    .officer-simple-card {
        width: 200px;
    }
}

/* About Section Styling */
.about-section {
    background-color: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.info-card {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    width: 280px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: #6b2d7e;
    margin-bottom: 0.5rem;
}

/* Blog Preview Section */
.blog-preview-section {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
}

.blog-preview-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 2rem;
    border-left: 4px solid #6b2d7e;
}

.blog-preview-card p {
    white-space: pre-line; /* Preserves line breaks but collapses spaces */
    word-wrap: break-word; /* Prevents long words from overflowing */
    text-indent: 0; /* Remove any text indentation */
}

.blog-link {
    display: inline-flex;
    align-items: center;
    color: #6b2d7e;
    font-weight: 600;
    text-decoration: none;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.blog-link:hover {
    color: #424542;
}

.blog-link .arrow {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.blog-link:hover .arrow {
    transform: translateX(5px);
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, #424542 0%, #6b2d7e 100%);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.discord {
    background-color: #5865F2;
    color: white;
}

.events {
    background-color: #f1c6f3;
    color: #6b2d7e;
}

.social-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Responsive Styling */
@media screen and (max-width: 768px) {
    .homePageContent {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-section {
        padding: 3rem 1rem;
    }

    .about-cards {
        flex-direction: column;
        align-items: center;
    }

    .info-card {
        width: 100%;
        max-width: 320px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-button {
        width: 100%;
        max-width: 300px;
    }
}


/* Contact Card */
.contact-card {
    background: linear-gradient(135deg, #6b2d7e 0%, #424542 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Container */
.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Links */
#contact-info a {
    color: #f1c6f3;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

#contact-info a:hover {
    color: #c79cea;
    text-decoration: underline;
}

/* Contact Text */
#contact-text {
    text-align: left;
    width: 100%;
    line-height: 1.8;
}

#contact-h2 {
    color: #fff;
}

/* Membership steps */
.membership-steps {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    text-align: left;
}

.membership-steps h3 {
    margin-top: 0;
    font-size: 1.3rem;
}

.membership-steps ol {
    margin-left: 1.5rem;
    padding-left: 0;
}

.membership-steps li {
    margin-bottom: 0.5rem;
}

/* Logo */
.logo-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.logo-container img {
    width: 180px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .contact-card {
        padding: 1.5rem;
    }

    #contact-title {
        font-size: 2rem;
    }

    #contact-h2 {
        font-size: 1.5rem;
    }
}

/* Hidden Class */
.hidden {
    display: none !important;
}

/* Blog Page Styling */
.blog-page-container {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-header h1 {
    color: #6b2d7e;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.blog-subtitle {
    color: #555;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.blog-content-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

/* Sidebar Styling */
.blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filter-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
}

.filter-title {
    color: #6b2d7e;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1c6f3;
}

.filter-group {
    margin-bottom: 1.2rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.filter-input {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    font-size: 0.9rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.filter-input:focus {
    border-color: #6b2d7e;
    outline: none;
    box-shadow: 0 0 0 2px rgba(107, 45, 126, 0.1);
}

.filter-reset-button {
    width: 100%;
    background-color: #f5f5f5;
    color: #444;
    border: none;
    padding: 0.8rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.filter-reset-button:hover {
    background-color: #e0e0e0;
}

/* Blog Grid Styling */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Blog Post Card Styling */
.blog-post {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-pic {
    height: 200px;
}

.blog-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Maintains aspect ratio while filling container */
    object-position: center; /* Centers the image within the container */
    transition: transform 0.3s ease; /* Smooth scaling on hover */
}

.blog-post:hover .blog-pic img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-content h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: #6b2d7e;
}

.blog-date {
    color: #777;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.blog-desc {
    margin-bottom: 1rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    color: #555;
}

.blog-post .readMore {
    align-self: flex-start;
    margin-top: auto;
    background-color: transparent;
    color: #6b2d7e;
    border: 2px solid #6b2d7e;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-post .readMore:hover {
    background-color: #6b2d7e;
    color: white;
}

/* Modal Styling */
.blog-img-container {
    width: 100%;
    height: 450px; /* Fixed height for consistency */
    overflow: hidden;
    border-radius: 10px;
}

.blog-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Maintains aspect ratio while filling container */
    object-position: center; /* Centers the image within the container */
}

#modal-backdrop {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.7);
}

#read-more-modal {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1010;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.blog-subtitle-modal {
    font-size: 1.3rem;
    font-weight: 600;
    color: #6b2d7e;
    margin: 1rem 0 1rem 0;
    line-height: 1.4;
    text-align: left;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1c6f3;
}

.modal-dialog {
    background-color: white;
    border-radius: 10px;
    max-width: 1000px;
    width: 95%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #eee;
    position: relative;
    flex-shrink: 0;
}

.modal-header h3 {
    margin: 0;
    color: #6b2d7e;
    font-size: 1.5rem;
    line-height: 1.3;
    padding-right: 2rem; /* Make room for close button */
}

.modal-close-button {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #777;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close-button:hover {
    color: #6b2d7e;
}

.modal-body {
    padding: 2.5rem;
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
}

.modal-content {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.blog-content-container {
    color: #333;
    line-height: 1.7;
    flex: 1;
    max-width: none;
}

.blog-desc-full {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.8;
    white-space: pre-line; /* Preserves line breaks but collapses spaces */
    word-wrap: break-word; /* Prevents long words from overflowing */
    text-indent: 0; /* Remove any text indentation */
    color: #444;
}

/* Responsive Styling */
@media screen and (max-width: 1200px) {
    .modal-dialog {
        max-width: 95%;
        width: 95%;
    }
    .blog-img-container {
        height: 280px;
    }
}

@media screen and (max-width: 992px) {
    .blog-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        position: static;
    }
    
    .modal-dialog {
        max-width: 90%;
        width: 90%;
    }
    
    .modal-body {
        padding: 2rem;
    }
    
    .blog-subtitle-modal {
        font-size: 1.2rem;
    }
    
    .blog-pic {
        height: 180px; /* Smaller height for tablets */
        min-height: 180px;
    }

    .blog-img-container {
        height: 250px;
    }
}

@media screen and (max-width: 768px) {
    .modal-dialog {
        max-width: 95%;
        width: 95%;
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
    
    .modal-header {
        padding: 1.5rem;
    }

    .blog-subtitle-modal {
        font-size: 1.1rem;
        margin: 1.2rem 0 0.8rem 0;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
        padding-right: 2.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-content {
        gap: 1.2rem;
    }
    
    .blog-pic {
        height: 160px; /* Smaller height for mobile */
        min-height: 160px;
        max-height: 200px;
    }

    .blog-img-container {
        height: 220px;
        margin-bottom: 1.2rem;
    }
    
    .blog-desc-full {
        font-size: 1.1rem !important;
        line-height: 1.7;
    }
}

@media screen and (max-width: 480px) {
    .modal-dialog {
        width: 98%;
        margin: 0.5rem;
    }
    
    .modal-body {
        padding: 1.2rem;
    }
    
    .blog-subtitle-modal {
        font-size: 1rem;
        margin: 1rem 0 0.7rem 0;
    }

    .blog-pic {
        height: 140px; /* Even smaller for very small screens */
        min-height: 140px;
        max-height: 180px;
    }

    .blog-img-container {
        height: 180px;
        margin-bottom: 1rem;
        border-radius: 8px;
    }
}

/* Modern Navbar Styling */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.navbar-logo {
    display: flex;
    align-items: center;
}

.navbar-logo img {
    height: 48px;
    width: auto;
    max-width: 250px;
}

.navbar-menu {
    display: flex;
    align-items: center;
}

.navbar-items {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #6b2d7e;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #6b2d7e;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-button {
    background-color: #6b2d7e;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(107, 45, 126, 0.2);
}

.nav-button:hover {
    background-color: #824794;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(107, 45, 126, 0.3);
}

/* Menu Toggle for Mobile */
#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #6b2d7e;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Modern Footer Styling */
.site-footer {
    background: linear-gradient(180deg, #f9f9f9 0%, #f5f5f5 100%);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 1px solid #eaeaea;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-about {
    max-width: 400px;
}

.footer-logo {
    width: 120px;
    margin-bottom: 1rem;
}

.footer-links h3,
.footer-contact h3 {
    color: #6b2d7e;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #6b2d7e;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f1f1f1;
    transition: all 0.3s ease;
}

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

.social-icon img {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #eaeaea;
    color: #777;
    font-size: 0.9rem;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-about {
        grid-column: span 2;
        text-align: center;
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .navbar-container {
        height: auto;
        padding: 1rem;
        flex-wrap: wrap;
    }

    .menu-icon {
        display: flex;
    }
    
    .navbar-menu {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    #menu-toggle:checked ~ .navbar-menu {
        max-height: 700px;
    }
    
    #menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    #menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    #menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .navbar-items {
        flex-direction: column;
        width: 100%;
        padding: 1rem 0;
        gap: 1rem;
    }
    
    .nav-button {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-about {
        grid-column: 1;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Events Page Styling */

.calendar-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    width: 100%;
    min-width: 800px;
}

#events-page iframe {
    width: 100%;
    min-height: 800px;
    border: none;
}

@media screen and (max-width: 768px) {
    .contentContainer {
        padding: 1rem;
    }
    
    #events-page iframe {
        height: 450px;
    }
}

/* Buttons Styling */
.buttons {
    flex-shrink: 0;
    padding: 4px;
    border-radius: 5px;
    background: #ECEAEB;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    transition: 0.2s ease color;
}

.buttons:hover {
    background: #9B7B9C;
    color: #FFFFFF;
}

/* Comprehensive Mobile-Friendly CSS Rules */

/* Mobile improvements for screen sizes 768px and below */
@media screen and (max-width: 768px) {
    /* Base font sizing - enhanced for better readability */
    html {
        font-size: 18px; /* Increased from 16px for better readability */
    }
    
    body {
        line-height: 1.7; /* Increased line height for better readability */
        color: #333; /* Slightly lighter than black for better readability */
    }
    
    /* Font smoothing for better mobile rendering */
    * {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Prevent iOS zoom on form field focus */
    input, select, textarea {
        font-size: 16px;
    }
    
    /* Headings - make them more prominent */
    h1 {
        font-size: 2.2rem !important; /* About 40px */
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.8rem !important; /* About 32px */
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    h3 {
        font-size: 1.4rem !important; /* About 25px */
        line-height: 1.3;
    }
    
    /* Body text - significantly larger */
    p, li, .blog-desc, .about-text, .footer-links ul li a {
        font-size: 1.1rem !important; /* About 20px */
        line-height: 1.7;
    }
    
    /* Card and section text */
    .officer-simple-card p,
    .info-card p,
    .blog-content p,
    .slides-text,
    .blog-desc-full {
        font-size: 1.1rem !important;
        line-height: 1.7;
    }
    
    /* Button and interactive element text */
    .cta-button,
    .nav-button,
    .social-button,
    .blog-post .readMore,
    .filter-reset-button {
        font-size: 1.1rem !important;
        font-weight: 600;
    }
    
    /* Navigation */
    .nav-link {
        font-size: 1.2rem !important;
    }
    
    /* Hero section text */
    .hero-title {
        font-size: 2.5rem !important; /* About 45px */
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.3rem !important; /* About 23px */
        line-height: 1.5;
    }
    
    /* Section titles */
    .section-title, 
    .section-subtitle {
        font-size: 2.2rem !important;
        line-height: 1.2;
    }
    
    /* Footer text */
    .footer-links h3, 
    .footer-contact h3 {
        font-size: 1.4rem !important;
    }
    
    .footer-about p {
        font-size: 1.1rem !important;
    }
    
    .footer-bottom {
        font-size: 1rem !important;
    }
    
    /* Adjust padding for page content */
    .page-content {
        margin-left: 1rem;
        margin-right: 1rem;
        padding: 0 0.5rem;
    }
    
    /* Improve touch targets */
    .nav-link, 
    .cta-button,
    .social-button,
    .blog-post .readMore,
    .filter-reset-button {
        padding: 0.7rem 1.2rem; /* Larger touch targets for fingers */
        min-height: 44px; /* Apple's recommended minimum touch target size */
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Improve slideshow controls for touch */
    .prev, .next {
        width: 44px;
        height: 44px;
    }
    
    /* Better spacing for cards on mobile */
    .officer-simple-card,
    .info-card,
    .blog-post {
        margin-bottom: 1.5rem;
        width: 90%; /* Take up most of the width but leave some margin */
        max-width: 400px;
        padding: 1.5rem !important; /* More padding with larger text */
    }
    
    /* Fix modal overflow issues */
    .modal-body {
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }
    
    /* Hero section adjustments */
    .hero-section {
        padding: 2.5rem 1rem;
    }
    
    /* Improve spacing with larger text */
    .section-container,
    .contact-card,
    .blog-content,
    .about-text {
        padding: 1.5rem !important;
    }
    
    /* Improve readability of text on colored backgrounds */
    .hero-section,
    .cta-section,
    .contact-card {
        color: rgba(255, 255, 255, 0.95);
    }

    /* Fix mobile menu accessibility */
    .navbar-items .nav-link {
        display: inline-block;
        width: 100%;
        text-align: center;
        padding: 0.75rem 0;
    }
    
    /* Better tap targets for footer links */
    .footer-links ul li {
        margin-bottom: 1rem;
    }
    
    .footer-links ul li a {
        display: inline-block;
        padding: 0.25rem 0;
    }
    
    /* Ensure images scale properly */
    .blog-pic img,
    .slide-pic,
    .blog-img-container img {
        max-width: 100%;
    }
}

/* Additional breakpoint for very small screens */
@media screen and (max-width: 480px) {
    html {
        font-size: 19px; /* Even larger base font for very small screens */
    }
    
    /* Adjust heading sizes for very small screens */
    h1 {
        font-size: 2rem !important; /* Still large but more compact */
    }
    
    h2 {
        font-size: 1.7rem !important;
    }
    
    .navbar-container {
        padding: 0.5rem;
    }
    
    .navbar-logo img {
        height: 40px; /* Smaller logo on very small screens */
    }
    
    /* Single column layout for all grid items */
    .blog-grid,
    .officers-simple-list,
    .about-cards {
        grid-template-columns: 1fr;
    }
    
    /* Full width sections for small screens */
    .section-container,
    .hero-section,
    .cta-section,
    .contact-card {
        padding: 1.5rem 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Adjust button spacing and make more tappable */
    .cta-buttons {
        gap: 1rem;
    }
    
    .cta-button,
    .nav-button,
    .social-button,
    .blog-post .readMore,
    .filter-reset-button {
        padding: 0.8rem 1.5rem !important;
        min-height: 48px !important; /* Larger touch target */
    }
    
    /* Ensure images don't overflow */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Adjust footer on very small screens */
    .footer-main {
        gap: 1.5rem;
    }
    
    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Add safe area insets for modern mobile browsers */
@supports (padding: max(0px)) {
    @media screen and (max-width: 768px) {
        body {
            padding-left: max(1rem, env(safe-area-inset-left));
            padding-right: max(1rem, env(safe-area-inset-right));
            padding-bottom: max(1rem, env(safe-area-inset-bottom));
        }
    }
}

/* Resources Page Specific Styling */

/* Resources Section */
.resources-section {
    background-color: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.resources-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.resource-categories {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.resource-category {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.category-title {
    color: #6b2d7e;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1c6f3;
}

.category-description {
    margin-bottom: 1.5rem;
}

/* Resource Cards */
.resource-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.resource-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 1.5rem;
    width: 250px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.resource-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.resource-card h4 {
    color: #6b2d7e;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.resource-card p {
    color: #555;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.resource-link {
    display: inline-block;
    color: #6b2d7e;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid #6b2d7e;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.resource-link:hover {
    background-color: #6b2d7e;
    color: white;
    transform: translateY(-2px);
}

.resource-list {
    padding: 1.5rem;
    margin: 0;
}

.resource-list li {
    margin-bottom: 0.8rem;
}

.resource-list a {
    color: #6b2d7e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.resource-list a:hover {
    color: #824794;
    text-decoration: underline;
}

/* Contribute Section */
.contribute-section {
    background-color: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 3rem;
    text-align: center;
}

.contribute-content {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contribute-content p {
    margin-bottom: 1.5rem;
}

/* Responsive Design */

@media screen and (max-width: 768px) {
    .resource-category {
        padding: 1.5rem;
    }
    
    .resource-card {
        width: 100%;
        max-width: 300px;
    }
    
    
    .resource-list {
        padding: 1.2rem;
    }
    
    .category-title {
        font-size: 1.4rem;
    }
    
    
}

@media screen and (max-width: 480px) {
    .resource-cards {
        gap: 1rem;
    }
    
    .resource-card {
        padding: 1.2rem;
    }
}

/* Mobile improvements for screen sizes 768px and below */
@media screen and (max-width: 768px) {
    .resource-card,
    .info-card {
        width: 90%;
        max-width: 400px;
        padding: 1.5rem !important;
    }
    
    .resource-icon,
    .card-icon {
        font-size: 2.2rem;
    }
    
    .resource-link {
        padding: 0.7rem 1.2rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Sponsorship Download Button */
.sponsorship-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6b2d7e 0%, #824794 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(107, 45, 126, 0.3);
    border: none;
    cursor: pointer;
    margin-bottom: 2rem;
    min-height: 50px;
    gap: 0.5rem;
}

.sponsorship-download-btn:hover {
    background: linear-gradient(135deg, #824794 0%, #9B7B9C 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(107, 45, 126, 0.4);
}

.sponsorship-download-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(107, 45, 126, 0.3);
}

/* Download icon styling */
.sponsorship-download-btn::before {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

/* Container for centering the button */
.sponsorship-download-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .sponsorship-download-btn {
        width: 90%;
        max-width: 300px;
        padding: 1rem 1.5rem;
        font-size: 1.1rem !important;
        min-height: 48px;
    }
    
    .sponsorship-download-container {
        margin: 1.5rem 0;
    }
}

@media screen and (max-width: 480px) {
    .sponsorship-download-btn {
        padding: 0.9rem 1.2rem;
        font-size: 1rem !important;
    }
}