/* ========================================
   WELCOME.CSS - Hail Homepage
   ======================================== */

.welcome-wrapper {
    font-family: "Dubai", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #000;
    line-height: 1.6;
    direction: rtl;
}

/* Hero Section */
.welcome-hero {
    background: linear-gradient(
        135deg,
        var(--main-color) 0%,
        var(--main-color-alt) 100%
    );
    padding: 100px 20px;
    text-align: center;
    color: var(--white);
    border-radius: 0 0 40px 40px;
    margin-bottom: var(--section-spacing);
    position: relative;
    overflow: hidden;
}

.welcome-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 30% 50%,
        rgba(255, 255, 255, 0.1),
        transparent 70%
    );
    z-index: 0;
}

.welcome-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.welcome-hero img {
    width: 150px;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
    transition: var(--main-transition);
}

.welcome-hero img:hover {
    transform: scale(1.05);
}

.welcome-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.welcome-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* About Section */
.about-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--white);
    margin-bottom: 20px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    color: var(--color-para);
    line-height: 2;
}

.about-content p {
    margin-bottom: 20px;
}

/* Features Section */
.features-section {
    padding: var(--main-padding-top) 0 var(--main-padding-bottom);
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: var(--shadow-2);
    border: 1px solid var(--border-color);
    transition: var(--main-transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-4);
}

.feature-icon {
    font-size: 48px;
    color: var(--main-color);
    margin-bottom: 25px;
    transition: var(--main-transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.2);
}

.feature-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 16px;
    color: var(--color-para);
    line-height: 1.8;
}

/* Download Section */
.download-section {
    background-color: var(--light-bg);
    padding: 80px 20px;
    border-radius: 40px;
    margin: 60px 0;
}

.download-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.download-text {
    flex: 1;
    min-width: 300px;
}

.download-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}

.download-text p {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.store-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.store-btn {
    background: #000;
    color: var(--white);
    padding: 15px 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--main-transition);
    font-size: 16px;
}

.store-btn:hover {
    background: #333;
    transform: translateY(-3px);
}

.store-btn i {
    font-size: 24px;
}

.download-image {
    flex: 1;
    text-align: center;
    min-width: 300px;
    position: relative;
}

.download-image img {
    width: 300px;
    max-width: 100%;
    opacity: 0.2;
    filter: grayscale(100%);
}

/* Responsive */
@media (max-width: 992px) {
    .welcome-hero h1 {
        font-size: 2.5rem;
    }

    .download-content {
        flex-direction: column;
        text-align: center;
    }

    .store-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .welcome-hero {
        padding: 80px 20px;
    }

    .welcome-hero h1 {
        font-size: 2rem;
    }

    .welcome-hero p {
        font-size: 1.1rem;
    }

    .download-section {
        padding: 60px 20px;
    }

    .download-text h2 {
        font-size: 1.8rem;
    }

    .download-image img {
        width: 250px;
    }
}

@media (max-width: 576px) {
    .welcome-hero img {
        width: 120px;
    }

    .store-buttons {
        flex-direction: column;
    }

    .store-btn {
        width: 100%;
        justify-content: center;
    }
}
