/* Header & Footer Styles */
:root {
    --header-bg: #0d2137;
    --header-border: rgba(100, 255, 218, 0.1);
    --footer-bg: #0a1929;
    --footer-text: #8892b0;
    --footer-link: #64ffda;
}

/* Header Styles */
.navbar-container {
    background: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
    position: relative;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.top-navbar {
    background: transparent !important;
    padding: 15px 0;
    border-bottom: 1px solid var(--header-border);
}

.top-navbar .date-weather {
    color: var(--footer-text);
}

.top-navbar .date-weather strong {
    color: #e6f1ff;
    font-weight: 600;
}

.top-navbar .date-weather p {
    color: var(--footer-text);
    margin: 0;
    font-size: 0.9rem;
}

.top-navbar .icon {
    color: var(--footer-link);
}

.navbar {
    background: transparent !important;
    padding: 15px 0;
}

.navbar .nav-link {
    color: #e6f1ff !important;
    font-weight: 500;
    padding: 8px 16px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--footer-link);
    transition: width 0.3s ease;
}

.navbar .nav-link:hover::after {
    width: 100%;
}

.navbar .nav-link:hover {
    color: var(--footer-link) !important;
}

.navbar .hot {
    background: var(--footer-link);
    color: var(--header-bg);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
}

.navbar-toggler {
    border-color: var(--header-border);
    padding: 8px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(230, 241, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Footer Styles */
.footer-style7 {
    background: var(--footer-bg) !important;
    position: relative;
    overflow: hidden;
}

.footer-style7::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(26, 54, 93, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(26, 54, 93, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.footer-style7 .foot-info h5 {
    color: #e6f1ff;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-style7 .foot-info .text {
    color: var(--footer-text);
    font-size: 1rem;
    line-height: 1.6;
}

.footer-style7 .foot {
    border-top: 1px solid var(--header-border);
}

.footer-style7 .foot .text {
    color: var(--footer-text);
}

.footer-style7 .foot strong {
    color: #e6f1ff;
}

.footer-style7 .foot-social a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(100, 255, 218, 0.1);
    color: var(--footer-link);
    margin: 0 5px;
    transition: all 0.3s ease;
}

.footer-style7 .foot-social a:hover {
    background: var(--footer-link);
    color: var(--footer-bg);
    transform: translateY(-3px);
}

.to_top {
    background: var(--footer-link);
    color: var(--footer-bg);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.to_top:hover {
    background: #e6f1ff;
    color: var(--footer-bg);
}

.to_top.show {
    opacity: 1;
    visibility: visible;
}

/* Loading Page */
.loading-page {
    background: var(--header-bg);
}

.preloader__ring {
    border-color: var(--footer-link);
}

.preloader__sector {
    color: #e6f1ff;
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--header-bg);
        padding: 20px;
        border-radius: 8px;
        margin-top: 10px;
        border: 1px solid var(--header-border);
    }

    .navbar .nav-link {
        padding: 12px 16px;
    }

    .footer-style7 .foot-info h5 {
        font-size: 1.3rem;
    }
}

@media (max-width: 767px) {
    .footer-style7 .foot {
        text-align: center;
    }

    .footer-style7 .foot-social {
        margin-top: 20px;
    }
}