/* ===== Home Hero Section Styles ===== */

/* Hero Section Container */
.courses-hero-section {
    background: #020811;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Hero Content */
.hero-content {
    animation: heroContentSlide 1.2s ease-out forwards;
    opacity: 0;
    transform: translateX(-50px);
}

@keyframes heroContentSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero Title */
.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    animation: titleSlideIn 1s ease-out;
}

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

/* Slogan Container */
.slogan-container {
    margin-bottom: 2rem;
}

.hero-slogan {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1F8FFF 0%, #00F0FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    animation: sloganSlideIn 1.2s ease-out 0.3s forwards;
    opacity: 0;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    opacity: 0;
    animation: subtitleFade 1s ease-out 0.6s forwards;
}

@keyframes subtitleFade {
    to {
        opacity: 1;
    }
}

/* Hero Description */
.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.9s forwards;
}

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

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.2s forwards;
}

.btn-hero-primary {
    padding: 16px 40px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #1F8FFF 0%, #00F0FF 100%);
    color: #FFFFFF;
    box-shadow: 0 10px 30px rgba(31, 143, 255, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00F0FF 0%, #1F8FFF 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(31, 143, 255, 0.6);
}

.btn-hero-primary:hover::before {
    opacity: 1;
}

.btn-hero-primary i {
    position: relative;
    z-index: 1;
}

.btn-hero-secondary {
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Logo Container */
.logo-container {
    position: relative;
    z-index: 10;
    text-align: center;
}

.logo-circle {
    position: relative;
    display: inline-block;
}

.animated-logo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 100px rgba(31, 143, 255, 0.4),
        inset 0 0 50px rgba(255, 255, 255, 0.1);
    animation: logoFloat 6s ease-in-out infinite,
        logoEntrance 2s ease-out;
    backdrop-filter: blur(8px);
    position: relative;
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-180deg);
        filter: blur(20px);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) rotate(-90deg);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: blur(0px);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    25% {
        transform: translateY(-20px) scale(1.02);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
    75% {
        transform: translateY(-15px) scale(1.02);
    }
}

/* Orbit Elements */
.orbit-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(31, 143, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #1F8FFF;
    animation: orbitRotate 20s linear infinite;
}

.orbit-star {
    animation-delay: 0s;
}

.orbit-lightbulb {
    animation-delay: -6.66s;
}

.orbit-graduation {
    animation-delay: -13.33s;
}

@keyframes orbitRotate {
    0% {
        transform: rotate(0deg) translateX(180px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(180px) rotate(-360deg);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-slogan {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .animated-logo {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem !important;
    }
    
    .hero-slogan,
    .slogan-container h2 {
        font-size: 1.8rem !important;
    }
    
    .hero-subtitle,
    .slogan-container p {
        font-size: 1.1rem !important;
    }
    
    .hero-description {
        font-size: 1rem !important;
    }
    
    .hero-content {
        padding-left: 1rem !important;
        text-align: center !important;
    }
    
    .hero-buttons {
        justify-content: center !important;
    }
    
    .animated-logo {
        width: 220px;
        height: 220px;
    }
    
    .orbit-element {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-slogan,
    .slogan-container h2 {
        font-size: 1.5rem !important;
    }
    
    .hero-subtitle,
    .slogan-container p {
        font-size: 1rem !important;
    }
    
    .hero-description {
        font-size: 0.9rem !important;
    }
    
    .hero-buttons button,
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 12px 24px !important;
        font-size: 1rem !important;
    }
    
    .animated-logo {
        width: 170px;
        height: 170px;
    }
}
