/* ================= ASSOCIATION SECTION STYLES ================= */

/* ================= COMMON STYLES ================= */
.association-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
    position: relative;
    z-index: 2;
}

.page-header .association-container,
.under-construction-section .association-container {
    padding-top: 0;
    padding-bottom: 0;
}

/* Page Header */
.association-header {
    text-align: center;
    margin-bottom: 0;
    position: relative;
}

.association-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.association-header h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, #c8a34d 0%, #d4b15c 100%);
    border-radius: 2px;
}

.association-header p {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Page Subtitle */
.page-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-subtitle::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #c8a34d;
    border-radius: 2px;
}

/* ================= ARRAM NEWS STYLES ================= */
.news-section {
    background: linear-gradient(135deg, #f9f7f4 0%, #f6f2ee 100%);
    min-height: calc(100vh - 180px);
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(550px, 1fr)); /* SIGNIFICANTLY increased min-width */
    gap: 40px;
    margin-top: 40px;
    width: 100%; /* Changed to 100% to use full container width */
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px; /* Added padding for spacing */
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(200, 163, 77, 0.1);
    height: 600px; /* Increased height even more */
    display: flex;
    flex-direction: column;
    animation: fadeUp 0.6s ease forwards;
    opacity: 0;
    width: 100%; /* Ensure card takes full grid cell width */
}

.news-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(200, 163, 77, 0.3);
}

.news-image {
    height: 350px; /* Increased from 320px */
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(200, 163, 77, 0.95);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(200, 163, 77, 0.3);
}

.news-content {
    padding: 40px; /* Increased padding */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px; /* Larger font */
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.4;
    min-height: 78px; /* Adjusted for larger font */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-content p {
    font-family: 'Inter', sans-serif;
    font-size: 18px; /* Larger font */
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    display: inline-block;
    color: #c8a34d;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
    position: relative;
    padding: 8px 0;
    margin-top: auto;
    cursor: pointer;
}

.news-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #c8a34d;
    transition: width 0.3s ease;
}

.news-link:hover {
    color: #b3913a;
    padding-left: 10px;
}

.news-link:hover::after {
    width: 100%;
}

/* ================= NEWS MODAL STYLES ================= */
.news-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 40px 20px;
    align-items: center;
    justify-content: center;
}

.news-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.news-modal {
    background: white;
    border-radius: 24px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    transform: translateY(20px);
    transition: transform 0.4s ease;
    position: relative;
}

.news-modal-overlay.active .news-modal {
    transform: translateY(0);
}

/* REMOVED: .modal-close styles - X button removed */

.modal-image {
    height: 400px;
    overflow: hidden;
    position: relative;
    border-radius: 24px 24px 0 0;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-date {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(200, 163, 77, 0.95);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(200, 163, 77, 0.3);
    z-index: 5;
}

.modal-content {
    padding: 50px;
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    line-height: 1.3;
}

.modal-description {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 30px;
}

.modal-description p {
    margin-bottom: 20px;
}

.modal-description p:last-child {
    margin-bottom: 0;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(200, 163, 77, 0.1);
    margin-top: 30px;
}

.modal-author {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #666;
    font-style: italic;
}

.modal-category {
    background: rgba(200, 163, 77, 0.1);
    color: #c8a34d;
    padding: 6px 16px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

/* No News Message */
.no-news {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.no-news h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.no-news p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #666;
}

/* ================= UNDER CONSTRUCTION STYLES ================= */
.under-construction-section {
    background: linear-gradient(135deg, #f5f1eb 0%, #f9f7f4 100%);
    min-height: calc(100vh - 180px);
    padding: 0 0 80px;
    margin-top: 0;
}

.construction-card {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(245, 241, 235, 0.9);
    border-radius: 24px;
    padding: 0 40px 34px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(200, 163, 77, 0.28);
}

.construction-icon {
    font-size: 52px;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 20px rgba(200, 163, 77, 0.25));
}

.construction-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3vw, 3rem);
    color: #1a1a1a;
    margin-bottom: 18px;
    font-weight: 700;
}

.construction-card p {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 16px;
}

.construction-card span {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #c8a34d;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ================= HISTORIQUE STYLES ================= */
.historique-section {
    background: linear-gradient(135deg, #f5f1eb 0%, #f9f7f4 100%);
    min-height: calc(100vh - 180px);
    padding: 40px 0;
}

.historique-content {
    max-width: 1200px;
    margin: 0 auto;
}

.historique-intro {
    text-align: center;
    margin-bottom: 60px;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border-left: 6px solid #c8a34d;
}

.historique-intro p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.9;
    color: #444;
    max-width: 900px;
    margin: 0 auto;
}

/* Timeline */
.historique-timeline {
    position: relative;
    padding: 40px 0;
}

.historique-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #c8a34d, #d4b15c);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
    position: relative;
    opacity: 0;
    animation: fadeUp 0.6s ease forwards;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #c8a34d;
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(200, 163, 77, 0.3);
    z-index: 2;
    min-width: 120px;
    text-align: center;
}

.timeline-content {
    width: 45%;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 1px solid rgba(200, 163, 77, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 5%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 5%;
}

.timeline-content::before {
    content: "";
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background: #c8a34d;
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(200, 163, 77, 0.2);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -10px;
    transform: translateX(50%);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
    transform: translateX(-50%);
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.timeline-content p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.timeline-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.timeline-image {
    border-radius: 12px;
    overflow: hidden;
    height: 120px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.timeline-image:hover {
    transform: scale(1.05);
    border-color: #c8a34d;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.timeline-image:hover img {
    transform: scale(1.1);
}

/* Milestone Highlights */
.milestone-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.milestone-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #c8a34d;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeUp 0.6s ease forwards;
}

.milestone-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.milestone-icon {
    font-size: 48px;
    color: #c8a34d;
    margin-bottom: 20px;
}

.milestone-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.milestone-card p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #666;
    line-height: 1.7;
}

/* ================= LIVRE D'OR STYLES ================= */
.livredor-section {
    background: linear-gradient(135deg, #f6f2ee 0%, #f9f7f4 100%);
    min-height: calc(100vh - 180px);
    padding: 40px 0;
}

.livredor-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* Messages Grid */
.messages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.message-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #c8a34d;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeUp 0.6s ease forwards;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.message-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.message-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(200, 163, 77, 0.1);
}

.message-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c8a34d 0%, #d4b15c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
}

.message-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.message-info span {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #c8a34d;
    font-weight: 500;
}

.message-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    flex-grow: 1;
    margin-bottom: 25px;
}

.message-date {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #888;
    text-align: right;
    font-style: italic;
}

/* Testimonial Form */
.testimonial-form-section {
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    margin-top: 60px;
    border: 1px solid rgba(200, 163, 77, 0.1);
}

.testimonial-form-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 40px;
}

.testimonial-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e8e6e1;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
    background: #faf9f7;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c8a34d;
    background: white;
    box-shadow: 0 0 0 4px rgba(200, 163, 77, 0.1);
}

.form-group textarea {
    min-height: 180px;
    resize: vertical;
}

.submit-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #c8a34d 0%, #d4b15c 100%);
    color: white;
    padding: 18px;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 24px rgba(200, 163, 77, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(200, 163, 77, 0.4);
    background: linear-gradient(135deg, #d4b15c 0%, #c8a34d 100%);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* No Messages */
.no-messages {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    grid-column: 1 / -1;
}

.no-messages h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.no-messages p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #666;
}

/* ================= ANIMATIONS ================= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animations for grid items */
.news-card:nth-child(1) { animation-delay: 0.1s; }
.news-card:nth-child(2) { animation-delay: 0.2s; }
.news-card:nth-child(3) { animation-delay: 0.3s; }
.news-card:nth-child(4) { animation-delay: 0.4s; }
.news-card:nth-child(5) { animation-delay: 0.5s; }
.news-card:nth-child(6) { animation-delay: 0.6s; }

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

.milestone-card:nth-child(1) { animation-delay: 0.1s; }
.milestone-card:nth-child(2) { animation-delay: 0.2s; }
.milestone-card:nth-child(3) { animation-delay: 0.3s; }

.message-card:nth-child(1) { animation-delay: 0.1s; }
.message-card:nth-child(2) { animation-delay: 0.2s; }
.message-card:nth-child(3) { animation-delay: 0.3s; }
.message-card:nth-child(4) { animation-delay: 0.4s; }

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 1200px) {
    .association-container {
        padding: 50px 30px;
    }
    
    .association-header h1 {
        font-size: 46px;
    }
    
    .page-subtitle {
        font-size: 28px;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(500px, 1fr)); /* Adjusted */
        gap: 30px;
        width: 100%;
    }
    
    .news-card {
        height: 580px;
    }
    
    .news-image {
        height: 330px;
    }
    
    .news-content h3 {
        font-size: 26px;
        min-height: 72px;
    }
    
    .modal-content {
        padding: 40px;
    }
    
    .modal-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 992px) {
    .association-header h1 {
        font-size: 42px;
    }
    
    .association-header {
        margin-bottom: 30px;
    }
    
    .historique-timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        margin-left: 60px;
    }
    
    .timeline-year {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .timeline-content {
        width: 100%;
        margin: 0 !important;
    }
    
    .timeline-content::before {
        left: -10px !important;
        transform: translateX(-50%) !important;
    }
    
    .messages-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .testimonial-form-section {
        padding: 40px;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    }
    
    .news-card {
        height: 560px;
    }
    
    .news-image {
        height: 320px;
    }
    
    .news-content h3 {
        font-size: 24px;
        min-height: 68px;
    }
    
    .news-content p {
        font-size: 17px;
    }
    
    .modal-image {
        height: 350px;
    }
    
    .modal-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .association-container {
        padding: 40px 20px;
    }
    
    .association-header h1 {
        font-size: 36px;
        padding-bottom: 15px;
    }
    
    .association-header p {
        font-size: 18px;
    }
    
    .page-subtitle {
        font-size: 26px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 100%;
        max-width: 600px;
        padding: 0 15px;
    }
    
    .news-content h3 {
        font-size: 22px;
        min-height: auto;
    }
    
    .historique-intro {
        padding: 30px;
    }
    
    .timeline-content {
        padding: 30px;
    }
    
    .milestone-highlights {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .messages-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .testimonial-form-section {
        padding: 30px;
    }
    
    .testimonial-form-section h3 {
        font-size: 28px;
    }
    
    .news-card {
        height: 520px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .news-image {
        height: 280px;
    }
    
    .news-content {
        padding: 30px;
    }
    
    .news-modal {
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-image {
        height: 300px;
    }
    
    .modal-content {
        padding: 30px;
    }
    
    .modal-content h2 {
        font-size: 24px;
    }
    
    .modal-description {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .association-header h1 {
        font-size: 32px;
    }
    
    .association-header p {
        font-size: 16px;
    }
    
    .page-subtitle {
        font-size: 24px;
    }
    
    .news-card {
        height: 480px;
        max-width: 100%;
    }
    
    .news-content {
        padding: 25px;
    }
    
    .news-content h3 {
        font-size: 20px;
    }
    
    .news-content p {
        font-size: 16px;
    }
    
    .timeline-content h3 {
        font-size: 20px;
    }
    
    .timeline-content p {
        font-size: 15px;
    }
    
    .timeline-images {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .message-card {
        padding: 25px;
    }
    
    .message-avatar {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .message-info h4 {
        font-size: 18px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    .submit-btn {
        padding: 16px;
        font-size: 16px;
    }
    
    .news-image {
        height: 250px;
    }
    
    .news-grid {
        padding: 0 10px;
    }
    
    .news-modal-overlay {
        padding: 20px 10px;
    }
    
    .modal-image {
        height: 250px;
    }
    
    .modal-content {
        padding: 25px;
    }
    
    .modal-content h2 {
        font-size: 22px;
    }
    
    .modal-description {
        font-size: 15px;
    }
    
    .modal-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* Arabic Support */
.arabic-text {
    font-family: 'Noto Naskh Arabic', 'Amiri', serif;
    text-align: right;
    direction: rtl;
    font-size: 18px;
    line-height: 2;
}

/* Loading States */
.loading {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(200, 163, 77, 0.2);
    border-top-color: #c8a34d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}