/* =========================
  Vazir Font Faces
========================= */

@font-face {
    font-family: "Vazir";
    src: url("../utilities/fonts/vazir/Vazir-Thin-FD-WOL.woff2") format("woff2"),
        url("../utilities/fonts/vazir/Vazir-Thin-FD-WOL.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazir";
    src: url("../utilities/fonts/vazir/Vazir-Light-FD-WOL.woff2") format("woff2"),
        url("../utilities/fonts/vazir/Vazir-Light-FD-WOL.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazir";
    src: url("../utilities/fonts/vazir/Vazir-FD-WOL.woff2") format("woff2"),
        url("../utilities/fonts/vazir/Vazir-Thin-FD-WOL.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazir";
    src: url("../utilities/fonts/vazir/Vazir-Medium-FD-WOL.woff2") format("woff2"),
        url("../utilities/fonts/vazir/Vazir-Medium-FD-WOL.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazir";
    src: url("../utilities/fonts/vazir/Vazir-Bold-FD-WOL.woff2") format("woff2"),
        url("../utilities/fonts/vazir/Vazir-Bold-FD-WOL.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===============
  Root Styles
=============== */
:root {
    --color-primary-1: #06283D;
    --color-primary-2: #1363df;
    --color-primary-3: #47B5FF;
    --color-grey-1: #27374D;
    --color-grey-2: #526D82;
    --color-grey-3: #9DB2BF;
    --color-grey-4: #DDE6ED;
    --color-white: #FFF;
    --color-footer: #06283D;
    --ff-primary: "vazir", sans-serif;
    --transition: all 0.3s linear;
    --light-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --dark-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


/* ===============
  Global Styles
=============== */
*,
::after,
::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    direction: rtl;
    font-family: var(--ff-primary);
    background: var(--color-white);
    color: var(--color-grey-1);
    line-height: 1.5rem;
    font-size: 0.875rem;
}

ul {
    list-style-type: none;
}

a {
    color: var(--color-grey-1);
    text-decoration: none;
}

img {
    width: 100%;
    display: block;
    /* Prevent selection by user */
    user-select: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    pointer-events: none;
}

h1,
h2,
h3,
h4 {
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 0.875rem;
}

p {
    margin-bottom: 1.25rem;
    color: var(--color-grey-2);
}

/* Global Class and Id */
.btn {
    background-color: var(--color-primary-2);
    color: var(--color-white);
    padding: 0.375rem 0.75rem;
    display: inline-block;
    font-size: 0.875rem;
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    color: var(--color-primary-1);
    background-color: var(--color-primary-3);
}

.section {
    width: 100%;
    margin: 4rem auto;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title span {
    color: var(--color-primary-2);
}

.section-center {
    width: 90vw;
    margin: 0 auto;
}


/* =====================
  Header Section Styles
===================== */

/* =====================
  Navbar Section Styles
===================== */
.navbar {
    background-color: var(--color-white);
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    box-shadow: var(--dark-shadow);
    z-index: 2;
}

.navbar-section {
    padding: 1rem 2rem;
}

.navbar-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo h3 {
    color: var(--color-primary-1);
    margin-bottom: 0;
}

.navbar-toggle {
    font-size: 2rem;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.navbar-toggle:hover {
    color: var(--color-primary-1);
    transform: scale(1.1);
}

.nav-menu-container {
    height: 0;
    overflow: hidden;
    /* display: none; */
    transition: var(--transition);
}

/*
"show-nav-menu" class Add and Replace with "nav-menu-container" class,
when the toggle button clicked. (Using JS)
*/
.show-nav-menu {
    height: unset;
    display: block;
    /* flex-direction: column;
    align-items: center; */
    /* position: absolute; */
}

.navbar-menu-links {
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-link {
    text-align: center;
    width: 100%;
    height: 2rem;
    padding: 0.25rem 0.5rem;
    display: block;
    transition: var(--transition);
}

.nav-link:hover {
    background-color: var(--color-primary-2);
    border-radius: 5px;
}

.nav-link:hover a {
    color: var(--color-white);
}

.nav-social-container {
    display: none;
}

.social-link i {
    transition: var(--transition);
}

.social-link:hover i {
    color: var(--color-primary-2);
}


/* ============================
Header Banner Section Styles
============================ */

.header-banner {
    background-color: var(--color-primary-2);
    height: 100vh;
    margin-top: 65px;
}

.header-info {
    color: var(--color-white);
    text-align: center;
    height: 100%;
    width: 75%;
    max-width: 35rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header-info h2 {
    font-size: 42px;
    color: var(--color-white);
    margin-bottom: 3rem;
}

.header-info p {
    color: var(--color-grey-4);
    line-height: 1.75rem;
    margin-bottom: 2.5rem;
}

.header-btn {
    font-weight: bold;
    background-color: var(--color-white);
    color: var(--color-primary-2);
    padding: 0.75rem 1.25rem;
}

.header-btn:hover {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}


/* =====================
  About Section Styles
===================== */

.about-image img {
    width: 100%;
    max-width: 600px;
}

.about-info {
    margin-top: 2.5rem;
}

.about-info h3 {
    margin-bottom: 1.75rem;
}

.about-info p {
    text-align: justify;
}

/* =======================
  Services Section Styles
======================= */

.services-section {
    background-color: var(--color-grey-4);
    margin-bottom: 0;
    padding: 2rem 0;
}

.services-section .section-title {
    margin-top: 1.5rem;
}

.services-container {
    width: 70vw;
    margin: 4rem auto 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 2rem;
}

.service-icon {
    background-color: var(--color-primary-1);
    width: 4rem;
    height: 5rem;
    margin: 0 auto;
    border-radius: 5px;
    position: relative;
}

.service-icon i {
    font-size: 38px;
    color: var(--color-white);
    /* text-align: center; */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.service-info {
    text-align: center;
    margin-top: 2rem;
}

.service-info h3 {
    margin-bottom: 1.5rem;
}

/* =======================
  Contact Section Styles
======================= */

.contact-section {
    background-color: var(--color-primary-2);
    /* height: 12rem; */
    margin-top: 0;
    margin-bottom: 0;
    padding: 0.5rem 0.25rem;
    position: relative;
}

.contact-container {
    padding: 1rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contact-title {
    color: var(--color-white);
    margin-top: 2rem;
}

.contact-title span {
    color: var(--color-grey-4);
}

.company-info {
    display: flex;
    flex-direction: column;
}

.contact-info {
    color: var(--color-white);
    text-align: right;
    display: flex;
    flex-direction: column;
    row-gap: 0.5rem;
}

.contact-info p {
    color: var(--color-white);
}

.map-section {
    width: 24rem;
    height: 20rem;
    align-self: center;
}

.google-map {
    width: 100%;
    height: 100%;
}

/* =======================
  Gallery Section Styles
======================= */
.gallery-section {
    width: 100%;
}

.gallery-title {
    text-align: center;
    margin: 2rem auto;
}

.gallery-image-container {
    margin: 0 auto;
    /* background-color: var(--color-primary-2); */
    height: 14rem;
    position: relative;
}

.gallery-image-container img {
    width: 95%;
    height: 95%;
    margin: 0 auto;
    border: 1px solid var(--color-grey-2);
    border-radius: 5px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-image-container:hover img {
    opacity: 0.6;
}

.gallery-img-icon {
    font-size: 36px;
    color: var(--color-white);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: var(--transition);
}

.gallery-image-container:hover .gallery-img-icon {
    opacity: 1;
}


/* =======================
  Footer Section Styles
======================= */
.footer-section {
    background-color: var(--color-footer);
    width: 100%;
    /* height: 18rem; */
    margin: 0;
}

.footer-container {
    width: 95%;
    padding: 1.25rem;

}

.footer-links {
    margin: 0 auto 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.footer-menu {
    max-width: 450px;
}

.footer-menu a {
    color: var(--color-white);
    transition: var(--transition);
}

.footer-menu a:hover {
    color: var(--color-primary-3);
}


.footer-social-icons {
    max-width: 200px;
}

.footer-social-icons a {
    font-size: 1.8rem;
    color: var(--color-primary-3);
    transition: var(--transition);
}

.footer-social-icons a:hover {
    color: var(--color-primary-2);
}


.copyright {
    color: var(--color-white);
    text-align: center;
    margin: 1rem auto 2.5rem;
}


/* ========================================
Media Queries (Screen >= 577px | Laptop) 
======================================== */
@media screen and (min-width: 577px) {

    /* =======================
     Contact Section Styles
    ======================= */
    .company-info {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    /* =======================
     Gallery Section Styles
    ======================= */
    .gallery-container {
        display: flex;
        flex-wrap: wrap;
    }

    .gallery-image-container {
        flex: 0 0 50%;
    }
}

/* ========================================
Media Queries (Screen >= 769px | Laptop) 
======================================== */
@media screen and (min-width: 769px) {

    /* =============
    Global Styles
    ============= */
    h2 {
        font-size: 2.5rem;

    }

    h3 {
        font-size: 1.75rem;
    }

    h4 {
        font-size: 1rem;
    }

    body {
        font-size: 1rem;
    }

    h1,
    h2,
    h3,
    h4 {
        line-height: 1;
    }

    /* =====================
    Header Section Styles
    ===================== */

    /* ===========================
    Header Banner Section Styles
    =========================== */
    .header-banner {
        background-image: linear-gradient(rgb(19, 99, 223, 0.7), rgba(0, 0, 0, 0.7)),
            url(../src/images/main.webp);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }

    .header-info {
        max-width: 45rem;
        padding: 0;
    }

    /* =======================
      Services Section Styles
    ======================= */
    .services-container {
        width: 80vw;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .service {
        /* width: 50%; */
        /* flex-basis: calc(50% - 2.5rem); */
        flex: 0 0 calc(50% - 2rem);
    }


    /* =======================
      Contact Section Styles
    ======================= */

    .company-info {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }


}

/* ===========================================
Media Queries (Screen >= 993px | Laptop Large) 
=========================================== */
@media screen and (min-width: 993px) {

    /* =============
      Global Styles
    ============= */
    .section-center {
        /* width: 95vw; */
        max-width: 1170px;
    }

    /* =====================
      Navbar Section Styles
    ===================== */
    .navbar-section {
        display: flex;
        align-items: center;
        justify-content: space-between;
        /* position: relative; */
    }

    .navbar-logo,
    .nav-link,
    .social-link {
        padding: 0.25rem;
    }

    .navbar-header {
        width: unset;
        /* display: unset; */
    }

    .navbar-toggle {
        display: none;
    }

    .nav-menu-container {
        height: unset;
        display: block;
    }

    .navbar-menu-links {
        padding: 0;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        column-gap: 1.5rem;
    }

    .nav-link {
        /* flex: 0 0 20%; */
        width: unset;
    }

    .nav-social-container {
        display: block;
    }

    .navbar-social-links {
        font-size: 1.25rem;
        color: var(--color-primary-1);
        display: flex;
        align-items: center;
        justify-content: space-between;
        column-gap: 1.5rem;
    }

    /* .navbar-menu-links i {
        vertical-align: middle;
    } */

    /* =====================
      About Section Styles
    ===================== */
    .about-container {
        display: flex;
        column-gap: 2rem;
    }

    .about-image {
        margin-top: 0;
    }

    .about-info {
        margin-top: 0;
        align-self: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .about-btn {
        align-self: flex-start;
    }

    /* =======================
      Services Section Styles
    ======================= */
    .services-container {
        width: 90vw;
        max-width: 1170px;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .service {
        flex: 0 0 calc(33.3% - 2rem);
    }


    /* =======================
      Contact Section Styles
    ======================= */

    .contact-container {
        justify-content: space-between;
    }


    /* =======================
      Gallery Section Styles
    ======================= */
    .gallery-image-container {
        /* flex: 0 0 25%; */
        flex-basis: 25%;
    }
}

/* ============================================
Media Queries (Screen >= 1171px | Laptop Large) 
============================================ */
@media screen and (min-width: 1171px) {

    /* =====================
    About Section Styles
    ===================== */
    .about-image {
        position: relative;
        box-shadow: var(--light-shadow);
    }

    /* .about-image::before {
        content: "";
        width: 100%;
        height: 100%;
        border: 0.5rem solid var(--color-primary-2);
        position: absolute;
        top: -1rem;
        right: -1rem;
        z-index: -1;
    } */

    /* =======================
      Services Section Styles
    ======================= */
    .service {
        display: flex;
        align-content: center;
    }

    .service-info {
        text-align: right;
        padding: 0 0.75rem;
        width: 75%;
        margin-top: 0;
    }

    .sevice-text {
        text-align: justify;
    }

}

/* ============================================
Media Queries (Screen >= 1441 | Laptop Large) 
============================================ */
/* @media screen and (min-width: 1441px) {

   
} */