* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Tahoma, Arial, sans-serif;
    direction: rtl;
    background: #f5f7fb;
    color: #111827;
    line-height: 1.8;
    overflow-x: hidden;
}

.container {
    width: min(92%, 1200px);
    margin: 0 auto;
    padding-right: 18px;
    padding-left: 18px;
}

.topbar {
    background: #0b1020;
    color: white;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    flex-wrap: wrap;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.logo-text {
    font-size: 30px;
    font-weight: bold;
    color: white;
}

.nav-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-links a {
    color: #e5e7eb;
    font-size: 16px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: white;
}

.hero {
    background: linear-gradient(135deg, #6d28d9, #2563eb);
    color: white;
    padding: 80px 0 90px;
    text-align: center;
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
}

.hero-logo {
    width: 170px;
    max-width: 55%;
    border-radius: 24px;
    margin-bottom: 20px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.25);
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.16);
    color: white;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    margin-bottom: 20px;
}

.hero h1 {
    margin: 0 0 20px;
    font-size: 48px;
    line-height: 1.3;
}

.hero p {
    margin: 0 auto 30px;
    font-size: 20px;
    color: #eef2ff;
    max-width: 700px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: bold;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: white;
    color: #1d4ed8;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255,255,255,0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.14);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.stats {
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.stat-box {
    background: white;
    border-radius: 18px;
    padding: 26px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.section {
    padding: 90px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 40px;
}

.section-head h2 {
    font-size: 36px;
    margin: 0 0 10px;
}

.section-head p {
    color: #6b7280;
    margin: 0;
    font-size: 18px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    height: 100%;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-6px);
}

.icon {
    font-size: 34px;
    margin-bottom: 12px;
}

.card h3 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.4;
    word-break: break-word;
}

.card p {
    margin: 0;
    color: #6b7280;
    line-height: 1.9;
    word-break: break-word;
}

.about-preview-box {
    background: linear-gradient(135deg, #111827, #1f2937);
    color: white;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-text h2 {
    margin-top: 0;
    font-size: 34px;
}

.about-text p {
    color: #d1d5db;
    font-size: 18px;
    max-width: 760px;
}

.about-more {
    display: none;
    margin-top: 16px;
}

.about-more.show {
    display: block;
}

.contact-box {
    background: white;
    border-radius: 22px;
    padding: 35px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    display: grid;
    gap: 18px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 18px;
}

.contact-label {
    color: #6b7280;
    font-size: 15px;
}

.whatsapp-link {
    color: #16a34a;
    font-weight: bold;
    font-size: 22px;
}

.footer {
    background: #0b1020;
    color: white;
    padding: 24px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-logo {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 50%;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #d1d5db;
}

.floating-whatsapp {
    position: fixed;
    left: 22px;
    bottom: 22px;
    width: 64px;
    height: 64px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
    z-index: 2000;
    animation: whatsappPulse 1.8s infinite;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.08);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
}

.floating-whatsapp i {
    font-size: 34px;
    color: white;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 900px) {
    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 18px;
    }

    .stats-grid,
    .cards {
        grid-template-columns: 1fr;
    }

    .about-preview-box {
        padding: 30px;
    }
}

@media (max-width: 600px) {
    .container {
        width: 94%;
        padding-right: 14px;
        padding-left: 14px;
    }

    .nav {
        flex-direction: column;
        gap: 14px;
    }

    .logo-text {
        font-size: 26px;
    }

    .site-logo {
        width: 48px;
        height: 48px;
    }

    .hero {
        padding: 70px 0 65px;
    }

    .hero-logo {
        width: 130px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .section {
        padding: 65px 0;
    }

    .section-head h2 {
        font-size: 28px;
    }

    .card,
    .contact-box,
    .stat-box {
        padding: 22px;
    }

    .whatsapp-link {
        font-size: 19px;
    }

    .floating-whatsapp {
        width: 58px;
        height: 58px;
        left: 16px;
        bottom: 16px;
    }

    .floating-whatsapp i {
        font-size: 30px;
    }
}