* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    transition: 0.3s;
    font-family: "Poppins", sans-serif;
}

:root {
    --bg-color: #080808;
    --second-bg-color: #131313;
    --text-color: #ffffff;
    --main-color: #f87765;
}

html {
    font-size: 60%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 3rem 12% 3rem;
    background-color: rgb(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}

.logo {
    font-size: 3rem;
    color: var(--text-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo span {
    text-shadow: 0 0 15px var(--main-color);
}

.navbar a,
.nav-footer a {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3 ease;
    padding-bottom: 5px;
    border-bottom: 3px solid transparent;
}

.navbar a:hover,
.nav-footer a:hover,
.navbar a.active {
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}

#icon-menu {
    font-size: 3.6rem;
    color: var(--main-color);
    display: none;
    background: transparent;
    cursor: pointer;
}

section {
    min-height: 100vh;
    padding: 8rem 12% 8rem;
}


/* Start Home */
.home {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}

.home-content {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    text-align: left;
    justify-content: center;
    margin-top: 3rem;
}

span {
    color: var(--main-color);
}

.logo span {
    color: var(--main-color);
}

.home-content h3 {
    font-size: 3.5rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.home-content h1 {
    font-size: 7rem;
    font-weight: 700;
    margin-top: 1.5rem;
    line-height: 1;
}

.home-img {
    border-radius: 50%;
}

.home-img img {
    position: relative;
    top: 3rem;
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    cursor: pointer;
    transition: 0.4s ease-in-out;
}

.home-img img:hover {
    box-shadow: 0 0 15px var(--main-color),
        0 0 30px var(--main-color),
        0 0 60px var(--main-color);
}

.home-content p {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.8;
    max-width: 1000px;
}

.social-icon a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: transparent;
    border: 2px solid var(--main-color);
    font-size: 2.5rem;
    border-radius: 50%;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.4s ease-in-out;
}

.social-icon a:hover {
    color: var(--text-color);
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 0 10px var(--main-color);
    background: var(--main-color);
}

.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    box-shadow: 0 0 10px var(--main-color);
    border-radius: 4rem;
    font-size: 1.6rem;
    color: black;
    letter-spacing: 0.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px var(--main-color);
}

.btn-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-group a:nth-of-type(2) {
    background-color: black;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    box-shadow: 0 0 10px transparent;
}

.btn-group a:nth-of-type(2):hover {
    background-color: var(--main-color);
    color: black;
    box-shadow: 0 0 10px var(--main-color);
}

/* Start Education */
.heading {
    font-size: 8rem;
    text-align: center;
    margin: 5rem 0;
}

.education {
    padding: 100px 10rem;
    background: var(--second-bg-color);
}

.education h2 {
    margin-bottom: 5rem;
}

.timeline-items {
    max-width: 1000px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.timeline-items:before {
    content: "";
    position: absolute;
    width: 5px;
    height: 100%;
    background-color: var(--main-color);
    left: calc(50% - 1px);
}

.timeline-item {
    margin-bottom: 40px;
    width: 100%;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 30px);
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 30px);
}

.timeline-dot {
    height: 21px;
    width: 21px;
    background-color: var(--main-color);
    box-shadow: 0 0 10px var(--main-color),
        0 0 20px var(--main-color);
    position: absolute;
    left: calc(50% - 9px);
    border-radius: 50%;
    top: 10px;
}

.timeline-date {
    font-size: 20px;
    font-weight: 800;
    color: white;
    margin: 6px 0 15px;
}

.timeline-content {
    background-color: var(--bg-color);
    border: 3px solid var(--main-color);
    padding: 30px 50px;
    border-radius: 4rem;
    box-shadow: 0 0 10px var(--main-color);
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.timeline-content:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px var(--main-color);
}

.timeline-content h3 {
    font-size: 20px;
    color: white;
    margin: 0 0 10px;
    font-weight: 500;
}

/* All Paragraph */
.timeline-content p,
.services-item p {
    color: white;
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
}

/* Start Services */

.services {
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-items {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.services-item {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    background: var(--main-color);
    flex: 1 1 calc(50% - 10px);
    padding: 5rem;
    border-radius: 20px;
}

@media (max-width: 767px) {
    .services-item {
        flex: 1 1 100%;
    }

}

.services-item:hover {
    transform: scale(1.02);
    box-shadow: 0 0 10px var(--main-color);
    background-color: var(--bg-color);
}

.services-item:hover h4 {
    color: var(--main-color);
}

.services-item h4 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

/* Start Project */

.project {
    background: var(--second-bg-color);
}

.card {
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 5rem;
    background: var(--bg-color);
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.card img {
    width: 100%;
    border-radius: 25px 25px 0 25px;
}

.card .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 2rem 2rem 3.5rem;
}

.card .content h3 {
    font-size: 2rem;
    color: white;
}

.card .content p {
    color: white;
    font-size: 1.6rem;
    line-height: 22px;
}

.btn-card {
    color: white;
    border: 2px solid var(--main-color);
    box-shadow: 0 0 5px var(--main-color);
}

.btn-card:hover {
    background: var(--bg-color);
}


.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    background: var(--main-color);

}


/* Start Contact */

.contact {
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.left-form,
.right-form {
    display: flex;
    flex-direction: column;
    width: 45%;
}

/* @media (max-width: 767px) {

    .left-form,
    .right-form {
        width: 80%;
    }
} */



.contact form input,
.contact form textarea {
    width: 90%;
    font-size: 1.7rem;
    margin: 0 auto;
    padding: 2rem;
    margin-bottom: 15px;
    border-radius: 2rem;
    border: 2px solid var(--main-color);
    outline: none;
    background: var(--second-bg-color);
    color: var(--main-color);
    caret-color: var(--main-color);
    resize: none;
    transition: 0.3s ease-in-out;
}

.contact form input:hover,
.contact form textarea:hover {
    transform: scale(1.02);
    box-shadow: 0 0 10px var(--main-color);
}


.contact form textarea {
    height: 200px;
}

.right-form input[type="submit"] {
    width: 40%;
    margin: auto;
    padding: 13px 20px;
    background: var(--main-color);
    box-shadow: 0 0 10px var(--main-color);
    color: white;
    border-radius: 4rem;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

::placeholder {
    color: white;
    font-size: 16px;
}

.right-form input[type="submit"]:hover {
    background: var(--second-bg-color);
    border: 2px solid var(--main-color);
    color: var(--main-color);
}

/* Start Footer */

.footer {
    background: var(--second-bg-color);
    padding: 1.7rem 0 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.social-icon-footer {
    margin-left: 1.5rem;
}


.footer p {
    font-size: 1.6rem;
    margin-top: 4rem;
}

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 20px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}


/*! ---------- Media Queries ---------- !*/

/* Small */
@media (max-width: 576px) {}

/* Medium */
@media (max-width: 768px) {

    /* Home */
    .home {
        flex-direction: column-reverse;
        margin: 5rem 2rem;
        gap: 3rem;
    }

    .home-content h3 {
        font-size: 2.5rem;
    }

    .home-content h1 {
        font-size: 7rem;
        margin-top: 3rem;
    }

    .home-img img {
        width: 45vw;
    }

    .home-content p {
        max-width: 600px;
        margin: 0 auto;
    }

    /* All Heading */
    .heading {
        font-size: 5.2rem;
        text-align: center;
        margin: 1rem 0 5rem;
    }

    /* Services */
    .services h2 {
        margin-top: 3rem;
    }

    /* Contact */
    .contact form {
        flex-direction: column;
    }

    .left-form,
    .right-form {
        width: 100%;
    }

    /* Footer */
    .nav-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        letter-spacing: 2px;
        gap: 3.5rem;
        padding-left: 1rem;
        margin: 2rem 0 3rem 0;
    }

    .nav-footer a {
        text-align: center;
    }

}


/* Large */
@media (max-width: 992px) {

    header {
        padding: 2rem 3%;
    }

    section {
        padding: 10rem 3% 2rem;
    }

    #icon-menu {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        height: 100vh;
        padding: 0 0 10rem 0;
        background-color: rgb(0, 0, 0, 0.8);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        letter-spacing: 2px;
        transform: translateX(0);
        transition: .4s ease-in-out;
    }

    .nav-active {
        transform: translateX(-100%);
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        color: white;
    }

    /* Show & Hibe Icon */
    .icon-close-outline,
    .icon-active .icon-menu {
        display: none;
    }

    .icon-active .icon-close-outline {
        display: block;
    }


    /* Education */
    .education {
        padding: 7rem 1rem;
    }

    .timeline-dot {
        left: 0;
    }

    .timeline-content {
        padding: 20px 40px;
    }

    .timeline-items:before {
        left: 7px;
    }

    .timeline-item:nth-child(odd) {
        padding-right: 0;
        text-align: left;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 37px;
    }


}

/* Extra large */
@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
}

/* Extra extra large */
@media (min-width: 1201) {}