/* General Styles & Reset */
:root {
    --primary-red: #CD0000; /* Simbu Red */
    --primary-black: #000000;
    --primary-gold: #FFD700; /* Gold */
    --secondary-brown: #8B4513;
    --secondary-cream: #F5F5DC;
    --secondary-grey: #808080;
    --text-color-dark: #333;
    --text-color-light: #f4f4f4;
    --header-height: 75px; /* This variable defines the fixed header's height */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: #f8f8f8;
    overflow-x: hidden; /* Prevents horizontal scrolling */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Crucial: Pushes all content within the <main> tag down below the fixed header */
main {
    margin-top: var(--header-height);
}

.section-padding {
    padding: 80px 0;
}

.light-bg {
    background-color: var(--secondary-cream);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    color: var(--primary-black);
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(1.8em, 4vw, 2.5em);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-red);
    border-radius: 2px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-red);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-black);
}

.button {
    display: inline-block;
    background-color: var(--primary-red);
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
}

.button:hover {
    background-color: var(--primary-black);
    transform: translateY(-2px);
}

.button.secondary-button {
    background-color: var(--secondary-grey);
    color: #fff;
}

.button.secondary-button:hover {
    background-color: var(--primary-black);
}

hr {
    border: 0;
    height: 1px;
    background-color: var(--secondary-grey);
    margin: 0 0 60px 0;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* Header Styles */
#main-header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

#main-header.sticky {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    background-color: #fff;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.header-branding {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo img {
    height: 65px;
}

.simbu-flag img {
    height: 60px;
    width: auto;
    border-radius: 1px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.UPNG-logo img {
    height: 60px;
    width: auto;
    border-radius: 1px;
}

/* Default desktop navigation styles */
#main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

#main-nav ul li a {
    color: var(--primary-black);
    font-weight: 600;
    transition: color 0.3s ease, transform 0.2s ease;
    position: relative;
    padding-bottom: 5px;
}

#main-nav ul li a:hover,
#main-nav ul li a.active {
    color: var(--primary-red);
}

#main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    left: 0;
    bottom: 0;
    transition: width 0.3s ease;
}

#main-nav ul li a:hover::after,
#main-nav ul li a.active::after {
    width: 100%;
}

/* Styles for the Register Now Button */
.register-button {
    margin-left: 20px;
    background-color: var(--primary-red);
    color: #fff;
    padding: 10px 20px;
    border: 2px solid var(--primary-gold);
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-button:hover {
    background-color: var(--primary-black);
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.register-button a {
    color: #fff;
    text-decoration: none;
    padding: 0;
    display: contents;
}

.register-button a:hover {
    color: #fff;
}

.menu-box {
    display: none; /* Hidden on desktop */
}

.menu-toggle {
    display: none; /* Hidden on desktop */
    font-size: 1.8em;
    cursor: pointer;
    color: var(--primary-black);
    transition: transform 0.3s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    /* Adjusted height for PC view: reduced by 4cm (151px) */
    height: calc(100vh - var(--header-height) - 211px); /* Original 60px + 151px = 211px */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color-light);
    text-align: center;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Ensure carousel takes full height of hero-section */
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Ensure carousel item takes full height */
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    /* Pushed text slightly more downwards */
    justify-content: flex-start;
    align-items: center;
    padding: 20px; /* Base padding */
    padding-top: 60px; /* Pushed text slightly more downwards */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.animate-fade-slide {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-fade-slide.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-overlay h1 {
    font-size: 2.5em; /* Decreased font size for desktop */
    margin-bottom: 15px; /* Adjusted margin */
    color: var(--text-color-light);
    font-family: 'Montserrat', sans-serif;
}

.hero-overlay p {
    font-size: 1.1em; /* Decreased font size for desktop */
    margin-bottom: 20px; /* Adjusted margin */
    max-width: 800px;
}

/* Quick Tiles Wrapper - REMOVED AS PER USER REQUEST */
/* .quick-tiles-wrapper {
    margin-top: -120px;
    position: relative;
    z-index: 10;
}

.quick-tiles {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.quick-tiles .tile {
    background-color: var(--primary-red);
    color: var(--text-color-light);
    padding: 25px 30px;
    border-radius: 8px;
    text-align: center;
    width: 22%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.quick-tiles .tile:hover {
    background-color: var(--primary-black);
    transform: translateY(-5px);
}

.quick-tiles .tile i {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.quick-tiles .tile h3 {
    font-size: 1.2em;
    color: var(--text-color-light);
    margin-bottom: 0;
} */

/* Upcoming Events Banner Wrapper */
.upcoming-events-banner-wrapper {
    margin-top: -30px; /* Pushed banner up by approximately 40% of its height */
    padding-bottom: 30px; /* This padding applies to the container, not the banner itself */
    position: relative; /* Ensure it respects negative margin and z-index if needed */
    z-index: 5; /* Ensure it stays above other content but possibly below hero overlay if needed */
}

.upcoming-events-banner {
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-black) 50%, var(--primary-gold) 100%);
    color: var(--text-color-light);
    padding: 20px 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.upcoming-events-banner h2 {
    color: var(--text-color-light);
    margin-bottom: 0;
    /* Increased font size for the banner text */
    font-size: 2.2em;
    text-shadow:
        1px 1px 0 var(--primary-black),
        2px 2px 0 var(--primary-black),
        3px 3px 0 var(--primary-black),
        4px 4px 0 var(--primary-black);
}

/* About Us Section */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-content h2 {
    text-align: center;
    margin-bottom: 40px;
}

.about-content p {
    font-size: 1.1em;
    line-height: 1.8;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.faculty-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: center;
    font-weight: 600;
    color: var(--primary-black);
}

.purpose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
    text-align: center;
}

.purpose-item {
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.purpose-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.purpose-item i {
    font-size: 3em;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.purpose-item h4 {
    font-size: 1.4em;
    color: var(--primary-black);
    margin-bottom: 10px;
}

.purpose-item p {
    font-size: 0.95em;
    color: var(--text-color-dark);
}

/* Membership Section */
.section-description {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 50px;
    color: #555;
}

.membership-cta-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.membership-benefits,
.membership-cta-content {
    flex: 1;
}

.membership-benefits h3 {
    color: var(--primary-red);
    margin-bottom: 20px;
}

.membership-benefits ul {
    list-style: none;
}

.membership-benefits ul li {
    margin-bottom: 15px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    color: var(--text-color-dark);
}

.membership-benefits ul li i {
    color: #28a745; /* Green checkmark */
    margin-right: 10px;
    font-size: 1.2em;
}

.membership-cta-content h3 {
    color: var(--primary-black);
    margin-bottom: 20px;
}

.membership-cta-content p {
    margin-bottom: 20px;
    font-size: 1.05em;
}

.membership-cta-content .cta-button {
    margin-top: 10px;
}

.small-text {
    font-size: 0.9em;
    margin-top: 15px;
    color: #777;
}

/* Sponsorship Section */
.sponsorship-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sponsorship-message h3 {
    color: var(--primary-red);
}

.sponsorship-message p {
    margin-bottom: 20px;
}

.payment-options {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.payment-options h3 {
    color: var(--primary-black);
    margin-bottom: 20px;
}

.payment-options ul {
    list-style: none;
    padding-left: 0;
}

.payment-options ul li {
    margin-bottom: 15px;
    font-size: 1.05em;
}

.payment-options ul li strong {
    color: var(--primary-red);
}

.contact-partnerships {
    text-align: center;
    font-size: 1.1em;
    margin-top: 30px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns for desktop */
    gap: 40px;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form-container,
.contact-info-map {
    padding: 0;
}

.contact-form-container h3,
.contact-info-map h3 {
    color: var(--primary-red);
    margin-bottom: 25px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-black);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Nunito', sans-serif;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(205, 0, 0, 0.2);
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .button {
    width: auto;
    cursor: pointer;
    margin-top: 15px;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none;
    font-weight: 600;
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-info-map p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.contact-info-map p i {
    color: var(--primary-red);
    margin-right: 15px;
    font-size: 1.4em;
    width: 25px;
}

.contact-info-map p a {
    color: var(--text-color-dark);
}

.contact-info-map p a:hover {
    color: var(--primary-red);
}

.map-container {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Footer Styles */
footer {
    background-color: var(--primary-black);
    color: var(--text-color-light);
    padding: 40px 0;
    margin-top: 50px;
    font-size: 0.85em;
    border-top: 5px solid var(--primary-red);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
    text-align: left;
}

.footer-links, .footer-socials, .footer-contact, .footer-copyright {
    flex: 1;
    min-width: 200px;
    padding: 0 10px;
}

.footer-links h3, .footer-socials h3, .footer-contact h3, .footer-copyright p:first-child {
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-size: 1.1em;
    font-family: 'Poppins', sans-serif;
    position: relative;
    padding-bottom: 5px;
}

.footer-links h3::after, .footer-socials h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-red);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-color-light);
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-red);
    text-decoration: underline;
}

.footer-socials a {
    color: var(--text-color-light);
    font-size: 1.6em;
    margin-right: 15px;
    transition: color 0.3s ease, transform 0.2s ease;
}

.footer-socials a:hover {
    color: var(--primary-gold);
    transform: translateY(-3px);
}

.footer-contact p {
    margin-bottom: 10px;
    color: var(--text-color-light);
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-red);
}

.footer-copyright {
    text-align: center;
    flex-basis: 100%;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.footer-copyright p {
    display: block;
    margin-bottom: 5px;
    color: var(--text-color-light);
}

.footer-copyright p:last-child {
    margin-bottom: 0;
}

.developer-credit a {
    color: var(--primary-gold);
    font-weight: bold;
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    /* Mobile Navigation (Hamburger Menu) styles */
    #main-nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 1001;
        overflow: hidden;
        max-height: 0; /* Collapsed state */
        transition: max-height 0.4s ease-in-out;
    }

    #main-nav.active {
        max-height: 500px; /* Expanded state */
        border-top: 1px solid var(--primary-red);
    }

    #main-nav ul {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 0; /* Remove gap when stacked */
    }

    #main-nav ul li {
        margin: 10px 0;
    }

    #main-nav ul li a {
        font-size: 1.1em;
        padding: 10px 20px;
        display: block;
        width: 100%;
        text-align: center;
        transition: none; /* Remove hover transition for mobile menu items */
    }
    #main-nav ul li a::after {
        display: none; /* Remove underline for mobile */
    }

    .register-button {
        display: none; /* Hide register button on mobile */
    }

    .menu-box {
        display: block; /* Show menu toggle container */
    }

    .menu-toggle {
        display: block; /* Show hamburger icon */
    }

    .header-content {
        padding: 0 15px;
    }

    .header-branding {
        flex-grow: 1;
        justify-content: flex-start;
    }

    /* Footer content for tablets */
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links,
    .footer-socials,
    .footer-contact,
    .footer-copyright {
        width: 100%;
        max-width: 300px; /* Added max-width for column content */
        margin-bottom: 20px;
    }

    .footer-socials a {
        margin: 0 10px;
    }

    .footer-links h3::after,
    .footer-socials h3::after,
    .footer-contact h3::after {
        left: 50%; /* Center the underline when columns are stacked */
        transform: translateX(-50%);
    }

    /* Hero section adjustments for tablets */
    .hero-section {
        height: 60vh; /* Increased height for tablets/smaller desktops (from 55vh) */
    }
    /* Ensure carousel items match new hero height */
    .hero-carousel,
    .carousel-item {
        height: 100%;
    }
    .hero-overlay h1 {
        font-size: 2.5em; /* Reduced font size for tablets */
    }
    .hero-overlay p {
        font-size: 1.2em; /* Reduced font size for tablets */
    }
    
    /* Contact Section: Stacked for tablet/smaller desktop */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .contact-form-container,
    .contact-info-map {
        padding: 0;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 2em;
    }

    .section-padding {
        padding: 60px 0;
    }

    /* Hero section adjustments for mobile phones */
    .hero-section {
        height: 60vh; /* Significantly increased height for mobile phones (from 45vh) */
    }
    /* Ensure carousel items match new hero height */
    .hero-carousel,
    .carousel-item {
        height: 100%;
    }
    .hero-overlay {
        padding: 15px; /* Slightly reduced padding to fit content better */
        justify-content: center; /* Centered hero text vertically */
        padding-top: 0; /* Removed explicit padding-top for vertical centering */
    }
    .hero-overlay h1 {
        font-size: 1.8em; /* Further reduced font size for mobile */
        margin-bottom: 10px; /* Adjusted margin */
    }
    .hero-overlay p {
        font-size: 0.9em; /* Further reduced font size for mobile */
        margin-bottom: 20px; /* Adjusted margin */
    }

    /* Quick Tiles Wrapper - REMOVED FOR MOBILE AS PER USER REQUEST */
    /* .quick-tiles-wrapper {
        margin-top: -60px;
    }

    .quick-tiles {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 5px;
        overflow-x: hidden;
    }

    .quick-tiles .tile {
        flex: 1;
        min-width: 65px;
        padding: 10px 5px;
    }

    .quick-tiles .tile i {
        font-size: 1.5em;
        margin-bottom: 3px;
    }

    .quick-tiles .tile h3 {
        font-size: 0.7em;
    } */
    
    .upcoming-events-banner-wrapper {
        margin-top: -30px; /* Push banner up to overlap hero image */
        margin-bottom: 0; /* Reduced empty space below the banner for mobile */
    }

    .upcoming-events-banner {
        padding: 12px;
        margin: 0 15px; /* Slightly reduce width from sides */
    }

    .upcoming-events-banner h2 {
        font-size: 1.2em; /* Slightly reduced font size for mobile */
    }

    /* About Us Section - ensuring general paragraph text is not too large */
    .about-content p {
        font-size: 0.95em; /* Slightly reduced for better mobile fit if needed */
    }

    /* Purpose Grid - ensuring text inside items is neat */
    .purpose-item h4 {
        font-size: 1.2em; /* Slightly reduced if it was too big */
    }
    .purpose-item p {
        font-size: 0.85em; /* Slightly reduced for mobile */
    }

    /* Membership Section: Separate subsections for mobile */
    .membership-cta-container {
        padding: 30px;
        flex-direction: column; /* Stack for mobile */
        align-items: center;
        text-align: center;
        gap: 20px; /* You can adjust this gap */
    }
    .membership-benefits {
        margin-bottom: 25px; /* Add space below benefits section on mobile */
        text-align: left; /* Keep list left-aligned */
    }
    /* Membership Benefits list items */
    .membership-benefits ul li {
        font-size: 0.95em; /* Slightly reduced for better fit */
        margin-bottom: 10px; /* Adjusted margin */
    }
    .membership-benefits ul li i {
        font-size: 1.1em; /* Adjusted icon size */
    }
    .membership-cta-content {
        padding-top: 25px; /* Add padding to the top of the CTA content */
        border-top: 1px solid #eee; /* Optional: A subtle line to visually separate */
    }

    /* Sponsorship Payment Options list items */
    .payment-options ul li {
        font-size: 0.95em; /* Slightly reduced for better fit */
        margin-bottom: 10px;
    }

    /* Contact Section: Stacked for mobile */
    .contact-grid {
        padding: 30px;
        gap: 25px;
    }

    /* Adjust font size for contact information on mobile */
    .contact-info-map p {
        font-size: 0.9em; /* Decreased font size for contact details */
        margin-bottom: 10px; /* Slightly reduced margin */
    }

    .contact-info-map p i {
        font-size: 1.2em; /* Adjusted icon size to match new text size */
        margin-right: 10px; /* Adjusted margin */
    }

    /* Header branding for small mobile */
    .header-branding {
        gap: 8px;
    }
    .logo img {
        height: 45px;
    }
    .simbu-flag img {
        height: 40px;
    }
    .UPNG-logo img {
        height: 40px;
    }

    /* General small text for copyright/developer credit */
    .footer-copyright p, .developer-credit a {
        font-size: 0.75em; /* Slightly smaller for very compact screens */
    }
}

/* Print Styles */
@media print {
    header, footer, .register-button, .menu-box, .carousel-controls, .slick-dots,
    .form-message, .map-container iframe {
        display: none !important;
    }
    body {
        background-color: #fff;
        color: #000;
        font-size: 12pt;
    }
    .container {
        max-width: none;
        padding: 0;
    }
    .section-padding {
        padding: 20px 0;
    }
    .hero-section {
        background: none;
        color: #000;
        height: auto;
    }
    .hero-overlay {
        position: relative;
        background: none;
        color: #000;
        padding: 0;
        animation: none;
        opacity: 1;
        transform: none;
        height: auto;
    }
    .hero-overlay h1, .hero-overlay p {
        color: #000;
    }
    .activity-card, .event-card {
        box-shadow: none;
        border: 1px solid #eee;
        page-break-inside: avoid;
        animation: none;
        opacity: 1;
        transform: none;
    }
    .activity-card img {
        height: 150px;
    }
    .gallery-wrapper {
        box-shadow: none;
        border: none;
    }
    .gallery-carousel .slick-slide img {
        height: 200px;
        object-fit: contain;
    }
    h1, h2, h3, h4 {
        color: #000;
    }
    h2::after {
        background-color: #000;
    }
    .about-content, .membership-cta-container, .sponsorship-content, .contact-grid,
    .faculty-item, .purpose-item {
        box-shadow: none;
        border: 1px solid #eee;
        page-break-inside: avoid;
        animation: none;
        opacity: 1;
        transform: none;
        display: block;
    }
    .contact-info-map p i {
        color: #000;
    }
    .payment-options {
        box-shadow: none;
        border: 1px solid #eee;
        padding: 15px;
    }
}