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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header fijo */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header-fixed.scrolled {
    background: rgba(0, 0, 0, 0.95);
    padding: 0.5rem 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

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

.header-fixed .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    width: 150px; /* Ajusta el tamaño según prefieras */
    margin-bottom: 5px;
    filter: drop-shadow(0px 4px 10px rgba(0,0,0,0.5));
    border-radius: 50%; /* Como tu logo es circular, esto ayuda a que encaje bien */
}

.logo h2 {
    color: #ff6b35;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo span {
    color: #fff;
    font-size: 0.7rem;
    display: block;
    text-align: center;
}

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

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #ff6b35;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.hero-title span {
    color: #ff6b35;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
    margin: 0 10px;
}

.btn-primary {
    background: #ff6b35;
    color: #fff;
    border: 2px solid #ff6b35;
}

.btn-primary:hover {
    background: transparent;
    color: #ff6b35;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: #ff6b35;
    border-color: #ff6b35;
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: #fff;
    cursor: pointer;
    animation: bounce 2s infinite;
}

/* Secciones */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    color: #ff6b35;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    margin-top: 10px;
}

.section-title span {
    color: #ff6b35;
}

.section-line {
    width: 80px;
    height: 3px;
    background: #ff6b35;
    margin: 15px auto 0;
}

/* Cursos Grid */
.cursos-grid,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.curso-card,
.blog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.curso-card:hover,
.blog-card:hover {
    transform: translateY(-10px);
}

.curso-img,
.blog-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.curso-img img,
.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.curso-card:hover .curso-img img,
.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.curso-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.curso-card:hover .curso-overlay {
    opacity: 1;
}

.btn-card {
    background: #ff6b35;
    color: #fff;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
}

.curso-info,
.blog-info {
    padding: 20px;
}

.curso-info h3,
.blog-info h3 {
    margin-bottom: 10px;
    color: #333;
}

.blog-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff6b35;
    color: #fff;
    padding: 8px 12px;
    text-align: center;
    border-radius: 8px;
}

.blog-date .day {
    font-size: 1.2rem;
    font-weight: 800;
    display: block;
}

.read-more {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
}

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

.footer-about h3 {
    font-size: 1.8rem;
    color: #ff6b35;
    margin-bottom: 15px;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #ff6b35;
    transform: translateY(-3px);
}

.footer-contact h4,
.footer-hours h4 {
    margin-bottom: 20px;
    color: #ff6b35;
}

.footer-contact p,
.footer-hours p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-contact i {
    margin-right: 10px;
    color: #ff6b35;
}

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

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

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 8px 20px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0,0,0,0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: block;
        cursor: pointer;
    }
    
    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: #fff;
        margin: 5px 0;
        transition: 0.3s;
    }
}