/* =====================================================
   Academy Header & Footer Styles
   Using Academy Color Palette
   ===================================================== */

:root {
    /* Academy Colors - Same as homepage */
    --academy-dark-blue: #024458;
    --academy-black: #000000;
    --academy-gold: #F2B120;
    --academy-cyan: #05A8C7;
    --academy-teal: #0E848F;
    --academy-light-cyan: #57CAD6;
}

/* Fix for dropdown menu z-index */
.theme-header-1__dropdown .header-1-dropdown-menu {
    z-index: 9999 !important;
}


/* =====================================================
   HEADER STYLES
   ===================================================== */

.academy-header {
    background: white;
    box-shadow: 0 4px 20px rgba(2, 68, 88, 0.08);
    transition: all 0.3s ease;
}

.academy-header.scrolled {
    box-shadow: 0 8px 30px rgba(2, 68, 88, 0.15);
}

.academy-header__container {
    padding: 15px 0;
}

.academy-header__logo img {
    max-height: 60px;
    transition: transform 0.3s ease;
}

.academy-header__logo:hover img {
    transform: scale(1.05);
}

/* Navigation Links */
.academy-header__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
}

.academy-header__nav-link {
    color: var(--academy-dark-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    position: relative;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.academy-header__nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--academy-cyan) 0%, var(--academy-light-cyan) 100%);
    transition: width 0.3s ease;
}

.academy-header__nav-link:hover {
    color: var(--academy-cyan);
}

.academy-header__nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.academy-header__mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.academy-header__mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--academy-dark-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.academy-header__mobile-toggle:hover span {
    background: var(--academy-cyan);
}

/* =====================================================
   FOOTER STYLES
   ===================================================== */

.academy-footer {
    background: linear-gradient(180deg, var(--academy-dark-blue) 0%, var(--academy-teal) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.academy-footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(87, 202, 214, 0.15) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.academy-footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(242, 177, 32, 0.1) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite reverse;
}

/* Footer Top Section */
.academy-footer__top {
    position: relative;
    z-index: 2;
    padding-bottom: 60px;
}

.academy-footer__logo img {
    max-height: 70px;
    filter: brightness(0) invert(1);
}

.academy-footer__description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.8;
    margin-top: 20px;
    max-width: 400px;
}

/* Footer Links */
.academy-footer__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--academy-gold);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.academy-footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--academy-gold);
}

.academy-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.academy-footer__links li {
    margin-bottom: 12px;
}

.academy-footer__link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.academy-footer__link::before {
    content: '←';
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.academy-footer__link:hover {
    color: var(--academy-light-cyan);
    transform: translateX(-5px);
}

.academy-footer__link:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Contact Info */
.academy-footer__contact-item {
    display: flex;
    align-items: start;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
}

.academy-footer__contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(87, 202, 214, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.academy-footer__contact-item:hover .academy-footer__contact-icon {
    background: var(--academy-gold);
    transform: scale(1.1);
}

.academy-footer__contact-icon i,
.academy-footer__contact-icon svg {
    font-size: 22px;
    color: white;
}

/* Social Media */
.academy-footer__social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.academy-footer__social-link {
    width: 45px;
    height: 45px;
    background: rgba(87, 202, 214, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
}

.academy-footer__social-link:hover {
    background: var(--academy-gold);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 8px 20px rgba(242, 177, 32, 0.4);
}

/* Footer Bottom */
.academy-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.academy-footer__copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-align: center;
}

.academy-footer__copyright a {
    color: var(--academy-gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.academy-footer__copyright a:hover {
    color: var(--academy-light-cyan);
}

/* Newsletter Section */
.academy-footer__newsletter {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 50px;
}

.academy-footer__newsletter-title {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.academy-footer__newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.academy-footer__newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 15px;
    transition: all 0.3s ease;
}

.academy-footer__newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.academy-footer__newsletter-input:focus {
    outline: none;
    border-color: var(--academy-gold);
    background: rgba(255, 255, 255, 0.15);
}

.academy-footer__newsletter-btn {
    padding: 15px 35px;
    background: var(--academy-gold);
    color: var(--academy-dark-blue);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(242, 177, 32, 0.3);
}

.academy-footer__newsletter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(242, 177, 32, 0.5);
    background: #FFC850;
}

/* Responsive Design */
@media (max-width: 992px) {
    .academy-header__nav {
        display: none;
    }

    .academy-header__mobile-toggle {
        display: flex;
    }

    .academy-footer__title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .academy-footer__newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .academy-header__user-name {
        display: none;
    }

    .academy-footer {
        padding-top: 50px;
    }

    .academy-footer__top {
        text-align: center;
    }

    .academy-footer__description {
        max-width: 100%;
    }

    .academy-footer__social {
        justify-content: center;
    }
}

