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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a1628;
    overflow-x: hidden;
    color: #e2e8f0;
    line-height: 1.6;
}

.main-content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
}

.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(30, 58, 138, 0.3) 50%, rgba(14, 116, 144, 0.2) 100%);
}

.hero-section::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="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="%23334155" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.school-name {
    font-size: 1.2rem;
    color: #22d3ee;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 50%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    animation: fadeInScale 1.2s ease-out;
}

.typing-text {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: #f1f5f9;
    font-weight: 600;
    animation: fadeInUp 1s ease-out 0.3s both;
    min-height: 2rem;
}

.typing-cursor {
    opacity: 1;
    animation: blink 1s infinite;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 16px 48px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.5);
}

.cta-button.secondary {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(34, 211, 238, 0.5);
    backdrop-filter: blur(10px);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(30px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.presentation-section {
    padding: 120px 50px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.8) 100%);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.text-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 24px;
    line-height: 1.2;
}

.text-content p {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 20px;
    line-height: 1.8;
}

.highlight-text {
    color: #22d3ee;
    font-weight: 600;
}

.tech-icons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(34, 211, 238, 0.1));
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #22d3ee;
    transition: all 0.3s ease;
}

.tech-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(34, 211, 238, 0.2);
}

.what-is-coding-section {
    padding: 120px 50px;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #f1f5f9;
    letter-spacing: -0.02em;
}

.coding-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.code-example {
    background: linear-gradient(145deg, #1e293b, #334155);
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 16px;
    padding: 30px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 5px 15px rgba(30, 41, 59, 0.4), inset 0 1px 0 rgba(71, 85, 105, 0.3);
}

.code-line {
    margin-bottom: 8px;
}

.keyword { color: #3b82f6; }
.string { color: #10b981; }
.function { color: #f59e0b; }
.comment { color: #6b7280; }

.result-visual {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(34, 211, 238, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(59, 130, 246, 0.1), inset 0 1px 0 rgba(59, 130, 246, 0.2);
}

.testimonials-section {
    padding: 120px 50px;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(51, 65, 85, 0.6));
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    transform-style: preserve-3d;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 4px 15px rgba(30, 41, 59, 0.3), inset 0 1px 0 rgba(71, 85, 105, 0.2);
}

.testimonial-card:hover {
    transform: rotateY(5deg) translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(34, 211, 238, 0.1);
}

.testimonial-quote {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.7;
}

.testimonial-author {
    font-weight: 600;
    color: #22d3ee;
}

.benefits-section {
    padding: 120px 50px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 60px auto 0;
}

.benefit-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(51, 65, 85, 0.6));
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 0 3px 12px rgba(30, 41, 59, 0.3), inset 0 1px 0 rgba(71, 85, 105, 0.2);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 8px 25px rgba(34, 211, 238, 0.15);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #22d3ee, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.benefit-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 15px;
}

.benefit-description {
    color: #94a3b8;
    line-height: 1.6;
}

.salary-section {
    padding: 120px 50px;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.salary-comparison {
    max-width: 800px;
    margin: 60px auto;
}

.salary-bar {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(51, 65, 85, 0.6));
    border-radius: 12px;
    border: 1px solid rgba(71, 85, 105, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 0 3px 12px rgba(30, 41, 59, 0.3), inset 0 1px 0 rgba(71, 85, 105, 0.2);
    transition: all 0.3s ease;
}

.salary-bar:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25), 0 6px 20px rgba(34, 211, 238, 0.1);
}

.salary-label {
    min-width: 150px;
    font-weight: 600;
    color: #f1f5f9;
}

.salary-visual {
    flex: 1;
    height: 20px;
    background: linear-gradient(90deg, rgba(71, 85, 105, 0.3), rgba(71, 85, 105, 0.1));
    border-radius: 10px;
    margin: 0 20px;
    position: relative;
    overflow: hidden;
}

.salary-fill {
    height: 100%;
    background: linear-gradient(90deg, #22d3ee, #3b82f6);
    border-radius: 10px;
    transition: width 2s ease-out;
}

.salary-amount {
    font-weight: 700;
    color: #22d3ee;
    min-width: 120px;
}

.innovation-section {
    padding: 120px 50px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(10, 22, 40, 0.95) 100%);
}

.innovation-slider {
    max-width: 1200px;
    margin: 60px auto;
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
}

.innovation-card {
    min-width: 350px;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(51, 65, 85, 0.6));
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 16px;
    padding: 30px;
    margin-right: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 4px 15px rgba(30, 41, 59, 0.3), inset 0 1px 0 rgba(71, 85, 105, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.innovation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 8px 25px rgba(34, 211, 238, 0.1);
    z-index: 20;
}

.innovation-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.innovation-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 15px;
}

.innovation-description {
    color: #94a3b8;
    line-height: 1.6;
}

.inclusion-section {
    padding: 120px 50px;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(219, 39, 119, 0.1) 50%, rgba(59, 130, 246, 0.1) 100%);
}

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

.inclusion-message {
    font-size: 1.5rem;
    color: #f1f5f9;
    margin-bottom: 40px;
    font-weight: 600;
    line-height: 1.6;
}

.scholarship-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.scholarship-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #ec4899, #be185d);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.scholarship-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.3);
}

.projects-section {
    padding: 120px 50px;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.95) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.8), rgba(71, 85, 105, 0.6));
    border: 1px solid rgba(71, 85, 105, 0.4);
    border-radius: 8px;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: rgba(59, 130, 246, 0.5);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(51, 65, 85, 0.6));
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 4px 15px rgba(30, 41, 59, 0.3), inset 0 1px 0 rgba(71, 85, 105, 0.2);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 15px 35px rgba(34, 211, 238, 0.1);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(34, 211, 238, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 600;
}

.project-content {
    padding: 25px;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 15px;
}

.project-description {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(34, 211, 238, 0.1);
    color: #22d3ee;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.project-btn {
    background: linear-gradient(135deg, #22d3ee, #0891b2);
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.project-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 211, 238, 0.3);
}

.interactive-section {
    padding: 120px 50px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
}

.game-container {
    max-width: 600px;
    margin: 60px auto;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(51, 65, 85, 0.6));
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 8px 25px rgba(30, 41, 59, 0.4), inset 0 1px 0 rgba(71, 85, 105, 0.3);
}

.logic-game {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 30px auto;
    max-width: 300px;
}

.game-cell {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(71, 85, 105, 0.5), rgba(51, 65, 85, 0.3));
    border: 2px solid rgba(71, 85, 105, 0.5);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.game-cell:hover {
    border-color: #22d3ee;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(59, 130, 246, 0.1));
}

.game-cell.active {
    background: linear-gradient(135deg, #22d3ee, #0891b2);
    border-color: #22d3ee;
}

.closing-section {
    padding: 120px 50px;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(30, 58, 138, 0.3) 50%, rgba(14, 116, 144, 0.2) 100%);
    text-align: center;
}

.closing-quote {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 auto 40px;
    line-height: 1.4;
    max-width: 900px;
}

.quote-highlight {
    background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 50%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.96));
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    border-left: 1px solid rgba(71, 85, 105, 0.3);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.3);
}

.sidebar.active {
    right: 0;
}

.sidebar-toggle {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border: 1px solid rgba(59, 130, 246, 0.5);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
}

.sidebar-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
}

.hamburger {
    width: 18px;
    height: 2px;
    background: white;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 1px;
    left: 0;
}

.hamburger::before {
    top: -6px;
}
.hamburger::after {
    top: 6px;
}

.sidebar-toggle.active .hamburger {
    background: transparent;
}
.sidebar-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}
.sidebar-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

.sidebar-content {
    padding: 80px 30px 30px;
    position: relative;
    z-index: 80;
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: #f1f5f9;
}

.course-item {
    margin-bottom: 16px;
}

.course-button {
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.8), rgba(71, 85, 105, 0.6));
    border: 1px solid rgba(71, 85, 105, 0.4);
    border-radius: 12px;
    color: #f1f5f9;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.course-button:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.1));
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateX(4px);
}

.groups-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 8px;
    position: relative;
    z-index: 90;
}

.groups-container.active {
    max-height: 800px;
    overflow: visible;
}

.group-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    margin: 8px 0;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 10px;
    border-left: 3px solid #22d3ee;
    cursor: pointer;
    transition: all 0.3s ease, transform 0.2s ease-out;
    min-height: 70px;
    position: relative;
    z-index: 100;
    overflow: hidden;
    transform-origin: left center;
}

.group-item:hover {
    background: rgba(59, 130, 246, 0.15);
    transform: translateX(8px);
    border-left-color: #3b82f6;
    z-index: 110;
    border-radius: 10px;
}

.group-name {
    font-weight: 600;
    color: #e2e8f0;
    font-size: 0.95rem;
    flex: 0 0 45%;
    margin-right: 10px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* Para navegadores WebKit */
    line-clamp: 2;         /* Propiedad estándar */
}

.leaders {
    font-size: 0.8rem;
    color: #94a3b8;
    text-align: right;
    line-height: 1.3;
    flex: 0 0 50%;
    white-space: pre-line;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* Para navegadores WebKit */
    line-clamp: 3;         /* Propiedad estándar para mayor compatibilidad */
}

.partnerships-section {
    padding: 120px 50px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(10, 22, 40, 0.95));
    text-align: center;
}

.partnerships-section .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.partnerships-section p {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.partnerships-section p .highlight-text {
    color: #22d3ee;
    font-weight: 600;
}

.partnerships-section>div:last-child p {
    color: #22d3ee;
    font-size: 1.1rem;
    font-weight: 600;
    max-width: 700px;
}

.partners-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.partner-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(51, 65, 85, 0.6));
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 16px;
    padding: 30px 20px;
    width: 220px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 4px 15px rgba(30, 41, 59, 0.3), inset 0 1px 0 rgba(71, 85, 105, 0.2);
}

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(34, 211, 238, 0.1);
    border-color: rgba(34, 211, 238, 0.4);
}

.partner-logo-container {
    margin-bottom: 16px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-top: 12px;
}

/* Logos personalizados */
.inacap-logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: #f87171; /* rojo suave */
    font-family: 'Segoe UI', sans-serif;
}
.inacap-square {
    width: 14px;
    height: 14px;
    background-color: #f87171;
    margin-right: 6px;
    border-radius: 2px;
}
.ibm-logo {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1.7rem;
    color: #60a5fa; /* azul claro */
    display: flex;
    align-items: center;
}
.ibm-symbol {
    font-size: 0.8rem;
    margin-left: 4px;
    vertical-align: super;
}
.skillnest-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    color: #10b981;
    font-family: 'Segoe UI', sans-serif;
}
.menu-icon {
    display: flex;
    flex-direction: column;
    margin-right: 8px;
}
.menu-bar {
    width: 14px;
    height: 2px;
    background-color: #10b981;
    margin: 2px 0;
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}
.sidebar::-webkit-scrollbar-track {
    background: rgba(71, 85, 105, 0.2);
}
.sidebar::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.5);
    border-radius: 3px;
}
.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.7);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    animation: fadeIn 1s ease-in both;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

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

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .typing-text {
        font-size: 1.1rem;
    }
    .sidebar {
        width: 360px;
        right: -360px;
    }
    .content-grid,
    .coding-visual {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .closing-quote {
        font-size: 1.8rem;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .projects-grid,
    .testimonials-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    .salary-bar {
        flex-direction: column;
        text-align: center;
    }
    .salary-visual {
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 320px;
        right: -320px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .section-title {
        font-size: 2rem;
    }
}

/* Course Filter Styles */
.course-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 20px 0 40px;
    flex-wrap: wrap;
}

.course-filter-label {
    color: #22d3ee;
    font-weight: 600;
    margin-right: 10px;
    font-size: 1rem;
}

.course-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.course-btn {
    font-size: 0.95rem;
}

.course-btn.active,
.course-btn:hover {
    background: linear-gradient(135deg, #22d3ee, #10b981);
    color: #0a1628;
}

/* Show More Button */
.show-more-container {
    text-align: center;
    margin-top: 40px;
}

.show-more-btn {
    padding: 15px 40px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(34, 211, 238, 0.1));
    border: 1px solid rgba(34, 211, 238, 0.5);
    color: #22d3ee;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.show-more-btn:hover {
    background: linear-gradient(135deg, #22d3ee, #10b981);
    color: #0a1628;
    transform: translateY(-2px);
}

/* Sidebar Credits - Posición fija en el fondo */
.sidebar-credits {
    position: fixed;
    bottom: 0;
    right: 0;
    height: 120px;
    width: 400px;
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(71, 85, 105, 0.3);
    background: linear-gradient(180deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(10, 22, 40, 0.98) 100%
    );
    backdrop-filter: blur(15px);
    z-index: 1100;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
    transform: translateX(400px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #9dc1fc;
}

.sidebar.active .sidebar-credits {
    transform: translateX(0);
}

.sidebar-credits p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 3px 0;
    line-height: 1.4;
}

.sidebar-credits .developer {
    color: #22d3ee;
    font-weight: 600;
}

.sidebar-credits .copyright {
    color: #94a3b8;
    font-size: 0.8rem;
    margin-top: 8px;
    font-weight: 500;
}

/* AGREGA este nuevo CSS para el efecto de degradado y animación scroll: */

/* Degradado para elementos que pasan por debajo de los créditos */
.sidebar-content::after {
    content: '';
    position: fixed;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 120px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(15, 23, 42, 0.7) 40%,
        rgba(15, 23, 42, 0.95) 100%
    );
    pointer-events: none;
    z-index: 1099;
    transform: translateX(400px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar.active .sidebar-content::after {
    transform: translateX(0);
}

/* Animación scroll para los grupos - efecto de escala */
.group-item {
    transition: all 0.3s ease, transform 0.2s ease-out;
    transform-origin: left center;
}

/* Cuando los elementos están cerca del fondo, se hacen más pequeños */
.group-item.shrinking {
    transform: scale(0.85) translateX(8px);
    opacity: 0.6;
}

.group-item.very-shrinking {
    transform: scale(0.7) translateX(12px);
    opacity: 0.3;
}

/* MODIFICA el .sidebar-content existente para agregar padding-bottom: */
.sidebar-content {
    padding: 80px 30px 140px; /* Aumenté el padding-bottom para el espacio de créditos */
    position: relative;
    z-index: 80;
    height: 100vh;
    overflow-y: auto;
    box-sizing: border-box;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .sidebar-credits {
        width: 360px;
        transform: translateX(360px);
    }
    
    .sidebar-content::after {
        width: 360px;
        transform: translateX(360px);
    }
    
    .sidebar.active .sidebar-credits,
    .sidebar.active .sidebar-content::after {
        transform: translateX(0);
    }
}

@media (max-width: 480px) {
    .sidebar-credits {
        width: 320px;
        transform: translateX(320px);
    }
    
    .sidebar-content::after {
        width: 320px;
        transform: translateX(320px);
    }
}

.logo-container {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(51, 65, 85, 0.8));
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border-radius: 100%;
}

.logo-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(34, 211, 238, 0.15);
}

.school-logo {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-container {
        width: 50px;
        height: 50px;
        top: 20px;
        left: 20px;
    }
    
    .school-logo {
        width: 30px;
        height: 30px;
    }
}

/* Mejoras de responsividad */
@media (max-width: 1024px) {
    .content-grid,
    .coding-visual {
        gap: 50px;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
        line-height: 1.2;
    }
    
    .typing-text {
        font-size: 1.2rem;
        padding: 0 10px;
    }
    
    .cta-buttons {
        padding: 0 20px;
    }
    
    .cta-button {
        padding: 14px 32px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
        padding: 0 20px;
    }
    
    .closing-quote {
        font-size: 1.6rem;
        padding: 0 20px;
    }
    
    .projects-filter,
    .course-filter {
        padding: 0 20px;
        justify-content: center;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .salary-comparison {
        padding: 0 20px;
    }
    
    .game-container {
        margin: 60px 20px;
        padding: 30px 20px;
    }
    
    .logic-game {
        max-width: 250px;
    }
    
    .game-cell {
        width: 70px;
        height: 70px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .typing-text {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .closing-quote {
        font-size: 1.4rem;
        line-height: 1.5;
    }
    
    .tech-icons {
        justify-content: center;
    }
    
    .tech-icon {
        width: 50px;
        height: 50px;
        font-size: 0.8rem;
    }
    
    .innovation-card {
        min-width: 280px;
        padding: 25px 20px;
    }
    
    .game-cell {
        width: 60px;
        height: 60px;
        font-size: 1.1rem;
    }
    
    .logic-game {
        max-width: 200px;
        gap: 8px;
    }
    
    .partners-container {
        gap: 25px;
    }
    
    .partner-card {
        width: 180px;
        padding: 25px 15px;
    }
}

@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .sidebar {
        width: 300px;
        right: -300px;
    }
    
    .sidebar-credits {
        width: 300px;
        transform: translateX(300px);
    }
    
    .sidebar-content::after {
        width: 300px;
        transform: translateX(300px);
    }
}