@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-blue: #234194;
    --secondary-blue: #1a2f66;
    --accent-cyan: #00d4ff;
    --text-light: rgba(255, 255, 255, 0.95);
    --text-muted: rgba(255, 255, 255, 0.75);
    --card-bg: rgba(255, 255, 255, 0.95);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

::-webkit-scrollbar {
    width: 8px; 
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2); 
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-blue), var(--accent-cyan)); 
    border-radius: 4px; 
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--secondary-blue), var(--accent-cyan)); 
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue) rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

html{
    height: 100%;
}

body{
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--text-light);
    position: relative;
    background: #0a0a0a;
}


body {
    background-image: url("/static/img/planet-earth-background.8be5f05168ef.jpg");
    background-size: cover; 
    background-repeat: no-repeat;
    background-attachment: fixed; 
    background-position: center center;
}


@keyframes twinkle {
    0% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.8; transform: scale(1); }
}

ul{
    list-style: none;
    padding: 0;
}

a{
    text-decoration: none;
    padding: 0;
    color: var(--text-light);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-cyan);
}

h1{
    font-size: 42px;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

h2{
    font-size: 36px;
    font-weight: 600;
    color: var(--text-light);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

h3{
    font-size: 30px;
    font-weight: 600;
    color: var(--text-light);
}

h5{
    font-size: 18px;
    margin: 0;
    font-weight: 600;
    color: var(--text-light);
}

.container{
    flex: 1;
    position: relative;
    z-index: 1;
}

.container-fluid{
    font-weight: 500;
}

.like-ico, .cart-ico, .chart-ico{
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.like-ico:hover, .cart-ico:hover, .chart-ico:hover {
    transform: scale(1.1);
    color: var(--accent-cyan);
}

.dropdown-toggle::after, .dropdown-toggle::before{
    display: none;
}

.search-input {
    border-radius: 25px;
    width: 0;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
}

.search-input::placeholder {
    color: var(--text-muted);
}
  
.search-input.show {
    width: 250px; 
    opacity: 1;
    padding: 8px 16px;
}

.button-search{
    display: flex;
    border: 1px solid var(--glass-border);
    height: 40px;
    width: 40px;
    border-radius: 25px;
    color: var(--text-light);
    justify-content: center;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.button-search:hover{
    background: var(--primary-blue);
    border-color: var(--accent-cyan);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(35, 65, 148, 0.4);
}

.button-search:active{
    background: var(--secondary-blue) !important;
    border-color: var(--accent-cyan) !important;
    transform: scale(0.95);
}

.topnavbar{
    background: rgba(35, 65, 148, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.footerreagent{
    margin-top: 100px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
}

.badge-small {
    font-size: 11px;  
    padding: 4px 7px;  
    line-height: 1;  
    min-width: 20px;  
    height: 20px;  
    display: inline-flex;
    position: relative;
    top: -4px;
    align-items: center;  
    justify-content: center;  
    border-radius: 50%;  
    background: linear-gradient(45deg, #ff4757, #ff6b7a);
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.navbar a {
    color: var(--text-light) !important; 
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.navbar a:hover {
    color: var(--accent-cyan) !important; 
    transform: translateY(-1px);
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar a:hover::after {
    width: 80%;
}

.button-subcribe{
    border: none;
    background: linear-gradient(45deg, var(--primary-blue), var(--accent-cyan)) !important;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(35, 65, 148, 0.4);
}

.button-subcribe:hover{
    background: linear-gradient(45deg, var(--secondary-blue), #00b8e6) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(35, 65, 148, 0.6);
}

.button-subcribe:active{
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(35, 65, 148, 0.4);
}

.logo-brand img{
    height: 40px; 
    filter: brightness(1.1) contrast(1.1);
    transition: all 0.3s ease;
    filter: grayscale(1) brightness(1000%);
}

.logo-brand:hover img {
    filter: brightness(1.3) contrast(1.2);
    transform: scale(1.05);
    filter: grayscale(1) brightness(1000%);
}

.dropdown-submenu {
    position: relative;
}
  
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    background: rgba(35, 65, 148, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.dropdown-menu {
    background: rgba(35, 65, 148, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
    color: var(--text-light) !important;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(0, 212, 255, 0.2) !important;
    color: var(--accent-cyan) !important;
}

#navbarDropdown:active{
    color: var(--accent-cyan) !important; 
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show{
    color: var(--accent-cyan) !important; 
}

.nav-mobile{
    display: none;
}

.dropdown-submenu .dropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: -1px;
    z-index: 1050;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

@media (max-width: 768px) {
    body::after {
        background-size: 200px 150px;
    }

    .navbar-nav{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        width: 100%;
        background: rgba(35, 65, 148, 0.95);
        backdrop-filter: blur(15px);
        border-radius: 10px;
        padding: 15px;
        margin: 10px 0;
    }

    .nav-item{
        width: 100%;
        text-align: left;
    }

    .nav-mobile {
        display: inline-block !important;
        font-weight: 600;
        padding: 12px 0px;
        border-bottom: 1px solid var(--glass-border);
    }

    .search-input.show {
        width: 200px;
    }

    h1 { font-size: 32px; }
    h2 { font-size: 28px; }
    h3 { font-size: 24px; }
}


.footerreagent {
    background: rgba(35, 65, 148, 0.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 40px 0 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    color: var(--text-light);
    font-weight: 500;
}

.footer-subscribe-form {
    max-width: 600px;
    margin: 0 auto 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-subscribe-form input[type="email"] {
    width: 100%;
    padding: 10px 16px;
    border-radius: 25px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-light);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.footer-subscribe-form input[type="email"]::placeholder {
    color: var(--text-muted);
}

.footer-subscribe-form input[type="email"]:focus {
    border-color: var(--accent-cyan);
    outline: none;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.footer-text {
    font-size: 18px;
    margin-bottom: 0;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid var(--glass-border);
    font-size: 14px;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-light);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--accent-cyan);
}
