/* Base Styles & Variables */
:root {
    /* Colors */
    --primary-color: #4a6cf7;
    --secondary-color: #6c757d;
    --accent-color: #0d6efd;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;

    /* Typography */
    --font-primary: 'Roboto', sans-serif;
    --font-heading: 'Montserrat', sans-serif;

    /* Spacing */
    --spacing-unit: 1rem;
    --container-width: 1200px;

    /* Border radius */
    --border-radius: 8px;
    --border-radius-sm: 4px;

    /* Box shadow */
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* Layout */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

.section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--light-color);
}

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

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 1rem;
    line-height: 1.5;
    text-decoration: none;
}

.btn:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.btn-primary {
    background-color: var(--primary-color);
}

/* Estilo específico para botones dentro de event-cards con colores grises */
.event-card .btn-primary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    color: #333;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 0.5rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.event-card .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
    transition: left 0.4s ease;
}

.event-card .btn-primary:hover::before {
    left: 100%;
}

.event-card .btn-primary:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 50%, #ced4da 100%);
    color: #000000;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.event-card .btn-primary i {
    font-size: 0.8rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.event-card .btn-primary:hover i {
    opacity: 1;
}

.btn-secondary {
    background-color: var(--secondary-color);
}

.btn-small {
    padding: 0.4rem 1rem;
    font-size: 0.875rem;
    min-width: 120px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Header & Navigation */
.main-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--spacing-unit);
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo img {
    height: 40px;
    margin-right: 0.75rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-color);
    transition: var(--transition);
}

/* Navigation */
.nav-list {
    display: flex;
    align-items: center;
}

.nav-item {
    margin-left: 1.5rem;
}

.nav-item a {
    color: var(--dark-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    position: relative;
}

.nav-item a i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.login-btn a {
    background-color: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius);
}

.login-btn a:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.login-btn a::after {
    display: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4a6cf7 0%, #2541b2 100%);
    color: white;
    padding: 10rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

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

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-buttons .btn {
    min-width: 180px;
}

/* Events Section */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.event-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.event-date {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 80px;
}

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

.event-date .month {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-details {
    padding: 1.25rem;
    flex: 1;
}

.event-details h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.event-location {
    color: var(--secondary-color);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.event-location i {
    margin-right: 0.5rem;
}

.event-desc {
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    color: #555;
}

/* card */
.tech-type {
    display: inline-block;
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: #ffffff;
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.55rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-type:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.5);
    background: linear-gradient(135deg, #5a6268 0%, #343a40 100%);
}

.tech-type::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.tech-type:hover::before {
    left: 100%;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.card .meta {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.card .meta2 {
    display: inline-block;
    background: linear-gradient(135deg, #331f71 0%, #5a4fcf 100%);
    color: #ffffff;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    font-size: 0.6rem;
    margin-left: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 6px rgba(51, 31, 113, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card .meta2:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(51, 31, 113, 0.4);
    background: linear-gradient(135deg, #4a38a0 0%, #6b5fd8 100%);
}

.card .meta2::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.4s ease;
}

.card .meta2:hover::before {
    left: 100%;
}

.card p {
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card .actions {
    text-align: right;
}

.card .uses-list {
    list-style-type: none;
    padding-left: 0;
}

.card .uses-list li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.card .uses-list li::before {
    content: "→";
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

.card .uses-list li::before {
    content: "→";
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

h4.car-details{
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

/* header de card */
.category-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    color: var(--primary-color);
    padding: 1.5rem 2rem;
    margin: 3rem 0 2rem;
    text-align: center;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.category-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--secondary-color);
    transition: all 0.4s ease;
}

.category-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.category-header:hover::before {
    width: 100%;
    opacity: 0.1;
}

.category-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--primary-color);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.category-header:hover h2::before {
    opacity: 1;
    transform: translateX(0);
    animation: bounce 0.6s ease;
}


/* Topics Section */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.topic-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    color: var(--dark-color);
    display: block;
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    color: var(--primary-color);
}

.topic-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.topic-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.topic-card p {
    color: var(--secondary-color);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #2b5876 0%, #4e4376 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.newsletter h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: none;
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    border: none;
    background-color: var(--primary-color);
    color: white;
    padding: 0 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--accent-color);
}
/* filters */
/* Filter Buttons */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 30px;
    justify-content: center;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid #2541b2;
    background: white;
    color: #2541b2;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #2541b2;
    color: white;
}

/* Specific filter buttons inside aside sidebar */
aside.category-sidebar .filter-btn {
    padding: 12px 16px;
    min-height: 48px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

aside.category-sidebar .filter-btn:hover {
    border-color: #4a6cf7;
    color: #4a6cf7;
    background: rgba(74, 108, 247, 0.1);
}

aside.category-sidebar .filter-btn:hover i {
    color: #4a6cf7;
}

/* Close Sidebar Button */
.close-sidebar-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    color: #666;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    transition: all 0.3s ease;
    font-size: 14px;
}

.close-sidebar-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
    transform: scale(1.1);
}

/* Sidebar hidden state */
.category-sidebar.hidden {
    display: none;
}

.main-content {
    transition: margin-left 0.3s ease, width 0.3s ease;
}

.main-content.full-width {
    margin-left: 0;
    width: 100%;
}

/* Hide categories by default */
.category-section {
    display: none;
}

/* Show active category */
.category-section.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* Footer */
.main-footer {
    background-color: #1a1a1a;
    color: #aaa;
    padding: 4rem 0 0;
}

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

.footer-col h3 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h3::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Footer Heading Styles */
.footer-col h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0.7);
    transform-origin: left;
    transition: transform 0.3s ease, width 0.3s ease;
}

.footer-col h4:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.footer-col h4:hover::after {
    width: 100%;
    transform: scaleX(1);
    background: linear-gradient(90deg, var(--accent-color), #fff);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 1rem;
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}
/* Animation for headings */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-col h4 {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Add delay for each heading */
.footer-col:nth-child(1) h4 { animation-delay: 0.1s; }
.footer-col:nth-child(2) h4 { animation-delay: 0.2s; }
.footer-col:nth-child(3) h4 { animation-delay: 0.3s; }
.footer-col:nth-child(4) h4 { animation-delay: 0.4s; }

.footer-col p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}



.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: #aaa;
    transition: var(--transition);
    display: block;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}
.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-info i {
    margin-right: 1rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

/* Footer Contact Form */
.contact-form {
    margin-bottom: 1.5rem;
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    color: white;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 108, 247, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.contact-form button {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(74, 108, 247, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.contact-form button:hover::before {
    left: 100%;
}

.contact-form button:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(74, 108, 247, 0.4);
}

.contact-form button:active {
    transform: translateY(-1px) scale(0.98);
}

/* Footer Resources */
.footer-resources {
    margin-bottom: 1.5rem;
}

.resource-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: var(--transition);
}

.resource-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.resource-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    min-width: 20px;
}

.resource-item h5 {
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.resource-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.875rem;
}


/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--transition);
    transform: translateY(-3px);
}
/* Event Type Badges */
.event-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

/* Specific event type styles */
.event-type-congreso {
    background-color: rgba(74, 108, 247, 0.1);
    color: #4a6cf7;
    border-left: 3px solid var(--primary-color);
}

.event-type-evento {
    background-color: rgba(13, 202, 240, 0.1);
    color: #0d6efd;
    border-left: 3px solid #0d6efd;
}

.event-type-taller {
    background-color: rgba(196, 188, 171, 0.1);
    color: #8b7355;
    border-left: 3px solid #c4bcab;
}

.event-type-conferencia {
    background-color: rgba(25, 135, 84, 0.1);
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

.event-type-curso {
    background-color: rgba(111, 66, 193, 0.1);
    color: #6f42c1;
    border-left: 3px solid #6f42c1;
}

.event-type-webinar {
    background-color: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
    border-left: 3px solid #7c3aed;
}

.event-type-feria {
    background-color: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    border-left: 3px solid #ff6b6b;
    margin-right: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .container {
        max-width: 100%;
    }

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

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

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-item {
        margin-left: 1rem;
    }
    
    .nav-item a {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
    
    .nav-item a i {
        font-size: 1rem;
        margin-right: 0.4rem;
    }
    
    .logo img {
        height: 35px;
    }
    
    .logo a {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 5rem 2rem 2rem;
        transition: var(--transition);
        z-index: 1000;
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-item {
        margin: 0.5rem 0;
        width: 100%;
    }

    .nav-item a {
        padding: 0.75rem 0;
        font-size: 1rem;
    }

    .nav-item a i {
        margin-right: 0.75rem;
        font-size: 1.1rem;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 0.5rem;
        margin-left: 1rem;
        display: none;
    }

    .dropdown-menu.active {
        display: block;
    }

    .dropdown-menu a {
        padding: 0.5rem 1rem;
        border-radius: 4px;
        margin-bottom: 0.25rem;
    }

    .dropdown-menu a:hover {
        background-color: var(--light-color);
    }

    .login-btn {
        margin-top: 1rem;
    }

    .login-btn a {
        background-color: var(--primary-color);
        color: white !important;
        padding: 0.75rem 1.25rem;
        border-radius: var(--border-radius);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .login-btn a:hover {
        background-color: var(--accent-color);
        transform: translateY(-2px);
    }

    .hero {
        padding: 8rem 0 4rem;
    }

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

    .hero p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        width: 100%;
        margin-bottom: 1rem;
    }

    .newsletter-form button {
        width: 100%;
        padding: 0.75rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

}
/* Hero Banner Styles */
.hero-banner {
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.1)" d="M0,0 L100,0 L100,100 L0,100 Z" opacity="0.2"/></svg>');
    background-size: 100% 100%;
    opacity: 0.5;
}

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

.btn-outline {
    background: transparent !important;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-2px);
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    z-index: 1001;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}
/* Dropdown Menu */
.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-menu li {
    list-style: none;
    margin: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-menu a i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

.dropdown-menu a:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.login-btn a i.fa-chevron-down {
    font-size: 0.8rem;
    margin-left: 0.3rem;
    transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .login-btn a i.fa-chevron-down {
    transform: rotate(180deg);
}

.event-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}
.info-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.info-link i {
    font-size: 1rem;
}

/* Modern Section Title Styles */
.section-title {
    position: relative;
    display: flex;
    align-items: center;
    margin: 3rem 0 2rem;
    padding: 0 0 0.5rem 0;
    color: #1a365d;
    font-size: 1.9rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
    width: 100%;
}

.section-title i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    font-size: 1.5rem;
    border-radius: 12px;
    margin-right: 16px;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2),
    0 2px 4px -1px rgba(79, 70, 229, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 66px; /* Align with text */
    height: 3px;
    width: 60px;
    background: linear-gradient(90deg, #4f46e5, #8b5cf6);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 100px;
}

.section-title span {
    position: relative;
    padding-bottom: 0.5rem;
}

/* Optional: Add a subtle background highlight on hover */
.section-title:hover i {
    transform: translateY(-2px) rotate(-5deg);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3),
    0 4px 6px -2px rgba(79, 70, 229, 0.15);
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 3rem 1rem;
    }

    .banner-content h1 {
        font-size: 2rem !important;
    }

    .banner-cta {
        flex-direction: column;
        align-items: center;
    }

    .banner-cta .btn {
        width: 100%;
        max-width: 250px;
        margin: 0.5rem 0;
    }
    .section-title {
        font-size: 1.6rem;
        margin: 2.5rem 0 1.8rem;
    }

    .section-title i {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
        margin-right: 14px;
    }

    .section-title::after {
        left: 58px;
    }
}
@media (max-width: 576px) {
    .section {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

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

    .event-date {
        flex-direction: row;
        justify-content: center;
        padding: 0.5rem;
    }

    .event-date .day {
        margin-right: 0.5rem;
    }

}

/* App Download Styles */
.app-download {
    margin: 1.5rem 0;
    padding: 1rem;
    width: 100%;
}

.app-download p {
    text-align: center;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 500;
}

.app-download-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
}

.play-store-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.play-store-link:hover {
    transform: scale(1.05);
}

.play-store-badge {
    height: 40px;
    width: auto;
    max-width: 100%;
}

.qr-code {
    max-width: 120px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .app-download-images {
        gap: 0.75rem;
    }
    
    .qr-code {
        max-width: 100px;
    }
}

/* Feature Group Styles */
.feature-group {
    margin-top: 1.5rem;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #64748b;
    font-size: 0.95rem;
}

.feature-list li::before {
    content: "•";
    color: #4a6cf7;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Featured Events Section Width */
#featured-events {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Estilos específicos para cada tipo de event-card */
.event-card.congreso {
    border-left: none;
    background: linear-gradient(135deg, #ffffff 0%, rgba(74, 108, 247, 0.05) 100%);
}

.event-card.congreso .event-date {
    background-color: #cee8ff;
    color: #333;
    border-right: 1px solid rgba(108, 117, 125, 0.15);
    box-shadow: 2px 0 8px rgba(206, 232, 255, 0.3);
}

.event-card.congreso:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.event-card.conferencia {
    border-left: 4px solid #e9ecef;
    background: linear-gradient(135deg, #ffffff 0%, rgba(233, 236, 239, 0.08) 100%);
}

.event-card.conferencia .event-date {
    background-color: #8fbc8f;
    color: white;
    border-right: 1px solid rgba(108, 117, 125, 0.15);
    box-shadow: 2px 0 8px rgba(143, 188, 143, 0.2);
}

.event-card.conferencia:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.event-card.taller {
    border-left: none;
    background: linear-gradient(135deg, #ffffff 0%, rgba(25, 135, 84, 0.05) 100%);
}

.event-card.taller .event-date {
    background-color: #f7eedd;
    color: #333;
    border-right: 1px solid rgba(108, 117, 125, 0.15);
    box-shadow: 2px 0 8px rgba(247, 238, 221, 0.3);
}

.event-card.taller:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.event-card.webinar {
    border-left: none;
    background: linear-gradient(135deg, #ffffff 0%, rgba(13, 110, 253, 0.05) 100%);
}

.event-card.webinar .event-date {
    background-color: #dedeff;
    color: #333;
    border-right: 1px solid rgba(108, 117, 125, 0.15);
    box-shadow: 2px 0 8px rgba(222, 237, 255, 0.3);
}

.event-card.webinar:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.event-card.curso {
    border-left: 4px solid #6f42c1;
    background: linear-gradient(135deg, #ffffff 0%, rgba(111, 66, 193, 0.05) 100%);
}

.event-card.curso:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.event-card.feria {
    border-left: none;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 107, 107, 0.05) 100%);
}

.event-card.feria .event-date {
    background-color: #ffe0e0;
    color: #333;
    border-right: 1px solid rgba(108, 117, 125, 0.15);
    box-shadow: 2px 0 8px rgba(255, 107, 107, 0.3);
}

.event-card.feria:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

/* Calendar Section Styles */
.calendar-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.calendar-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.01), rgba(52, 73, 94, 0.01));
    border-radius: 16px;
    border: 1px solid rgba(44, 62, 80, 0.05);
    box-shadow: 0 4px 16px rgba(44, 62, 80, 0.05);
    backdrop-filter: blur(10px);
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.calendar-section .section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.01), rgba(52, 73, 94, 0.01));
    border-radius: 14px;
    z-index: -1;
}

.calendar-section .section-title i {
    font-size: 1.5rem;
    color: #2c3e50;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.15);
}

.calendar-section .section-title span {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

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

#calendar {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

#calendar .fc-toolbar {
    margin-bottom: 2.5rem !important;
    gap: 1.5rem;
    padding: 0 1rem;
}

#calendar .fc-toolbar-chunk {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#calendar .fc-toolbar-title {
    color: #2c3e50;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
}

#calendar .fc-button-primary {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.25);
    position: relative;
    overflow: hidden;
    margin: 0 0.25rem;
}

#calendar .fc-button-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

#calendar .fc-button-primary:hover::before {
    left: 100%;
}

#calendar .fc-button-primary:hover {
    background: linear-gradient(135deg, #1a252f, #2c3e50);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.4);
}

#calendar .fc-button-primary:not(:disabled):active,
#calendar .fc-button-primary:not(:disabled).fc-button-active {
    background: linear-gradient(135deg, #0f1419, #1a252f);
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(44, 62, 80, 0.3);
}

#calendar .fc-button-primary .fc-icon {
    font-size: 1.1rem;
    margin: 0 4px;
}

#calendar .fc-today-button {
    background: linear-gradient(135deg, #6c757d, #868e96);
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.25);
    margin: 0 0.5rem;
}

#calendar .fc-today-button:hover {
    background: linear-gradient(135deg, #495057, #6c757d);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

#calendar .fc-col-header-cell {
    background: linear-gradient(135deg, rgba(52, 73, 94, 0.08), rgba(44, 62, 80, 0.08)) !important;
    color: #2c3e50 !important;
    font-weight: 700 !important;
    border: none !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    padding: 1.25rem 0.75rem !important;
    margin: 0 2px;
}

#calendar .fc-daygrid-day {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    transition: all 0.2s ease;
    min-height: 90px;
    padding: 0.5rem;
    margin: 2px;
}

#calendar .fc-daygrid-day:hover {
    background: rgba(52, 73, 94, 0.03) !important;
    border-color: rgba(44, 62, 80, 0.2) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#calendar .fc-daygrid-day.fc-day-today:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.2);
}

#calendar .fc-daygrid-day-number {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin: 4px auto 8px auto;
}

#calendar .fc-daygrid-day:hover .fc-daygrid-day-number {
    background: rgba(52, 73, 94, 0.1);
    color: #2c3e50;
    transform: scale(1.1);
}

#calendar .fc-day-today {
    background: linear-gradient(135deg, rgba(52, 73, 94, 0.05), rgba(44, 62, 80, 0.05)) !important;
    border: 2px solid #2c3e50 !important;
    border-radius: 12px !important;
    margin: 2px;
}

#calendar .fc-day-today .fc-daygrid-day-number {
    background: #2c3e50;
    color: white;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.3);
}

#calendar .fc-event {
    border: none !important;
    padding: 4px 10px !important;
    border-radius: 8px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    margin: 3px 2px;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

#calendar .fc-event:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
    z-index: 10 !important;
}

#calendar .fc-event-title {
    color: white !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Event type specific text colors */
#calendar .fc-event.webinar .fc-event-title {
    color: #333333 !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

#calendar .fc-event.congreso .fc-event-title {
    color: #333333 !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

#calendar .fc-event.taller .fc-event-title {
    color: #333333 !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

#calendar .fc-event.conferencia .fc-event-title {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

#calendar .fc-event.curso .fc-event-title {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

#calendar .fc-event.feria .fc-event-title {
    color: #333333 !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

#calendar .fc-daygrid-event-dot {
    display: none !important;
}

#calendar .fc-view-harness {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
    margin: 0 0.5rem;
}

/* Event Poster Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h2 {
    color: #2c3e50;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(108, 117, 125, 0.1);
    color: var(--dark-color);
}

.modal-body {
    padding: 1.5rem;
}

.poster-container {
    text-align: center;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.poster-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    object-fit: contain;
    max-height: 500px;
}

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

.poster-actions .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.poster-actions .btn-primary {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.25);
}

.poster-actions .btn-primary:hover {
    background: linear-gradient(135deg, #1a252f, #2c3e50);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.4);
}

.poster-actions .btn-outline {
    background: transparent;
    color: #2c3e50;
    border: 2px solid #2c3e50;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.15);
}

.poster-actions .btn-outline:hover {
    background: #2c3e50;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
}

/* Responsive Design for Modal */
@media (max-width: 768px) {
    .modal {
        padding: 1rem;
    }
    
    .modal-content {
        max-height: 95vh;
        margin: 0.5rem;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .poster-actions .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .modal-header h2 {
        font-size: 1.1rem;
    }
    
    .modal-close {
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
    }
    
    .poster-actions .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        flex: 1;
        min-width: 120px;
    }
}

/* Event Legend Styles */
.event-legend {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(44, 62, 80, 0.08);
    border: 1px solid rgba(44, 62, 80, 0.05);
}

.legend-title {
    color: #2c3e50;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legend-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(44, 62, 80, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(44, 62, 80, 0.05);
    transition: all 0.3s ease;
}

.legend-item:hover {
    background: rgba(44, 62, 80, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.1);
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.legend-text {
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.event-info {
    padding: 1.5rem;
    background: rgba(44, 62, 80, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(44, 62, 80, 0.05);
    margin-top: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-label {
    color: #2c3e50;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 80px;
    flex-shrink: 0;
}

.info-value {
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.4;
    flex: 1;
}

/* Responsive Design for Event Info */
@media (max-width: 768px) {
    .event-info {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .info-item {
        flex-direction: column;
        gap: 0.25rem;
        margin-bottom: 0.5rem;
    }
    
    .info-label {
        min-width: auto;
        font-size: 0.85rem;
    }
    
    .info-value {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .event-info {
        padding: 0.75rem;
        margin-top: 1rem;
    }
    
    .info-item {
        margin-bottom: 0.4rem;
    }
    
    .info-label {
        font-size: 0.8rem;
    }
    
    .info-value {
        font-size: 0.8rem;
    }
}
@media (max-width: 768px) {
    .legend-items {
        gap: 0.5rem;
    }
    
    .legend-item {
        padding: 0.4rem 0.8rem;
        gap: 0.4rem;
    }
    
    .legend-color {
        width: 14px;
        height: 14px;
    }
    
    .legend-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .legend-title {
        font-size: 1rem;
    }
    
    .legend-items {
        gap: 0.3rem;
    }
    
    .legend-item {
        padding: 0.3rem 0.6rem;
        gap: 0.3rem;
    }
    
    .legend-color {
        width: 12px;
        height: 12px;
    }
    
    .legend-text {
        font-size: 0.8rem;
    }
}


/* Responsive Design for Calendar */
@media (max-width: 768px) {
    .calendar-section {
        padding: 60px 0;
    }
    
    .calendar-section .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    #calendar {
        padding: 1rem;
        margin: 0 1rem;
    }
    
    #calendar .fc-toolbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    #calendar .fc-toolbar-chunk {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    #calendar .fc-button {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .calendar-section .section-title {
        font-size: 1.75rem;
    }
    
    #calendar {
        padding: 0.5rem;
        margin: 0 0.5rem;
    }
    
    #calendar .fc-toolbar-title {
        font-size: 1.25rem;
    }
    
    #calendar .fc-button {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    #calendar .fc-event {
        font-size: 0.7rem !important;
        padding: 1px 4px !important;
    }
}


/* Events Filters Aside Styles */
.events-filters-aside {
    background: #f8f9fa;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(74, 108, 247, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.events-filters-aside.collapsed {
    max-height: auto;
    background: linear-gradient(135deg, rgba(74, 108, 247, 0.08) 0%, rgba(108, 117, 125, 0.05) 100%);
    border: 1px solid rgba(74, 108, 247, 0.2);
    box-shadow: 0 4px 20px rgba(74, 108, 247, 0.08);
}

.events-filters-aside.expanded {
    max-height: 2000px;
}

.filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: transparent;
    color: #2c3e50;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: none;
}

.events-filters-aside.collapsed .filters-header {
    padding: 0.875rem 1.25rem;
    background: linear-gradient(135deg, rgba(74, 108, 247, 0.05) 0%, rgba(108, 117, 125, 0.02) 100%);
    border-radius: 16px;
}

.filters-header:hover {
    background: rgba(74, 108, 247, 0.1);
}

.events-filters-aside.collapsed .filters-header:hover {
    background: linear-gradient(135deg, rgba(74, 108, 247, 0.12) 0%, rgba(108, 117, 125, 0.05) 100%);
    transform: translateY(-2px);
}

.filters-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a6cf7;
}

.events-filters-aside.collapsed .filters-header h3 {
    font-size: 0.95rem;
}

.filters-header i {
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    margin: 0;
    color: #4a6cf7;
}

.events-filters-aside.collapsed .filters-header i {
    font-size: 1rem;
}

.events-filters-aside.collapsed .filters-header i.fa-filter {
    transform: rotate(0deg);
}

.events-filters-aside.expanded .filters-header i.fa-filter {
    transform: rotate(180deg);
}

.filters-content {
    padding: 1.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    border-top: 1px solid rgba(74, 108, 247, 0.1);
}

.events-filters-aside.expanded .filters-content {
    max-height: 2000px;
    opacity: 1;
    padding: 1.75rem;
}

.filter-group {
    margin-bottom: 1.75rem;
    animation: fadeInUp 0.4s ease-out forwards;
}

.filter-group:last-child {
    margin-bottom: 0;
}

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

.filter-group h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group h4 i {
    color: #4a6cf7;
    font-size: 0.9rem;
    background: rgba(74, 108, 247, 0.1);
    padding: 0.35rem 0.4rem;
    border-radius: 4px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    background: #ffffff;
    border: 1.5px solid #e9ecef;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.filter-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.filter-chip:hover {
    background: #ffffff;
    border-color: #4a6cf7;
    color: #4a6cf7;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(74, 108, 247, 0.25);
}

.filter-chip:hover::before {
    left: 100%;
}

.filter-chip.active {
    background: linear-gradient(135deg, #4a6cf7 0%, #3a5bd9 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(74, 108, 247, 0.35);
}

.filter-chip.active i {
    color: #ffffff;
}

.filter-chip i {
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.filter-count {
    font-size: 0.65rem;
    opacity: 0.75;
    background: rgba(74, 108, 247, 0.1);
    padding: 0.15rem 0.45rem;
    border-radius: 10px;
    font-weight: 600;
    color: #4a6cf7;
}

.filter-chip.active .filter-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.filter-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(74, 108, 247, 0.1);
}

.btn-clear-filters,
.btn-apply-filters {
    flex: 1;
    padding: 0.85rem 1.25rem;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    position: relative;
    overflow: hidden;
}

.btn-clear-filters::before,
.btn-apply-filters::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
    z-index: 0;
}

.btn-clear-filters:hover::before,
.btn-apply-filters:hover::before {
    left: 100%;
}

.btn-clear-filters {
    background: #ffffff;
    color: #6c757d;
    border: 1.5px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-clear-filters:hover {
    background: #f8f9fa;
    color: #495057;
    border-color: #6c757d;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-clear-filters i {
    transition: all 0.3s ease;
}

.btn-clear-filters:hover i {
    transform: rotate(90deg) scale(1.2);
}

.btn-apply-filters {
    background: linear-gradient(135deg, #4a6cf7 0%, #3a5bd9 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 16px rgba(74, 108, 247, 0.3);
    position: relative;
    z-index: 1;
}

.btn-apply-filters:hover {
    background: linear-gradient(135deg, #3a5bd9 0%, #2a4bc9 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(74, 108, 247, 0.4);
}

.btn-apply-filters i {
    transition: all 0.3s ease;
}

.btn-apply-filters:hover i {
    transform: scale(1.2);
}

/* Floating Filters Button Styles */
.floating-filters-btn {
    position: fixed;
    bottom: 8.5rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #4a6cf7 0%, #3a5bd9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(74, 108, 247, 0.35);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: scale(0);
    font-size: 1.5rem;
}

.floating-filters-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.floating-filters-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(74, 108, 247, 0.45);
}

.floating-filters-btn:active {
    transform: scale(0.95);
}

.floating-filters-btn i {
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-filters-btn .filters-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

/* Floating Filters Panel Styles */
.floating-filters-panel {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(74, 108, 247, 0.1);
}

.floating-filters-panel.open {
    transform: translateX(0);
}

.floating-filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(74, 108, 247, 0.08) 0%, rgba(108, 117, 125, 0.05) 100%);
    border-bottom: 1px solid rgba(74, 108, 247, 0.1);
    flex-shrink: 0;
}

.floating-filters-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #4a6cf7;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.floating-filters-header h3 i {
    font-size: 1.1rem;
}

.close-floating-panel {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.close-floating-panel:hover {
    background: rgba(74, 108, 247, 0.1);
    color: #4a6cf7;
    transform: rotate(90deg);
}

.floating-filters-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.floating-filters-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    padding-right: 1rem;
}

.floating-filters-scroll::-webkit-scrollbar {
    width: 6px;
}

.floating-filters-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.floating-filters-scroll::-webkit-scrollbar-thumb {
    background: rgba(74, 108, 247, 0.3);
    border-radius: 3px;
}

.floating-filters-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(74, 108, 247, 0.5);
}

.floating-filters-actions {
    display: flex;
    gap: 0.75rem;
    padding: 1.5rem;
    border-top: 1px solid rgba(74, 108, 247, 0.1);
    background: #f8f9fa;
    flex-shrink: 0;
}

.floating-action {
    flex: 1;
    padding: 0.85rem 1.25rem;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    position: relative;
    overflow: hidden;
}

.floating-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
    z-index: 0;
}

.floating-action:hover::before {
    left: 100%;
}

#clearFiltersFloat {
    background: #ffffff;
    color: #6c757d;
    border: 1.5px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#clearFiltersFloat:hover {
    background: #f8f9fa;
    color: #495057;
    border-color: #6c757d;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

#applyFiltersFloat {
    background: linear-gradient(135deg, #4a6cf7 0%, #3a5bd9 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 16px rgba(74, 108, 247, 0.3);
}

#applyFiltersFloat:hover {
    background: linear-gradient(135deg, #3a5bd9 0%, #2a4bc9 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(74, 108, 247, 0.4);
}

/* Overlay for floating panel */
.floating-filters-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.floating-filters-overlay.visible {
    opacity: 1;
    visibility: visible;
}

/* Responsive adjustments for floating panel */
@media (max-width: 480px) {
    .floating-filters-panel {
        max-width: 100%;
    }

    .floating-filters-scroll {
        padding: 1rem;
        padding-right: 0.75rem;
    }

    .floating-filters-actions {
        padding: 1rem;
    }

    .floating-action {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
}

/* Responsive Design for Filters */
@media (max-width: 768px) {
    .events-filters-aside {
        margin-bottom: 1.5rem;
    }
    
    .filters-header {
        padding: 0.875rem 1.25rem;
    }
    
    .filters-header h3 {
        font-size: 1rem;
    }
    
    .filters-content {
        padding: 1.25rem;
    }
    
    .filter-options {
        gap: 0.4rem;
    }
    
    .filter-chip {
        padding: 0.35rem 0.7rem;
        font-size: 0.75rem;
    }
    
    .filter-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-clear-filters,
    .btn-apply-filters {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}




