/* Importazione dei font */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;700&family=Orbitron:wght@400;700;900&display=swap');

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --tech-purple: #6f42c1;
    --tech-green: #20c997;
    --tech-orange: #fd7e14;
    --gradient-primary: linear-gradient(135deg, #007bff 0%, #6f42c1 100%);
    --gradient-secondary: linear-gradient(135deg, #20c997 0%, #17a2b8 100%);
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --hero-dark: #0a0e27;
}

body {
    font-family: 'Jost', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

/* =============================================
   HERO SECTION - Redesigned
   ============================================= */
.hero-section {
    background: var(--hero-dark);
    color: white;
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-bg-circuit {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-bg-circuit img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.hero-row {
    min-height: 600px;
    padding: 80px 0;
}

.hero-text-col {
    text-align: left;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 123, 255, 0.15);
    border: 1px solid rgba(0, 123, 255, 0.3);
    color: #00d4ff;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-badge i {
    margin-right: 0.5rem;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0.9;
    letter-spacing: 1px;
    color: #b8c5d6;
}

.hero-description {
    font-size: 1.15rem;
    color: #8899aa;
    margin-bottom: 2rem;
    max-width: 550px;
    line-height: 1.7;
}

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

.hero-buttons {
    margin-bottom: 2.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
    color: white;
}

.btn-hero-primary i {
    margin-right: 0.5rem;
}

.btn-hero-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
    transform: translateY(-3px);
}

.btn-hero-outline i {
    margin-right: 0.5rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2.5rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: #667788;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Tux Image */
.hero-tux-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    animation: floatTux 4s ease-in-out infinite;
}

.hero-tux {
    max-width: 350px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.3));
}

@keyframes floatTux {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* =============================================
   INFO BAR
   ============================================= */
.info-bar {
    background: var(--gradient-primary);
    padding: 1.2rem 0;
    position: relative;
    z-index: 3;
}

.info-item {
    color: white;
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.3rem 0;
}

.info-item i {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* =============================================
   SECTION STYLING
   ============================================= */
.section-padding {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-header h2 i {
    margin-right: 1rem;
    color: var(--primary-color);
}

.section-header p {
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* =============================================
   CARD STYLING
   ============================================= */
.card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

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

.card-img-container {
    position: relative;
    overflow: hidden;
    height: 200px;
}

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

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

/* Event Cards */
.event-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.event-card .card-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-primary);
    color: white;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.event-card .card-date .day {
    display: block;
    font-size: 1.5rem;
    line-height: 1;
}

.event-card .card-date .month {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-card .card-title {
    color: var(--dark-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.event-card .btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.event-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Blog Cards */
.blog-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.blog-card .card-title {
    color: var(--dark-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.blog-card .btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-card .btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Card Footer Custom */
.card-footer-custom {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.card-footer-custom i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* =============================================
   PAGINATION
   ============================================= */
.pagination {
    margin-top: 2rem;
}

.pagination .page-link {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    margin: 0 2px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.pagination .page-item.active .page-link {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
}

/* =============================================
   PARTNER SECTION
   ============================================= */
.partner-logo {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.partner-logo img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* =============================================
   NAVIGATION
   ============================================= */
.tech-navbar {
    background: linear-gradient(135deg, var(--dark-color) 0%, #495057 100%) !important;
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
}

.tech-brand {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 900;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tech-brand:hover {
    transform: scale(1.05);
}

.brand-logo {
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

.brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.75rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link i {
    margin-right: 0.5rem;
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.dropdown-menu {
    background: var(--dark-color);
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: 10px;
    margin-top: 0.5rem;
}

.dropdown-item {
    color: white;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--gradient-primary);
    color: white;
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.2);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #2c3e50 100%) !important;
    color: #ecf0f1;
    margin-top: 0 !important;
}

.footer-title {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-title i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.footer-subtitle {
    color: #bdc3c7;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-subtitle i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-info p {
    color: #95a5a6;
    font-size: 0.9rem;
}

.footer-info i {
    margin-right: 0.5rem;
    color: var(--primary-color);
    width: 16px;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.footer-links a i {
    margin-right: 0.75rem;
    width: 16px;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link:hover {
    transform: translateY(-3px);
    color: white;
}

.social-link.facebook::before { background: #3b5998; }
.social-link.instagram::before { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link.linkedin::before { background: #0077b5; }
.social-link.youtube::before { background: #ff0000; }
.social-link.github::before { background: #333; }
.social-link.discord::before { background: #7289da; }

.social-link i {
    position: relative;
    z-index: 2;
}

.newsletter-form .input-group {
    border-radius: 25px;
    overflow: hidden;
}

.newsletter-form .form-control {
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 25px 0 0 25px;
}

.newsletter-form .form-control::placeholder {
    color: #bdc3c7;
}

.newsletter-form .form-control:focus {
    box-shadow: none;
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form .btn {
    border-radius: 0 25px 25px 0;
    border: none;
    background: var(--gradient-primary);
    padding: 0.5rem 1rem;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1rem 0;
}

.copyright {
    color: #95a5a6;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.tech-love {
    color: #95a5a6;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.tech-love i {
    margin: 0 0.25rem;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* =============================================
   ALERTS
   ============================================= */
.alert {
    border-radius: 15px;
    border: none;
    box-shadow: var(--shadow-sm);
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: var(--info-color);
}

.alert-info i {
    margin-right: 0.5rem;
}

/* =============================================
   RICH CONTENT
   ============================================= */
.rich-content {
    line-height: 1.8;
    color: var(--dark-color);
}

.rich-content h1, .rich-content h2, .rich-content h3,
.rich-content h4, .rich-content h5, .rich-content h6 {
    font-family: 'Orbitron', sans-serif;
    color: var(--dark-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.rich-content h1 {
    font-size: 2.5rem;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.rich-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
}

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

.rich-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.rich-content ul, .rich-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.rich-content li {
    margin-bottom: 0.5rem;
}

.rich-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.rich-content a:hover {
    color: var(--tech-purple);
    border-bottom-color: var(--tech-purple);
}

.rich-content blockquote {
    background: var(--light-color);
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
}

.rich-content code {
    background: var(--light-color);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--danger-color);
}

.rich-content pre {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.rich-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.rich-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-sm);
    border-radius: 8px;
    overflow: hidden;
}

.rich-content th, .rich-content td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.rich-content th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.rich-content tbody tr:nth-child(even) {
    background: var(--light-color);
}

.rich-content tbody tr:hover {
    background: rgba(0, 123, 255, 0.1);
}

.rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.rich-content .image-center { text-align: center; }
.rich-content .image-left { float: left; margin: 0 1rem 1rem 0; }
.rich-content .image-right { float: right; margin: 0 0 1rem 1rem; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
    .hero-row {
        min-height: auto;
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }

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

    .hero-description {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }
}

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

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

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .info-bar .row {
        gap: 0.5rem;
    }

    .info-item {
        font-size: 0.85rem;
    }
}

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* Footer responsive */
@media (max-width: 768px) {
    .social-links {
        justify-content: center;
    }

    .footer-title {
        text-align: center;
        font-size: 1.2rem;
    }

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

    .newsletter-form {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Rich content responsive */
@media (max-width: 768px) {
    .rich-content h1 { font-size: 2rem; }
    .rich-content h2 { font-size: 1.5rem; }
    .rich-content table { font-size: 0.8rem; }
    .rich-content th, .rich-content td { padding: 0.5rem; }
    .rich-content .image-left,
    .rich-content .image-right {
        float: none;
        margin: 1rem 0;
    }
}

/* =============================================
   GENAI x PA PAGE
   ============================================= */
.genxpa-banner-istituzionale {
    background: #ffffff;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.genxpa-banner-istituzionale img {
    max-height: 70px;
    width: auto;
    max-width: 100%;
}

.genxpa-hero {
    background: linear-gradient(135deg, #1a1145 0%, #0d1b3e 50%, #0a2463 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.genxpa-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

.genxpa-badge {
    display: inline-block;
    background: rgba(0, 123, 255, 0.15);
    border: 1px solid rgba(0, 123, 255, 0.3);
    color: #00d4ff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.genxpa-title {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.genxpa-subtitle {
    font-size: 1.3rem;
    color: #b8c5d6;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.genxpa-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.genxpa-meta span {
    color: #8899aa;
    font-size: 0.95rem;
}

.genxpa-meta i {
    margin-right: 0.4rem;
    color: #00d4ff;
}

.genxpa-content {
    background: #f8f9fa;
}

.genxpa-intro {
    font-size: 1.1rem;
    line-height: 1.8;
}

.genxpa-section h2 {
    font-size: 1.8rem;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.75rem;
    display: inline-block;
}

.genxpa-section h2 i {
    margin-right: 0.5rem;
}

/* Objective Cards */
.genxpa-objective-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: all 0.3s ease;
}

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

.genxpa-objective-card .obj-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.genxpa-objective-card .obj-icon i {
    color: white;
    font-size: 1.5rem;
}

.genxpa-objective-card h5 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.genxpa-objective-card p {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Info Cards */
.genxpa-info-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    height: 100%;
    border-top: 3px solid var(--primary-color);
}

.genxpa-info-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.genxpa-info-card h6 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.genxpa-info-card p {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Module Cards */
.genxpa-module {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.genxpa-module:hover {
    box-shadow: var(--shadow-md);
}

.module-header {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: white;
}

.module-header h3 {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
    color: white;
}

.module-header.module-blue { background: linear-gradient(135deg, #007bff, #6f42c1); }
.module-header.module-green { background: linear-gradient(135deg, #28a745, #20c997); }
.module-header.module-orange { background: linear-gradient(135deg, #fd7e14, #ffc107); }
.module-header.module-orange h3,
.module-header.module-orange .module-docente { color: #333; }

.module-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
}

.module-docente {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.module-body {
    padding: 2rem;
}

.module-body ul {
    margin-bottom: 1.5rem;
}

.module-body li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.module-tip {
    background: #e7f3ff;
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin-top: 1rem;
}

.module-tip i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* App Items (Module 3) */
.app-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    transition: background 0.3s ease;
}

.app-item:hover {
    background: #f8f9fa;
}

.app-item i {
    font-size: 1.8rem;
    min-width: 35px;
    padding-top: 0.2rem;
}

.app-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.app-item p {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 0;
}

/* GenXPA Responsive */
@media (max-width: 768px) {
    .genxpa-title {
        font-size: 2.5rem;
    }
    .genxpa-subtitle {
        font-size: 1.1rem;
    }
    .genxpa-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    .module-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}
