@import url('https://fonts.googleapis.com/css2?family=Vazirmatn&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    direction: rtl;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
}

.navbar {
    background-color: rgba(0, 18, 51, 0.65);
    color: #fff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(5px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    color: #fff;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: #5a9bff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links .active::after {
    width: 100%;
}

.hero {
    height: 100vh;
    background: linear-gradient(135deg, #001233, #001233);
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero .overlay {
    background-image: url('../img/banner.png');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    position: absolute;
    inset: 0;
}

.hero-content {
    z-index: 1;
    animation: fadeIn 1.5s ease forwards;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.btn {
    background-color: #fff;
    color: #001233;
    padding: 0.7rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn:hover {
    background-color: #001233;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 18, 51, 0.5);
}


.features {
    padding: 5rem 0;
    background: linear-gradient(135deg, #001233, #001233);
}

.features-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: none;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 18, 51, 0.15);
}

.feature-icon {
    font-size: 3rem;
    color: #001233;
    margin-bottom: 1.5rem;
}

.stats {
    background: linear-gradient(135deg, #001233, #000d1f);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.stats-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
}

.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #001233, #001233);
    text-align: center;
}

.cta-container {
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
}

.cta-card {
    background: #fff;
    border-radius: 15px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin: 0 auto;
    width: 90%;
}

.cta h2 {
    color: #001233;
    margin-bottom: 1.5rem;
}

.cta p {
    color: #555;
    margin-bottom: 2rem;
}


.floating {
    animation: float 3s ease-in-out infinite;
}

.btn-primary {
    background-color: #001233;
    color: #fff;
    padding: 0.8rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background-color: transparent;
    box-shadow: 0 0 15px rgba(0, 18, 51, 0.3);
}

.btn-floating {
    background-color: #001233;
    color: #fff;
    padding: 0.8rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.btn-floating:hover {
    background-color: transparent;
    color: #001233;
    box-shadow: 0 0 15px rgba(0, 18, 51, 0.3);
}

.hero-content {
    z-index: 1;
    animation: fadeIn 1.5s ease forwards;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer {
    background-color: rgba(0, 18, 51, 0.95);
    backdrop-filter: blur(5px);
    color: #aaa;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-secondary, .btn-primary {
        width: 100%;
        margin: 0;
    }

    .nav-links {
        gap: 1rem;
    }
}
