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

:root {
    --primary-color: rgb(255, 0, 82);
    --secondary-color: rgba(255, 28, 8, 0.8);
    --red-color: rgba(255, 0, 82, 0.8);

}

* {
    padding: 0;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    box-sizing: border-box;
    scroll-behavior: smooth;

}

body {
    overflow-x: hidden;
  background:white;
}

a {
    text-decoration: none
}

/* إعدادات عامة */
header {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background-color: #ffffffab;
    z-index: 1;
    box-shadow: 0 4px 10px -5px grey;
    backdrop-filter: blur(10px);
}

.befor-header {
    display: flex;
    justify-content: center;
    padding-bottom: 10px;
    background-color: rgb(245, 245, 245);
    height: 90px;
}

header .left {
    flex: 0.3;
}

header .left .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

header .left .logo i {
    font-size: 30px;
    color: var(--secondary-color);
}

header .left .logo .text {
    display: flex;
    flex-direction: column;
}

header .left .logo .text h2 {
    font-size: 20px;
    color: #392f2f;
}

header .left .logo .text h2 span {
    color: var(--secondary-color);
}

header .left .logo .text p {
    font-size: 12px;
    color: #333;
}

/* إعدادات القائمة */
header .right {
    flex: 0.5;
    position: relative;
}

header .right ul {
    list-style: none;
    font-size: 20px;
}

header .right ul.menu {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}

header li a {
    color: black;
}

header li::after {
    content: "";
    width: 100%;
    height: 2px;
    background: var(--secondary-color);
    display: block;
    transition: all 0.3s;
    transform: translateY(20px);
    opacity: 0;
}

header li:hover::after {
    transform: translateX(0px);
    opacity: 1;
}

header li:hover a {
    color: rgba(0, 0, 0, 0.481);
}

header .menu-icon {
    display: none;
    font-size: 30px;
    cursor: pointer;
    direction: rtl;
    color: var(--secondary-color);
}

.menu-icon span {
    height: 3px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

/* تأثير التحول إلى "X" */
.menu-icon.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-icon.active span:nth-child(2) {
    opacity: 0;
}

.menu-icon.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* إعدادات الأجهزة الصغيرة */
@media (max-width: 1023px) {
    header {
        justify-content: space-around;
    }

    header .left {
        flex: none;
    }

    header .menu-icon {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }


    header .right {
        flex: 0.7;
    }

    .menu-icon span {
        width: 8%;
    }

    header .right ul.menu {
        position: absolute;
        visibility: hidden;
        top: 50px;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
        box-shadow: 0 4px 10px -5px grey;

        /* Animation */
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    header .right ul.menu.active {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    header .right ul.menu li {
        text-align: center;
        padding: 10px 0;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    header .right ul.menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    header .empty {
        display: none;
    }
}

/* حركات للقائمة */
header .right ul.menu.active li:nth-child(1) {
    transition-delay: 0.1s;
}

header .right ul.menu.active li:nth-child(2) {
    transition-delay: 0.2s;
}

header .right ul.menu.active li:nth-child(3) {
    transition-delay: 0.3s;
}

header .right ul.menu.active li:nth-child(4) {
    transition-delay: 0.4s;
}

header .right ul.menu.active li:nth-child(5) {
    transition-delay: 0.5s;
}

header .right ul.menu.active li:nth-child(6) {
    transition-delay: 0.6s;
}

header .empty {
    flex: 0.2;
}

section {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 1s ease, transform 1s ease;
}

section.in-view {
    opacity: 1;
    transform: scale(1);
    /* transform: translateX(0); */
}


.notification {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}




/* @keyframes noti {
    0% {
        opacity: 0.7;
    }
    50%{
        opacity: 1;
    }
    70%{
        opacity: 0.1;
    }
    100% {
        opacity: 0;
    }
} */

.home {
    /* background-image: url(/img/bg1-m.jpg); */
    width: 100%;
    min-height: calc(100vh - 104px);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    overflow: hidden;
}

.home .img {
    position: relative;
    z-index: -1;
}

.home .img .slider {
    width: 100%;
    height: calc(100vh - 104px);
    transition: 1s;
    position: absolute;
    object-fit: cover;
}

.home .all {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: brightness(0.3);
    -webkit-backdrop-filter: brightness(0.2);
    height: calc(100vh - 104px);
    padding: 30px;

}

.home button {
    cursor: pointer;
}

.home .btn-left button {
    background: none;
    color: white;
    border: none;
}

.home .btn-right button {
    background: none;
    color: white;
    border: none;
}

.home .btn-left button i {
    font-size: 30px;
    transition: 0.5s;
    padding: 8px 10px;

}

.home .btn-left button i:hover {
    color: var(--red-color);
    transform: scale(1.3);
}

.home .btn-right button i {
    font-size: 30px;
    transition: 0.5s;
    padding: 8px 10px;
}

.home .btn-right button i:hover {
    color: var(--red-color);
    transform: scale(1.3);
}

.home .text {
    width: 100%;
    height: calc(100vh - 164px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    row-gap: 30px;
}

.home .text p {
    font-size: 20px;
    color: white;
    text-decoration: none;
}

.home .text h1 {
    font-size: 42px;
    font-weight: 100;
}

.home .text button {
    color: #d4d4d4;
    padding: 10px 30px;
    border: 1px solid #ffffff;
    background: rgb(255 255 255 / 10%);
    font-size: 15px;
    transition: 0.3s ease;
}

.home .text button:hover {
    background: rgb(255, 255, 255);
    color: black;

}

/************ services ***********/
.Services {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #fafafa;
    padding: 50px 0;
}

.Services h1 {
    font-size: 3em;
    margin: 10px 0;
    text-align: center;
    font-weight: 600;
    color: rgb(255, 0, 82);

}

.Services p {
    text-align: center;
}

.content-box {
    display: flex;
    flex-wrap: wrap;
    width: 1000px;
    margin-top: 30px;
}

.card {
    min-height: 220px;
    width: 320px;
    padding: 30px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #fff;
    margin: 10px 4px;
    box-shadow: 0px 0px 20px -8px rgba(0, 0, 0, 0.2);
    transition: .5s;
}

.card i {
    margin: 20px;
    color: #ff5724;
    font-size: 2.25em;
}

.card h2 {
    margin-bottom: 12px;
    font-weight: 400;
    text-align: center;
    font-size: 20px;

}

.card p {
    color: #6c757d;
    text-align: center
}

.card:hover {
    transform: scale(1.05);
}

.card:hover i,
.card:hover p,
.card:hover svg {
    color: #fff;
    fill: white;
}

.card svg {
    margin: 20px;
}

.card:hover h2 {
    font-weight: 600;
    color: #f2f2f2;
}

.card:hover {
    background: linear-gradient(45deg,
            rgba(255, 28, 8, 0.8) 0%,
            rgba(255, 0, 82, 0.8) 100%),
        url('img/bg11.jpg');
    background-size: cover;
}

/* 
        .card:nth-child(2):hover {
            background: linear-gradient(45deg,
            rgba(255, 28, 8, 0.8) 0%,
            rgba(255, 0, 82, 0.8) 100%),
            url('img/bg10.jpg');
    background-size: cover;
}

.card:nth-child(3):hover {
    background: linear-gradient(45deg,
            rgba(255, 28, 8, 0.8) 0%,
            rgba(255, 0, 82, 0.8) 100%),
        url('img/bg7.jpg');
    background-size: cover;
}

.card:nth-child(4):hover {
    background: linear-gradient(45deg,
            rgba(255, 28, 8, 0.8) 0%,
            rgba(255, 0, 82, 0.8) 100%),
        url('img/bg6.jpg');
    background-size: cover;
}

.card:nth-child(5):hover {
    background: linear-gradient(45deg,
            rgba(255, 28, 8, 0.8) 0%,
            rgba(255, 0, 82, 0.8) 100%),
        url('img/bg5.jpg');
    background-size: cover;
}

.card:nth-child(6):hover {
    background: linear-gradient(45deg,
            rgba(255, 28, 8, 0.8) 0%,
            rgba(255, 0, 82, 0.8) 100%),
        url('img/bg9.jpg');
    background-size: cover;
} */
/************ before & after *********/
.sliderab {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 60px 0;
    background: #fafafa;
}

.sliderab .text {
    text-align: center;
}

.sliderab h1 {
    font-size: 35px;
    color: var(--primary-color);
}

.sliderab .image-comparison {
    max-width: 700px;
    width: 90%;
    margin: 20px auto;
    border-radius: 20px;
    overflow: hidden;
}

.image-comparison img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
}

.image-comparison .images-container {
    position: relative;
    display: flex;
}

.image-comparison .images-container .before-image {
    position: absolute;
    top: 0;
    width: 50%;
}

.image-comparison .sliders {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.image-comparison .slider-line {
    position: absolute;
    height: 100%;
    width: 4px;
    background-color: white;
    left: 50%;
    transform: translateX(-50%);
}

/* .image-comparison .slider-icon{
    position: absolute;
    left: 50%;
    top: 50%;
    width: 60px;
    height: 60px;
    color: rgb(0, 0, 0);
    transform: translate(-50%,-50%);
} */


.sliders:focus-visible~.slider-icon {
    outline: 5px solid black;
    outline-offset: 3px;
}

.slider-icon {
    position: absolute;
    background-color: #fff;
    color: black;
    padding: .5rem;
    border-radius: 100vw;
    display: grid;
    place-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 100;
    box-shadow: 1px 1px 1px hsl(0, 50%, 2%, .5);
}





/********* gallery *********/
.portfolio {
    width: 100%;
    padding: 60px 8%;
}

.portfolio .section-head {
    max-width: 700px;
    margin: 0px auto 25px;
    text-align: center;
}

.portfolio .section-head h1 {
    position: relative;
    font-size: 1.5rem;
    margin: 10px 0px 30px;
    color: var(--primary-color);
}

.button-group {
    text-align: center;
    margin-bottom: 40px;
}

.button-group .button {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    background-color: #c8d1d8;
    color: var(--secondary-color);
    font-style: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.4s;
    border: none;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

.button-group .button.active {
    background-color: var(--secondary-color);
    color: white;
}

.button-group .button:hover {
    background-color: var(--secondary-color);
    color: white;
}

div.gallery {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

div.gallery .item {
    position: relative;
    margin: 4px;
    width: calc(33.33% - 8px);
    overflow: hidden;
    cursor: pointer;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.3s;
}

div.gallery .item:hover img {
    transform: scale(1.15);
}

.item .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(92, 5, 5, 0.7);
    color: var(--primary-color);
    padding: 15px;
    overflow: hidden;
    transition: opacity 0.2s ease-in-out;
    opacity: 0;
}

.item:hover .overlay {
    opacity: 1;
}

.item .overlay a {
    display: inline-block;
    padding: 8px 16px;
    border: 2px solid var(--secondary-color);
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.item .overlay a:hover {
    background-color: var(--secondary-color);
    color: white;
}


/************ certificate ***********/
.certificatess {
    direction: rtl;
    text-align: center;
    overflow-x: hidden;
    padding: 60px 0;
    height: auto;
}

.certificatess .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.certificatess h1 {
    color: #2c3e50;
    font-size: 2em;
    margin: 40px 0;
}

.certificates {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    width: 100%;
}

.certificate {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 28%;
    min-width: 300px;
    /* حد أدنى لعرض البطاقة */
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.certificate:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.certificate:hover img {
    transform: scale(1.05);
}

.certificate img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.certificate h2 {
    color: #34495e;
    margin: 10px 0;
    font-size: 1.5em;
}

.certificate p {
    color: #7f8c8d;
    font-size: 14px;
    margin: 5px 0;
}

@media (max-width: 768px) {
    .menu-icon span {
        width: 10%;
    }

    .certificate {
        width: calc(45% - 20px);
        /* حجم مناسب للأجهزة اللوحية */
    }
}

@media (max-width: 480px) {
    .menu-icon span {
        width: 18% !important;
    }
    .certificate {
        width: 90%;
        /* حجم أكبر للشاشات الصغيرة */
    }

    .certificatess h1 {
        font-size: 1.5em;
        /* حجم أصغر لعنوان الصفحة */
    }
}


/************ review ***************/
.review {
    width: 100%;
    padding: 60px 0;
    background: #fafafa;

}

.review .rating-summary {
    display: flex;
    background: #fff;
    flex: 0.5;
}

.review .summary-container {
    flex: 1;
}

.review .average-rating {
    text-align: center;
    flex: 0.3;
}

.review .average-rating p {
    font-size: 36px;
    font-weight: bold;
    margin: 10px 0;
}

.review .average-rating .stars {
    color: gold;
    font-size: 20px;
}

.review .star-rating {
    flex: 1;
    margin: 0 10px;
    text-align: center;
}

.review .star-rating .bar {
    width: 80%;
}

.review .star-rating p {
    font-weight: bold;
}

.review .star-bar {
    height: 8px;
    background: gold;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.review .star-bar-container {
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    height: 8px;
}

/* Full-screen container */



.review .row {
    display: flex;
}

.review .container {
    width: 100%;
    background: #ffffff;
    padding: 30px;
    animation: fadeIn 0.7s ease-in-out;
}

/* Form Styling */
.review form {
    margin-bottom: 25px;
    flex: 0.5;
}

.review form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: rgb(255, 0, 82);
}

.review form input[type="text"],
.review form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;

}

.review form textarea {
    resize: vertical;
    height: 150px;
    font-size: 18px;
}

.review form input[type="text"]:focus,
.review form textarea:focus {
    border-color: rgb(255, 0, 82);
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.25);
}

.review form button[type="submit"] {
    background-color: rgb(255, 0, 82);
    color: #ffffff;
    padding: 12px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(255, 25, 0, 0.3);
}

.review form button[type="submit"]:hover {
    background-color: #b30018;
    transform: translateY(-2px);
}

.review form button[type="submit"]:active {
    background-color: #b30018;
    transform: translateY(1px);
}

/* Star Rating */
.review .star-rating {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
    gap: 8px;
}

.review .star-rating input {
    display: none;
}

.review .star-rating label {
    font-size: 35px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s ease;
}

.review .star-rating input:checked~label,
.review .star-rating label:hover,
.review .star-rating label:hover~label {
    color: gold;
}

/* Review List */
.review .review-list {
    margin: 20px 100px 0;
    background: #f7f7f7;
    padding: 20px;
    border-radius: 8px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

.review .review-item {
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
    animation: fadeInUp 0.7s ease-in-out;
}

.review .review-item:hover {
    background-color: #f1f1f1;
}

.review .review-item .stars {
    color: gold;
    font-size: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.review .review-item .like-button {
    background: none;
    border: none;
    color: red;
    cursor: pointer;
    padding: 0;
    font-size: 15px;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.review .review-item .like-button:hover {
    color: #b30012;
}

.review .review-item .btn-date {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.review .review-item .btn-date span {
    font-size: 14px;
    color: rgb(29, 29, 29);

}

/* Filter Controls */
.review #filter-controls {
    margin-bottom: 25px;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.review #filter-controls label {
    margin-right: 10px;
    font-weight: bold;
    color: #b3003d;
}

.review #filter-controls select {
    padding: 8px;
    border-radius: 6px;
    border: 2px solid #ddd;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.review #filter-controls select:focus {
    border-color: #b3003d;
    box-shadow: 0 0 8px rgba(255, 0, 47, 0.25);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review .nxt-prv {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

/* تنسيق الأزرار */
.review .nxt-prv button {
    background-color: #ff002f;
    /* لون الخلفية */
    color: white;
    /* لون النص */
    border: none;
    /* إزالة الحدود */
    padding: 10px 20px;
    /* التباعد الداخلي */
    text-align: center;
    /* محاذاة النص للوسط */
    text-decoration: none;
    /* إزالة الخط تحت النص */
    display: inline-block;
    /* عرض كتلة مضمنة */
    font-size: 16px;
    /* حجم الخط */
    margin: 10px 2px;
    /* التباعد الخارجي */
    cursor: pointer;
    /* شكل المؤشر عند التمرير */
    border-radius: 5px;
    /* زوايا مستديرة */
    transition: background-color 0.3s, transform 0.3s;
    /* تأثير التحول */
}

/* التأثير عند المرور على الزر */
.review .nxt-prv button:hover {
    background-color: #d90028;
    /* لون الخلفية عند التمرير */
    transform: scale(1.05);
    /* تكبير الزر قليلاً */
}

/* زر السابق */
.review .nxt-prv #prev {
    float: left;
    /* محاذاة للجهة اليسرى */
}

/* زر التالي */
.review .nxt-prv #next {
    float: right;
    /* محاذاة للجهة اليمنى */
}

/* تحسين ترتيب الأزرار مع الحفاظ على مساحة كافية بينهما */
.review .nxt-prv #prev,
.review .nxt-prv #next {
    margin-top: 20px;
    /* تباعد من الأعلى */
}

/* تأثير التحميل (Load) */
.review .nxt-prv button:active {
    background-color: #c50023;
    /* لون الخلفية عند الضغط */
    transform: scale(0.95);
    /* تقليص الزر عند الضغط */
}

/* تحريك الأزرار عند الظهور */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
        /* بدء الحركة من أسفل */
    }

    to {
        opacity: 1;
        transform: translateY(0);
        /* انتهاء الحركة */
    }
}

/* تطبيق الحركة عند ظهور الأزرار */
.review .nxt-prv #prev,
.review .nxt-prv #next {
    animation: slideIn 0.5s ease-in-out;
}

.review .toastr {
    z-index: 10000;
}

/* Spinner styling */
.review .spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #ff002f;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Centering the spinner */
.review #loadingSpinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

@media screen and (min-width:767px) and (max-width:1024px) {
    .review .row {
        flex-direction: column;

    }

    .review .rating-summary {
        width: 100%;
        margin-bottom: 20px;
        padding: 20px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
    }

    .review form {
        width: 100%;
        flex: 1;
    }

    .review .bar {
        width: 100% !important;
    }
}


@media screen and (max-width:767px) {
    .review .average-rating p {
        font-size: 25px !important;
    }

    .review .bar {
        width: 100% !important;
    }

    .review .rating-summary {
        width: 100%;
        margin-bottom: 20px;
        padding: 20px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        border-radius: 8px;

    }

    .review .row {
        flex-direction: column;

    }

    .review form {
        width: 100%;
        flex: 1;
    }

    .review h3 {
        margin-bottom: 10px;
    }

    .review #filter-controls select {
        width: 25%;
        font-size: 15px;
        padding: 10px;
    }

    .review .review-list {
        margin: 20px 0 0;
    }
}







/******** contact ***********/

.contact {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 50px;
    width: 100%;

}

.contact h2 {
    font-size: 32px;
    margin: 10px 0px 30px;
    color: var(--primary-color);
    text-align: center;
}

.contact p {
    text-align: center;
}

.contact .container {
    margin-top: 50px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.contact .container .contact-info {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 30px;
}

.contact .container .contact-info div:nth-child(1) {
    gap: 16px;

}

.contact .container .contact-info div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 22px;
}

.contact .container .contact-info div p {
    text-align: start;
}

.contact .container .contact-info div i {
    color: var(--primary-color);
}

.contact .container form {
    flex: 0.6;
}

.contact .container .input1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.contact .container .input1 input {
    font-size: 15px;
    padding: 10px;
    border: 1px solid #a7a7a7;
    flex: 0.5;
    border-radius: 2px;
    background: transparent;
    outline: none;
}

.contact .container .input1 input:focus {
    border: 1px solid var(--primary-color);
}

.contact .container .input2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-direction: column;
    margin: 20px 0 35px;
}

.contact .container .input2 input {
    padding: 10px;
    border: 1px solid #a7a7a7;
    width: 100%;
    border-radius: 2px;
    background: transparent;
    outline: none;
    font-size: 15px;
}

.contact .container .input2 input:focus {
    border: 1px solid var(--primary-color);
}

.contact .container .input2 textarea {
    font-size: 15px;
    padding: 10px;
    border: 1px solid rgb(167, 167, 167);
    border-radius: 2px;
    background: transparent;
    width: 100%;
    height: 150px;
    outline: none;
    resize: vertical;
}

.contact .container .input2 textarea:focus {
    border: 1px solid var(--primary-color);
}

.contact .container button {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    transition: 0.2s;
    cursor: pointer;
}

.contact .container button:hover {
    background-color: var(--primary-color);
    color: white;
}

.contact .maps {
    width: 100%;
    padding-top: 50px;
}

/************ logos ******************/
@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);

    }
}

.logos {
    overflow: hidden;
    padding: 30px 0;
    background-color: white;
    white-space: nowrap;
    position: relative;
    border-top: 2px solid;
    margin-top: 30px;
}

.logos:hover .logos-slide {
    animation-play-state: paused;
}

.logos-slide {
    display: inline-block;
    animation: 15s slide infinite linear;
}

.logos-slide img {
    height: 70px;
    margin: 0 40px;

}

/************ footer *****************/
footer {
    background-color: #333;
    padding-top: 50px;
}

footer .container {
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: space-evenly;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer h3 {
    font-size: 28px;
    margin-bottom: 15px;
    text-align: center;
    color: white;
}

.footer-content p {
    margin: auto;
    color: white;
}

.footer-content ul {
    text-align: center;
}

footer .list {
    padding: 0;
}

footer .list li {
    width: auto;
    text-align: center;
    list-style-type: none;
    padding: 7px 0;
    position: relative;
}

footer .list li::before {
    content: "";
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 100%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition-duration: .3s;
}

footer .list li:hover::before {
    width: 70%;
}

footer .polices a {
    padding: 7px 0;
    transition: .2s;
}

.social-icons {
    text-align: center;
    padding: 0;
}

.social-icons li {
    display: inline-block;
    text-align: center;
    padding: 5px;

}

.social-icons i {
    color: white;
    font-size: 25px;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: #ff5724;
}

.social-icons i:hover {
    color: #ff5724;
}

footer .bottom-bar {
    background-color: rgb(255 0 69);
    text-align: center;
    padding: 10px 0;
    margin-top: 50px;
}

footer .bottom-bar p {
    color: #ffffff;
}




/*** responsive ***/

@media (max-width:1060px) {
    .testimonial-box {
        width: 45%;
        padding: 10px;
    }

    div.gallery .item {
        width: calc(50% - 8px);
    }

    .contact .container .contact-info div {
        font-size: 19px;
    }

    .contact .container form {
        flex: 0.7;
    }
}

@media (max-width:1024px) {
    .Services {
        padding: 25px;
    }

    .Services h1 {
        font-size: 2.5em;
        font-weight: 600;
    }

    .content-box {
        flex-direction: column;
        width: 100%;

    }

    .card {
        min-width: 300px;
        margin: 10px auto;

    }

    .contact .container {
        gap: 50px;
        flex-direction: column;
    }

    .contact .container form {
        width: 70%;
    }
}

@media (max-width:600px) {
    /* header .left {
        display: none;
    }

    header .empty {
        display: none;
    }

    header .right {
        flex: 0.8;
    } */
    .menu-icon span {
        width: 15%;
    }

    header .right li a {
        font-size: 18px;
    }

    .home .all {
        padding: 0 5px;
    }

    .home .all .text h1 {
        font-size: 1.6em;
        font-weight: 600;
    }

    .home .all .text p {
        font-size: 1em;
    }

    .home .btn-left button i {
        font-size: 20px;
    }

    .home .btn-right button i {
        font-size: 20px;
    }

    div.gallery .item {
        width: 100%;
        margin: 4px 0px;
    }

    .contact {
        padding: 60px 30px;
    }

    .contact p {
        text-align: center;
    }

    .contact .container {
        width: 100%;
    }

    .contact .container .input1 {
        flex-direction: column;
    }

    .contact .container .input1 input {
        width: 100%;
    }

    .contact .container button {
        background-color: var(--primary-color);
        color: white;
        font-size: 13px;
    }

    footer .container {
        width: 100%;
        margin: 0;
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }

    .footer-content {
        width: 100%;
        gap: 15px;
    }
}

@media (min-width:601px) and (max-width:900px) {
    footer .container {
        flex-direction: column;
        gap: 40px;
    }

    footer .container .footer-content p {
        margin-bottom: 10px;
    }
}

/* @media (min-width:601px) and (max-width:768px) {
    header {
        justify-content: space-evenly;
    }

    header .left {
        display: none;
    }

    header .right {
        flex: 0.6;
    }

    header .empty {
        display: none;
    }

} */

@media (max-width:790px) {
    .testimonial-box {
        width: 100%;
    }

    .testimonial-heading h1 {
        font-size: 1.4rem;
    }

    footer .container {
        flex-direction: column;
        gap: 40px;
    }

    footer .container .footer-content p {
        margin-bottom: 10px;
    }
}

@media (min-width:769px) and (max-width:1023px) {
    /* header {
        justify-content: space-evenly;
    } */

    /* header .left {
        flex: 0.3;
    }

    header .right {
        flex: 0.5;
    }

    header .empty {
        display: none;
    } */

}

@media (min-width:1024px) and (max-width:1200px) {
    header {
        justify-content: space-around;
    }

    header .right {
        flex: 0.5;
    }

    header .empty {
        display: none;
    }
}


@media (max-width:450px) {
    header .right{
        flex: 0.8;
    }
    .menu-icon span {
        width: 23% !important;
    }
    .Services h1 {
        font-size: 1.8rem;
    }

    .contact .container form {
        width: 90%;
    }
}

@media (max-width:340px) {
    header .right{
        flex: 1;
    }
    .menu-icon span {
        width: 30% !important;
    }
    .box-top {
        flex-wrap: wrap;
        margin-bottom: 10px;
    }

    .reviews {
        margin-top: 10px;
    }
}