* {

   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

body {
   font-family:  sans-serif;
   color:black;
   line-height: 1.6;
}

h1, h2, h3 {
   font-family:  sans-serif;
   font-weight: 700;
}
/* Navigation */

nav {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 20px 60px;
   position: fixed;
   width: 100%;
   top: 0;
   z-index: 1000;
   transition: all 0.3s ease;
   background: transparent;
}

nav.scrolled {
   background-color: white;
   box-shadow: 0 1px 5px black;
   padding: 15px 60px;
}

nav.scrolled .logo-text,
nav.scrolled ul li a {
   color: black;
}

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

.logo-icon {
   width: 45px;
   height: 45px;
   background:black;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   color: black;
   font-size: 20px;
}

.logo-text {
   color: black;
   font-weight: 700;
   font-size: 22px;
}

.logo-text span {
   color:black
}

nav ul {
   display: flex;
   list-style: none;
   gap: 35px;
}

nav ul li a {
   text-decoration: none;
   color:red;
   font-weight: 600;
   font-size: 14px;
   text-transform: uppercase;
   letter-spacing: 1px;
   transition: color 0.3s ease;
}

nav ul li a:hover {
   color:black;
}

/* Hero Section */

.hero {
   height: 100vh;
   background: linear-gradient(135deg, rgba(1, 3, 4, 0.9) 0%, rgba(107, 48, 42, 0.8) 100%), 
               url(images/WhatsApp\ Image\ 2026-03-13\ at\ 19.49.07\ \(2\)\ -\ Copy.jpeg) center/cover;
   display: flex;
   justify-content: center;
   align-items: center;
   text-align: center;
   color:white;
   position: relative;
}

.hero-content {
   max-width: 800px;
   padding: 0 30px;
}

.hero-content {
   max-width: 800px;
   padding: 0 30px;
}


@keyframes pulse {
   0% { transform: scale(1); }
   50% { transform: scale(1.05); }
   100% { transform: scale(1); }
}

.hero h1 {
   font-size: 56px;
   font-weight: 700;
   margin-bottom: 20px;
   line-height: 1.1;
   text-shadow: 2px 2px 4px black;
}

.hero h1 span {
   color: red;
   display: block;
   font-size: 42px;
   margin-top: 10px;
}

.hero-subtitle {
   font-size: 20px;
   font-weight: 400;
   margin-bottom: 40px;
   opacity: 0.95;
   max-width: 600px;
   margin-left: auto;
   margin-right: auto;
}

.hero-stats {
   display: flex;
   justify-content: center;
   gap: 50px;
   margin: 40px 0;
   flex-wrap: wrap;
}

.stat-item {
   text-align: center;
   background: black;
   padding: 20px;
   border-radius: 10px;
   min-width: 120px;
}

.stat-number {
   font-size: 42px;
   font-weight: 700;
   color: red;
   display: block;
   line-height: 1;
}

.stat-label {
   font-size: 13px;
   text-transform: uppercase;
   letter-spacing: 1px;
   opacity: 0.9;
   margin-top: 8px;
}

.hero-cta {
   display: flex;
   gap: 20px;
   justify-content: center;
   flex-wrap: wrap;
   margin-top: 40px;
}

.btn {
   padding: 16px 40px;
   border: none;
   border-radius: 50px;
   font-size: 16px;
   font-weight: 700;
   cursor: pointer;
   transition: all 0.3s ease;
   text-transform: uppercase;
   letter-spacing: 1px;
   text-decoration: none;
   display: inline-block;
}

.btn-primary {
   background: red;
   color: white;
}

.btn-primary:hover {
   background: red;
   transform: translateY(-3px);
   box-shadow: 0 10px 30px red;
}

.btn-secondary {
   background: transparent;
   color: white;
   border: 2px solid white;
}

.btn-secondary:hover {
   background: white;
   color: #2c3e50;
   transform: translateY(-3px);
}

/* About home page */

.about-preview {
   padding: 80px 60px;
   background: white;
   text-align: center;
}

.about-preview h2 {
   font-size: 36px;
   color: black;
   margin-bottom: 20px;
}

.about-preview p {
   font-size: 18px;
   color: grey;
   max-width: 700px;
   margin: 0 auto 30px;
   line-height: 1.8;
}

/*Gallery section*/
    
        .gallery {
            padding: 4rem 2rem;
            max-width: 1400px;
            margin: 0 auto;
            background: white;
        }

        .gallery-header {
            text-align: center;
            margin-bottom: 4rem;
            position: relative;
        }

        .gallery-header::before {
            content: '';
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: red;
        }

        .gallery-header h2 {
            font-size: 3rem;
            color: black;
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: 5px;
            font-weight: 700;
        }

        .gallery-header h2 span {
            color:black;
        }

        .gallery-header p {
            font-size: 1.2rem;
            color: black;
            max-width: 700px;
            margin: 0 auto;
            font-style: san-serif;
            border-left: 4px solid red;
            padding-left: 20px;
        }

        /* Gallery Grid */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem;
        }
        .gallery-item {
            background: white;
            border-radius: 0;
            overflow: hidden;
            border: 2px solid black;
            transition: all 0.4s ease;
            position: relative;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .gallery-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: red;
            transform: scaleX(0);
            transition: transform 0.4s ease;
            z-index: 10;
        }

        .gallery-item:hover::before {
            transform: scaleX(1);
        }

        .gallery-item img {
            width: 100%;
            height: 280px;
            object-fit: cover;
            display: block;
            border-bottom: 2px solid black;
            transition: filter 0.4s ease;
        }

        .gallery-item:hover img {
            filter: contrast(1.1);
        }

        /* Image Caption - White with Black and Red */
        .image-caption {
            padding: 1.5rem;
            background: white   ;
            position: relative;
        }

        .image-caption::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: red;
            transform: scaleY(0);
            transition: transform 0.3s ease;
        }

        .gallery-item:hover .image-caption::before {
            transform: scaleY(1);
        }

        .image-caption p {
            color: black;
            font-size: 1rem;
            line-height: 1.6;
            font-weight: 500;
            padding-left: 15px;
            border-left: 3px solid red;
        }

        /* Memorial Badge - Red on White */
        .memorial-badge {
            display: inline-block;
            background: red;
            color: white;
            padding: 0.3rem 1rem;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-weight: 600;
            margin-bottom: 0.8rem;
        }

        /* Tribute Bar - Black with White Text */
        .tribute-bar {
            background:white;
            color:black;
            text-align: center;
            padding: 2rem;
            margin-top: 4rem;
            font-size: 1.1rem;
            letter-spacing: 3px;
            text-transform: uppercase;
            font-weight: 600;
            border-top: 4px solid red;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }
            
            .gallery-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .gallery-header h2 {
                font-size: 2rem;
                letter-spacing: 3px;
            }
            
            .gallery-header p {
                font-size: 1rem;
            }
        }

       
/*Education section*/

        .edu-hero {
            margin-top: 80px;
            background: var(--black);
            padding: 80px 60px 60px;
            display: flex; align-items: flex-end;
            justify-content: space-between; gap: 40px;
            border-bottom: 4px solid var(--red);
            position: relative; overflow: hidden;
        }
        .edu-hero::before {
            content: 'EDUCATION';
            position: absolute; top: -10px; right: -20px;
            font-family: var(--font-display);
            font-size: 200px; color: rgba(255,255,255,0.03);
            line-height: 1; pointer-events: none; user-select: none;
        }
        .edu-hero-text { max-width: 600px; }
        .edu-hero-tag {
            display: inline-block;
            background: var(--red); color: var(--white);
            font-size: 11px; font-weight: 700;
            letter-spacing: 3px; text-transform: uppercase;
            padding: 6px 14px; margin-bottom: 20px;
        }
        .edu-hero h1 {
            font-family: var(--font-display);
            font-size: clamp(48px, 6vw, 80px);
            color: var(--white); line-height: 1;
            letter-spacing: 2px; margin-bottom: 20px;
        }
        .edu-hero h1 span { color: var(--red); }
        .edu-hero p { color: rgba(255,255,255,0.7); font-size: 1.05rem; max-width: 500px; line-height: 1.7; }

        .edu-body {
            display: grid; grid-template-columns: 1fr 340px;
            gap: 0; max-width: 1200px;
            margin: 0 auto; padding: 60px 20px;
            width: 100%; align-items: start;
        }
        .edu-content { padding-right: 60px; }
        .edu-sidebar { position: sticky; top: 100px; }

        @media (max-width: 900px) {
            .edu-hero { flex-direction: column; padding: 60px 20px 40px; }
            .edu-body  { grid-template-columns: 1fr; padding: 30px 20px; }
            .edu-content { padding-right: 0; }
            .edu-sidebar { position: static; margin-top: 40px; }
        }
        @media (max-width: 600px) {
            .edu-hero h1 { font-size: 42px; }
            .hero-stat-block { flex-direction: row; flex-wrap: wrap; }
        }
/*Content section */

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-color: white;
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    background-color: white;
    border: 3px solid black;
    text-align: center;
}

h2 {
    margin-bottom: 25px;
    color: black;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 3px solid red;
    padding-bottom: 15px;
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid black;
    outline: none;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: white;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

button {
    border: 2px solid black;
    background-color: red`;
    padding: 12px 40px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0px black;
}

button:hover {
    background-color: black;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px red;
}

/* Footer Styles */
footer {
    background-color: black;
    color: white;
    width: 100%;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    background-color: black;
}

.footer-content h3 {
    font-size: 24px;
    color: red;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
}


/* Helplines Section - CENTERED BLOCK, LEFT-ALIGNED TEXT */
.helplines {
    margin-top: 30px;
    padding: 25px;
    background-color: red;
    border: 2px solid black;
    max-width: 600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.helplines h4 {
    color: white;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 1px solid black;
    padding-bottom: 10px;
}

.helplines ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.helplines li {
    color: white;
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid black;
    line-height: 1.5;
    text-align: left;
}

.helplines li:last-child {
    border-bottom: none;
}

.helplines li strong {
    color: white;
}

.bottom-bar {
    background-color: red;
    text-align: center;
    padding: 20px;
    border-top: 3px solid white;
}

.bottom-bar p {
    font-size: 14px;
    font-weight: bold;
    color: white;
    letter-spacing: 1px;
}

  
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: white;
}

/* Main Content Area */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 20px;
    background-color: white;
}

.container {
    width: 100%;
    max-width: 420px;
    padding: 35px;
    background-color: white;
    border: 3px solid black;
    box-shadow: 8px 8px 0px red;
    text-align: center;
}

h2 {
    margin-bottom: 25px;
    color: black;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 3px solid red;
    padding-bottom: 15px;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid black;
    outline: none;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: white;
}

input:focus,
textarea:focus {
    border-color: red;
    box-shadow: 4px 4px 0px black;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

button {
    border: 2px solid black;
    background-color: hsl(0, 99%, 36%);
    padding: 12px 40px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0px black;
}

button:hover {
    background-color: black;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px red;
}

/* SUPPORT PAGE */

.support-hero {
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    background: linear-gradient(rgba(255,255,255,0.88), rgba(255,255,255,0.88)),
                url(images/WhatsApp\ Image\ 2026-03-13\ at\ 19.49.07\ \(2\)\ -\ Copy.jpeg)
}

.support-hero-content {
    max-width: 900px;
}

.support-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: black;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.support-hero p {
    font-size: 1.2rem;
    color:black;
    line-height: 1.8;
}

.support-section {
    padding: 80px 60px;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 50px;
    color:black;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.support-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.support-card {
    background: white;
    padding: 35px 25px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

.support-card i {
    font-size: 2.5rem;
    color: red;
    margin-bottom: 20px;
}

.support-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #000;
}

.support-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}

.support-btn {
    display: inline-block;
    padding: 12px 24px;
    background: red;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s ease;
}

.support-btn:hover {
    background: #000;
    color: #fff;
}

.support-message {
    padding: 80px 20px;
    background: white;
}

.support-message-box {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    background: white;
    border: 2px solid red;
    border-radius: 18px;
    padding: 40px 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
}

.support-message-box h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #000;
}

.support-message-box p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.support-footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 25px 15px;
}

.active-link {
    color: black;
}

/* MOBILE */
@media (max-width: 900px) {
    .support-cards {
        grid-template-columns: 1fr;
    }

    .support-section {
        padding: 60px 20px;
    }

    .support-hero h1 {
        font-size: 2.2rem;
    }

    .support-hero p {
        font-size: 1rem;
    }
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    z-index: 1000;
}

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

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: red;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.logo-text span {
    color: red;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: red;
    font-weight: 700;
    font-size: 15px;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: white;
}
/* Footer */
footer {
    background-color: black;
    color: white;
    width: 100%;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 35px 20px;
    background-color: black;
}

.footer-content h3 {
    font-size: 24px;
    color: red;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
}


.bottom-bar {
    background-color:black;
    text-align: center;
    padding: 12px;
    border-top: 3px solid white;
}

.bottom-bar p {
    font-size: 12px;
    font-weight: bold;
    color: white;
    letter-spacing: 1px;
}


body {
    margin: 0;
    padding: 0;
    font-family:  sans-serif;
    background-color: white;
    color: black;
}

.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    background-color: white;
}

.container {
    width: 100%;
    max-width: 420px;
    padding: 35px;
    background-color: white;
    border: 2px solid red;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    text-align: center;
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid red;
    background-color: white;
    color: black;
}

input::placeholder,
textarea::placeholder {
    color: #666;
}
h2 {
    color: black;
    border-bottom: 2px solid red;
}

.social-links li a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links i {
    font-size: 18px;
}



.main-content {
    background-color: white;
}

.container {
    background-color: white;
    border: 2px solid red;
    box-shadow: 
        0 0 20px red,
        0 0 40px rgba(255, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

input, textarea {
    background-color: white;
    border: 2px solid red;
    color: black;
    transition: 0.3s;
}

input:focus, textarea:focus {
    border-color: red;
    box-shadow: 0 0 10px red;
}

button {
    background: linear-gradient(45deg, red);
    border: none;
    box-shadow: 0 0 10px red;
    transition: 0.}

/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

/* Tablet and smaller screens */
@media (max-width: 1024px) {
    /* Navigation */
    nav {
        padding: 15px 30px;
    }

    nav.scrolled {
        padding: 12px 30px;
    }

    nav ul {
        gap: 25px;
    }

    /* Hero Section */
    .hero h1 {
        font-size: 42px;
    }

    .hero h1 span {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    /* Gallery Grid */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Support Cards */
    .support-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    /* Navigation - Mobile Menu */
    nav {
        padding: 15px 20px;
        flex-wrap: wrap;
    }

    nav.scrolled {
        padding: 12px 20px;
    }

    .logo-text {
        font-size: 18px;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        margin-top: 10px;
    }

    nav ul li a {
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    /* Hero Section */
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 20px 60px;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero h1 span {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .hero-stats {
        gap: 20px;
        margin: 30px 0;
    }

    .stat-item {
        padding: 15px;
        min-width: 100px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 11px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        padding: 14px 30px;
        font-size: 14px;
    }

    /* About Section */
    .about-preview {
        padding: 60px 20px;
    }

    .about-preview h2 {
        font-size: 28px;
    }

    .about-preview p {
        font-size: 16px;
    }

    /* Gallery Section */
    .gallery {
        padding: 3rem 1rem;
    }

    .gallery-header h2 {
        font-size: 2rem;
        letter-spacing: 3px;
    }

    .gallery-header p {
        font-size: 1rem;
        padding-left: 15px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-item img {
        height: 220px;
    }

    .image-caption {
        padding: 1.2rem;
    }

    /* Education Section */
    .edu-hero {
        margin-top: 60px;
        padding: 60px 20px 40px;
        flex-direction: column;
        align-items: flex-start;
    }

    .edu-hero h1 {
        font-size: 36px;
    }

    .edu-body {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

    .edu-content {
        padding-right: 0;
    }

    .edu-sidebar {
        position: static;
        margin-top: 30px;
    }

    /* Support Section */
    .support-hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .support-hero h1 {
        font-size: 2rem;
    }

    .support-hero p {
        font-size: 1rem;
    }

    .support-section {
        padding: 50px 20px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .support-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .support-card {
        padding: 25px 20px;
    }

    .support-message {
        padding: 50px 15px;
    }

    .support-message-box {
        padding: 30px 20px;
    }

    .support-message-box h2 {
        font-size: 1.6rem;
    }

    /* Contact Form */
    .main-content {
        padding: 40px 15px;
    }

    .container {
        padding: 25px;
        max-width: 100%;
    }

    h2 {
        font-size: 24px;
    }

    input, textarea {
        padding: 10px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    button {
        padding: 12px 30px;
        font-size: 14px;
    }

    /* Footer */
    .footer-content {
        padding: 30px 15px;
    }

    .footer-content h3 {
        font-size: 20px;
    }

    .helplines {
        padding: 20px;
        margin-top: 20px;
    }

    .helplines h4 {
        font-size: 16px;
    }

    .helplines li {
        font-size: 13px;
        padding: 6px 0;
    }

    .bottom-bar {
        padding: 15px;
    }

    .bottom-bar p {
        font-size: 12px;
    }

    /* Tribute Bar */
    .tribute-bar {
        padding: 1.5rem;
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    /* Navigation */
    nav {
        padding: 12px 15px;
    }

    nav ul {
        gap: 12px;
    }

    nav ul li a {
        font-size: 11px;
    }

    /* Hero */
    .hero h1 {
        font-size: 26px;
    }

    .hero h1 span {
        font-size: 20px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .stat-number {
        font-size: 28px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 13px;
    }

    /* Gallery */
    .gallery-header h2 {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }

    .gallery-item img {
        height: 180px;
    }

    /* Support */
    .support-hero h1 {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .support-card h3 {
        font-size: 1.2rem;
    }

    /* Container */
    .container {
        padding: 20px;
    }

    h2 {
        font-size: 22px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 22px;
    }

    .hero h1 span {
        font-size: 18px;
    }

    nav ul {
        gap: 8px;
    }

    nav ul li a {
        font-size: 10px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 12px;
    }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 20px 40px;
    }

    .hero-stats {
        margin: 20px 0;
    }

    .edu-hero {
        padding: 60px 20px 30px;
    }
}

/* High DPI / Retina displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .gallery-item img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .gallery-item:hover::before,
    .gallery-item:hover .image-caption::before {
        transform: none;
    }

    .gallery-item:active::before {
        transform: scaleX(1);
    }

    .btn:hover {
        transform: none;
        box-shadow: none;
    }

    .btn:active {
        transform: translateY(-2px);
    }
}