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

/* Performance optimizations */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Optimize font loading */
@font-face {
    font-family: 'Inter';
    font-display: swap;
}

/* Mobile-first improvements */
html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #FFD700;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    /* Mobile touch improvements */
    padding: 0.5rem 0;
    display: block;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.nav-menu a:hover {
    color: #FFD700;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    /* Mobile touch improvements */
    padding: 0.5rem;
    min-height: 44px;
    min-width: 44px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #E0E7FF;
}

.hero-text h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #C7D2FE;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #E0E7FF;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    /* Mobile touch improvements */
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn-primary {
    background: #FFD700;
    color: #333;
}

.btn-primary:hover {
    background: #FFA500;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

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

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.image-placeholder i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.hero-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #F9FAFB;
}

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

.about-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #4B5563;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.core-values {
    margin-top: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.value-item i {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 1rem;
}

.value-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.value-item p {
    color: #6B7280;
    font-size: 1rem;
}

/* Manifesto Section */
.manifesto {
    padding: 6rem 0;
    background: white;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.manifesto-item {
    background: #F9FAFB;
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 4px solid #FFD700;
    transition: transform 0.3s ease;
}

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

.manifesto-icon {
    margin-bottom: 1.5rem;
}

.manifesto-icon i {
    font-size: 2.5rem;
    color: #FFD700;
}

.manifesto-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 1rem;
}

.manifesto-item ul {
    list-style: none;
}

.manifesto-item li {
    padding: 0.5rem 0;
    color: #4B5563;
    position: relative;
    padding-left: 1.5rem;
}

.manifesto-item li::before {
    content: '?';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-weight: bold;
}

/* News Section */
.news {
    padding: 6rem 0;
    background: white;
}

.loading-stories {
    text-align: center;
    padding: 3rem;
    color: #6B7280;
    font-size: 1.1rem;
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

.loading-stories i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #FFD700;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-stories {
    text-align: center;
    padding: 3rem;
    color: #6B7280;
    grid-column: 1 / -1;
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

.no-stories i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #9CA3AF;
}

.no-stories h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.no-stories p {
    font-size: 1rem;
    color: #6B7280;
}

/* Dynamic story styling */
.dynamic-story {
    border-left: 4px solid #FFD700;
    position: relative;
}

.dynamic-story::before {
    content: "NEW";
    position: absolute;
    top: 10px;
    left: 10px;
    background: #FFD700;
    color: #333;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 10;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

.news-item {
    background: #F9FAFB;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, opacity 0.3s ease-in-out;
    opacity: 1;
    min-width: 0; /* Allow shrinking on mobile */
}

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

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
    background-color: #f0f0f0;
}

.news-photo:not([src]) {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.news-item:hover .news-photo {
    transform: scale(1.02);
}

.news-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #FFD700;
    color: #333;
    padding: 0.5rem;
    border-radius: 8px;
    text-align: center;
    min-width: 50px;
}

.news-date .day {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-excerpt {
    color: #6B7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.news-category {
    background: #FFD700;
    color: #333;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-location {
    color: #6B7280;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.news-location i {
    color: #FFD700;
}

.news-actions {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.news-share {
    margin-top: 1rem;
    text-align: center;
}

.share-btn {
    background: #FFD700;
    color: #333;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    /* Mobile touch improvements */
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    position: relative;
    overflow: hidden;
}

.share-btn:hover {
    background: #FFA500;
}

.share-btn:active {
    transform: none;
    box-shadow: none;
}

.share-btn:focus {
    outline: 2px solid #FFD700;
    outline-offset: 2px;
}

.share-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.share-btn i {
    font-size: 1rem;
}

.read-more-btn {
    background: #228B22;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    /* Mobile touch improvements */
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    position: relative;
    overflow: hidden;
}

.read-more-btn:hover {
    background: #1F7A1F;
}

.read-more-btn:active {
    transform: none;
    box-shadow: none;
}

.read-more-btn:focus {
    outline: 2px solid #FFD700;
    outline-offset: 2px;
}

.read-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.read-more-btn i {
    font-size: 1rem;
}

.news-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Kabale Section */
.kabale {
    padding: 6rem 0;
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
}

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

.kabale-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 1rem;
}

.kabale-text p {
    font-size: 1.1rem;
    color: #4B5563;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.kabale-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.feature i {
    font-size: 1.5rem;
    color: #FFD700;
    margin-top: 0.25rem;
}

.feature h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #6B7280;
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #1F2937;
    color: white;
}

.contact .section-header h2 {
    color: white;
}

.contact .section-header p {
    color: #D1D5DB;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.2rem;
    color: #FFD700;
    width: 20px;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #374151;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    /* Mobile touch improvements */
    min-height: 44px;
    min-width: 44px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.social-link:hover {
    background: #FFD700;
    transform: translateY(-2px);
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #374151;
    border-radius: 8px;
    background: #374151;
    color: white;
    font-size: 1rem;
    /* Mobile improvements */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9CA3AF;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD700;
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #FFD700;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #D1D5DB;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #FFD700;
}

/* Contact Info Styles */
.contact-info {
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    gap: 0.75rem;
}

.contact-item i {
    color: #FFD700;
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.contact-item a {
    color: #D1D5DB;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #FFD700;
}

.contact-item span {
    color: #D1D5DB;
}

/* Social Links Styles */
.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 8px 12px;
    background: #374151;
    color: #D1D5DB;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    min-width: 40px;
    height: 40px;
}

.social-links a i {
    font-size: 1.2rem;
}

.social-links a span {
    font-size: 0.85rem;
    font-weight: 500;
}

.social-links a:hover {
    background: #FFD700;
    color: #111827;
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9CA3AF;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
}

.footer-bottom-content p {
    margin: 0;
    text-align: center;
}

.admin-access {
    position: absolute;
    right: 0;
}

.admin-link {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #374151;
}

.admin-link:hover {
    color: #FFD700;
    background: #4B5563;
}

.admin-access-link {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border: 1px solid #374151;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-access-link:hover {
    color: #FFD700;
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-photo {
        width: 250px;
        height: 250px;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .hero-text h3 {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .values-grid,
    .manifesto-grid,
    .kabale-features {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

/* Small smartphones (360px - 420px) - iPhone SE, Samsung Galaxy A51, etc. */
@media (max-width: 420px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    
    .news-item {
        margin-bottom: 0.8rem;
    }
    
    .news-content h3 {
        font-size: 0.9rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }
    
    .news-excerpt {
        font-size: 0.75rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .news-meta {
        font-size: 0.7rem;
        gap: 0.2rem;
    }
    
    .news-actions {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .read-more-btn,
    .share-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .news-image {
        height: 100px;
    }
    
    .news-photo {
        height: 100px;
    }
    
    .news-date {
        font-size: 0.6rem;
        padding: 0.2rem 0.4rem;
    }
    
    .news-date .day {
        font-size: 0.8rem;
    }
    
    .news-date .month {
        font-size: 0.6rem;
    }
}

/* Very small smartphones (320px - 360px) - iPhone 5/5S, older Android phones */
@media (max-width: 360px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
    }
    
    .news-item {
        margin-bottom: 0.6rem;
    }
    
    .news-content h3 {
        font-size: 0.8rem;
        line-height: 1.1;
        margin-bottom: 0.4rem;
    }
    
    .news-excerpt {
        font-size: 0.7rem;
        line-height: 1.2;
        margin-bottom: 0.4rem;
    }
    
    .news-meta {
        font-size: 0.65rem;
        gap: 0.1rem;
    }
    
    .news-actions {
        flex-direction: column;
        gap: 0.2rem;
    }
    
    .read-more-btn,
    .share-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .news-image {
        height: 80px;
    }
    
    .news-photo {
        height: 80px;
    }
    
    .news-date {
        font-size: 0.55rem;
        padding: 0.15rem 0.3rem;
    }
    
    .news-date .day {
        font-size: 0.7rem;
    }
    
    .news-date .month {
        font-size: 0.55rem;
    }
}

/* Ultra small screens (280px - 320px) - Very old phones, some feature phones */
@media (max-width: 320px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.3rem;
    }
    
    .news-item {
        margin-bottom: 0.5rem;
    }
    
    .news-content h3 {
        font-size: 0.75rem;
        line-height: 1.1;
        margin-bottom: 0.3rem;
    }
    
    .news-excerpt {
        font-size: 0.65rem;
        line-height: 1.1;
        margin-bottom: 0.3rem;
    }
    
    .news-meta {
        font-size: 0.6rem;
        gap: 0.1rem;
    }
    
    .news-actions {
        flex-direction: column;
        gap: 0.2rem;
    }
    
    .read-more-btn,
    .share-btn {
        padding: 0.25rem 0.4rem;
        font-size: 0.65rem;
    }
    
    .news-image {
        height: 70px;
    }
    
    .news-photo {
        height: 70px;
    }
    
    .news-date {
        font-size: 0.5rem;
        padding: 0.1rem 0.25rem;
    }
    
    .news-date .day {
        font-size: 0.65rem;
    }
    
    .news-date .month {
        font-size: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-photo {
        width: 200px;
        height: 200px;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Enhanced mobile navigation */
    .nav-menu {
        padding: 1rem 0;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }
    
    /* Mobile hero improvements */
    .hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .hero-text h2 {
        font-size: 1.3rem;
        line-height: 1.2;
    }
    
    .hero-text h3 {
        font-size: 1.1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* Mobile manifesto improvements */
    .manifesto-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .manifesto-item h3 {
        font-size: 1.2rem;
    }
    
    .manifesto-item li {
        font-size: 0.9rem;
        padding: 0.3rem 0;
    }
    
    /* Mobile news improvements */
    .news-item {
        margin-bottom: 1rem;
    }
    
    .news-content h3 {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .news-excerpt {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
        font-size: 0.8rem;
    }
    
    .news-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .read-more-btn,
    .share-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        text-align: center;
    }
    
    /* Mobile contact improvements */
    .contact-content {
        gap: 2rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Mobile footer improvements */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        position: static;
    }
    
    .footer-bottom-content p {
        text-align: center;
    }
    
    .admin-access {
        position: static;
        margin-top: 1rem;
    }
    
    /* Mobile contact info */
    .contact-info {
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    /* Mobile social links */
    .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .social-links a {
        width: auto;
        height: 45px;
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .social-links a i {
        font-size: 1.3rem;
    }
    
    .social-links a span {
        font-size: 0.9rem;
    }
    
    /* Mobile article modal optimization */
    .article-modal {
        padding: 5px !important;
    }
    
    .article-modal > div {
        max-height: 95vh !important;
        margin: 0 !important;
        border-radius: 5px !important;
    }
    
    .article-modal img {
        height: 200px !important;
    }
    
    .article-modal h1 {
        font-size: 20px !important;
        line-height: 1.2 !important;
    }
    
    .article-modal div[style*="padding: 30px"] {
        padding: 15px !important;
    }
    
    .article-modal button {
        padding: 8px 16px !important;
        font-size: 14px !important;
    }
    
    /* Mobile news grid */
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .news-item {
        margin-bottom: 1rem;
    }
    
    .news-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .read-more-btn, .share-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-photo {
        width: 180px;
        height: 180px;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .manifesto-item {
        padding: 1.2rem;
    }
    
    .news-item {
        margin-bottom: 1rem;
    }
    
    .news-content {
        padding: 1rem;
    }
    
    .contact-item {
        margin-bottom: 1rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 0.8rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
}

/* Very small devices (320px and down) */
@media (max-width: 320px) {
    .hero-text h1 {
        font-size: 1.6rem;
    }
    
    .hero-text h2 {
        font-size: 1.1rem;
    }
    
    .hero-photo {
        width: 150px;
        height: 150px;
    }
    
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .nav-logo h2 {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    /* Enhanced mobile form improvements */
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.8rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
}

/* Article page button styles */
@media (max-width: 768px) {
    .article-buttons {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .article-buttons button {
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    /* Mobile scroll improvements */
    -webkit-overflow-scrolling: touch;
    scroll-padding-top: 80px; /* Account for fixed navbar */
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text,
.hero-image,
.manifesto-item,
.value-item,
.feature,
.news-item {
    animation: fadeInUp 0.8s ease-out;
}
