/* Enhanced Header and Footer Styling */

/* ===== HEADER ENHANCEMENTS ===== */

/* Top Header Bar Improvements */
.tg-header__top {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
    padding: 12px 25px !important;
    box-shadow: 0 2px 8px rgba(30, 60, 114, 0.15);
    position: relative;
    overflow: hidden;
}

.tg-header__top::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.tg-header__top-info li {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tg-header__top-info li:hover {
    color: #fff !important;
    transform: translateY(-1px);
}

.tg-header__top-info li i {
    color: #ff6b35 !important;
    font-size: 16px !important;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.tg-header__top-info li:hover i {
    color: #fff !important;
    transform: scale(1.1);
}

.tg-header__top-info li a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tg-header__top-info li a:hover {
    color: #fff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Social Media Icons Enhancement */
.tg-header__top-social > span {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    font-size: 14px;
}

.tg-header__top-social .list-wrap li a {
    width: 35px;
    height: 35px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: white !important;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.tg-header__top-social .list-wrap li a:hover {
    background: #ff6b35 !important;
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.tg-header__top-social .list-wrap li a i {
    font-size: 16px !important;
    transition: all 0.3s ease;
}

/* Main Header Area */
.tg-header__area {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    border-bottom: 1px solid rgba(30, 60, 114, 0.1);
    transition: all 0.3s ease;
}

.tg-header__area.sticky {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Logo Enhancement */
.logo {
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    filter: drop-shadow(0 2px 8px rgba(30, 60, 114, 0.2));
    transition: all 0.3s ease;
}

.logo:hover img {
    filter: drop-shadow(0 4px 12px rgba(30, 60, 114, 0.3));
}

/* Navigation Menu Enhancements */
.navigation > li > a {
    font-weight: 600 !important;
    font-size: 16px !important;
    color: #2c3e50 !important;
    padding: 15px 20px !important;
    position: relative;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.navigation > li > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #1e3c72, #ff6b35);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.navigation > li > a:hover::before,
.navigation > li > a.active::before {
    width: 80%;
}

.navigation > li > a:hover,
.navigation > li > a.active {
    color: #1e3c72 !important;
    transform: translateY(-2px);
}

/* Submenu Styling */
.sub-menu {
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(30, 60, 114, 0.1) !important;
    padding: 15px 0 !important;
    margin-top: 10px !important;
    backdrop-filter: blur(20px);
}

.sub-menu li a {
    padding: 12px 25px !important;
    color: #2c3e50 !important;
    font-weight: 500 !important;
    transition: all 0.3s ease;
    position: relative;
}

.sub-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.1), rgba(255, 107, 53, 0.1));
    transition: all 0.3s ease;
}

.sub-menu li a:hover::before {
    width: 100%;
}

.sub-menu li a:hover {
    color: #1e3c72 !important;
    transform: translateX(10px);
}

/* Header Action Buttons */
.header-btn .btn {
    background: linear-gradient(135deg, #1e3c72, #ff6b35) !important;
    color: #fff !important;
    padding: 12px 25px !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    border: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
    position: relative;
    overflow: hidden;
}

.header-btn .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.header-btn .btn:hover::before {
    left: 100%;
}

.header-btn .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
}

.header-btn .btn i {
    margin-right: 8px;
    transition: all 0.3s ease;
}

.header-btn .btn:hover i {
    transform: rotate(15deg);
}

/* Header Contact Info */
.header-contact {
    background: rgba(30, 60, 114, 0.05) !important;
    padding: 15px 20px !important;
    border-radius: 10px !important;
    border-left: 4px solid #ff6b35 !important;
    transition: all 0.3s ease;
}

.header-contact:hover {
    background: rgba(30, 60, 114, 0.1) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.15);
}

.header-contact .icon i {
    color: #ff6b35 !important;
    font-size: 20px !important;
    transition: all 0.3s ease;
}

.header-contact:hover .icon i {
    transform: scale(1.1) rotate(10deg);
}

.header-contact .content span {
    color: #666 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-contact .content a {
    color: #1e3c72 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    transition: all 0.3s ease;
}

.header-contact .content a:hover {
    color: #ff6b35 !important;
}

/* ===== FOOTER ENHANCEMENTS ===== */

/* CTA Section */
.cta__wrap {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #ff6b35 100%) !important;
    padding: 40px 30px !important;
    border-radius: 15px !important;
    margin-bottom: 60px !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(30, 60, 114, 0.3);
}

.cta__wrap::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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.cta__content h3 {
    color: #fff !important;
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 0 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.cta__btn .btn-two {
    background: #fff !important;
    color: #1e3c72 !important;
    padding: 15px 30px !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
    border: 2px solid transparent;
}

.cta__btn .btn-two:hover {
    background: transparent !important;
    color: #fff !important;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.4);
}

/* Footer Main Area */
.footer__area {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
    position: relative;
    overflow: hidden;
}

.footer__area::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 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.6;
}

.footer__top {
    padding: 80px 0 50px !important;
    position: relative;
    z-index: 2;
}

/* Footer Logo */
.footer__logo {
    margin-bottom: 25px !important;
    transition: all 0.3s ease;
}

.footer__logo:hover {
    transform: scale(1.05);
}

.footer__logo img {
    filter: brightness(1.2) drop-shadow(0 2px 10px rgba(255, 255, 255, 0.2));
    transition: all 0.3s ease;
}

/* Footer Content */
.footer__content p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    margin-bottom: 25px !important;
    line-height: 1.6;
}

/* Footer Widget Titles */
.footer__widget-title {
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-bottom: 25px !important;
    position: relative;
    padding-bottom: 15px !important;
}

.footer__widget-title::before {
    background: linear-gradient(135deg, #ff6b35, #1e3c72) !important;
    height: 3px !important;
    width: 50px !important;
    border-radius: 2px !important;
}

/* Footer Links */
.footer__link .list-wrap li a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    padding: 8px 0 !important;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer__link .list-wrap li a::before {
    background: #ff6b35 !important;
    height: 2px !important;
}

.footer__link .list-wrap li a:hover {
    color: #fff !important;
    transform: translateX(10px);
}

/* Footer Info */
.footer__info-wrap .list-wrap li {
    background: rgba(255, 255, 255, 0.05) !important;
    padding: 15px !important;
    border-radius: 10px !important;
    margin-bottom: 15px !important;
    transition: all 0.3s ease;
    border-left: 4px solid #ff6b35;
}

.footer__info-wrap .list-wrap li:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateX(5px);
}

.footer__info-wrap .list-wrap li i {
    color: #ff6b35 !important;
    font-size: 20px !important;
    margin-right: 15px !important;
    transition: all 0.3s ease;
}

.footer__info-wrap .list-wrap li:hover i {
    transform: scale(1.2);
}

.footer__info-wrap .list-wrap li a,
.footer__info-wrap .list-wrap li p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    margin-bottom: 0 !important;
}

.footer__info-wrap .list-wrap li a:hover {
    color: #ff6b35 !important;
}

/* Footer Social Icons */
.footer__social .list-wrap li a {
    background: rgba(255, 255, 255, 0.1) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
}

.footer__social .list-wrap li a:hover {
    background: #ff6b35 !important;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.footer__social .list-wrap li a i {
    color: #fff !important;
    font-size: 18px !important;
    transition: all 0.3s ease;
}

.footer__social .list-wrap li a:hover i {
    transform: scale(1.2);
}

/* Footer Bottom */
.footer__bottom {
    background: rgba(0, 0, 0, 0.3) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 25px 0 !important;
    backdrop-filter: blur(10px);
}

.footer__bottom .copyright-text p {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    margin-bottom: 0 !important;
}

.footer__bottom .copyright-text p a {
    color: #ff6b35 !important;
    font-weight: 600 !important;
    transition: all 0.3s ease;
}

.footer__bottom .copyright-text p a:hover {
    color: #fff !important;
    text-shadow: 0 0 8px rgba(255, 107, 53, 0.5);
}

/* Responsive Enhancements */
@media (max-width: 991.98px) {
    .tg-header__top {
        padding: 10px 20px !important;
    }
    
    .cta__content h3 {
        font-size: 1.8rem !important;
        text-align: center;
        margin-bottom: 20px !important;
    }
    
    .cta__btn {
        text-align: center !important;
    }
    
    .footer__widget {
        margin-bottom: 40px !important;
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .navigation > li > a {
        padding: 12px 15px !important;
        font-size: 15px !important;
    }
    
    .header-btn .btn {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
    
    .header-contact {
        padding: 12px 15px !important;
    }
    
    .cta__wrap {
        padding: 30px 20px !important;
        margin-bottom: 40px !important;
    }
    
    .footer__top {
        padding: 60px 0 40px !important;
    }
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

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

.bounce-in {
    animation: bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
