/* @import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap"); */

@font-face {
    font-family: "Optima LT W01 Roman";
    src: url("../fonts/optima_r.woff") format("woff");
}

:root {
    --main-site-color: #fe8a5a;
    --main-site-color-darker: #f68352;
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*:focus {
    outline: none !important;
}

html {
    font-size: 10px;
}

a,
u {
    text-decoration: none !important;
}

body,
button {
    background: inherit;
    font-family: "Open Sans", sans-serif;
}

html,
body {
    height: 100%;
}

section {
    padding: 6rem 0;
}

::selection {
    color: white;
    background-color: var(--main-site-color);
}

/* URDU STYLING */

:lang(ur) *:not(.fa) {
    font-family: "NafeesRegular", Sans-Serif !important;
    letter-spacing: 0 !important;
    line-height: 1.6 !important;
    font-synthesis: none !important;
}

:lang(ur) input,
:lang(ur) textarea {
    text-align: right;
}

:lang(ur) .row,
:lang(ur) .d-flex {
    flex-direction: row-reverse;
}

::-webkit-input-placeholder {
    /* WebKit, Blink, Edge */
    line-height: unset !important;
}
:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    line-height: unset !important;
}
::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    line-height: unset !important;
}
:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    line-height: unset !important;
}
::-ms-input-placeholder {
    /* Microsoft Edge */
    line-height: unset !important;
}

::placeholder {
    /* Most modern browsers support this now. */
    line-height: unset !important;
}

/* END URDU STYLING */

.standard-button {
    background-color: white;
    color: black;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border: none;
    transition: all 0.3s ease 0s;
}

.standard-button:hover {
    background-color: rgb(236, 236, 236);
}

.delay-400ms {
    animation-delay: 0.4s;
}

.delay-800ms {
    animation-delay: 0.8s;
}

.delay-1200ms {
    animation-delay: 1.2s;
}

.delay-1600ms {
    animation-delay: 1.6s;
}

/* TOP SOCIAL BAR */

.social-bar {
    background-color: #2d3239;
    padding: 1.3rem 0;
}

.social-bar-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.social-item {
    display: inline-flex;
    margin-left: 10px;
    cursor: pointer;
}

.social-item i {
    padding: 4px 10px 4px 10px;
    background-color: #393e45;
    color: white;
    border-radius: 3px;
    font-size: 1.5rem;
}

.social-item:hover i {
    background-color: var(--main-site-color);
}

.social-item a {
    color: white;
    font-size: 1.3rem;
}

/* END TOP SOCIAL BAR */

/* SEARCH */

.search-icon {
    font-size: 1.5rem;
}

.search-icon i {
    color: #2d3239;
}

.search-icon i:hover {
    color: var(--main-site-color);
}

.search-form-wrapper {
    z-index: 5;
    display: none;
    left: 0;
    right: 0;
    padding: 10px 20%;
    background-color: floralwhite;
}

.search-form-wrapper.open {
    display: block;
}

.search-form-wrapper input.search {
    border-radius: 99px !important;
    font-size: 1.5rem;
    border-width: 2px;
    padding: 12px 15px;
}

.search-form-wrapper input.search:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: var(--main-site-color);
}

.search-form-wrapper .search-icon {
    margin: auto 0px auto 20px;
}

:lang(ur) .search-form-wrapper .search-icon {
    margin: auto 20px auto 0px;
}

/* END SEARCH */

/* LOADING SCREEN */

.loading-screen {
    position: fixed;
    z-index: 999999999;
    width: 100%;
    height: 100%;
    background-color: #fff;
    text-align: center;
    left: 0;
    top: 0;
}

.loading-screen .loading-screen__content {
    display: block;
    position: absolute;
    top: 50%;
    opacity: 1;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    left: 50%;
}

.loading-screen .loading-screen__content > span {
    display: inline-block;
    position: relative;
    width: 200px;
    height: 3px;
    overflow: hidden;
}

.loading-screen .loading-screen__content > span span,
.simple-loading {
    display: block;
    position: absolute;
    bottom: 0;
    left: -202px;
    overflow: hidden;
    width: 100px;
    height: 2px;
    background-color: var(--main-site-color);
    -webkit-animation: loaderanim 1s 0s infinite;
    animation: loaderanim 1s 0s infinite;
    animation-duration: 1s;
    animation-timing-function: ease;
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-direction: normal;
    animation-fill-mode: none;
    animation-play-state: running;
    animation-name: loaderanim;
}

@keyframes loaderanim {
    0% {
        left: -202px;
    }
    100% {
        left: 202px;
    }
}

/* END LOADING SCREEN */

/* SCROLL TO TOP BUTTON */

#scrollToTopBtn {
    display: none;
    opacity: 0.8;
    position: fixed;
    bottom: 120px;
    right: 30px;
    z-index: 999;
    font-size: 12px;
    border: none;
    outline: none;
    background-color: #2d3239;
    color: white;
    cursor: pointer;
    height: 34px;
    width: 34px;
    border-radius: 25%;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
}

:lang(ur) #scrollToTopBtn {
    left: 30px;
}

#scrollToTopBtn:hover {
    background-color: var(--main-site-color);
}

/* END SCROLL TO TOP BUTTON */

/* HEADER-NAV SECTION */

header {
    position: relative;
}

/* .nav-link.lang-nav-link a {
    border: solid 2px var(--main-site-color);
    border-radius: 10px;
    padding: 0px 10px 5px 10px;
}

.nav-link.lang-nav-link.lang-nav-link-ur {
    font-family: Noto Nastaliq Urdu, Sans-Serif !important;
}
*/

header {
    position: sticky;
    top: 0;
    z-index: 999;
}

.lang-nav-link-en {
    text-transform: uppercase;
    color: #393e45;
    font-size: 15px;
    font-weight: bold;
}

.header-nav {
    /* position: sticky; */
    /* top: 0; */
    /* padding-top: 10px; */
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.05);
    /* z-index: 999; */
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.header-nav > hr {
    margin: 0;
    height: 1px;
    margin-top: 10px;
    background-color: var(--main-site-color);
}

.header-nav img {
    width: 23rem;
    cursor: pointer;
}

/* Extra small devices (phones, 575px and down) */
@media only screen and (max-width: 575px) {
    .header-nav img {
        width: 20rem;
    }
}

.nav-links {
    list-style: none;
    margin: 1rem 0;
}

#dropdownMenuBtn,
.dropdown-item,
.nav-link {
    display: inline-block;
    position: relative;
    font-size: 1.5rem;
    padding-right: 2rem;
}

@media (max-width: 775px) {
    #dropdownMenuBtn,
    .dropdown-item,
    .nav-link {
        font-size: 2.5rem;
    }
}

#dropdownMenuBtn {
    border: none;
}

/* .nav-link:last-child {
    padding-right: 0;
} */

.nav-link > * {
    text-transform: uppercase;
    font-weight: 600;
    color: #393e45;
    transition: all 0.3s ease 0s;
    border: none;
}

.nav-link .nav-link-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    transition: all 0.3s ease;
    visibility: hidden;
    opacity: 0;
    min-width: 150px;
    background-color: white;
    border: solid 1px #cccccc73;
    z-index: 7;
}

:lang(ur) .nav-link .nav-link-dropdown {
    text-align: right;
    right: 2rem;
}

.nav-link:hover a,
.menu-active,
.lang-nav-link-en:hover {
    color: var(--main-site-color);
}

.nav-link .nav-link-dropdown {
    display: none;
}

.nav-link:hover .nav-link-dropdown {
    display: block !important;
    visibility: visible;
    opacity: 1;
}

.nav-link-dropdown .nav-link {
    width: 100%;
}

.nav-link-dropdown .nav-link:hover {
    background-color: var(--main-site-color);
}

.nav-link-dropdown .nav-link:hover a {
    color: white;
}

.menu-active {
    padding-bottom: 7px;
    border-bottom: 3px solid var(--main-site-color);
}

.burger {
    cursor: pointer;
    display: none;
    z-index: 7;
}

.burger div {
    width: 27px;
    height: 3px;
    background-color: var(--main-site-color);
    margin-bottom: 5px;
    transition: all 0.5s ease;
}

.burger div:last-child {
    margin: 0;
}

.toggle .bar1 {
    background-color: #393e45;
    transform: rotate(-45deg);
}

.toggle .bar2 {
    background-color: white;
    display: none;
}

.toggle .bar3 {
    background-color: #393e45;
    transform: rotate(45deg) translate(-5px, -6px);
}
/* END HEADER-NAV SECTION */

/* LOGIN FORM */

#loginModal .close > span {
    font-size: 2.5rem;
}

#loginModal h2 {
    font-weight: 700;
    font-size: 2rem;
    text-transform: uppercase;
    font-family: "Optima LT W01 Roman", Arial, Helvetica, sans-serif;
    letter-spacing: 1.5px;
}

#loginModal .signup-section {
    font-size: 1.4rem;
}

#loginModal .modal-footer {
    background-color: floralwhite;
}

#loginModal .text-info {
    color: var(--main-site-color) !important;
}

#loginModal .text-info:hover {
    border-bottom: 1px solid var(--main-site-color);
}

/* END LOGIN FORM */

/* FOOTER SECTION */

footer {
    font-size: 14px;
    flex: 0 0 auto;
    -webkit-flex: 0 0 auto;
    background-color: #3c3d41;
    color: white;
    padding-top: 30px;
}

footer .row {
    margin-bottom: 60px;
}

:lang(ur) footer .row {
    text-align: right;
}

footer .footer-heading {
    font-size: 18px;
    color: white;
    font-weight: bold;
    margin-top: 30px;
}

footer ul {
    list-style-type: none;
    padding-left: 0;
    line-height: 1.7;
}

footer a {
    color: #d2d1d1;
    text-decoration: none;
}

footer a:hover,
footer a:focus {
    color: var(--main-site-color);
}

footer .subscribe-list li {
    color: #fff;
    padding: 15px 0;
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
}

footer .subscribe-list li:nth-child(1) span {
    width: 150px;
}

:lang(en) footer .subscribe-list li:nth-child(1) span {
    margin-right: 25px;
}

:lang(ur) footer .subscribe-list li:nth-child(1) span {
    margin-left: 25px;
}

footer .subscribe-list li:nth-child(1) span > a > i {
    margin-right: 5px;
}

footer .subscribe-list li:nth-child(2) {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    max-width: 90%;
}

:lang(ur) footer .subscribe-list li:nth-child(2) {
    margin-left: auto;
}

footer .subscribe-list input {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    width: 70%;
    color: white;
    outline: none;
    padding-right: 25px;
}

footer .btn-subscribe {
    color: white;
    background-color: transparent;
    border: none;
    padding: 1px;
    float: right;
}

:lang(ur) footer .btn-subscribe > i {
    transform: rotate(180deg);
}

footer .footer-copyright {
    background-color: #333333;
    padding-top: 3px;
    padding-bottom: 3px;
    text-align: center;
}

footer .footer-copyright p {
    margin: 10px;
    color: #ccc;
}

/* (992px and down) */

@media only screen and (max-width: 992px) {
    footer .footer-logo {
        display: none;
    }
}

/* (992px and down) */
@media only screen and (max-width: 1200px) {
    footer .subscribe-list li:nth-child(2) {
        max-width: 100%;
    }
}

/* END FOOTER SECTION */

/* MEDIA QUERIES SECTION */

@media (max-width: 991px) {
    body {
        overflow-x: hidden;
    }
    .social-bar {
        display: none;
    }
    .burger {
        display: inline-block;
    }
    :lang(en) .search-icon {
        margin-right: 5px;
    }
    :lang(ur) .search-icon {
        margin-left: 5px;
    }
    .main-header {
        padding: 0 20px;
    }
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        height: 100vh;
        background-color: floralwhite;
        width: 100vw;
        margin: 0;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
    }
    :lang(ur) .nav-links {
        text-align: right;
        flex-direction: column;
    }
    .nav-link {
        margin: 10px 20px;
        padding: 0;
    }
    .nav-links > .nav-link:first-child {
        margin-top: 100px;
    }
    .nav-link > * {
        background-color: transparent;
    }
    .nav-link:hover .nav-link-dropdown {
        display: block !important;
        position: relative;
        top: unset;
        left: unset;
        background-color: transparent;
        border: none;
    }
    .nav-link-dropdown .nav-link:hover {
        background-color: transparent;
    }

    .nav-link-dropdown .nav-link:hover a {
        color: var(--main-site-color);
    }
}

.nav-active {
    transform: translateX(0%);
    z-index: 6;
}

@media (max-width: 775px) {
    #homepage-slider {
        height: 390px;
    }
    .carousel-title-main {
        font-size: 1.7rem;
    }
    .carousel-title-secondary {
        font-size: 3rem;
    }
    .register-your-interest {
        display: none;
    }
    section {
        padding: 4rem 0;
    }
    .section-description {
        margin-bottom: 4rem;
    }
    /* .services-container {
        grid-template-columns: 1fr 1fr;
    }
    .service-item-big {
        grid-row: unset;
        grid-column: unset;
    } */
}

body {
    display: flex;
    flex-direction: column;
}
.content {
    flex: 1 0 auto;
}
footer {
    flex-shrink: 0;
}

/* END MEDIA QUERIES SECTION */

/* BUTTON STYLING */

.location-btn,
.m-btn,
.m-btn-primary {
    font-family: "Optima LT W01 Roman", Arial, Helvetica, sans-serif;
    border: 2px solid var(--main-site-color);
    color: var(--main-site-color);
    border-radius: 3px;
    padding: 10px 20px;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
    background-color: transparent;
}

.m-btn-primary {
    color: white;
    background-color: var(--main-site-color);
}

.m-btn-primary:hover {
    color: white;
    background-color: var(--main-site-color-darker);
}

.location-btn,
.location-btn:hover,
.location-btn:visited {
    margin-top: -48.51%;
    border-color: #3c3d41;
    color: #3c3d41;
}

.m-btn:hover {
    color: white;
    background-color: var(--main-site-color);
}

.location-btn:hover {
    background-color: var(--main-site-color);
}

/* END BUTTON STYLING */
