@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800;900&family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');


:root {
    --primary-color: #03045e;
    --secondary-color: #f9a826;
    --dark-color: #1a1a1a;
    --light-color: #f4f4f4;
    --white-color: #fff;
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    --font-black: 900;
    --font-montserrat: 'Montserrat', sans-serif;
    --font-poppins: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-poppins);
}

h1,
h2,
h3 {
    font-family: var(--font-montserrat);
}

.section-heading {
    position: relative;
    margin-bottom: 10px;
    text-transform: capitalize;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--white-color);
    z-index: 9999;
}

/* Menu Toggle Button */
#menu-toggle-btn {
    width: 20px;
    display: none;
}

#menu-toggle-btn>div {
    width: 20px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.4s;
}

/* Active Menu Toggle Btn */
#menu-toggle-btn.active>div:nth-child(1) {
    transform: rotate(45deg) translate(2px, 5px);
}

#menu-toggle-btn.active>div:nth-child(2) {
    opacity: 0;
}

#menu-toggle-btn.active>div:nth-child(3) {
    transform: rotate(-45deg) translate(2px, -8px);
}

#preloader>img {
    animation: fadeIn 1s ease-in-out infinite alternate;
}

@keyframes fadeIn {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

/* Button effect */
.btn {
    position: relative;
    transition: 0.4s;
}

.btn.btn-primary:hover {
    background-color: var(--dark-color);
}

/* .section-heading::after {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 5%;
    height: 5px;
    border-radius: 50rem;
    background-color: var(--primary-color);
} */

/* Mobile Menu Section */
#menu-overlay {
    position: fixed;
    top: 60px;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--light-color);
    color: var(--dark-color);
    z-index: 9999;
    display: none;
}

#menu-overlay.active {
    display: block;
}

#menu-overlay>nav {
    display: flex;
    flex-direction: column;
}

#menu-overlay>nav>a {
    text-decoration: none;
    font-size: 40px;
    display: block;
    margin: 2%;
    margin-left: 20px;
    color: var(--dark-color);
    text-transform: uppercase;
    position: relative;
}

#menu-overlay>nav>a.active::before {
    content: '';
    position: absolute;
    left: -5%;
    width: 3px;
    height: 100%;
    background-color: var(--primary-color);
}

/* Alert Overlay */
#alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.377);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

#alert-overlay>#alert {
    width: 40%;
    height: 30%;
    background-color: white;
    border-radius: 10px;
    padding: 2%;
    transition: 0.4s;
    transform: scale(0);
}

#alert-overlay.active {
    display: flex;
}

#alert-overlay.active>#alert {
    transform: scale(1);
}

#alert-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 2%;
    border-bottom: 1px solid rgba(128, 128, 128, 0.425);
}

/* Header Section */
header {
    height: 60px;
}

header.light_version {
    background-color: var(--white-color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

header.dark_version {
    background-color: var(--dark-color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#logo {
    font-family: var(--font-montserrat);
    font-size: 1.5rem;
    font-weight: var(--font-bold);
    color: var(--primary-color);
}

main {
    position: relative;
}

#mesh {
    position: absolute;
    opacity: 0.1;
    top: 50vh;
    left: -30vh;
    pointer-events: none;
    animation: rotate 60s linear infinite;
    z-index: 99;
}

/* Infinite Rotate Animation Effect on mesh */
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

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

/* Hover effect on link */
.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease-in-out;
    position: relative;

}

.nav-link::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 2px;
    transition: 0.3s;
    background-color: var(--primary-color);
}

.nav-link.active::before {
    width: 100%;
}

/* Introduction Section */
#intro {
    height: calc(100vh - 60px);
    background-color: whitesmoke;
    display: grid;
    grid-template-columns: 60% 40%;
    place-items: center;
    margin-top: 60px;
}

#intro-desc h1 {
    font-size: 4rem;
}

#intro-image {
    width: 80%;
    height: 80%;
}

.img-container {
    position: relative;
}

.img-container>img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Solutions Section */
#solutions-card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 75%;
    margin: 3% auto;
    gap: 2rem;
}

.card.light_version {
    background-color: var(--light-color);
    min-height: 200px;
    border: none;
}

/* Services Section  */
#services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: 50vh;
}

#solutions .card {
    border-top: 3px solid var(--primary-color);
}

/* Process Section  */
#process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-height: 100vh;
    /* place-items: center; */
}

.step {
    display: grid;
    grid-template-columns: 5% 95%;
    margin-bottom: 3%;
}

.step-number {
    font-size: 2rem;
    font-weight: var(--font-bold);
    color: var(--primary-color);
}

/* Contact Section  */
#contact {
    padding: 5%;
    background-color: whitesmoke;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

#contact #mesh2 {
    position: absolute;
    bottom: 0;
    right: -10%;
    opacity: 0.3;
    pointer-events: none;
}

/* ============================================================== 
     # Testimonials 
=================================================================== */

#portfolio>div {
    min-height: 300px;
    position: relative;
}

#testimonials {
    width: 55%;
    margin: 3% auto;
}

.testimonial-item {
    background-color: var(--light-color);
    color: var(--dark-color);
    min-height: 200px;
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 1.5rem;
    position: relative;
}

.testimonial-item>img {
    position: absolute;
    width: 50%;
    height: 50%;
    bottom: 0;
    right: -40%;
    object-fit: contain;
    opacity: 0.1;
    pointer-events: none;
}

/* Contact Form */
#contact-form form input,
#contact-form form textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.363);
    border-radius: 0;
    margin-bottom: 1rem;
    outline: none;
}

#contact-form form textarea {
    resize: none;
    height: 100px;
}

#contact-form form input:focus,
#contact-form form textarea:focus {
    border-bottom: 1px solid var(--primary-color);
}

#contacts {
    background-color: var(--dark-color);
    color: var(--white-color);
}

/* 
#contact-form>div:nth-child(2) .img-container {
    width: 100%;
    height: 100%;
}

#contact-form>div:nth-child(2) .img-container>img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.1;
    pointer-events: none;
} */

/* Footer */
footer {
    background-color: var(--dark-color);
    position: relative;
    min-height: 200px;
    display: flex;
    /* align-items: center; */
    justify-content: space-between;
    color: var(--white-color);
}

#footer-logo {
    width: 200px;
    height: 110px;
    object-fit: contain;
}

#connect-links {
    max-width: 200px;
    margin-bottom: 5%;
}

#connect-links a {
    width: 35px;
    height: 35px;
    padding: 2%;
    border-radius: 50%;
    border: 1px solid var(--white-color);
    display: grid;
    place-items: center;
    font-size: 15px;
    transition: 0.4s;
}

#connect-links a:hover {
    background-color: var(--light-color);
    color: var(--dark-color) !important;
}

/* #connect-links a.whatsapp:hover {
    background-color: #25d366;
}

#connect-links a.instagram:hover {
    background-color: #e1306c;
}

#connect-links a.linkedin:hover {
    background-color: #0e76a8;
} */

.footer-services {
    font-size: 0.8rem;
}

.footer-services li {
    margin-bottom: 2%;
}

.step {
    padding: 0 2%;
}

#send-email-btn {
    position: relative;
}

#send-email-btn i {
    position: absolute;
    transition: 1s;
    transform: rotate(45deg);
}

#send-email-btn i.fly {
    animation: fly 3s ease-in-out;
}

@keyframes fly {
    0% {
        transform: translateX(0);
        transform: rotate(45deg);
    }

    100% {
        transform: rotate(45deg);
        transform: translate(300px, -30px);
    }
}

/* Responsive */
/* Intro Section */
@media screen and (max-width: 850px) {
    #intro-desc h1 {
        font-size: 3rem;
    }

    .nav li,
    .nav button {
        display: none;
    }

    #menu-toggle-btn {
        display: block;
    }
}

@media screen and (max-width: 615px) {
    #intro {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }

    #intro>#intro-desc {
        order: 1;
    }
}

/* Services Section */
@media screen and (max-width: 1000px) {
    #solutions-card-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 700px) {
    #solutions-card-container {
        grid-template-columns: 1fr;
    }
}

/* Process Section */
@media screen and (max-width: 1040px) {
    #process-grid {
        grid-template-columns: 1fr;
    }

    #process-grid>.img-container {
        display: none;
    }
}

/* Testimonials */
@media screen and (max-width: 1016px) {
    #testimonials {
        width: 75%;
    }
}

@media screen and (max-width: 750px) {
    .testimonial-item {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .testimonial-item>.img-container>img {
        object-fit: cover;
    }
}

/* Contact Form */
/* @media screen and (max-width: 750px) {
    #paper-plane-img {
        display: none;
    }
} */

/* Footer */
@media screen and (max-width: 1016px) {
    footer {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 750px) {
    footer {
        display: grid;
        grid-template-columns: 1fr;
    }
}

/* @media screen and (max-width: 450px) {
    #intro {
        height: calc(100vh - 40px);
        margin-top: 40px;
    }
} */