﻿/* جلوگیری از بیرون زدن المان از صفحه در حالت موبایل */

html, body {
    overflow-x: hidden !important;
    width: 100% !important;
}

img, iframe, video {
    max-width: 100%;
    height: auto;
}

.container, .row, section, article {
    margin: 0 auto;
    max-width: 100%;
    box-sizing: border-box;
}
/*-------------------------------------*/

/* فونت فارسی مدرن */
body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #1e3a8a;
    line-height: 1.8;
    color: #ff3b3b;
    margin: 0;
    padding: 0;
    padding-top: 25%;
    background: url('/Images/HealthDetails/Lis/Peyvand/Modules/NewBornScreening/NewBornBack.jpg') no-repeat center center fixed;
    background-size: cover;
    opacity: 0.9;
}

header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0,0,0,0.5)), url('/images/screening-hero.jpg') no-repeat center center fixed;
    background-color :  rgba(72, 111, 163, 0.8);
    border-radius: 0 0 30px 30px;
}

    header h1 {
        font-weight: 700;
        font-size: 2.5rem;
        color: #fff;
    }

    header p {
        font-size: 1.1rem;
        color: #e2e8f0;
    }

    header .btn-primary {
        background-color: #ff6b6b;
        border: none;
        padding: 12px 30px;
        border-radius: 30px;
        font-weight: bold;
        transition: all 0.3s ease-in-out;
    }

        header .btn-primary:hover {
            background-color: #ff3b3b;
            transform: scale(1.05);
        }

/* Cards */
.card {
    border-radius: 20px;
    transition: all 0.3s ease-in-out;
}

    .card:hover {
        transform: translateY(-8px);
        box-shadow: 0px 10px 25px rgba(0,0,0,0.1);
    }

.card-title {
    color: #0d6efd;
    font-weight: 600;
}

/* Call to Action */
section.bg-primary {
    background: linear-gradient(135deg, #2563eb, #1e3a8a);
    border-radius: 20px;
}

    section.bg-primary h2 {
        font-size: 1.8rem;
        font-weight: 700;
    }

    section.bg-primary .btn-light {
        padding: 12px 30px;
        border-radius: 30px;
        font-weight: bold;
        transition: all 0.3s ease-in-out;
    }

        section.bg-primary .btn-light:hover {
            background-color: #f9fafb;
            color: #1e3a8a;
            transform: scale(1.05);
        }

/* Responsive Fix */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
    }

    .card {
        margin-bottom: 20px;
    }
}
