
        :root {
            --soft-green: #e8f5e9;
            --teal: #26a69a;
            --light-blue: #b3e5fc;
            --gold: #ffd54f;
            --white: #ffffff;
            --dark-teal: #00796b;
            --light-gray: #f5f5f5;
            --text-dark: #333333;
            --shadow: rgba(0, 0, 0, 0.1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Calibri', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background-color: var(--white);
            overflow-x: hidden;
        }

        h1, h2, h3, h4 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        h1 {
            font-size: 3.5rem;
            font-weight: 800;
            line-height: 1.2;
        }

        h2 {
            font-size: 2.5rem;
            position: relative;
            padding-bottom: 15px;
        }

        h2:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 80px;
            height: 4px;
            background: var(--gold);
        }

        h3 {
            font-size: 1.8rem;
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .btn {
            display: inline-block;
            padding: 15px 35px;
            background: var(--teal);
            color: var(--white);
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            border: 2px solid var(--teal);
            cursor: pointer;
        }

        .btn:hover {
            background: transparent;
            color: var(--teal);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px var(--shadow);
        }

        .btn-gold {
            background: var(--gold);
            border-color: var(--gold);
            color: var(--text-dark);
        }

        .btn-gold:hover {
            background: transparent;
            color: var(--text-dark);
        }

        .btn-outline {
            background: transparent;
            color: var(--white);
            border: 2px solid var(--white);
        }

        .btn-outline:hover {
            background: var(--white);
            color: var(--teal);
        }

        .section {
            padding: 100px 0;
            position: relative;
        }

        .section-title-center h2 {
            text-align: center;
        }

        .section-title-center h2:after {
            left: 50%;
            transform: translateX(-50%);
        }

        /* Hero Section */
        .hero {
            height: 100vh;
            min-height: 800px;
            background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), 
                        url('https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1820&q=80') no-repeat center center/cover;
            display: flex;
            align-items: center;
            color: var(--white);
            text-align: center;
        }

        .hero-content {
            max-width: 900px;
            margin: 0 auto;
            padding: 20px;
        }

        .hero h1 {
            margin-bottom: 20px;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }

        .hero-subtitle {
            font-size: 1.8rem;
            margin-bottom: 30px;
            font-weight: 500;
        }

        .hero-date {
            font-size: 1.5rem;
            margin-bottom: 40px;
            font-weight: 600;
            color: var(--gold);
        }

        .hero-btns {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        /* Event Overview */
        .event-overview {
            background: linear-gradient(rgba(38, 166, 154, 0.9), rgba(38, 166, 154, 0.9)), 
                        url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80') no-repeat center center/cover;
            color: var(--white);
        }

        .event-overview h2 {
            color: var(--white);
        }

        .event-overview h2:after {
            background: var(--gold);
        }

        .event-features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .event-feature {
            text-align: center;
            padding: 30px 20px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 40px;
            backdrop-filter: blur(5px);
            transition: transform 0.3s ease;
        }

        .event-feature:hover {
            transform: translateY(-10px);
        }

        .event-feature i {
            font-size: 3rem;
            color: var(--gold);
            margin-bottom: 20px;
        }

        .event-feature h3 {
            margin-bottom: 15px;
        }

        /* Social Service Section *
        .service-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .service-card {
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 15px 30px var(--shadow);
            transition: transform 0.3s ease;
            position: relative;
        }

        .service-card:hover {
            transform: translateY(-10px);
        }

        .service-card img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            display: block;
        }

        .service-card-content {
            padding: 55px;
            background: var(--white);
        }

        .service-card h3 {
            color: var(--dark-teal);
            margin-bottom: 10px;
        }

        .service-card p {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--teal);
        }  */

        /* Donation Section */
        .donation-section {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                        url('https://images.unsplash.com/photo-1542744095-fcf48d80b0fd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1776&q=80') no-repeat center center/cover;
            color: var(--white);
            text-align: center;
        }

        .donation-section h2 {
            color: var(--white);
            max-width: 900px;
            margin: 0 auto 30px;
        }

        .donation-section h2:after {
            display: none;
        }

        .donation-content {
            max-width: 800px;
            margin: 0 auto 40px;
            font-size: 1.2rem;
            line-height: 1.8;
        }

        .donation-badge {
            display: inline-block;
            background: var(--gold);
            color: var(--text-dark);
            padding: 15px 30px;
            border-radius: 50px;
            font-weight: 800;
            font-size: 1.3rem;
            margin-top: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        /* Participants Section */
        .participants-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .participant-card {
            background: var(--white);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 20px var(--shadow);
            transition: transform 0.3s ease;
        }

        .participant-card:hover {
            transform: translateY(-10px);
        }

        .participant-img {
            height: 180px;
            background-color: var(--light-blue);
            background-size: cover;
            background-position: center;
        }

        .participant-content {
            padding: 25px;
            display: flex;
            align-items: center;
        }

        .participant-icon {
            font-size: 2.5rem;
            color: var(--teal);
            margin-right: 20px;
            flex-shrink: 0;
        }

        .participant-content h3 {
            font-size: 1.3rem;
            margin-bottom: 0;
        }

        /* Gallery Section */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            grid-auto-rows: 200px;
            grid-gap: 15px;
            margin-top: 50px;
            grid-auto-flow: dense;
        }

        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            cursor: pointer;
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.05);
        }

        .gallery-item:nth-child(4n+1) {
            grid-column: span 2;
            grid-row: span 2;
        }

        .gallery-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
            padding: 20px;
            color: var(--white);
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }

        .gallery-item:hover .gallery-overlay {
            transform: translateY(0);
        }

        /* Why Sponsor Section */
        .why-sponsor {
            background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), 
                        url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80') no-repeat center center/cover;
        }

        .sponsor-benefits {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .benefit {
            text-align: center;
            padding: 30px 20px;
            background: var(--white);
            border-radius: 10px;
            box-shadow: 0 10px 20px var(--shadow);
            border-top: 5px solid var(--teal);
        }

        .benefit i {
            font-size: 2.5rem;
            color: var(--teal);
            margin-bottom: 20px;
        }

        /* Event Highlights */
        .event-highlights {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .highlight-card {
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 15px 30px var(--shadow);
            transition: transform 0.3s ease;
        }

        .highlight-card:hover {
            transform: translateY(-10px);
        }

        .highlight-img {
            height: 250px;
            background-color: var(--light-blue);
            background-size: cover;
            background-position: center;
        }

        .highlight-content {
            padding: 30px;
            background: var(--white);
        }

        .highlight-content h3 {
            color: var(--dark-teal);
            margin-bottom: 15px;
        }

        /* Contact Section */
        .contact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .contact-person {
            display: flex;
            align-items: center;
            padding: 20px;
            background: var(--soft-green);
            border-radius: 10px;
            box-shadow: 0 5px 15px var(--shadow);
            transition: transform 0.3s ease;
        }

        .contact-person:hover {
            transform: translateY(-5px);
        }

        .contact-icon {
            width: 60px;
            height: 60px;
            background: var(--teal);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 20px;
            flex-shrink: 0;
            color: var(--white);
            font-size: 1.5rem;
        }

        .contact-info h3 {
            margin-bottom: 5px;
            font-size: 1.3rem;
        }

        .contact-info p {
            font-size: 1.1rem;
            color: var(--dark-teal);
            font-weight: 600;
        }

        /* Final CTA */
        .final-cta {
            background: linear-gradient(rgba(38, 166, 154, 0.8), rgba(38, 166, 154, 0.9)), 
                        url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1932&q=80') no-repeat center center/cover;
            color: var(--white);
            text-align: center;
        }

        .final-cta h2 {
            color: var(--white);
            max-width: 800px;
            margin: 0 auto 40px;
        }

        .final-cta h2:after {
            background: var(--gold);
            left: 50%;
            transform: translateX(-50%);
        }

        /* Footer */
        footer {
            background: var(--dark-teal);
            color: var(--white);
            padding: 50px 0 30px;
            text-align: center;
        }

        .footer-logo {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 20px;
            color: var(--gold);
        }

        .footer-text {
            max-width: 600px;
            margin: 0 auto 30px;
            opacity: 0.8;
        }

        .copyright {
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            opacity: 0.7;
        }

        /* Modal for Gallery */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            max-width: 90%;
            max-height: 90%;
        }

        .modal-img {
            width: 100%;
            height: auto;
            border-radius: 5px;
        }

        .close-modal {
            position: absolute;
            top: 20px;
            right: 30px;
            color: var(--white);
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            transition: color 0.3s;
        }

        .close-modal:hover {
            color: var(--gold);
        }

        /* Print Styles */
        @media print {
            .hero {
                height: auto;
                min-height: auto;
                page-break-after: always;
            }
            
            .btn {
                display: none;
            }
            
            .section {
                padding: 50px 0;
                page-break-inside: avoid;
            }
            
            .gallery-item:hover img {
                transform: none;
            }
            
            .gallery-overlay {
                transform: translateY(0);
                position: relative;
                background: #f5f5f5;
                color: #000;
                padding: 10px;
            }
        }

        /* Responsive */
        @media (max-width: 768px) {
            h1 {
                font-size: 2.5rem;
            }
            
            h2 {
                font-size: 2rem;
            }
            
            .hero-btns {
                flex-direction: column;
                align-items: center;
            }
            
            .btn {
                width: 100%;
                max-width: 300px;
                margin-bottom: 10px;
            }
            
            .gallery-grid {
                grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            }
            
            .gallery-item:nth-child(4n+1) {
                grid-column: span 1;
                grid-row: span 1;
            }
        }


        .service-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 25px;
            margin-top: 40px;
        }
        
        .service-card {
            position: relative;
            height: 320px;              /* 🔒 fixed height for all cards */
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 12px 30px rgba(0,0,0,0.15);
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .service-card:hover {
            transform: translateY(-8px) scale(1.01);
        }
        
        .service-img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
        }
        
        .service-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;   /* ✅ fills card perfectly */
            display: block;
        }
        
        /* Dark overlay for readability */
        .service-card::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.15));
            z-index: 1;
        }
        
        .service-card-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 2;
            padding: 24px;
            color: #fff;
            text-align: left;
        }
        
        .service-card-content h3 {
            font-size: 24px;
            margin-bottom: 6px;
            font-weight: 700;
            color: #1ec794;
        }
        
        .service-card-content p {
            font-size: 16px;
            opacity: 0.95;
            color: #fff;
        }
        


        /* sponsors*/
        .sponsor-intro {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
            margin: 40px 0 60px;
        }
        
        .intro-box {
            background: var(--white);
            padding: 25px;
            border-radius: 14px;
            text-align: center;
            box-shadow: 0 8px 20px var(--shadow);
            border-top: 5px solid var(--teal);
        }
        
        .intro-box h3 {
            font-size: 28px;
            color: var(--teal);
            margin-bottom: 8px;
        }
        
        .sponsor-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 30px;
        }
        
        .sponsor-card {
            background: var(--white);
            padding: 30px;
            border-radius: 16px;
            box-shadow: 0 12px 30px var(--shadow);
            border-left: 6px solid var(--teal);
        }
        
        .sponsor-card h3 {
            margin-bottom: 18px;
            color: var(--dark-teal);
        }
        
        .sponsor-card ul {
            padding-left: 20px;
        }
        
        .sponsor-card li {
            margin-bottom: 12px;
            line-height: 1.6;
            font-size: 16px;
        }
        


        .rotary-about {
            background: #f4f7f8;
        }
        
        .rotary-image-box {
            text-align: center;
        }
        
        .rotary-image-box img {
            max-width: 100%;
            width: 100%;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }
        

        /*added*/
        /* =========================
   PROFESSIONAL A4 PRINT MODE
========================= */
@media print {

    @page {
        size: A4;
        margin: 12mm;
    }

    body {
        background: #fff !important;
        color: #000 !important;
    }

    /* Hide web-only elements */
    .btn, .hero-btns {
        display: none !important;
    }

    /* Global cleanup */
    * {
        box-shadow: none !important;
        text-shadow: none !important;
        animation: none !important;
        transition: none !important;
    }

    /* Section spacing optimized for print */
    section {
        padding: 35px 0 !important;
        page-break-inside: avoid;
    }

    /* Headings should never be orphaned */
    h1, h2, h3 {
        break-after: avoid;
        page-break-after: avoid;
    }

    /* Hero becomes cover page */
    .hero {
        page-break-after: always;
        height: auto !important;
        min-height: auto !important;
        padding: 80px 0 !important;
    }

    /* Important sections start on new page */
    .rotary-about,
    .event-overview,
    #services,
    #gallery,
    #partner,
    .donation-section,
    footer {
        page-break-before: always;
    }

    /* Prevent ugly splits inside cards */
    .service-card,
    .sponsor-card,
    .benefit,
    .highlight-card,
    .participant-card,
    .gallery-item {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    /* Gallery optimized for print */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .gallery-item {
        height: 180px !important;
    }

    .gallery-overlay {
        transform: translateY(0) !important;
        position: relative !important;
        background: #eee !important;
        color: #000 !important;
        padding: 6px !important;
        font-size: 13px !important;
    }

    /* Sponsor section becomes 2-column layout for print */
    .sponsor-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    /* Service grid 2 per row in print */
    .service-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .service-card {
        height: 240px !important;
    }

    /* Reduce font sizes slightly for print fit */
    h1 { font-size: 32px !important; }
    h2 { font-size: 24px !important; }
    h3 { font-size: 18px !important; }
    p, li { font-size: 13.5px !important; }

    /* Footer always last page */
    footer {
        page-break-before: always;
    }
}

/*addition*/

img {
    max-width: 100%;
    height: auto;
}

/* =========================
   MOBILE RESPONSIVE FIXES
========================= */
@media (max-width: 600px) {

    body {
        overflow-x: hidden;
    }

    .container {
        width: 95%;
        padding: 0 12px;
    }

    h1 {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.7rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .section {
        padding: 60px 0;
    }

    /* Hero */
    .hero {
        min-height: auto;
        height: auto;
        padding: 80px 0 60px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-date {
        font-size: 1.1rem;
    }

    /* Buttons */
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
        font-size: 1rem;
    }

    /* Grids become single column */
    .event-features,
    .participants-grid,
    .service-grid,
    .sponsor-grid,
    .sponsor-benefits,
    .event-highlights,
    .contact-grid {
        grid-template-columns: 1fr !important;
    }

    /* Service cards */
    .service-card {
        height: 220px;
    }

    .service-card-content h3 {
        font-size: 18px;
    }

    .service-card-content p {
        font-size: 14px;
    }

    /* Gallery fix */
    .gallery-grid {
        grid-template-columns: 1fr 1fr !important;
        grid-auto-rows: 160px;
    }

    .gallery-item:nth-child(4n+1) {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    /* Sponsor cards */
    .sponsor-card {
        padding: 20px;
    }

    /* Contact cards */
    .contact-person {
        flex-direction: row;
        gap: 12px;
    }

    .contact-info h3 {
        font-size: 1.1rem;
    }

    .contact-info p {
        font-size: 1rem;
    }

    /* Footer */
    footer {
        padding: 40px 0 20px;
    }
}
