* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a3c6c;
    --primary-dark: #122a4d;
    --secondary: #2c5282;
    --accent: #e6b800;
    --accent-light: #f9d949;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

body {
    background-color: #f9fbfd;
    color: var(--dark);
    line-height: 1.7;
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(26, 60, 108, 0.95);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo i {
    font-size: 2.5rem;
    margin-right: 15px;
    color: var(--accent);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.logo img {
    max-height: 50px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: white;
    white-space: nowrap;
}

/* Navigation */
nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-end;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 15px;
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
    display: block;
    white-space: nowrap;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--accent-light);
    background: rgba(255, 255, 255, 0.1);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Menu Hamburguesa */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle:hover {
    color: var(--accent);
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

/* Image Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 95%;
    max-height: 95%;
    position: relative;
    animation: zoomIn 0.3s ease;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: white;
    color: var(--primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.lightbox-close:hover {
    background: var(--accent);
    transform: rotate(90deg);
}

.lightbox-caption {
    text-align: center;
    color: white;
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.7);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Cursor pointer para imágenes clickeables */
.about-image img,
.org-image-container img {
    cursor: pointer;
    position: relative;
}

.about-image img:hover,
.org-image-container img:hover {
    opacity: 0.9;
}

.about-image::after,
.org-image-container::after {
    content: '\f00e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.about-image:hover::after,
.org-image-container:hover::after {
    opacity: 0.8;
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.gallery-item:focus {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.gallery-item-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.gallery-item-image::after {
    content: '\f00e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: white;
    opacity: 0;
    transition: var(--transition);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.gallery-item:hover .gallery-item-image::after {
    opacity: 0.9;
}

.gallery-item-content {
    padding: 20px;
}

.gallery-item-content h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.gallery-item-content p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.gallery-item-date {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 60, 108, 0.85), rgba(26, 60, 108, 0.9)), url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 20px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
    color: white;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s both;
}

.btn {
    display: inline-block;
    background: linear-gradient(to right, var(--accent), var(--accent-light));
    color: var(--primary);
    padding: 14px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(230, 184, 0, 0.3);
    animation: fadeInUp 1s ease 0.4s both;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(230, 184, 0, 0.5);
}

.btn:hover::before {
    left: 100%;
}

.btn-light {
    background: white;
    color: var(--primary);
}

.btn-light:hover {
    background: var(--accent-light);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--accent), var(--accent-light));
    border-radius: 2px;
}

/* Services Section */
.services {
    background-color: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--accent);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-card i {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: inline-block;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: fadeIn 1s ease;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--accent), var(--accent-light));
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
}

.about-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    transform: perspective(1000px) rotateY(5deg);
    transition: var(--transition);
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.image-caption {
    text-align: center;
    font-style: italic;
    margin-top: 15px;
    color: var(--gray);
    font-weight: 500;
}

/* Mission Section */
.mission {
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon points="0,0 100,100 0,100" fill="rgba(26, 60, 108, 0.03)"/></svg>');
    background-size: 100% 100%;
}

.mission-content {
    display: flex;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.mission-text {
    flex: 1;
}

.mission-text h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.mission-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--accent), var(--accent-light));
}

.mission-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
}

.mission-values {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.value-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--accent);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 184, 0, 0.05), transparent);
    z-index: 0;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.value-card i {
    font-size: 2.8rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.value-card h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
}

.value-card p {
    color: var(--gray);
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Organigrama Image */
.org-image-container {
    max-width: 900px;
    margin: 0 auto 60px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    background: white;
    padding: 20px;
}

.org-image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Directory Structure */
.directory-structure {
    max-width: 1000px;
    margin: 0 auto;
}

.directory-section {
    margin-bottom: 40px;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.directory-section:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.directory-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--accent);
    margin-bottom: 25px;
}

.directory-header i {
    font-size: 2rem;
    color: var(--accent);
    background: linear-gradient(135deg, rgba(230, 184, 0, 0.1), rgba(230, 184, 0, 0.05));
    padding: 15px;
    border-radius: 10px;
}

.directory-header h4 {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0;
}

.directory-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.member-card {
    background: linear-gradient(135deg, var(--light), white);
    border-radius: 12px;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid var(--accent);
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.member-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left-width: 6px;
}

.member-card.president {
    border-left-color: #d4af37;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), white);
}

.member-card.advisor {
    border-left-color: var(--secondary);
    background: linear-gradient(135deg, rgba(44, 82, 130, 0.08), white);
}

.member-info h5 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 700;
}

.member-info p {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-card.president .member-info p {
    color: #d4af37;
}

.member-card.advisor .member-info p {
    color: var(--secondary);
}

.member-card > i {
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.3;
    transition: var(--transition);
}

.member-card:hover > i {
    opacity: 0.6;
    transform: scale(1.1);
}

.member-card.president > i {
    color: #d4af37;
}

.member-card.advisor > i {
    color: var(--secondary);
}

.contact-container {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    max-width: 600px;
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 2rem;
    position: relative;
    padding-bottom: 10px;
    text-align: center;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--accent), var(--accent-light));
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    justify-content: center;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--accent);
    margin-right: 20px;
    margin-top: 5px;
    min-width: 40px;
}

.contact-item h4 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.contact-item p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Map Section */
.map-container {
    margin-top: 60px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 450px;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%) contrast(1.1);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 70px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon points="0,100 100,0 100,100" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 100% 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-section {
    flex: 1;
    padding: 0 20px;
}

.footer-section h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    color: white;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--accent), var(--accent-light));
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    display: block;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.05rem;
}

.footer-section a:hover {
    color: var(--accent-light);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 18px;
    margin-top: 25px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    transition: var(--transition);
    color: white;
    font-size: 1.2rem;
    padding: 0;
}

.social-links a:hover {
    background-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(230, 184, 0, 0.4);
}

/* Barra de redes en cabecera (desktop) */
.header-social {
    display: none;
    gap: 12px;
    margin-left: auto;
}

@media (min-width: 768px) {
    .header-social {
        display: flex;
    }
}

.header-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
    font-size: 1rem;
}

.header-social a:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content,
    .mission-content,
    .contact-container {
        flex-direction: column;
    }
    
    .mission-values {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-wrap: wrap;
    }
    
    .footer-section {
        flex: 0 0 50%;
        margin-bottom: 30px;
    }
    
    .hero h2 {
        font-size: 2.6rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero {
        padding: 90px 20px;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .footer-section {
        flex: 0 0 100%;
    }
    
    .map-container {
        height: 350px;
    }
    
    section {
        padding: 70px 0;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item i {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .directory-members {
        grid-template-columns: 1fr;
    }

    .directory-section {
        padding: 20px;
    }

    .directory-header {
        flex-direction: column;
        text-align: center;
    }

    .org-image-container {
        padding: 15px;
    }
}

/* News Styles */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.news-card-content {
    padding: 25px;
}

.news-date {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.news-date i {
    margin-right: 5px;
}

.news-card h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.btn-read-more {
    background: none;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-read-more:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateX(5px);
}

.btn-read-more i {
    transition: var(--transition);
}

.btn-read-more:hover i {
    transform: translateX(5px);
}

/* News Modal */
.news-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.news-modal-content {
    background: white;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 15px;
    position: relative;
    animation: fadeInUp 0.4s ease;
}

.news-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.news-modal-close:hover {
    background: var(--accent);
    transform: rotate(90deg);
}

.news-modal-image {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
}

.news-modal-body {
    padding: 40px;
}

.news-modal-body h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.news-modal-text {
    color: var(--dark);
    font-size: 1.1rem;
    line-height: 1.9;
}

.loading-message {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.9rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 28px;
        font-size: 1rem;
    }
    
    .map-container {
        height: 280px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-modal-body {
        padding: 25px;
    }

    .news-modal-body h2 {
        font-size: 1.7rem;
    }

    .news-modal-image {
        height: 220px;
    }

    .directory-members {
        gap: 15px;
    }

    .member-card {
        padding: 15px 20px;
    }

    .member-info h5 {
        font-size: 1.1rem;
    }

    .member-card > i {
        font-size: 1.5rem;
    }

    .directory-header i {
        font-size: 1.5rem;
        padding: 12px;
    }

    .directory-header h4 {
        font-size: 1.3rem;
    }

    .org-image-container {
        padding: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}