﻿body {
    margin: 0;
    min-height: 100vh;
    direction: rtl;
    color: #fff;
    overflow-x: hidden;
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.top-nav {
    background: rgba(7, 22, 34, .85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(60, 210, 165, .20);
    box-shadow: 0 8px 30px rgba(0,0,0,.3);
    z-index: 1050;
    padding: 6px 0;
}

.brand-text {
    color: #3cd2a5 !important;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 1.35rem;
    text-decoration: none;
}

.nav-link-custom {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 6px 15px !important;
    border-radius: 6px;
    text-decoration: none;
    display: block;
}

.nav-link-custom:hover {
    color: #3cd2a5 !important;
    background: rgba(60, 210, 165, 0.1);
}

.custom-toggler {
    border: 1px solid rgba(60, 210, 165, 0.4);
    padding: 5px 9px;
    border-radius: 6px;
    background: rgba(60, 210, 165, 0.05);
    transition: 0.3s;
}

.custom-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(60, 210, 165, 0.25);
}

.custom-toggler .navbar-toggler-icon {
    filter: invert(74%) sepia(51%) saturate(464%) hue-rotate(113deg) brightness(94%) contrast(87%);
    width: 1.25rem;
    height: 1.25rem;
}

.glass-navbar-collapse {
    background: transparent;
    transition: all 0.4s ease-in-out;
}

.hero-section {
    margin-top: 58px;
    min-height: calc(100vh - 58px);
    display: flex;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 80px;
}

.btn-outline-theme {
    border: 2px solid #3cd2a5;
    color: #3cd2a5;
    transition: .2s;
    background: rgba(60, 210, 165, 0.05);
    font-weight: 600;
}

.btn-outline-theme:hover {
    background: #3cd2a5;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(60, 210, 165, 0.3);
}

.partner-logos-container {
    margin-top: 80px;
    width: 100%;
}

.unified-title {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 45px;
}

.unified-title::before, .unified-title::after {
    content: '';
    height: 1px;
    width: 60px;
    background: rgba(60, 210, 165, 0.3);
}

.partner-logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.logo-wrapper-glass {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px 35px;
    border-radius: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    min-width: 180px;
    height: 130px;
}

.logo-wrapper-glass:hover {
    background: rgba(60, 210, 165, 0.08);
    border-color: rgba(60, 210, 165, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(60, 210, 165, 0.25);
}

.partner-logo-img {
    height: 60px;
    width: auto;
    opacity: 0.85;
    filter: brightness(0) invert(1);
    transition: .3s;
    object-fit: contain;
}

.logo-circular {
    height: 90px;
}

.logo-wrapper-glass:hover .partner-logo-img {
    opacity: 1;
    filter: none;
}

.glass-card {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
    transition: .3s ease-in-out;
}

.glass-card:hover {
    transform: translateY(-6px);
    border-color: #3cd2a5;
    background: rgba(60, 210, 165, .06);
    box-shadow: 0 15px 45px rgba(60, 210, 165, 0.18);
}

.glass-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 12px;
    padding: 14px;
    transition: 0.3s;
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: #3cd2a5;
    box-shadow: 0 0 0 0.25rem rgba(60, 210, 165, 0.25);
    color: #fff;
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.text-theme {
    color: #3cd2a5 !important;
}

section {
    padding: 90px 0 !important;
}

.site-footer {
    border-top: 1px solid rgba(60, 210, 165, .2);
    background: rgba(7, 22, 34, .7);
    padding: 20px 0;
    margin-top: auto;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.support-link {
    color: #3cd2a5;
    text-decoration: none;
    border-bottom: 1px dashed #3cd2a5;
    font-size: .95rem;
    transition: .2s;
}

.support-link:hover {
    color: #fff;
    border-bottom-style: solid;
}

@media (max-width: 767.98px) {
    .top-nav {
        padding: 8px 0;
    }

    .glass-navbar-collapse {
        background: rgba(7, 22, 34, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 14px;
        margin-top: 10px;
        padding: 10px;
        border: 1px solid rgba(60, 210, 165, 0.15);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    .hero-section {
        margin-top: 53px;
        min-height: calc(100vh - 53px);
        padding-top: 30px;
        padding-bottom: 60px;
    }

    .display-3 {
        font-size: 2.4rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    .nav-link-custom {
        border-bottom: 1px solid rgba(255,255,255,0.04);
        border-radius: 8px;
        padding: 12px 20px !important;
        text-align: right !important;
    }

    .nav-link-custom:last-child {
        border-bottom: none;
    }

    .partner-logos-container {
        margin-top: 60px;
    }

    .partner-logos-grid {
        gap: 16px;
    }

    .logo-wrapper-glass {
        padding: 20px;
        border-radius: 18px;
        min-width: 145px;
        height: 110px;
    }

    .partner-logo-img {
        height: 45px;
    }

    .logo-circular {
        height: 70px;
    }

    section {
        padding: 60px 0 !important;
    }

    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .fs-custom-mobile {
        font-size: 0.73rem !important;
    }
}

@media (max-width: 575.98px) {
    .display-3 {
        font-size: 2rem;
    }

    .logo-wrapper-glass {
        min-width: calc(50% - 10px);
        height: 105px;
    }

    .partner-logo-img {
        height: 40px;
    }

    .logo-circular {
        height: 65px;
    }
}