@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Lato&family=League+Spartan:wght@200;700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:wght@300&display=swap");

*,
*::after,
*::before {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "jost", sans-serif;
}
:root {
    /* colors here  */

    --dark-red: #ae1f23;
    --sharp-red: #af1f23;
    --dull-red: #b44a4c;
    --mehroon: #91262a;
    --dull-blue: #5c5c7f;
    --blue: #26276a;
    --dull-white: #eae6e7;

    /* gutter here  */

    --gutter-huge: 14rem;
    --gutter-x-large: 12rem;
    --gutter-large: 10rem;
    --gutter-medium: 8rem;
    --gutter-normal: 6rem;
    --gutter-small: 4rem;
    --gutter-x-small: 3rem;
    --gutter-xx-small: 2rem;
    --gutter-mini: 1rem;

    /* font size here  */

    --h1: 4.5rem;
    --h2: 3.8rem;
    --h3: 3.2rem;
    --h4: 3rem;
    --h5: 2.5rem;
    --h6: 2rem;
}

::selection {
    color: var(--dull-white);
    background-color: var(--sharp-red);
}

/* -------------------------------------------------- */
/* common  styles here  */
/* -------------------------------------------------- */

html {
    font-size: 62.5%;
}

body {
    max-width: 100vw;
    font-size: 2rem;
}
a,
li,
p,
span {
    font-size: 1.8rem;
}
h1 {
    font-size: var(--h1);
}
h2 {
    font-size: var(--h2);
}
h3 {
    font-size: var(--h3);
}
h4 {
    font-size: var(--h4);
}
h5 {
    font-size: var(--h5);
}
h6 {
    font-size: var(--h6);
}
@media (max-width: 800px) {
    h1 {
        font-size: var(--h2);
    }
    h2 {
        font-size: var(--h3);
    }
    h3 {
        font-size: var(--h4);
    }
    h4 {
        font-size: var(--h5);
    }
    h5 {
        font-size: var(--h6);
    }
    h6 {
        font-size: 1.3rem;
    }
    section h1 {
        font-size: var(--h3);
    }
    section h2 {
        font-size: var(--h3);
    }
}
img {
    width: 100%;
}
section {
    width: 80%;
    margin: 0 auto;
    padding: var(--gutter-medium) 0 var(--gutter-small);
}
section h1 {
    margin: var(--gutter-normal) 0 var(--gutter-small);
    color: var(--blue);
    text-transform: uppercase;
    text-align: center;
}
section h2 {
    margin: var(--gutter-mini) 0;
    color: var(--blue);
    text-transform: capitalize;
}
@media (max-width: 1000px) {
    section {
        width: 100%;
        padding: var(--gutter-normal) var(--gutter-x-small)
            var(--gutter-x-small);
    }
}

@media (max-width: 500px) {
    p {
        font-size: 1.6rem;
    }
}

/* -------------------------------------------------- */
/* navbar styles here  */
/* -------------------------------------------------- */

.logo {
    width: 100px;
}
nav.navbar {
    padding: 0 10rem;
    z-index: 10;
}

.bg-body-tertiary {
    display: block;
    position: sticky;
    top: 0;
    left: 0px;
    background-color: white !important;
}
.navbar ul.navbar-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4rem;
    width: 100%;
}

.navbar ul.navbar-nav li a.nav-link {
    color: var(--blue);
    position: relative;
    overflow-x: hidden;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.navbar ul.navbar-nav li a.nav-link:hover {
    color: var(--dark-red);
}

.navbar ul.navbar-nav li a.nav-link::after {
    display: block;
    position: absolute;
    content: "";
    bottom: 0;
    right: 100%;
    width: 100%;
    height: 3px;
    background-color: var(--dark-red);
    transition: all 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.navbar ul.navbar-nav li a.nav-link:hover::after {
    right: 0%;
}

@media (max-width: 1000px) {
    nav.navbar ul.navbar-nav {
        gap: 1rem;
    }
    nav.navbar {
        padding: 0 2rem;
    }
}

/* -------------------------------------------------- */
/* hero-section styles here  */
/* -------------------------------------------------- */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: start;
    align-items: center;
}
video.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 255, 0.1);
}
.hero-data {
    color: var(--dull-white);
    margin: var(--gutter-small) 10rem;
    z-index: 3;
}

.hero-data * {
    padding: 1rem 0;
    max-width: max-content;
    margin-bottom: 2.5rem;
}
.hero-data h1 {
    font-size: var(--gutter-normal);
}
.hero-data :is(h1, h3) {
    line-height: 1;
    font-weight: bolder;
    text-shadow: 1.5px 1.5px 2px var(--blue);
}
.hero-data a {
    font-size: 2rem;
    /* background-color: transparent !important; */
    color: var(--dull-white);
    text-decoration: none;
    padding: 1rem var(--gutter-small);
    border: 2px solid var(--sharp-red);
    background-color: var(--sharp-red);
    line-height: 1;
    transition: all 0.25s ease-in-out;
    letter-spacing: 1px;
}
.hero-data a:hover {
    /* background-color: transparent; */
    font-weight: bold;
    letter-spacing: 2px;
}
.hero-data h3 {
    margin-bottom: 3rem;
    font-size: 4.5rem;
    position: relative;
    color: transparent;
    text-shadow: none;
    white-space: nowrap;
}
@media (max-width: 600px) {
    .hero-data h3 {
        white-space: wrap;
    }
}
.hero-data h3::before {
    content: attr(data-text);
    text-shadow: 1.5px 1.5px 2px var(--blue);
    color: var(--dull-white);
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    animation: autotyping 10s infinite;
    border-right: 3px solid var(--dull-white);
}

@keyframes autotyping {
    0%,
    10%,
    100% {
        width: 0%;
    }
    70%,
    90% {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .hero-data {
        margin: var(--gutter-x-small);
    }
    .hero-data h1 {
        font-size: var(--h1);
    }
    .hero-data h3 {
        font-size: var(--gutter-x-small);
    }
    .hero-data a {
        padding: var(--gutter-mini);
        font-size: 1.5rem;
    }
}
@media (max-width: 500px) {
    .hero-data {
        margin: var(--gutter-xx-small);
    }
}

/* -------------------------------------------------- */
/* services-section styles here  */
/* -------------------------------------------------- */
.services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    position: relative;
}
.services a {
    position: relative;
    display: block;
}

.services a img {
    width: 100%;
    height: 350px;
    filter: brightness(80%);
    position: relative;
    z-index: 0;
}

.services a::before {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    z-index: 1;
    background: transparent;
    transition: all 0.15s ease-in;
}
.services a:hover::before {
    width: 100%;
    background: linear-gradient(rgba(255, 0, 0, 0.4), rgba(0, 0, 0, 0.1));
}

.services a h3 {
    font-size: var(--h2);
    font-weight: bold;
    color: var(--dull-white);
    text-shadow: 1px 1px 1rem var(--blue);
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 2;
}
.services a:hover h3 {
    text-shadow: 1px 1px 0.2rem var(--dull-white);
    color: var(--blue);
}

@media (max-width: 850px) {
    .services {
        grid-template-columns: repeat(1, 1fr);
        gap: 2rem;
    }
    .services a img {
        height: 250px;
    }
    .services a h3 {
        font-size: var(--h4);
    }
}

/* -------------------------------------------------- */
/* why-section styles here  */
/* -------------------------------------------------- */
section#why {
    margin-bottom: 50px;
}
.why-divs {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 50px;
}
.why-divs > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}
.why-divs img {
    width: 50px;
}
@media (max-width: 1100px) {
    .why-divs {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .why-divs {
        grid-template-columns: repeat(1, 1fr);
    }
}
/* -------------------------------------------------- */
/* projects-section styles here  */
/* -------------------------------------------------- */

.projects {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}
.projects > div {
    width: 100%;
    position: relative;
    flex-basis: 40%;
}
.projects > div::before {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(
        45deg,
        rgba(255, 0, 0, 0.2),
        rgba(0, 0, 0, 0.1)
    );
}
.projects div.data {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 2;
    font-weight: bold;
    color: var(--dull-white);
    text-shadow: 1px 1px 0.1rem var(--blue);
}
.projects img {
    width: 100%;
    height: 400px;
    filter: brightness(60%);
    position: relative;
    z-index: 0;
}

@media (max-width: 850px) {
    .projects {
        flex-direction: column;
    }
    .projects > div {
        flex-basis: 100%;
    }
    .projects img {
        height: auto;
    }
}

/* -------------------------------------------------- */
/* about-section styles here  */
/* -------------------------------------------------- */
#about {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}
#about > img {
    width: 50%;
    height: 500px;
    filter: saturate(150%);
}
.about {
    width: 100%;
    margin: auto;
    border-radius: 6px;
}

@media (max-width: 860px) {
    .about {
        width: 100%;
    }
    #about {
        flex-direction: column-reverse;
        text-align: center;
    }
    #about > img {
        width: 100%;
    }
}

@media (max-width: 500px) {
    #about {
        padding: var(--gutter-xx-small);
    }
}

/* ------------------------------ */
/* footer here  */
/* ------------------------------ */

footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: var(--gutter-normal);
    padding: var(--gutter-normal) var(--gutter-huge) var(--gutter-mini);
    background-color: var(--dark-red);
}
footer > div {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
footer > div div {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    gap: 1rem;
}
footer img.footer_logo {
    height: auto;
    width: 100px;
}
footer :is(a, p) {
    color: var(--dull-white);
    text-decoration: none;
    text-transform: capitalize;
}
footer h5 {
    font-size: 2.2rem;
    color: var(--dull-white);
    text-shadow: 1px 1px 0.5rem var(--blue);
    font-weight: 500;
}
footer ::selection {
    background-color: var(--blue);
}
footer > p {
    text-align: center;
}

footer .links {
    flex-direction: row;
}
footer .links img {
    width: 30px;
    height: 30px;
}
footer svg:hover g {
    fill: #26276a;
}
a.btn-quote {
    background-color: var(--blue);
    color: var(--dull-white);
    font-size: 2rem;
}
a.btn-quote:hover {
    color: var(--dull-white);
    background-color: var(--dark-red);
}
@media (max-width: 1400px) {
    footer {
        padding: var(--gutter-small) var(--gutter-xx-small);
    }
}
@media (max-width: 1000px) {
    footer > div {
        gap: 3rem;
        flex-direction: column;
    }
    footer {
        padding: var(--gutter-small);
    }
}

.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 5px grey);
    transition: all 0.25s ease-in-out;
}

.whatsapp:hover {
    width: 85px;
    height: 85px;
}
@media (max-width: 800px) {
    .whatsapp {
        position: fixed;
        bottom: 10px;
        right: 10px;
        width: 60px;
        height: 60px;
    }
    .whatsapp:hover {
        width: 65px;
        height: 65px;
    }
}

/* contact page */
.map {
    width: 100%;
}
