/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.top-header {
    background-color: #ffffff;
    color: white;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rotary-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 4px;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.rotary-logo:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

.logo-link {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-link:hover {
    opacity: 0.9;
}

.logo-image {
    height: 103px;
    width: auto;
    max-width: 360px;
    object-fit: contain;
    display: block;
}

.menu-image {
    height: 56px;
    width: auto;
    max-width: 360px;
    object-fit: contain;
}

.rotary-wheel {
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.club-name h1 {
    font-size: 32px;
    font-weight: bold;
    margin: 0;
}

.club-name h2 {
    font-size: 18px;
    font-weight: normal;
    margin: 0;
    opacity: 0.9;
}

.search-section {
    display: flex;
    align-items: center;
}

.search-box {
    display: flex;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.search-box input {
    padding: 10px 20px;
    border: none;
    outline: none;
    width: 250px;
    color: #333;
}

.search-box button {
    padding: 10px 15px;
    background: #1e4a72;
    border: none;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.search-box button:hover {
    background: #2a5a82;
}

/* Navigation Styles */
.main-nav {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-link {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    background-color: #1e4a72;
    color: white;
    border-bottom-color: #f7b500;
}

.nav-link i {
    font-size: 18px;
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle i {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-link:hover {
    background-color: #f8f9fa;
    color: #1e4a72;
    border-left-color: #1e4a72;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #1e4a72;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Membership Link Styles */
.nav-membership .membership-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
}

.nav-membership .membership-link img {
    height: 30px;
    width: auto;
}

.nav-membership .membership-link span {
    font-size: 14px;
    font-weight: 500;
}

/* Image Slider Section */
.image-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 33.333%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Slide Link Styles */
.slide-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.slide-link img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.slide-link:hover img {
    transform: scale(1.02);
    filter: brightness(1.05);
}

/* Slider Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(30, 74, 114, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-arrow:hover {
    background-color: rgba(30, 74, 114, 1);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow-prev {
    left: 20px;
}

.slider-arrow-next {
    right: 20px;
}

/* Slider Navigation Dots */
.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot:hover,
.nav-dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* Slider animations */
.slide.active {
    opacity: 1;
}

.slide:not(.active) {
    opacity: 0.7;
}

/* Add fade effect overlay for better text readability if needed in future */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

/* Featured Banner */
.featured-banner {
    background-color: #c8c8c8;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.featured-banner h2 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

/* Main Content */
.main-content {
    padding: 60px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.content-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.content-card:hover {
    transform: translateY(-5px);
}

.content-card h3 {
    color: #1e4a72;
    margin-bottom: 15px;
    font-size: 24px;
}

.content-card p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-primary {
    display: inline-block;
    background-color: #1e4a72;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #2a5a82;
    transform: translateY(-2px);
}

/* Club Stats */
.club-stats {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: #1e4a72;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1e4a72 0%, #2a5a82 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* Club Profile */
.club-profile {
    padding: 60px 0;
}

.club-profile h2 {
    color: #1e4a72;
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
}

.profile-grid {
    display: grid;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.profile-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #1e4a72;
}

.profile-label {
    font-weight: bold;
    color: #1e4a72;
}

.profile-value {
    color: #333;
}

/* Club History */
.club-history {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.club-history h2 {
    color: #1e4a72;
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
}

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

.history-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
}

/* Footer */
.main-footer {
    background-color: #1e4a72;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #f7b500;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #f7b500;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #2a5a82;
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background-color: #f7b500;
    transform: translateY(-3px);
}

.rotary-logo-footer {
    font-size: 60px;
    color: #f7b500;
    text-align: center;
}

.rotary-wheel-footer {
    animation: rotate 15s linear infinite;
}

.footer-bottom {
    border-top: 1px solid #2a5a82;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom a {
    color: #f7b500;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Partners Carousel Styles */
.partners-carousel {
    background-color: #f8f9fa;
    padding: 60px 0;
    overflow: hidden;
}

.partners-carousel h2 {
    text-align: center;
    color: #1e4a72;
    font-size: 32px;
    margin-bottom: 40px;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.carousel-track {
    display: flex;
    animation: scroll 20s linear infinite;
    gap: 30px;
}

.partner-logo {
    flex: 0 0 auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.partner-logo:hover {
    transform: translateY(-5px);
}

.partner-logo img {
    height: 120px;
    width: 225px;
    object-fit: cover;
    /*filter: grayscale(100%);*/
    transition: filter 0.3s;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.carousel-note {
    text-align: center;
    color: #666;
    font-size: 16px;
}

.carousel-note a {
    color: #1e4a72;
    text-decoration: none;
    font-weight: 500;
}

.carousel-note a:hover {
    text-decoration: underline;
}

/* Partnership Page Styles */
.partnership-intro {
    padding: 60px 0;
    text-align: center;
}

.partnership-intro h2 {
    color: #1e4a72;
    font-size: 36px;
    margin-bottom: 30px;
}

.partnership-intro p {
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    color: #666;
}

.sponsorship-levels {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.sponsorship-levels h2 {
    text-align: center;
    color: #1e4a72;
    font-size: 36px;
    margin-bottom: 50px;
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.level-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.level-card:hover {
    transform: translateY(-10px);
}

.level-card.gold {
    border-top: 5px solid #f7b500;
}

.level-card.silver {
    border-top: 5px solid #c0c0c0;
}

.level-card.bronze {
    border-top: 5px solid #cd7f32;
}

.level-header {
    margin-bottom: 30px;
}

.level-header i {
    font-size: 48px;
    margin-bottom: 15px;
}

.level-card.gold .level-header i {
    color: #f7b500;
}

.level-card.silver .level-header i {
    color: #c0c0c0;
}

.level-card.bronze .level-header i {
    color: #cd7f32;
}

.level-header h3 {
    font-size: 24px;
    color: #1e4a72;
    margin-bottom: 10px;
}

.level-amount {
    font-size: 32px;
    font-weight: bold;
    color: #1e4a72;
}

.level-benefits {
    list-style: none;
    text-align: left;
}

.level-benefits li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.level-benefits i {
    color: #28a745;
    font-size: 16px;
}

.partnership-benefits {
    padding: 60px 0;
}

.partnership-benefits h2 {
    text-align: center;
    color: #1e4a72;
    font-size: 36px;
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-item i {
    font-size: 48px;
    color: #1e4a72;
    margin-bottom: 20px;
}

.benefit-item h3 {
    color: #1e4a72;
    margin-bottom: 15px;
    font-size: 20px;
}

.partnership-contact {
    padding: 60px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.partnership-contact h2 {
    color: #1e4a72;
    font-size: 36px;
    margin-bottom: 20px;
}

.partnership-contact p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1e4a72;
    font-weight: 500;
}

.contact-item i {
    font-size: 20px;
}

/* Membership Page Styles */
.membership-info {
    padding: 60px 0;
}

.membership-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.membership-text h2 {
    color: #1e4a72;
    font-size: 36px;
    margin-bottom: 20px;
}

.membership-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.membership-benefits h3 {
    color: #1e4a72;
    font-size: 24px;
    margin-bottom: 20px;
}

.membership-benefits ul {
    list-style: none;
}

.membership-benefits li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.membership-benefits i {
    color: #28a745;
    font-size: 18px;
}

.membership-image {
    text-align: center;
}

.member-icon {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.membership-form {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.membership-form h2 {
    text-align: center;
    color: #1e4a72;
    font-size: 36px;
    margin-bottom: 20px;
}

.membership-form p {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-container {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.form-note {
    text-align: center;
}

.form-note p {
    color: #666;
    font-size: 14px;
}

.form-note a {
    color: #1e4a72;
    text-decoration: none;
    font-weight: 500;
}

.form-note a:hover {
    text-decoration: underline;
}

.membership-contact {
    padding: 60px 0;
    text-align: center;
}

.membership-contact h2 {
    color: #1e4a72;
    font-size: 36px;
    margin-bottom: 20px;
}

.membership-contact p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Header adjustments */
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .header-controls {
        gap: 15px;
    }
    
    .search-box {
        display: none; /* Hide search on mobile, can be toggled if needed */
    }
    
    .logo-image {
        height: 80px;
        max-width: 280px;
    }
    
    /* Mobile Navigation Menu */
    .main-nav {
        position: relative;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 80px 0 20px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    
    /* Mobile dropdown menu */
    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin: 0;
        padding: 0;
        border-radius: 0;
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    
    .nav-dropdown.mobile-dropdown-active .dropdown-menu {
        display: block;
        max-height: 200px;
        padding: 5px 0;
    }
    
    .nav-dropdown .dropdown-link {
        padding: 12px 35px;
        border-left: none;
        border-bottom: 1px solid #eee;
        font-size: 14px;
        transition: all 0.2s ease;
    }
    
    .nav-dropdown .dropdown-link:hover {
        background-color: #e9ecef;
        color: #1e4a72;
        padding-left: 40px;
    }
    
    /* Mobile dropdown toggle styling */
    @media (max-width: 768px) {
        .nav-dropdown .dropdown-toggle {
            position: relative;
        }
        
        .nav-dropdown .dropdown-toggle i {
            transition: transform 0.3s ease;
        }
        
        .nav-dropdown.mobile-dropdown-active .dropdown-toggle {
            background-color: #e9ecef;
            color: #1e4a72;
        }
    }
    
    .nav-menu.mobile-active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-link {
        padding: 18px 25px;
        border-bottom: none;
        border-left: 4px solid transparent;
        font-size: 16px;
        color: #333;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background-color: #f8f9fa;
        color: #1e4a72;
        border-left-color: #1e4a72;
        border-bottom-color: transparent;
    }
    
    .nav-link i {
        font-size: 20px;
        width: 24px;
        text-align: center;
    }
    
    /* Mobile membership link */
    .nav-membership .membership-link {
        padding: 18px 25px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
        background-color: #1e4a72;
        color: white;
        margin: 10px 15px;
        border-radius: 8px;
    }
    
    .nav-membership .membership-link:hover {
        background-color: #2a5a82;
        border-left-color: transparent;
    }
    
    .nav-membership .membership-link img {
        height: 40px;
    }
    
    .nav-membership .membership-link span {
        font-size: 16px;
        font-weight: 600;
    }
    
    /* Mobile overlay */
    .nav-menu.mobile-active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0,0,0,0.5);
        z-index: -1;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profile-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Carousel responsive */
    .carousel-track {
        animation-duration: 15s;
    }
    
    .partner-logo img {
        height: 60px;
        width: 120px;
    }
    
    /* Partnership page responsive */
    .levels-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Membership page responsive */
    .membership-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-container iframe {
        height: 600px;
    }
    
    /* Image Slider responsive */
    .image-slider {
        height: 300px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slider-arrow-prev {
        left: 10px;
    }
    
    .slider-arrow-next {
        right: 10px;
    }
    
    .nav-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    /* Very small screen header adjustments */
    .logo-image {
        height: 60px;
        max-width: 200px;
    }
    
    .mobile-menu-toggle {
        width: 25px;
        height: 25px;
    }
    
    .hamburger-line {
        height: 2px;
    }
    
    .nav-menu {
        width: 100%;
        right: -100%;
    }
    
    .nav-menu.mobile-active {
        right: 0;
    }
    
    /* Content adjustments */
    .container {
        padding: 0 15px;
    }
    
    .main-content {
        padding: 40px 0;
    }
    
    .content-grid {
        gap: 20px;
        margin-top: 30px;
    }
    
    .content-card {
        padding: 20px;
    }
    
    .content-card h3 {
        font-size: 20px;
    }
    
    .club-stats {
        padding: 40px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-item {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    /* Image slider mobile optimizations */
    .image-slider {
        height: 250px;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .slider-arrow-prev {
        left: 5px;
    }
    
    .slider-arrow-next {
        right: 5px;
    }
    
    .nav-dot {
        width: 8px;
        height: 8px;
        border-width: 1px;
    }
    
    /* Partners carousel mobile */
    .partners-carousel {
        padding: 40px 0;
    }
    
    .partners-carousel h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .partner-logo {
        padding: 15px;
    }
    
    .partner-logo img {
        height: 50px;
        width: 100px;
    }
    
    /* Typography adjustments */
    .partnership-intro h2,
    .sponsorship-levels h2,
    .partnership-benefits h2,
    .partnership-contact h2,
    .membership-form h2,
    .membership-contact h2 {
        font-size: 28px;
    }
    
    .membership-text h2 {
        font-size: 28px;
    }
    
    .level-amount {
        font-size: 24px;
    }
    
    .form-container iframe {
        height: 500px;
    }
    
    /* Button improvements */
    .btn-primary {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* Footer adjustments */
    .main-footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        gap: 25px;
        margin-bottom: 20px;
    }
    
    .footer-section h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .social-links {
        justify-content: center;
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 14px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .content-card:hover {
        transform: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
    
    .partner-logo:hover {
        transform: none;
    }
    
    .slider-arrow:hover {
        transform: translateY(-50%);
    }
    
    /* Increase touch targets */
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .slider-arrow {
        min-width: 44px;
        min-height: 44px;
    }
    
    .nav-dot {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-dot::before {
        content: '';
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: 2px solid white;
        background-color: transparent;
        transition: all 0.3s ease;
    }
    
    .nav-dot.active::before {
        background-color: white;
        transform: scale(1.2);
    }
}

/* Presidents Page Styles */
.presidents-intro {
    padding: 60px 0;
    text-align: center;
    background-color: #f8f9fa;
}

.presidents-intro h2 {
    color: #1e4a72;
    font-size: 36px;
    margin-bottom: 20px;
}

.presidents-intro p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.presidents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

.president-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.president-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.president-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.president-image img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.president-card:hover .president-image img {
    transform: scale(1.05);
}

.president-info {
    padding: 20px;
}

.president-name {
    color: #1e4a72;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1.3;
}

.president-years {
    color: #f7b500;
    font-size: 14px;
    font-weight: 600;
    background: rgba(247, 181, 0, 0.1);
    padding: 4px 12px;
    border-radius: 15px;
    display: inline-block;
}

.president-title {
    color: #666;
    font-size: 12px;
    margin-top: 8px;
    font-style: italic;
}

.presidents-footer {
    background-color: #1e4a72;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.presidents-footer-logo {
    max-width: 300px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.presidents-footer h3 {
    color: #f7b500;
    font-size: 24px;
    margin-bottom: 20px;
}

.presidents-footer p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Mobile responsive for presidents page */
@media (max-width: 768px) {
    .presidents-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 20px;
        padding: 40px 0;
    }
    
    .president-image {
        height: 200px;
    }
    
    .president-info {
        padding: 15px;
    }
    
    .president-name {
        font-size: 14px;
    }
    
    .president-years {
        font-size: 12px;
    }
    
    .presidents-intro h2 {
        font-size: 28px;
    }
    
    .presidents-footer h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .presidents-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .president-image {
        height: 150px;
    }
    
    .president-info {
        padding: 12px;
    }
    
    .president-name {
        font-size: 12px;
    }
    
    .president-years {
        font-size: 10px;
        padding: 2px 8px;
    }
    
    .president-title {
        font-size: 10px;
    }
}

/* High DPI display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-image,
    .partner-logo img,
    .president-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}
