/* ========================================
   DYNAMIC BANNERS SYSTEM
   ======================================== */
.dynamic-banner {
    position: relative;
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 8px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
}

.dynamic-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.dynamic-banner.hide {
    transform: translateY(-100%);
    opacity: 0;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
}

.banner-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.banner-text {
    flex: 1;
    min-width: 200px;
}

.banner-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.banner-message {
    font-size: 14px;
    opacity: 0.9;
}

.banner-cta {
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.banner-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

.banner-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.banner-close i {
    font-size: 16px;
    color: white;
    transition: all 0.3s ease;
}

.banner-close:hover i {
    color: #ff6b6b;
}

/* Banner Types */
.banner-info {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.95), rgba(0, 86, 179, 0.95));
}

.banner-info .banner-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.banner-info .banner-cta {
    background: white;
    color: #007bff;
}

.banner-info .banner-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.banner-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(5, 150, 105, 0.95));
}

.banner-success .banner-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.banner-success .banner-cta {
    background: white;
    color: #10b981;
}

.banner-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(217, 119, 6, 0.95));
}

.banner-warning .banner-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.banner-warning .banner-cta {
    background: white;
    color: #f59e0b;
}

.banner-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(220, 38, 38, 0.95));
}

.banner-error .banner-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.banner-error .banner-cta {
    background: white;
    color: #ef4444;
}

.banner-announcement {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(109, 40, 217, 0.95));
}

.banner-announcement .banner-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.banner-announcement .banner-cta {
    background: white;
    color: #8b5cf6;
}

.banner-confetti {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.95), rgba(255, 184, 0, 0.95));
    color: #000;
}

.banner-confetti .banner-icon {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
}

.banner-confetti .banner-cta {
    background: #000;
    color: #ffd700;
}

/* Banner Styles */
.banner-style-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.banner-style-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-style-modern {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

/* ========================================
   SMART POPUP SYSTEM
   ======================================== */
.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.popup-overlay.show {
    background: rgba(0, 0, 0, 0.7);
    opacity: 1;
    pointer-events: auto;
}

.popup-container {
    --popup-bg: linear-gradient(135deg, rgba(10, 14, 39, 0.98), rgba(30, 27, 75, 0.98));
    --popup-text: #ffffff;
    --popup-btn: var(--primary);
    
    background: var(--popup-bg);
    color: var(--popup-text);
    border-radius: 24px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.popup-overlay.show .popup-container {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--popup-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.popup-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.popup-content {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    opacity: 0.9;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.popup-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.popup-form-field label {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
}

.popup-form-field input,
.popup-form-field textarea {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--popup-text);
    font-size: 16px;
    transition: all 0.3s ease;
}

.popup-form-field input:focus,
.popup-form-field textarea:focus {
    outline: none;
    border-color: var(--popup-btn);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.popup-submit,
.popup-cta {
    padding: 14px 32px;
    border-radius: 12px;
    border: none;
    background: var(--popup-btn);
    color: #000;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popup-submit:hover,
.popup-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4);
}

.popup-success {
    text-align: center;
    padding: 32px;
    animation: successPop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.popup-success i {
    font-size: 64px;
    color: var(--success);
    margin-bottom: 16px;
}

.popup-success p {
    font-size: 18px;
    font-weight: 600;
}

/* Popup Design Styles */
.popup-slide_in .popup-container {
    transform: translateX(100%);
}

.popup-slide_in.show .popup-container {
    transform: translateX(0);
}

.popup-corner_toast {
    align-items: flex-end;
    justify-content: flex-end;
    padding: 24px;
}

.popup-corner_toast .popup-container {
    max-width: 400px;
    padding: 24px;
}

.popup-fullscreen .popup-container {
    max-width: 100%;
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.popup-floating .popup-container {
    border-radius: 32px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
}

/* Animations */
@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.popup-anim-fadeIn .popup-container {
    animation: fadeIn 0.3s ease;
}

.popup-anim-fadeOut .popup-container {
    animation: fadeOut 0.3s ease;
}

.popup-anim-slideUp .popup-container {
    animation: slideUp 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.popup-anim-slideDown .popup-container {
    animation: slideDown 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.popup-anim-zoomIn .popup-container {
    animation: zoomIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.popup-anim-zoomOut .popup-container {
    animation: zoomOut 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes zoomOut {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(0); opacity: 0; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-content {
        padding: 0%;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 3px;
        width: 100%;
        text-align: left;
        min-height: 28px;
        flex-wrap: wrap-reverse;
    }

    .banner-title {
        font-size: 11px;
        text-align: left;
        margin-bottom: 0;
        line-height: 1.0;
        font-weight: 600;
    }

    .banner-message {
        font-size: 9px;
        text-align: left;
        line-height: 1.0;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        opacity: 0.8;
    }

    .banner-close {
        position: absolute;
        top: 1px;
        right: 1px;
        width: 16px;
        height: 16px;
        margin: 0;
        flex-shrink: 0;
        background: rgba(255, 255, 255, 0.25);
        border-radius: 50%;
    }

    .banner-close:hover {
        background: rgba(255, 255, 255, 0.35);
        transform: none;
    }

    .banner-close i {
        font-size: 8px;
    }

    .banner-icon {
        width: 18px;
        height: 18px;
        font-size: 9px;
        margin-bottom: 0;
        flex-shrink: 0;
        border-radius: 50%;
    }

    .banner-cta {
        padding: 2px 5px;
        font-size: 9px;
        width: auto;
        min-width: 40px;
        text-align: center;
        margin-top: 0;
        margin-left: auto;
        flex-shrink: 0;
        border-radius: 2px;
        font-weight: 600;
    }

    .banner-text {
        flex: 1;
        text-align: left;
        padding: 0;
        min-width: fit-content;
    }

    .dynamic-banner {
        position: relative;
        padding: 1px 20px 1px 1px;
        margin-bottom: 1px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        min-height: 28px;
        border-radius: 4px;
    }

    .popup-container {
        padding: 24px;
        width: 95%;
    }

    .popup-title {
        font-size: 24px;
    }
    
    .popup-content {
        font-size: 14px;
    }
}

/* Mobile Banner Container */
@media (max-width: 768px) {
    #dynamic-banners {
        top: 45px !important;
        padding: 0 1px !important;
        gap: 1px !important;
    }
}p.no-testimonials.center {
    text-align: center;
}

/* Footer Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-links a:hover {
    background: #ffd700;
    color: #000;
    transform: translateY(-2px);
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 20px;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.mobile-menu-toggle .hamburger-icon {
    display: flex;
    flex-direction: column;
    width: 20px;
    height: 16px;
    position: relative;
}

.mobile-menu-toggle .hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-toggle.active .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-container {
    background: linear-gradient(135deg, #0a0a1f 0%, #1a1a3e 100%);
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffd700;
    font-size: 18px;
    font-weight: 700;
}

.mobile-logo {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffd700;
}

.mobile-menu-nav {
    margin-bottom: 30px;
}

.mobile-menu-link {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 15px 20px;
    margin: 5px 0;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-size: 16px;
}

.mobile-menu-link:hover {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateX(5px);
}

.mobile-menu-link.active {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border-color: #ffd700;
}

.mobile-menu-link i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.mobile-menu-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.mobile-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.mobile-social-links a:hover {
    background: #ffd700;
    color: #000;
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        display: none;
    }
}

/* Active Navigation States */
.nav-link.active {
    color: #ffd700 !important;
    font-weight: 600;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 1px;
}