﻿/* جلوگیری از بیرون زدن المان از صفحه در حالت موبایل */

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 {
    margin: 0;
    padding: 0;
    background: url('/Images/WebDesignService/website-Design6.jpg') no-repeat center center fixed;
    background-size: cover;
    padding-top: 10%;
    opacity: 0.9;
}

.bg-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/Images/WebDesignService/website-Design6.jpg') no-repeat center center fixed;
    background-size: cover;
    background-position: center;
    filter: blur(1px);
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    color: white;
    background-color: olive;
    text-align: center;
    padding-top: 30vh;
}


/* گرید کارت‌ها */
.cards-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(1, minmax(0,1fr));
}

@media(min-width:700px) {
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media(min-width:1100px) {
    .cards-grid {
        grid-template-columns: repeat(4, minmax(0,1fr));
    }
}

strong {
    /*font-style: italic !important;*/
    color: beige !important;
}


.hero {
/*    background: url('/images/tech-bg.jpg') center/fixed no-repeat;
*/    height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    background-color: rgba(0,0,0,0.6);
    padding: 40px;
    text-align: center;
    color: white;
    border-radius: 12px;
}
.section-back {
    background-color: rgba(79, 99, 38,0.7);
}
.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    display: inline-block;
}

.btn-primary {
    background-color: #0078D7;
    color: white;
}

.btn-secondary {
    background-color: #333;
    color: white;
}

.features {
    padding: 60px 20px;
    background-color: #fff;
}

    .features h2 {
        text-align: center;
        margin-bottom: 40px;
    }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background-color: rgba(122, 163, 38,0.8);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.cta {
    background-color: #0078D7;
    color: white;
    text-align: center;
    padding: 60px 20px;
}
