.events-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, rgba(10, 14, 39, 0.7) 0%, rgba(0, 102, 204, 0.45) 100%), url("images/IMG_1022%20(1).JPG");
    background-size: cover;
    background-position: center 20%;
    color: var(--text-light);
}

.detail-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    align-items: start;
}

.detail-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-hero {
    position: relative;
    padding: 8rem 0 6rem;
    background-image: linear-gradient(160deg, rgba(10, 14, 39, 0.75) 0%, rgba(0, 102, 204, 0.4) 80%), var(--hero-bg, url("images/IMG_1303.JPG"));
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    overflow: hidden;
}

.detail-hero--actualite {
    --hero-bg: url("images/IMG_1303.JPG");
}

.detail-hero--activite {
    --hero-bg: url("images/IMG_1022%20(1).JPG");
}

.detail-hero--publication {
    --hero-bg: url("images/IMG_5161.heic");
}

.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.65) 0%, rgba(0, 102, 204, 0.35) 70%);
    z-index: 1;
}

.detail-hero .container {
    position: relative;
    z-index: 2;
}

.detail-hero-content {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
}

.detail-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-section {
    padding: 4rem 0 5rem;
    background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

/* ========================================
   BREADCRUMB (FIL D'ARIANE)
   ======================================== */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--primary-color);
    border-top: 2px solid var(--primary-color);
    transform: rotate(45deg);
    margin-right: 0.75rem;
    opacity: 0.5;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.breadcrumb-item a:hover {
    color: var(--accent-color);
    background: rgba(0, 102, 204, 0.08);
    transform: translateX(-2px);
}

.breadcrumb-item a::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230066cc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3Cpolyline points='9 22 9 12 15 12 15 22'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
}

.breadcrumb-item:first-child a::before {
    display: inline-block;
}

.breadcrumb-item:not(:first-child) a::before {
    display: none;
}

.breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    background: rgba(0, 102, 204, 0.08);
    border-radius: 6px;
}

@media (max-width: 640px) {
    .breadcrumb {
        font-size: 0.85rem;
    }
    
    .breadcrumb-item a,
    .breadcrumb-item.active {
        padding: 0.2rem 0.4rem;
    }
}

.detail-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 35px rgba(10, 14, 39, 0.08);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.detail-image {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.detail-image img {
    display: block;
    width: 100%;
    height: auto;
}

.detail-image--cover img {
    border-radius: 14px;
}

.detail-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem 2rem;
    min-height: 260px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.2) 0%, rgba(0, 212, 170, 0.3) 100%);
    color: var(--primary-dark);
}

.detail-placeholder i {
    font-size: 3rem;
}

.detail-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.detail-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 14px;
    background: rgba(0, 102, 204, 0.08);
    border: 1px solid rgba(0, 102, 204, 0.15);
}

.detail-info-item i {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.detail-info-label {
    display: block;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.detail-resume {
    padding: 2rem;
    border-radius: 16px;
    background: rgba(0, 212, 170, 0.08);
    border: 1px solid rgba(0, 212, 170, 0.2);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.detail-resume h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.detail-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.detail-content p {
    margin: 0;
}

.detail-content img {
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.detail-action {
    display: flex;
    justify-content: center;
}

.btn-primary.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
    width: fit-content;
    align-self: center;
}

.btn-primary.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.btn-primary.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.detail-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(10, 14, 39, 0.08);
}

.detail-share {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-gray);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0, 102, 204, 0.25);
    color: var(--primary-color);
    transition: var(--transition-fast);
}

.share-btn:hover {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: transparent;
    transform: translateY(-2px);
}

.detail-related {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-related-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-related-header h2 {
    font-size: 2rem;
    color: var(--primary-dark);
}

.detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    border-radius: 12px;
    background: rgba(255, 193, 7, 0.18);
    color: #b88400;
    font-weight: 600;
}

.detail-badge i {
    color: #ffc107;
}

.detail-share span {
    font-weight: 500;
}

.detail-content h2,
.detail-content h3 {
    color: var(--primary-dark);
    margin-top: 1.5rem;
}

.detail-content ul {
    padding-left: 1.2rem;
}

.detail-content blockquote {
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    background: rgba(0, 102, 204, 0.08);
    border-radius: 10px;
}

.detail-info-item span {
    color: var(--text-dark);
}

.detail-resume p {
    margin: 0;
}

.detail-share .share-btn {
    margin-left: 0;
}

.detail-share .share-btn + .share-btn {
    margin-left: 0.35rem;
}

.detail-content a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

.detail-content a:hover {
    color: var(--accent-color);
}

/* ========================================
   FILTERS SECTION
   ======================================== */
.filters-section {
    padding: 3rem 0 2rem;
    background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.filters-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(10, 14, 39, 0.08);
    padding: 2rem;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.filters-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-label {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-label i {
    color: var(--primary-color);
}

.filter-input,
.filter-select {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(0, 102, 204, 0.15);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-dark);
    background: #ffffff;
    transition: var(--transition-fast);
    outline: none;
}

.filter-input:focus,
.filter-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.filter-input::placeholder {
    color: var(--text-gray);
}

.filter-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230066cc' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

.filter-select:hover {
    border-color: var(--primary-color);
    background-color: rgba(0, 102, 204, 0.02);
}

.filter-select option {
    padding: 0.5rem;
    background: #ffffff;
    color: var(--text-dark);
}

.filter-select option:hover,
.filter-select option:checked {
    background: linear-gradient(90deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 212, 170, 0.1) 100%);
    color: var(--primary-dark);
}

.filter-actions {
    display: flex;
    gap: 0.75rem;
}

.filter-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    white-space: nowrap;
}

@media (max-width: 968px) {
    .filters-form {
        grid-template-columns: 1fr;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .filters-card {
        padding: 1.5rem;
    }
    
    .filter-input,
    .filter-select {
        padding: 0.65rem 0.85rem;
        font-size: 0.95rem;
    }
}

.events-section .section-title,
.events-section .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.events-section .section-tag {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
}

.section-description {
    color: var(--text-gray);
    max-width: 640px;
    margin: 0.5rem auto 0;
    line-height: 1.7;
}

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

.calendar-column {
    background: rgba(10, 14, 39, 0.65);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 18px 35px rgba(10, 14, 39, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.calendar-month {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 1.2rem;
    border-radius: 16px;
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 212, 170, 0.15);
    background: rgba(0, 102, 204, 0.12);
}

.event-card + .event-card {
    margin-top: 1.2rem;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 102, 204, 0.25);
}

.event-date {
    min-width: 68px;
    height: 68px;
    border-radius: 18px;
    background: var(--gradient-primary);
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
}

.event-day {
    font-size: 1.5rem;
    line-height: 1;
}

.event-month {
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.event-details h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.92);
}

.event-details p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.8rem;
}

.event-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.8rem;
}

.event-meta i {
    color: var(--accent-color);
    margin-right: 0.3rem;
}

.event-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.event-link:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

.moments-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f1f4fb 100%);
}

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

.moment-card {
    position: relative;
    border-radius: 24px;
    padding: 2.5rem;
    min-height: 320px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    color: var(--text-light);
    box-shadow: 0 22px 35px rgba(10, 14, 39, 0.18);
    isolation: isolate;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.moment-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 14, 39, 0.15) 0%, rgba(10, 14, 39, 0.7) 100%);
    z-index: -1;
    transition: opacity var(--transition-normal);
}

.moment-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.moment-card:hover::before {
    opacity: 0.9;
}

.moment-content {
    position: relative;
    z-index: 1;
}

.moment-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
}

.moment-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.moment-content p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 320px;
}

.moment-innovation {
    background-image: linear-gradient(160deg, rgba(0, 102, 204, 0.25), rgba(10, 14, 39, 0.65)), url("images/IMG_5161.heic");
}

.moment-communautes {
    background-image: linear-gradient(160deg, rgba(255, 107, 53, 0.25), rgba(10, 14, 39, 0.65)), url("images/IMG_5165.HEIC");
}

.moment-formation {
    background-image: linear-gradient(160deg, rgba(0, 212, 170, 0.25), rgba(10, 14, 39, 0.65)), url("images/IMG_5169.HEIC");
}

@media (max-width: 768px) {
    .moment-card {
        min-height: 280px;
        padding: 2rem;
    }

    .moment-content h3 {
        font-size: 1.4rem;
    }
}

.video-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #eef2f8 100%);
}

.video-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.video-feature {
    position: relative;
    display: block;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    color: var(--text-light);
}

.video-feature img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.65);
    transition: transform var(--transition-normal), filter var(--transition-normal);
}

.video-feature:hover img {
    transform: scale(1.02);
    filter: brightness(0.8);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition-normal);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.video-feature:hover .play-button {
    transform: translate(-50%, -50%) scale(1.05);
    background: rgba(255, 255, 255, 0.95);
}

.video-feature-title {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: rgba(0, 102, 204, 0.85);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
}

.video-playlist {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.video-card {
    display: flex;
    gap: 1rem;
    background: var(--text-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 28px rgba(10, 14, 39, 0.12);
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 102, 204, 0.08);
    text-decoration: none;
    color: inherit;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.video-card img {
    width: 120px;
    height: 80px;
    object-fit: cover;
}

.video-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-info h4 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.video-info span {
    color: var(--text-gray);
    font-size: 0.85rem;
}

@media (max-width: 992px) {
    .video-grid {
        grid-template-columns: 1fr;
    }

    .video-card img {
        width: 100px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .events-calendar {
        grid-template-columns: 1fr;
    }

    .event-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .event-date {
        flex-direction: row;
        gap: 0.5rem;
        border-radius: 12px;
        padding: 0.8rem 1rem;
        width: auto;
        height: auto;
    }

    .event-day {
        font-size: 1.2rem;
    }

    .event-month {
        font-size: 0.9rem;
    }

    .event-meta {
        flex-direction: column;
        gap: 0.6rem;
    }
}
/* ========================================
   VARIABLES & RESET
   ======================================== */
:root {
    --primary-color: #0066cc;
    --primary-dark: #004c99;
    --primary-light: #3385d6;
    --secondary-color: #ff6b35;
    --accent-color: #00d4aa;
    --dark-bg: #0a0e27;
    --dark-card: #151932;
    --text-dark: #1a1a2e;
    --text-light: #ffffff;
    --text-gray: #6c757d;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #00d4aa 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --gradient-dark: linear-gradient(135deg, #0a0e27 0%, #151932 100%);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.6);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 35px rgba(10, 14, 39, 0.25);
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 14, 39, 0.9);
    box-shadow: 0 20px 45px rgba(10, 14, 39, 0.35);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

.logo-image {
    height: 42px;
    width: auto;
    object-fit: contain;
}

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

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: var(--transition-normal);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, rgba(10, 14, 39, 0.65) 0%, rgba(0, 102, 204, 0.38) 65%), url("images/IMG_1303.JPG");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.55) 0%, rgba(0, 102, 204, 0.35) 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #00d4aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.hero-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.8);
}

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

.btn-hero {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 12px 28px rgba(0, 102, 204, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    transition: transform 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(0, 102, 204, 0.35);
}

.btn-primary:hover::after {
    transform: translateX(250%) skewX(-25deg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease-out 0.9s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   GALLERY SLIDER
   ======================================== */
.gallery-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0a0e27 0%, #151932 100%);
    position: relative;
    color: var(--text-light);
}

.slider {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.slider-track {
    display: flex;
    transition: transform var(--transition-slow);
}

.slide {
    min-width: 100%;
    position: relative;
    height: 520px;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease;
}

.slide.active img {
    transform: scale(1.08);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.75) 0%, rgba(21, 25, 50, 0.85) 100%);
}

.slide-content {
    position: absolute;
    bottom: 50px;
    left: 50px;
    right: 50px;
    color: var(--text-light);
    max-width: 520px;
}

.slide-tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.slide-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition-fast);
    z-index: 5;
}

.slider-btn:hover {
    background: rgba(0, 212, 170, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 5;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
    margin-top: -50px;
    z-index: 3;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: -40% 10% auto 10%;
    height: 320px;
    background: radial-gradient(circle at 20% 20%, rgba(0, 102, 204, 0.12), transparent 60%),
                radial-gradient(circle at 80% 30%, rgba(0, 212, 170, 0.14), transparent 65%);
    opacity: 0.9;
    z-index: -1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(160px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    box-shadow: 0 18px 35px rgba(10, 14, 39, 0.08);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    backdrop-filter: blur(6px);
}

.stat-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 25px 45px rgba(10, 14, 39, 0.15);
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(3, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
    }
}

@media (max-width: 520px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

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

.about-card {
    background: var(--text-light);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.about-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ========================================
   BOARD SECTION
   ======================================== */
.board-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

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

.board-card {
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.board-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 102, 204, 0.3);
}

.board-card .activity-content {
    text-align: left;
}

.board-role {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.board-role {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0.8rem;
}

.board-bio {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Accordion Styles */
.accordion-trigger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 0;
    transition: var(--transition-normal);
}

.accordion-trigger:hover {
    opacity: 0.8;
}

.accordion-trigger .section-title {
    margin: 0;
    transition: var(--transition-normal);
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.accordion-trigger.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

.accordion-content.active {
    max-height: 5000px;
    opacity: 1;
    transition: max-height 0.8s ease-in, opacity 0.5s ease-in;
}

/* ========================================
   ACTIVITIES SECTION
   ======================================== */
.activities-section {
    padding: 6rem 0;
    background: var(--text-light);
}

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

.activity-card {
    background: var(--text-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.activity-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.board-card .activity-image img {
    object-position: center 20%;
}

.activity-card:hover .activity-image img {
    transform: scale(1.1);
}

.activity-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--text-light);
    padding: 0.8rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.activity-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.activity-date .month {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
}

.activity-content {
    padding: 1.5rem;
}

.activity-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.activity-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.activity-content p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.activity-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.activity-link:hover {
    gap: 1rem;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* ========================================
   PUBLICATIONS SECTION
   ======================================== */
.publications-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

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

.publication-card {
    background: var(--text-light);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
}

.publication-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.publication-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.publication-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.publication-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.publication-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.publication-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition-normal);
}

.btn-download:hover {
    background: var(--primary-dark);
    transform: translateX(5px);
}

/* ========================================
   PARTNERS SECTION
   ======================================== */
.partners-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
}

.partners-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--text-light);
    box-shadow: var(--shadow-md);
    padding: 2rem 0;
}

.partners-track {
    display: flex;
    gap: 2rem;
    animation: partnersScroll 25s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-card {
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.75;
    transition: var(--transition-fast);
}

.partner-card:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.partner-card img {
    max-width: 180px;
    height: auto;
}

@keyframes partnersScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    padding: 6rem 0;
    background: var(--gradient-dark);
    color: var(--text-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-color);
}

.contact-item h4 {
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-normal);
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    background: var(--dark-bg);
    padding: 0 0.5rem;
    color: var(--accent-color);
}

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

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--dark-card);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-logo-image {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--text-light);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 10px;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition-normal);
}

.newsletter-form button:hover {
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--gradient-dark);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        transition: var(--transition-normal);
        align-items: flex-start;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .publications-grid {
        grid-template-columns: 1fr;
    }

    .detail-columns {
        flex-direction: column;
    }

    .detail-info-grid {
        grid-template-columns: 1fr;
    }

    .detail-footer {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .detail-share {
        width: 100%;
        justify-content: flex-start;
    }

    .btn-primary.btn-large {
        width: 100%;
        text-align: center;
    }

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

    .detail-resume {
        padding: 1.5rem;
    }

    .detail-columns {
        gap: 2rem;
    }

    .detail-column + .detail-column {
        margin-top: 2rem;
    }

    .detail-share {
        flex-wrap: wrap;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .slide {
        height: 320px;
    }

    .slide-content {
        bottom: 30px;
        left: 20px;
        right: 20px;
    }

    .slide-content h3 {
        font-size: 1.5rem;
    }

    .partners-track {
        animation-duration: 35s;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
