@font-face {
    font-family: Cairo;
    src: url(../../fonts/Cairo/Cairo-VariableFont_slnt\,wght.ttf);
}

@font-face {
    font-family: Tajawal;
    src: url(../../fonts/Tajawal/Tajawal-Bold.ttf);
}

body {
    margin: 0;
    font-family: Cairo;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Tajawal;
    font-weight: bold;
}

#phone-icon .btn,
#whatsapp-icon .btn {
    background-color: #0F62FE;
    color: white;
    transition: all ease 0.3s;
    font-family: Cairo;
    border-radius: 5px;
    border: #0F62FE solid 2px;
    cursor: pointer;
    padding: 5px 10px;
}

.btn:hover {
    transform: scale(1.1);
}

#phone-icon {
    position: fixed;
    bottom: 10%;
    right: 5%;
    z-index: 2000;
}

#whatsapp-icon {
    position: fixed;
    bottom: 10%;
    left: 5%;
    z-index: 2000;
}

#whatsapp-icon svg,
#phone-icon svg {
    display: flex;
    align-self: center;
}

/*--------------------------------------------------------------------------NavbarStyling------------------------------------------*/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #062150;
    color: white;
    padding: 0px 4%;
    position: sticky;
    top: 0;
    z-index: 1;
    white-space: nowrap;
    z-index: 10001;
}

.hamburger {
    display: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    min-height: 25px !important;
    max-height: 25px;
    background: transparent;
    cursor: pointer;
    padding: 1.5%;
}

.hamburger span {
    width: 100%;
    border: #0F62FE solid 1px;
    background-color: #0F62FE;
    border-radius: 2px;
    margin-bottom: 0px;
    display: none;
}

.logo {
    width: 6rem
}

.navbar img {
    width: 100%;
    height: auto;
}

nav button {
    background-color: #0F62FE;
    padding: 8px;
    border-radius: 7px;
    transition: all ease 0.3s;
    font-weight: bold;
    border: none;
    justify-self: end;
    color: white;
    white-space: nowrap;
}

nav ul {
    display: flex;
    gap: 3rem;
    list-style: none;
}

li a {
    color: white;
    text-decoration: none;
    transition: all ease 0.3s;
    font-size: 14px;
}

li a:hover {
    color: #0F62FE;
}

ul {
    list-style: none;
}

/* ---------------Header Styling---------------- */

header {
    text-align: center;
}

header h1 {
    margin-bottom: 0;
    color: #0F62FE;
}

header p {
    color: grey;
}

.container {
    display: flex;
    width: 90%;
    justify-content: center;
    margin-inline: auto;
    gap: 10%;
}

/* --------------Left Section Styling--------------- */

.left-section h4 {
    margin-bottom: 5px;
    font-size: 15px;
    text-align: right;
}

.left-section p {
    margin-top: 0px;
    max-width: 300px;
    color: grey;
    font-size: 12px;
    text-align: right;
}

.left-section a {
    color: grey;
    text-decoration: none;
    transition: all ease 0.3s;
}

.left-section a:hover {
    color: #0F62FE;
}

.left-section {
    flex-direction: column;
    display: flex;
    justify-content: center;
    width: 33%;
}


.middle-section {
    width: 33%;
    align-self: center;
}

.card {
    display: flex;
}

.card svg {
    /* align-self: center; */
    margin-left: 10px;
    margin-top: 10px;
}

form {
    width: 100%;
    flex-direction: column;
    display: flex;
    justify-self: center;
}

.form-input {
    padding: 2%;
    border-radius: 10px;
    border-color: white;
    border-style: solid;
    width: 95%;
    box-shadow: 0 2px 12px rgba(226, 232, 224, 0.5);
    transition: all ease 0.2s;
    margin-bottom: 5%;
    text-align: right;
}

::placeholder {
    text-align: right;
    font-family: Cairo;
}

.form-input:hover {
    border-color: #0F62FE;
}

form select {
    color: grey;
    font-family: Cairo;
    width: 100% !important;
}

form button {
    width: 45%;
    background-color: #0F62FE;
    padding: 5px;
    border-radius: 7px;
    transition: all ease 0.3s;
    font-weight: bold;
    border: none;
    color: white;
    font-family: Cairo;
    font-size: 15px;
}

button:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.right-section {
    width: 33%;
    align-self: center;
}

.map {
    border-radius: 5%;
    border: #0F62FE solid 2px
}

/*-------------------------------------------Footer Styling------------------------------------*/
footer {
    display: flex;
    flex-wrap: wrap;
    background-color: #062150;
    color: white;
    padding: 1rem 2rem;
    gap: 5rem;
    margin-top: 5%;
}

footer p,
footer a,
footer li {
    font-size: 14px;
}

footer a {
    color: white;
    transition: all ease 0.3s;
    text-decoration: none;
}

footer a:hover {
    color: #0F62FE;
}

footer>div {
    flex: 1;
}

.first-group .link {
    display: flex;
    gap: 1rem;
    white-space: nowrap;
}

.first-group svg {
    align-self: center;
}

.second-group .links,
.third-group .links {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
    padding-right: 0;
    gap: 2rem;
}

.fourth-group {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.fourth-group img {
    width: 100%;
    height: auto;
    margin-left: 0;
    margin-top: 1rem;
}

/*------------------------------Media Queries------------------------------------*/
@media (max-width: 576px) {
    body {
        font-size: 1rem;
        line-height: 1.5;
    }

    h1,
    .h1 {
        font-size: 1.75rem;
        line-height: 1.25;
        margin-bottom: 1rem;
    }

    h2,
    .h2 {
        font-size: 1.375rem;
        line-height: 1.3;
        margin-bottom: 0.875rem;
    }

    h3,
    .h3 {
        font-size: 15px !important;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }

    p,
    li,
    span {
        font-size: 1rem;
        margin-bottom: 0.875rem;
    }

    small,
    .caption,
    .text-muted {
        font-size: 0.875rem;
        line-height: 1.4;
    }

    input,
    select,
    textarea,
    button,
    .btn {
        font-size: 10px !important;
        padding: 12px 16px;
    }

    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    * {
        box-sizing: border-box;
    }

    .hamburger {
        display: flex;
        border: #0F62FE solid 1px;

    }

    .hamburger span {
        display: flex;

    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 57%;
        left: 0;
        width: 100%;
        background-color: #0F62FE;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        gap: 16px;
    }

    .nav-links li a:hover {
        color: #062150 !important;
    }

    .nav-links li a {
        transition: all ease 0.2s;
    }

    .nav-links.active {
        display: flex;
    }

    footer {
        flex-direction: column;
        gap: 1rem;
    }

    footer p,
    footer a,
    footer li {
        font-size: 10px;
    }

    footer .first-group .link {
        white-space: wrap;
    }

    footer .first-group svg {
        width: 20px !important;
        height: 15px !important;
        margin-bottom: 2%;
    }

    .second-group .links,
    .third-group .links {
        flex-direction: row;
    }

    footer .first-group,
    footer .second-group,
    footer .third-group {
        width: 100%;
    }

    footer ul {
        gap: 1rem;
    }

    .container {
        flex-direction: column;
    }

    .left-section,
    .middle-section,
    .right-section {
        width: 100%;
        margin-top: 5%;
    }

    .left-section h4 {
        margin-top: 12px;
    }

    .left-section p {
        margin-bottom: 0;
    }

    .left-section svg {
        margin-top: 0;
    }

    form button {
        width: 25% !important
    }

    form select {
        color: grey;
        font-family: Cairo;
        width: 95% !important;
    }

    .map {
        width: 100% !important;
        height: auto !important;
    }
}