@import url('https://fonts.googleapis.com/css2?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:ital,wght@0,100..900;1,100..900&display=swap');

:root{
    --site-color: #5170FF;
    --hover-color: #0c326e;
    --anchor-color: #fff;
    --anchor-hover-color: #c5c5c5;
    --footer-color: #858589;
    --icon-background-color: #424242;
    --text-color: hsl(0, 0%, 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins";
}

html {
    scroll-behavior: smooth;
}

body{
    background-color: #fff;
}

 h3{
    font-size: 26px;
    line-height: 32px;
    font-weight: bolder;
    /*text-transform: uppercase;*/
}

h2{
    font-size: 26px;
    line-height: 32px;
    font-weight: bolder;
}

p{
    font-size: 18px;
    line-height: 30px;
}

a{
    cursor: pointer;
    text-decoration: none;
}

.pxt{
    color: gray;
}
.it-con{
    color: gray;
}

.imprvmt{
    color: gray;
} 

.main {
    width: 100%;
    background-size: 100% auto; 
    background-position: center;
}

/***** Landing Page *****/

.landing-section {
    width: 100%;
    height: 100vh;
    padding: 0 70px;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(./img/header_picture\ \(1\).webp);
    background-size: 100%;
    background-repeat: no-repeat; 
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/***** Navigation Bar *****/

.header-main {
    border-radius: 50px; 
    background-color: rgba(66, 66, 66, 0.801);
    backdrop-filter: blur(10px); 
    display: flex;
    justify-content: center;
    align-items: center; 
    position: fixed;
    top: 20px;
    left: 50%;
    width: 80%; 
    height: 60px;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 0 50px;
}

.header-main-logo{
    width: 60%;
    display: flex;
}

.header-main-logo img{
    width: 80px;
    align-self: center;
}

.header-main-nav{
    width: 40%;
    white-space: nowrap;
}

.header-main-nav ul{
    display: flex;
    align-items: center;
    list-style: none;
    gap: 25px;
}

.header-main-nav ul li a{
    padding: 0 10px;
    text-decoration: none;
    color: hsl(0, 0%, 100%);
    transition: 0.3s ease-in-out;
}

.header-main-nav ul li a:hover{
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.hamburger {
    display: none; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1100;
    flex-shrink: 0;
}
 
.ham-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                opacity   0.25s ease,
                width     0.3s ease;
    transform-origin: center;
}
 

.hamburger.is-open .ham-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open .ham-line:nth-child(2) {
    opacity: 0;
    width: 0;
}
.hamburger.is-open .ham-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
 
/* MOBILE MENU OVERLAY */
 
.mobile-menu {
    display: none; 
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 46, 0.97);
    backdrop-filter: blur(12px);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}
 
.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
}
 
.mobile-menu ul li a {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}
 
.mobile-menu ul li a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--site-color);
    transition: width 0.3s ease;
}
 
.mobile-menu ul li a:hover { 
    color: var(--site-color); 
}

.mobile-menu ul li a:hover::after { 
    width: 100%; 
}
 
.mobile-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.hero-section {
    position: absolute;
    bottom: 80px;
}

.headline {
    width: 55%;
    margin-bottom: 15px;
}

.headline h1{
    font-size: 50px;
    line-height: 62px;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.description {
    width: 55%;
    margin-bottom: 20px;
}

.hero-section .description p {
    color: hsl(0, 0%, 100%);
    text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.get-consultation {
    display: inline-block;
    text-decoration: none;
    background-color: #5170FF;
    color: hsl(0, 0%, 100%);
    border-radius: 50px;
    border: none;
    padding: 20px 50px;
    font-size: 20px;
    transition: 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.get-consultation:hover {
    transform: scale(1.07);
    cursor: pointer;
} 

#hero-section {
    scroll-margin-top: 0px;
}

/***** Services Section ****/

.services-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: hsl(0, 0%, 100%);
    padding: 0 60px;
    padding-top: 120px;
}

.services-section .title { 
    width: 100%;
    margin-bottom: 30px;
    
}

.services-section h3{
    font-size: 30px;
    color: var(--site-color);
    text-align: center;
    font-weight: 500;
    display: flex;
    align-items: center;
    /*justify-content: center;*/
    padding: 0 50px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.services-section h3::before {
    content: "";
    width: 55px;
    height: 2px;
    background: #5170FF;
    display: inline-block;
    margin-right: 20px;
}

.services-section .description{
    color: hsl(0, 0%, 0%);
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 60px;
    gap: 140px;
    padding: 0px 30px;
}

.services-section .description h4 {
    width: 33%;
    font-size: 37px;
    font-weight: 500;
    line-height: 45px;
}

.services-section .description p {
    width: 67%;
    font-size: 14px;
    font-weight: 400;
    color: hsl(0, 0%, 0%);
    padding: 0px 50px;
    align-self: right;
}

.services-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 30px;
}

.service {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    overflow: hidden;
}

.service h4 {
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 500;
    color: var(--site-color);
    text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.service p {
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 20px;
    width: 80%;
    line-height: 25px;
    height: 100px;
}

.service img {
    width: 250px;
    margin-bottom: 25px;
}

.service-button {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-button a {
    width: 200px;
    height: 50px;
    background-color: #5170FF;
    color: hsl(0, 0%, 100%);
    border-radius: 50px;
    border: none;
    font-size: 17px;
    transition: 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.service-button a:hover {
    scale: 1.07;
    cursor: pointer;
}

.service-button span {
    font-size: 13px;
}

/****** About Section ********/

.about-section {
    width: 100%;
    background-color: hsl(0, 0%, 100%);
    padding: 110px 60px;
}

.about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 35px;
}

.about h3 {
    font-size: 30px;
    color: var(--site-color);
    text-align: center;
    font-weight: 500;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.about h3::before {
    content: "";
    width: 55px;
    height: 2px;
    background: #5170FF;
    display: inline-block;
    margin-right: 20px;
}

.about p {
    width: 70%;
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
    color: hsl(0, 0%, 20%);
}

.more-content {
    display: none;
    flex-direction: column;
    align-items: center;
}

.about h4 {
    font-size: 23px;
    font-weight: 500;
    margin: 20px 0px;
    text-transform: uppercase;
}

.about ul {
    align-items: center;
    display: flex;
    flex-direction: column;
    list-style: none;
}

.about li {
    margin-bottom: 10px;
    color: hsl(0, 0%, 20%);
}

.learn-more {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.learn-more button {
    width: 200px;
    height: 50px;
    background-color: #5170FF;
    color: hsl(0, 0%, 100%);
    border-radius: 50px;
    border: none;
    font-size: 17px;
    transition: 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.learn-more button:hover {
    scale: 1.07;
    cursor: pointer;
}

.learn-more .arrow {
    font-size: 13px;
}

/**** Why Choose Us Section ****/

.choose-us-section {
    margin-bottom: 10px;
    /*padding: 60px;*/
    padding: 60px;
    padding-top: 120px;
    background-color:var(--site-color);
}

.choose-us-section .title {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.choose-us-section .title h3 {
    font-size: 30px;
    color: hsl(0, 0%, 100%);
    text-align: center;
    font-weight: 500;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.choose-us-section h3::before {
    content: "";
    width: 55px;
    height: 2px;
    background: hsl(0, 0%, 100%);
    display: inline-block;
    margin-right: 20px;
}

.choose-us-section .description {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 60px;
}

.choose-us-section .description p {
    width: 70%;
    text-align: center;
    font-size: 19px;
    font-weight: 400;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    color: hsl(0, 0%, 100%);
}

.benefits {
    display: grid;
    grid-template-columns: repeat(3);
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
}

.benefits-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    padding: 20px;
    background-color: hsl(0, 0%, 95%);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.row-1 {
    display: grid;
    grid-template-columns: repeat(3, 360px);
    gap: 30px;
    justify-content: center;
}

.row-2 {
    display: grid;
    grid-template-columns: repeat(2, 360px);
    gap: 30px;
    justify-content: center;
}

.benefits-block h4 {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    color: var(--site-color);
    text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.benefits-block p {
    text-align: center;
    font-size: 15px;
    font-weight: 400;
}

.benefits img {
    width: 80px;
    margin-bottom: 20px;
}

.partner-with-us {
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-with-us h5 {
    width: 80%;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    color: hsl(0, 0%, 100%);
}

/***** Conctact Section *****/

.contact-section {
    display: flex;
    padding: 60px;
    margin-bottom: 30px;
}

.contact-section .left {
    width: 50%;
    padding: 60px;
} 

.left h3 {
    font-size: 30px;
    color: var(--site-color);
    text-align: center;
    font-weight: 500;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.left h3::before {
    content: "";
    width: 55px;
    height: 2px;
    background: #5170FF;
    display: inline-block;
    margin-right: 20px;
}

.left .description {
    width: 100%;
    margin-bottom: 30px;
}

.left .description p {
    font-size: 19px;
    font-weight: 400;
}

.contact-details .contact {
    display: flex;
    align-items: center;
}

.contact img {
    width: 20px;
    height: 20px;
    margin-right: 25px;
}

.contact p {
    font-size: 15px;
    font-weight: 700px;
    color: var(--site-color);
}

.contact-section .right {
    width: 50%;
    padding:  60px 60px;
    display: flex;
    justify-content: center;
}

form {
    /*border: 1px solid red;*/
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

form input {
    width: 100%;
    height: 32px;
    margin-top: 15px;
    border: 1px solid hsl(0, 0%, 50%);
    border-radius: 6px;
    padding: 0px 5px;
}

form input:focus {
    outline: none;
}

form input::placeholder {
    color: hsl(0, 1%, 70%);
}

form textarea {
    width: 100%;
    height: 100px;
    margin-top: 15px;
    border: 1px solid hsl(0, 0%, 50%);
    border-radius: 6px;
    padding: 0px 5px;
    resize: none;
}

form textarea:focus {
    outline: none;
}

form textarea::placeholder {
    color: hsl(0, 0%, 70%);
}

form button {
    width: 100%;
    height: 40px;
    border-radius: 50px;
    border: none;
    color: hsl(0, 0%, 100%);
    background-color: var(--site-color);
    font-size: 17px;
    transition: 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    margin-top: 15px;
}

form button:hover {
    scale: 1.07;
    cursor: pointer;
}

form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.footer {
            background: hsl(0, 0%, 20%);
            color: hsl(0, 0%, 80%);
            padding: 60px 8% 20px;
            font-size: 14px;
        }

        .footer-container {
            display: flex;
            gap: 50px;
        }

        .col-brand { 
            width: 35%; 
        }

        .col-brand img {
            width: 30%;
        }

        .col-brand p {
            line-height: 1.6;
            font-size: 13px;
            color: hsl(0, 0%, 70%);
        }

        .footer-container h3 {
            color: var(--white);
            font-weight: 500;
            margin-bottom: 12px;
            font-size: 17px;
        }

        .footer-container ul {
            list-style: none;
        }

        .footer-container ul li {
            margin-bottom: 10px;
            font-size: 14px;
            color: hsl(0, 0%, 70%);
        }

        .footer-container ul li a {
            color: hsl(0, 0%, 70%);
            transition: 0.3s;
        }

        .footer-container ul li a:hover { 
            color: hsl(0, 0%, 100%); 
        }

        .footer-bottom {
            border-top: 1px solid hsl(0, 0%, 35%);
            margin-top: 40px;
            padding-top: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 13px;
            color: hsl(0, 0%, 60%);
        }

        .footer-bottom p {
            font-size: 13px;
        }
        
        /* Media Queries */
        /* Big Tablets 1114px */
    @media (max-width: 1114px) {


        .header-main {
            justify-content: space-between;
            padding: 0 20px;
        }

        .header-main-nav {
            display: none;
        }

        .hamburger {
            display: flex;
        }

        .mobile-menu {
            display: flex;
        }

    .landing-section {
        padding: 0 40px;
    }

    .headline,
    .description {
        width: 70%;
    }

    .headline h1 {
        font-size: 40px;
        line-height: 50px;
    }

    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-section .description {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .services-section .description h4,
    .services-section .description p {
        width: 100%;
        padding: 0;
    }

    .benefits {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .row-1,
    .row-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-section {
        flex-direction: column;
    }

    .contact-section .left,
    .contact-section .right{
        width: 100%;
        padding: 20px;
    }

    .footer-container {
        flex-wrap: wrap;
        gap: 30px;
    }
}

/* Smaller tablets */

@media (max-width: 884px) {

    .header-main {
        width: 90%;
    }

    .header-main-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .headline,
    .description {
        width: 90%;
    }

    .headline h1 {
        font-size: 34px;
        line-height: 44px;
    }

    .get-consultation {
        padding: 15px 35px;
        font-size: 16px;
    }

    .services-container {
        grid-template-columns: 1fr;
    }

    .service img {
        width: 200px;
    }

    .about p {
        width: 90%;
    }

    .row-1,
    .row-2 {
        grid-template-columns: 1fr;
    }

    .partner-with-us h5 {
        font-size: 24px;
        width: 90%;
    }
}

/* Mobile Phones */

@media (max-width: 480px) {

    .landing-section {
        padding: 20px;
    }

    .headline {
        width: 95%;
    }

    .headline h1 {
        font-size: 28px;
        line-height: 36px;
        text-align: center;
    }

    .description {
        width: 95%;
    }

    .description p {
        font-size: 16px;
        text-align: center;
    }

    .hero-section {
        bottom: 40px;
    }

    .btn-consultation {
        width: 95%;
        display: flex;
        justify-content: center;
    }

    .get-consultation {
        width: 90%;
        text-align: center;
        padding: 14px;
    }

    .services-section {
        padding: 80px 20px;
    }

    .services-section h3 {
        font-size: 24px;
        padding: 0;
    }

    .service p {
        width: 100%;
        height: auto;
    }

    .about-section {
        padding: 80px 20px;
    }

    .about h3 {
        font-size: 24px;
    }

    .choose-us-section {
        padding: 80px 20px;
    }

    .choose-us-section .description p {
        width: 100%;
        font-size: 16px;
    }

    .benefits-block {
        padding: 15px;
    }

    .right {
        display: flex;
        width: 100%;
    }

    form {
        width: 100%;
    }

    .footer-container {
        flex-direction: column;
    }

    .col-brand,
    .col-info,
    .col-services,
    .col-contacts {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}