/*
=========================================
Gazprom Youth Academy Section Styles
=========================================
*/

.academy-section {
    position: relative;
    background: 
        linear-gradient(rgba(0, 16, 34, 0.35), rgba(0, 42, 85, 0.45)),
        url('assets/Gazprom-Youth-Academy.jpg') center/cover no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 80px 20px;
}

.academy-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 16, 34, 0.35) 0%,
        rgba(0, 32, 68, 0.4) 50%,
        rgba(0, 16, 34, 0.35) 100%
    );
    z-index: 1;
}

.academy-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(0, 191, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(0, 224, 255, 0.08) 0%, transparent 50%);
    animation: academyGlow 8s ease-in-out infinite;
}

@keyframes academyGlow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.academy-content-wrapper {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 900px;
    padding: 0 30px;
    animation: fadeInUp 1s ease-out;
}

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

/* Badge */
.academy-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 191, 255, 0.15);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #00BFFF;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 191, 255, 0.5);
    }
}

.academy-badge-icon {
    animation: iconFloat 3s ease-in-out infinite;
}

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

/* Title */
.academy-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: #FFFFFF;
    background: linear-gradient(135deg, #FFFFFF 0%, #00C8FF 50%, #FFFFFF 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 191, 255, 0.4);
    margin-bottom: 15px;
    letter-spacing: 2px;
    animation: titleShine 5s ease-in-out infinite;
    line-height: 1.2;
    white-space: nowrap;
}

@keyframes titleShine {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Subtitle */
.academy-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: #AEE4FF;
    font-weight: 500;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Description */
.academy-description {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: #D6E8F7;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* CTA Button */
.academy-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #009CFF 0%, #00E0FF 100%);
    border-radius: 50px;
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 
        0 0 20px rgba(0, 191, 255, 0.4),
        0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.academy-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.academy-btn:hover::before {
    width: 400px;
    height: 400px;
}

.academy-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 0 40px rgba(0, 224, 255, 0.6),
        0 15px 35px rgba(0, 0, 0, 0.4);
}

.academy-btn svg {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.academy-btn:hover svg {
    transform: translateX(5px);
}

.academy-btn span {
    position: relative;
    z-index: 1;
}

/* Energy Line at Bottom */
.academy-energy-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%,
        #009CFF 20%,
        #00E0FF 50%,
        #009CFF 80%,
        transparent 100%
    );
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.8);
    animation: energyFlow 3s linear infinite;
    z-index: 3;
}

@keyframes energyFlow {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Responsive Design */

/* Large Tablets and Small Desktops */
@media (max-width: 1199px) {
    .academy-section {
        min-height: 550px;
        padding: 70px 20px;
    }
    
    .academy-title {
        font-size: clamp(2.2rem, 5.5vw, 3.5rem);
    }
    
    .academy-description {
        font-size: clamp(0.95rem, 2vw, 1.1rem);
    }
}

/* Tablets */
@media (max-width: 991px) {
    .academy-section {
        min-height: 500px;
        padding: 60px 20px;
    }
    
    .academy-content-wrapper {
        max-width: 700px;
    }
    
    .academy-badge {
        font-size: 0.85rem;
        padding: 7px 18px;
    }
    
    .academy-subtitle {
        font-size: clamp(1rem, 2.5vw, 1.2rem);
    }
    
    .academy-btn {
        padding: 14px 35px;
        font-size: 1rem;
    }
}

/* Mobile Landscape and Small Tablets */
@media (max-width: 767px) {
    .academy-section {
        min-height: 450px;
        padding: 50px 15px;
    }
    
    .academy-content-wrapper {
        max-width: 600px;
        padding: 0 20px;
    }
    
    .academy-title {
        font-size: clamp(2rem, 6vw, 2.8rem);
        margin-bottom: 12px;
    }
    
    .academy-subtitle {
        margin-bottom: 20px;
    }
    
    .academy-description {
        margin-bottom: 35px;
        line-height: 1.7;
    }
    
    .academy-btn {
        padding: 13px 30px;
        font-size: 0.95rem;
    }
}

/* Mobile Portrait */
@media (max-width: 575px) {
    .academy-section {
        min-height: 500px;
        padding: 40px 15px;
    }
    
    .academy-content-wrapper {
        padding: 0 15px;
    }
    
    .academy-badge {
        font-size: 0.75rem;
        padding: 6px 15px;
        gap: 6px;
    }
    
    .academy-badge-icon {
        width: 16px;
        height: 16px;
    }
    
    .academy-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        letter-spacing: 1px;
        margin-bottom: 10px;
        white-space: normal;
    }
    
    .academy-subtitle {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
        margin-bottom: 18px;
    }
    
    .academy-description {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        margin-bottom: 30px;
        line-height: 1.6;
    }
    
    .academy-btn {
        padding: 12px 28px;
        font-size: 0.9rem;
        gap: 8px;
    }
    
    .academy-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* Small Mobile */
@media (max-width: 375px) {
    .academy-section {
        min-height: 480px;
        padding: 35px 10px;
    }
    
    .academy-title {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
        white-space: normal;
    }
    
    .academy-subtitle {
        font-size: clamp(0.9rem, 3.5vw, 1rem);
    }
    
    .academy-description {
        font-size: clamp(0.85rem, 3vw, 0.95rem);
    }
    
    .academy-btn {
        padding: 11px 24px;
        font-size: 0.85rem;
    }
}
