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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

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

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

.nav-logo h2 {
    color: #7c3aed;
    font-weight: 700;
}

.nav-logo a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.nav-logo a:hover {
    transform: scale(1.05);
}

.nav-logo img {
    transition: opacity 0.3s ease;
}

.nav-logo a:hover img {
    opacity: 0.8;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 4px 8px;
    font-size: 0.85rem;
    border-radius: 5px;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #7c3aed;
    background-color: rgba(124, 58, 237, 0.1);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #7c3aed;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

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

/* Hero Section */
.hero {
    height: 85vh;
    min-height: 600px;
    max-height: 800px;
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

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

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.stat-text {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

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

.eu-funded-badge {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 300px;
}

.eu-flag {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #ffffff;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #7c3aed;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555;
}

.call-to-action {
    background: #f8f4ff;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #7c3aed;
    margin-top: 30px;
}

.call-to-action p {
    color: #7c3aed;
    font-weight: 500;
}

/* Purpose Section */
.purpose {
    padding: 100px 0;
    background: white;
}

.purpose h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.purpose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.purpose-card {
    padding: 40px 30px;
    text-align: center;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-200);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.purpose-icon {
    text-align: center;
    margin-bottom: 25px;
}

.purpose-icon i {
    font-size: 4.5rem;
    display: inline-block;
    padding: 25px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.purpose-card:hover .purpose-icon i {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Different gradient colors for each icon */
.purpose-card:nth-child(1) .purpose-icon i {
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    color: white;
}

.purpose-card:nth-child(2) .purpose-icon i {
    background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    color: white;
}

.purpose-card:nth-child(3) .purpose-icon i {
    background: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
    color: white;
}

.purpose-card:nth-child(4) .purpose-icon i {
    background: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
    color: white;
}

.purpose-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #7c3aed;
    font-weight: 600;
}

.purpose-description {
    margin-top: 50px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.purpose-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

    .purpose-description p:last-child {
    margin-bottom: 0;
}

.calendar-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e5e7eb 100%);
}

.calendar-wrapper {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.calendar-title {
    font-size: 2rem;
    color: #1f2937;
    font-weight: 700;
}

.calendar-nav-btn {
    background: #7c3aed;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.calendar-nav-btn:hover {
    background: #6d28d9;
    transform: scale(1.05);
}

.calendar-main {
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .calendar-wrapper {
        padding: 20px;
    }

    .calendar-title {
        font-size: 1.4rem;
    }

    .calendar-table td {
        padding: 12px 6px;
        font-size: 0.85rem;
        height: 50px;
    }

    .event-item {
        flex-direction: column;
        gap: 12px;
    }

    .event-date {
        min-width: 60px;
    }
}

.calendar-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.calendar-table th {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: #ffffff;
    font-weight: 600;
    padding: 16px 10px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calendar-table th:first-child {
    border-top-left-radius: 12px;
}

.calendar-table th:last-child {
    border-top-right-radius: 12px;
}

.calendar-table td {
    background: #ffffff;
    color: #1f2937;
    padding: 18px 10px;
    border: 1px solid #e5e7eb;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    vertical-align: top;
    height: 60px;
}

.calendar-table td:hover:not(.muted) {
    background: #f0f9ff;
    border-color: #7c3aed;
    transform: scale(1.02);
}

.calendar-table td.muted {
    color: #cbd5e1;
    background: #f8fafc;
}

.calendar-table td.today {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    font-weight: 700;
}

.calendar-table td.event {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    border: 2px solid #7c3aed;
    font-weight: 700;
    color: #5b21b6;
}

.event-dot {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #7c3aed;
    border-radius: 50%;
}

.calendar-events {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e5e7eb;
}

.calendar-events h3 {
    font-size: 1.6rem;
    color: #1f2937;
    margin-bottom: 20px;
    font-weight: 700;
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.event-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border-left: 4px solid #7c3aed;
    transition: all 0.3s ease;
}

.event-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.15);
}

.event-date {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: white;
    border-radius: 10px;
    padding: 12px 16px;
    text-align: center;
    min-width: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.event-day {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-top: 4px;
    opacity: 0.9;
}

.event-details {
    flex: 1;
}

.event-details h4 {
    font-size: 1.2rem;
    color: #1f2937;
    margin-bottom: 6px;
    font-weight: 600;
}

.event-details p {
    color: #64748b;
    font-size: 0.95rem;
}

.event-details i {
    color: #7c3aed;
    margin-right: 6px;
}

/* MOOC Page Styles */
.mooc-content {
    min-height: 60vh;
    padding: 80px 0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mooc-placeholder {
    text-align: center;
    color: #64748b;
    font-size: 1.2rem;
    padding: 40px;
}

/* Photo Gallery Page Styles */
.gallery-section-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid #7c3aed;
}

.gallery-section-header h2 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 10px;
    font-weight: 700;
}

.gallery-section-header p {
    font-size: 1.1rem;
    color: #64748b;
    margin: 0;
}

.photo-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.photo-grid .gallery-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-grid .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
}

.photo-grid .gallery-image-container {
    height: 250px;
    overflow: hidden;
    border-radius: 12px;
}

.photo-grid .gallery-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-grid .gallery-item:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .photo-grid .gallery-image-container {
        height: 180px;
    }
    
    .gallery-section-header h2 {
        font-size: 1.6rem;
    }
    
    .gallery-section-header p {
        font-size: 1rem;
    }
}

/* Hide photo galleries in news detail pages */
#kickoff-detail-page .gallery-section,
#tpm-detail-page .gallery-section,
#surveys-detail-page .gallery-section {
    display: none;
}

/* News detail — embedded video */
.news-video-section {
    margin-top: 40px;
}

.news-video-section h3 {
    font-size: 1.3rem;
    color: #1f2937;
    margin-bottom: 20px;
    font-weight: 600;
}

.news-video-section h3 i {
    color: #dc2626;
    margin-right: 8px;
}

.video-embed {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background: #000;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


@media (max-width: 768px) {
    .purpose-description {
        margin-top: 30px;
        padding: 0 20px;
    }

    .purpose-description p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

.purpose-card p {
    color: #555;
    line-height: 1.6;
}

/* News Section */
.news {
    padding: 40px 0;
    background: #ffffff;
}

.news h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.news-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-200);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.news-date {
    color: #7c3aed;
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.news-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
}

.news-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #3b82f6;
}

.news-footer {
    text-align: center;
}

.all-news-btn {
    background: #7c3aed;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: background 0.3s ease;
}

.all-news-btn:hover {
    background: #581c87;
}

/* Partners Section */
.partners {
    padding: 40px 0;
    background: white;
}

.partners h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.partner-item {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    color: #555;
    border: 1px solid #e9ecef;
    transition: background 0.3s ease;
}

.partner-item:hover {
    background: #e9ecef;
}

/* PDF Viewer */
.pdf-viewer {
    min-height: calc(100vh - 80px - 200px); /* Header height + Footer height */
    padding: 0;
    margin: 0;
}

.pdf-container {
    width: 100%;
    height: 100vh;
    position: relative;
}

.pdf-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Modern Footer */
.footer {
    background: linear-gradient(135deg, #581c87 0%, #7c3aed 100%);
    color: white;
    margin-top: 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2c3e50, #2c3e50, #2c3e50);
}

/* Main Footer Content */
.footer-main {
    padding: 40px 0;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

/* Brand Section */
.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff, #e3f2fd);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand img {
    height: 70px;
    width: auto;
    margin-bottom: 20px;
}

.footer-brand p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #2c3e50;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

.social-link i {
    font-size: 1.1rem;
}

/* Footer Links */
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #3b82f6;
}

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

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.footer-section a:hover {
    color: #3b82f6;
    transform: translateX(5px);
}

.footer-section a i {
    font-size: 0.9rem;
    width: 16px;
    opacity: 0.7;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #bdc3c7;
}

.contact-list i {
    color: #3b82f6;
    font-size: 1rem;
    width: 18px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0 30px;
}

.footer-bottom-content {
    width: 100%;
    text-align: center;
}

.eu-funding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.eu-flag-small {
    width: 40px;
    height: auto;
}

.eu-funding p {
    color: #95a5a6;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.footer-legal p {
    color: #95a5a6;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-nav {
    display: inline-block;
    text-align: center;
}

.footer-nav a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #3b82f6;
}

.footer-nav span {
    color: #bdc3c7;
    font-size: 0.9rem;
}

.separator {
    color: #666;
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .nav-menu ul {
        gap: 6px;
    }
    
    .nav-menu a {
        font-size: 0.8rem;
        padding: 4px 6px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero {
        height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .purpose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }


    .eu-funding {
        justify-content: center;
    }

    .footer-nav {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .carousel-slide img {
        height: 250px;
    }

    .carousel-overlay {
        padding: 30px 20px 20px;
    }

    .carousel-overlay h4 {
        font-size: 1.2rem;
    }

    .carousel-overlay p {
        font-size: 0.9rem;
    }

    .carousel-arrow {
        width: 45px;
        height: 45px;
    }

    .carousel-arrow i {
        font-size: 1rem;
    }

    .carousel-dots {
        bottom: 15px;
    }

    .partners-slider {
        padding: 20px 0;
    }

    .partner-logo {
        flex: 0 0 150px;
        padding: 0 15px;
    }

    .partner-logo img {
        max-width: 120px;
        height: 60px;
    }

    .slider-track {
        width: calc(150px * 16);
        animation: scroll 30s linear infinite;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-150px * 8));
        }
    }

    .news-image {
        height: 180px;
    }

    .news-content {
        padding: 20px;
    }

    .news-content h3 {
        font-size: 1.1rem;
    }

    .training-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .training-content.reverse {
        direction: ltr;
    }

    .training-text h3 {
        font-size: 1.5rem;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .about-content {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .purpose-card,
    .news-card {
        margin-bottom: 20px;
    }

    .purpose-icon i {
        font-size: 3.5rem;
        padding: 20px;
    }

    .carousel-slide img {
        height: 200px;
    }

    .carousel-overlay {
        padding: 20px 15px 15px;
    }

    .carousel-overlay h4 {
        font-size: 1.1rem;
    }

    .carousel-overlay p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        display: none; /* Mobil'de arrow'ları gizle, sadece dots ile navigasyon */
    }

    .carousel-dots {
        bottom: 15px;
    }

    .partners-slider {
        padding: 15px 0;
        border-radius: 10px;
    }

    .partner-logo {
        flex: 0 0 120px;
        padding: 0 10px;
    }

    .partner-logo img {
        max-width: 100px;
        height: 50px;
    }

    .slider-track {
        width: calc(120px * 16);
        animation: scroll 25s linear infinite;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-120px * 8));
        }
    }

    .news-image {
        height: 150px;
    }

    .news-content {
        padding: 15px;
    }

    .news-content h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .news-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    .about-content {
        padding: 0 15px;
    }

    .about-additional-content {
        padding: 0 15px;
    }

    .about-additional-content p {
        font-size: 1rem;
        text-align: left;
    }
}

/* Modern animations and micro-interactions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.smooth-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.smooth-hover:hover {
    transform: scale(1.02);
}

/* Accessibility and smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus indicators for keyboard navigation */
.keyboard-navigation *:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary: #0000ff;
        --text-dark: #000000;
        --bg-white: #ffffff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Hero Button */
.hero-button {
    display: inline-block;
    background: #7c3aed;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.hero-button:hover {
    background: #581c87;
}

/* About Divider */
.about-divider {
    text-align: center;
    font-size: 2rem;
    color: #7c3aed;
    margin-bottom: 30px;
    font-weight: 300;
}

/* News Cards with Images */
.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #2c3e50;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    z-index: 2;
}

.news-category.event { background: #e3f2fd; color: #2c3e50; }
.news-category.events { background: #bbdefb; color: #2c3e50; }
.news-category.update { background: #90caf9; color: #0d47a1; }

.news-content {
    padding: 25px;
}

.news-date {
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.news-content h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.3;
}

.news-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Hero Carousel */
.hero-carousel {
    width: 100%;
    max-width: 700px;
}

.carousel-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 400%; /* 4 slides */
}

.carousel-slide {
    min-width: 25%; /* 100% / 4 */
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 40px 30px 30px;
    color: white;
}

.carousel-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-overlay p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.9;
}

.gallery-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #7c3aed;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.gallery-btn:hover {
    background: #581c87;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

/* Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.carousel-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.carousel-arrow i {
    color: #333;
    font-size: 1.2rem;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* Pagination Dots */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Partners Slider */
.partners-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    background: white;
    border-radius: 15px;
    padding: 30px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-top: 20px;
}

.slider-track {
    display: flex;
    width: calc(200px * 16); /* 16 logos (8 + 8 duplicate) */
    animation: scroll 40s linear infinite;
}

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

.partner-logo {
    flex: 0 0 200px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.partner-logo img {
    width: 100%;
    max-width: 150px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 8)); /* Move by half the total width */
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #7c3aed;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #581c87;
}
/* Training Page Styles */
.training-section {
    padding: 80px 0;
}

.training-section:nth-child(odd) {
    background: #f8f9fa;
}

.training-section.alternate {
    background: white;
}

.training-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.training-content.reverse {
    direction: rtl;
}

.training-content.reverse .training-text,
.training-content.reverse .training-image {
    direction: ltr;
}

.training-text h3 {
    font-size: 1.8rem;
    color: #7c3aed;
    margin-bottom: 20px;
    font-weight: 600;
}

.training-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.training-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555;
}

.training-text p strong {
    color: #7c3aed;
}


/* About Page Styles */
.about-carousel-section {
    padding: 40px 0;
    background: #f8f9fa;
}

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

.about-text-section {
    padding: 30px 0;
    background: white;
    margin-bottom: 30px;
}

.about-additional-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-additional-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #555;
    text-align: justify;
}

.about-hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    text-align: center;
}

.about-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-hero .about-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-main {
    padding: 30px 0;
    background: white;
}

.about-main h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

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

.about-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555;
}

.project-phases {
    padding: 50px 0;
    background: #ffffff;
    margin-bottom: 30px;
}

.project-phases h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.phase-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.phases-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.phase-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.phase-card:hover {
    transform: translateY(-5px);
}

.phase-number {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: #7c3aed;
    color: white;
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 45px;
    margin-bottom: 15px;
}

.phase-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #333;
}

.phase-card p {
    color: #666;
    line-height: 1.5;
    font-size: 0.9rem;
}

.phase-link {
    display: inline-block;
    color: #7c3aed;
    text-decoration: none;
    font-weight: 500;
    margin-top: 15px;
}

.phase-link:hover {
    text-decoration: underline;
}

/* News Page Styles */
.news-hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    text-align: center;
}

.news-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.news-hero .news-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.latest-updates {
    padding: 100px 0;
    background: white;
}

.latest-updates h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.featured-news {
    margin-bottom: 40px;
}

.news-card.featured {
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    color: white;
    padding: 40px;
    margin-bottom: 40px;
}

.news-card.featured h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.news-card.featured p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.7;
}

.news-card.featured .read-more {
    color: white;
    border: 1px solid white;
    padding: 10px 20px;
    border-radius: 25px;
    margin-top: 20px;
}

.news-card.featured .read-more:hover {
    background: white;
    color: #7c3aed;
}


.news-category {
    background: #f3f0ff;
    color: #7c3aed;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.news-category.event { background: #ede9fe; color: #7c3aed; }
.news-category.events { background: #ddd6fe; color: #7c3aed; }
.news-category.update { background: #c4b5fd; color: #581c87; }
.news-category.call { background: #f3e5f5; color: #7b1fa2; }
.news-category.news { background: #e3f2fd; color: #2c3e50; }

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

/* Routes Page Styles */
.routes-hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    text-align: center;
}

.routes-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.routes-hero .routes-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.routes-section {
    padding: 100px 0;
    background: white;
}

.route-card {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.route-header {
    background: #7c3aed;
    padding: 20px;
    text-align: center;
}

.country-flag {
    color: white;
    font-size: 1.5rem;
    margin: 0;
}

.route-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
    align-items: stretch;
}

.route-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.route-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.route-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 300px;
}

.route-info h3 {
    font-size: 1.8rem;
    color: #7c3aed;
    margin-bottom: 20px;
    margin-top: 0;
}

.route-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555;
}

.route-links {
    margin-top: 30px;
}

.route-link {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 10px;
}

.route-link:hover {
    text-decoration: underline;
}

/* Trainers Page Styles */
.trainers-hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    text-align: center;
}

.trainers-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.trainers-hero .trainers-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.6;
}

.training-structure {
    padding: 100px 0;
    background: white;
}

.training-structure h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.training-structure > p {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.training-phases {
    display: grid;
    gap: 50px;
}

.training-phase {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    border-left: 5px solid #7c3aed;
}

.phase-icon {
    text-align: center;
    margin-bottom: 25px;
}

.phase-icon i {
    font-size: 3rem;
    color: #7c3aed;
}

.training-phase h3 {
    font-size: 1.5rem;
    color: #7c3aed;
    margin-bottom: 20px;
    text-align: center;
}

.training-phase p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #555;
}

.phase-details ul,
.phase-benefits ul {
    list-style: none;
    padding: 0;
}

.phase-details li,
.phase-benefits li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.phase-details i,
.phase-benefits i {
    color: #7c3aed;
    width: 20px;
}

.phase-benefits h4 {
    margin: 25px 0 15px;
    color: #333;
    font-size: 1.1rem;
}

.phase-note {
    background: #f3f0ff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.phase-note p {
    color: #7c3aed;
    font-weight: 500;
    margin: 0;
}

.training-topics {
    padding: 100px 0;
    background: #ffffff;
}

.training-topics h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.topic-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.topic-card:hover {
    transform: translateY(-5px);
}

.topic-card i {
    font-size: 2.5rem;
    color: #7c3aed;
    margin-bottom: 20px;
}

.topic-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.topic-card p {
    color: #666;
    line-height: 1.6;
}

/* Consortium Page Styles */
.consortium-hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    text-align: center;
}

.consortium-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.consortium-hero .consortium-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.6;
}

.consortium-overview {
    padding: 50px 0 100px 0;
    background: white;
}

.consortium-overview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.overview-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.overview-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 40px;
    color: #555;
}

.consortium-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.consortium-stats .stat-item {
    text-align: center;
}

.consortium-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #7c3aed;
    margin-bottom: 5px;
}

.consortium-stats .stat-text {
    color: #666;
    font-weight: 500;
}

.partners-detailed {
    padding: 10px 0;
    background: #ffffff;
}

.partners-detailed h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}

.country-section {
    margin-bottom: 40px;
}

.country-header {
    font-size: 2rem;
    color: #7c3aed;
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.partners-country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.partner-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    text-align: center;
}

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


.partner-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.3;
}

.partner-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1rem;
}

.partner-role {
    display: inline-block;
    background: #f3f0ff;
    color: #7c3aed;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

/* Contact Page Styles */
.contact-hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    text-align: center;
}

.contact-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-hero .contact-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Info Section */
.contact-info {
    padding: 100px 0;
    background: white;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-200);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: #7c3aed;
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.4rem;
    color: #7c3aed;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-details a,
.contact-details span {
    color: #7c3aed;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #3b82f6;
}

/* Contact Form Section */
.contact-form-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-form-container {
    max-width: 900px;
    margin: 0 auto;
}

.form-intro {
    text-align: center;
    margin-bottom: 50px;
}

.form-intro h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.form-intro p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-200);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

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

.form-group.checkbox-group {
    margin-bottom: 30px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
}

.checkbox-label .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #7c3aed;
    border-color: #7c3aed;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.submit-btn {
    background: #7c3aed;
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #581c87;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.submit-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-200);
}

.form-success i {
    font-size: 3rem;
    color: #27ae60;
    margin-bottom: 20px;
}

.form-success h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.form-success p {
    color: #666;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: white;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-200);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: #7c3aed;
}

.faq-item h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.faq-item h3 i {
    color: #7c3aed;
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Gallery Page Styles */
.gallery-hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    text-align: center;
}

.gallery-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.gallery-hero .gallery-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: white;
}

/* Gallery Filters */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    background: white;
    border: 2px solid #e0e0e0;
    color: #666;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover {
    border-color: #7c3aed;
    color: #7c3aed;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #7c3aed;
    border-color: #7c3aed;
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.filter-btn i {
    font-size: 0.9rem;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    display: block;
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
}

.gallery-item.hide {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.gallery-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

/* News cards: overlay/button must not block navigation to detail page */
.gallery-link .gallery-overlay,
.gallery-link .gallery-zoom-btn {
    pointer-events: none;
}

.gallery-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.gallery-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-image-container img {
    max-width: 180px;
    max-height: 180px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.gallery-item:nth-child(1) .gallery-image-container img {
    max-width: 300px;
    max-height: 300px;
}

.gallery-item:nth-child(3) .gallery-image-container img {
    max-width: 216px;
    max-height: 216px;
}

.gallery-item:nth-child(5) .gallery-image-container img {
    max-width: 216px;
    max-height: 216px;
}

.gallery-item:nth-child(4) .gallery-image-container img {
    max-width: 140px;
    max-height: 140px;
}

.gallery-image-container:hover img {
    opacity: 0.8;
}

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-image-container:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.gallery-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.gallery-category {
    display: inline-block;
    background: #7c3aed;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.gallery-zoom-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-end;
    color: #333;
    font-size: 1.1rem;
}

.gallery-zoom-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #7c3aed;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.lightbox-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    color: white;
    backdrop-filter: blur(10px);
}

.lightbox-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.lightbox-info p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 10px;
    opacity: 0.9;
}

.lightbox-info .gallery-category {
    background: #7c3aed;
}

/* Lightbox Navigation */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    font-size: 1.1rem;
    z-index: 10001;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Additional Responsive Styles */
@media (max-width: 768px) {
    .route-content {
        grid-template-columns: 1fr;
    }

    .route-info {
        padding: 30px 20px;
    }

    .training-phase {
        padding: 30px 20px;
    }

    .partners-country-grid {
        grid-template-columns: 1fr;
    }

    .consortium-stats {
        flex-direction: column;
        gap: 30px;
    }

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

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

    .topics-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    /* Contact Page Responsive */
    .contact-hero h1 {
        font-size: 2.5rem;
    }

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

    .contact-form {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

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

    .form-intro h2 {
        font-size: 2rem;
    }

    /* Gallery Page Responsive */
    .gallery-hero h1 {
        font-size: 2.5rem;
    }

    .gallery-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .gallery-image-container {
        height: 160px;
    }

    .lightbox-content {
        max-width: 95vw;
        max-height: 95vh;
    }

    .lightbox-info {
        padding: 15px;
        bottom: 15px;
        left: 15px;
        right: 15px;
    }

    .lightbox-info h3 {
        font-size: 1rem;
    }

    .lightbox-info p {
        font-size: 0.85rem;
    }
}

/* Events Page Styles */
.upcoming-events,
.past-events {
    padding: 80px 0;
    background: #fff;
}

.upcoming-events {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.past-events {
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #7c3aed, #3b82f6);
    border-radius: 2px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.event-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.event-card.featured {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    max-width: 100%;
}

.event-card.featured .event-image {
    flex: 1;
    min-height: 300px;
}

.event-card.featured .event-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-badge.upcoming {
    background: linear-gradient(90deg, #27ae60, #2ecc71);
    color: white;
}

.event-badge.past {
    background: linear-gradient(90deg, #7f8c8d, #95a5a6);
    color: white;
}

.event-content {
    padding: 25px;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.event-meta span i {
    color: #7c3aed;
}

.event-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #7c3aed;
    margin-bottom: 15px;
    line-height: 1.3;
}

.event-card.featured h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.event-content p {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.event-card.featured p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.event-details {
    margin-bottom: 25px;
}

.event-speaker {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #34495e;
    font-weight: 500;
}

.event-speaker i {
    color: #7c3aed;
}

.event-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.btn-primary,
.btn-secondary {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(90deg, #7c3aed, #3b82f6);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #581c87, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #7c3aed;
    border: 2px solid #7c3aed;
}

.btn-secondary:hover {
    background: #7c3aed;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
}


/* Responsive Design for Events */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .event-card.featured {
        flex-direction: column;
    }

    .event-card.featured .event-content {
        padding: 25px;
    }

    .event-meta {
        flex-direction: column;
        gap: 8px;
    }

    .event-actions {
        flex-direction: column;
    }

}

@media (max-width: 480px) {
    .contact-hero {
        padding: 80px 0 40px;
    }

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

    .contact-card {
        padding: 30px 20px;
    }

    .contact-form {
        padding: 20px 15px;
    }

    .faq-item {
        padding: 20px;
    }

    .faq-item h3 {
        font-size: 1.1rem;
    }
}
