@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root{
    --primary-color:#000000;
    --secondary-color: #0066ff;
    --text-dark: #0e0d16;
    --text-light: #767368;
    --extra-light: #f7f8fd;
    --white: #ffffff;
    --max-width: 1200px;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.btn {
    padding: 0.75rem 1.5rem;
    outline: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    font-family: "Monserrat", sans-serif;
    white-space: nowrap;
    color: var(--white);
    background-color: var(--primary-color);
    border-radius: 5px;
    transition:0.3s;
    cursor: pointer;
}

.btn:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

img {
    width: 100%;
    display:flex;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
}

html,
body {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
}

nav {
    position: fixed;
    isolation: isolate;
    width: 100%;
    z-index: 9;
}

.nav_header { 
    padding: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--primary-color);
}

.nav_logo a {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.5rem;
}

.nav_menu_btn {
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

.nav_links {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    background-color: var(--primary-color);
    transition: transform 0.5s;
    z-index: -1;
}

.nav_links.open{
    transform: translateY(100%);
}

.nav_links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    white-space: nowrap;
}

.nav_btns {
    display: none;
}

.nav_dropdown {
  position: relative;
}

.dropdown_menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--extra-light);
  display: none;
  flex-direction: column;
  min-width: 200px;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0);
  transition: all 0.3s ease;
}

.dropdown_menu li a {
  padding: 0.75rem 1rem;
  display: block;
  color: var(--text-dark);
  font-weight: 500;
}

.dropdown_menu li a:hover {
  background-color: var(--text-light);
  color: var(--white);
}

.nav_dropdown:hover .dropdown_menu {
  display: flex;
}

.section_container {
    max-width: var(--max-width);
    margin: auto;
    padding: 5rem 1rem;
}

.section_header {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
}

.section_description {
    font-size: 1rem;
    font-weight: 500;
    color:var(--text-light);
    line-height: 1.5rem;
    text-align: center;
}

.header_container{
    display: grid;
    gap: 2rem;
    overflow: hidden;
}

.header_image img {
    max-width: 550px;
    margin-inline: auto;
}

.header_content h1 {
    margin-top: 1rem;
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 4.75rem;
    text-align: center;
}

.header_content h1 span {
    color: var(--secondary-color)
}

.header_btns {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.header_btns a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
}

.header_btns a span{
    margin-right: .5rem;
    width: 2.5rem;
    aspect-ratio: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: 2px solid var(--text-dark);
    border-radius: 100%;
}

.service {
    background-color: var(--extra-light);
}

.service_container.section_header {
    max-width: 750px;
    margin-inline: auto;
}

.service_grid {
    margin-block: 4rem;
    display: grid;
    gap: 1rem;
}

.service_card {
    padding: 1rem;
    border-radius: 0.75rem;
    background-color: var(--white);
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.service_card:hover{
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.service_card:nth-child(1):hover {
    border-color: #00d5be; 
}

.service_card:nth-child(2):hover {
    border-color: #ff637e;
}

.service_card:nth-child(3):hover {
    border-color: #c26aff;
}

.service_card:nth-child(4):hover {
    border-color: #00bcff;
}

.service_card:nth-child(5):hover {
    border-color: #ff8c42;
}

.service_card:nth-child(6):hover {
    border-color: #ff0000;
}

.service_card div{
    margin-bottom: 1rem;
    max-width: max-content;
    padding: 5px 8px;
    font-size: 1.75rem;
    border-radius: 5px;
} 

.service_card:nth-child(1) div{
    color: #00d5be;
    background-color: #fff1f2;
}

.service_card:nth-child(2) div{
    color: #ff637e;
    background-color: #fff1f2;
}

.service_card:nth-child(3) div{
    color: #c26aff;
    background-color: #fff1f2;
}

.service_card:nth-child(4) div{
    color: #00bcff;
    background-color: #fff1f2;
}

.service_card:nth-child(5) div{
    color: #ff8c42;
    background-color: #fff1f2;
}

.service_card:nth-child(6) div{
    color: #ff0000;
    background-color: #fff1f2;
}

.service_card h4{
    max-width: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.service_card .section_description{
    text-align: left;
}

.service_btn {
    display: flex;
    justify-content: center;
}

.about_container {
    display: grid;
    gap: 2rem;
}

.about_image img {
    max-width: 450px;
    margin-inline: auto;
}

.about_content .section_header{
    margin-bottom: 2rem;
    text-align: left;
}

.about_list {
    display: grid;
    gap: 2rem;
}

.about_list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about_list li span{
    max-width: max-content;
    padding: 5px 8px;
    font-size: 1.75rem;
    border-radius: 5px;
}

.about_list li:nth-child(1) span {
    color: #00d5be;
    background-color: #f0fdfa;
}

.about_list li:nth-child(2) span {
    color: #ff647e;
    background-color: #f0fdfa;
}

.about_list li:nth-child(3) span {
    color: #c27aff;
    background-color: #f0fdfa;
}

.about_list h4{
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
}

.about_list .section_description{
    text-align: left;
}

.feedback_container {
    padding-bottom: 3rem;
}

.swiper{
    padding-block: 4rem 2rem;
    width: 100%;
}

.swiper-slide {
    min-width: 375px;
}

.feedback_card {
    padding: 1.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    background-color: #ffffff;
}

.feedback_card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.feedback_card .section_description {
    text-align: left;
}

.feedback_details {
    margin-top: 1rem;
    padding-top: 1rem;
    display:  flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.feedback_user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feedback_user img {
    max-width: 100px;
    border-radius: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feedback_user h4{
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
}

.feedback_user h5 {
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-light)
}

.feedback_rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.feedback_rating span {
    font-size: 1rem;
    color: goldenrod;
}

.section_container.feedback_container{
    background-color: var(--extra-light);
}

.footer_container{
    display: grid;
    gap: 4rem 2rem;
}

.footer_logo { 
    margin-bottom: 2rem;
}

.footer_logo a{
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
}

.footer_logo a span {
    color: var(--secondary-color);
}

.footer_col .section_description {
    margin-bottom: 2rem;
    text-align: left;
}

.footer_col h3{
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.footer_socials {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer_socials a{
    padding: 4px 6px;
    font-size: 1.125rem;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    border-radius: 100%;
}

.footer_socials a:hover{
    color: var(--white);
    background-color: var(--secondary-color);
}

.footer_col h4 {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.footer_links {
    display: grid;
    gap: 1rem;
}

.footer_links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light)
}

.footer_links a:hover{
    color: var(--secondary-color);
}

.footer_links a span{
    margin-right: 0.5rem;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.footer_bar {
    padding: 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    text-align: center;
}

@media (width > 540px) {
    .service_grid{
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer_container{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (width > 768px){
    nav {
        position: static;
        padding: 1rem;
        max-width: var(--max-width);
        margin-inline: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        border-bottom: 2px solid var(--extra-light);
    }

    .nav_header {
        flex: 1;
        padding: 0;
        background-color: transparent;
    }

    .nav_logo a{
        color: var(--text-dark);
    }

    .nav_logo a span{
        color: var(--secondary-color);
    }

    .nav_menu_btn {
        display: none;
    }

    .nav_links {
        position: static;
        width: fit-content;
        padding: 0;
        flex-direction: row;
        background-color: transparent;
        transform: none !important;
    }

    .nav_links a {
        color: var(--text-light);
    }

    .nav_links a:hover{
        color: var(--secondary-color);
    }

    .nav_btns {
        flex: 1;
        display: flex;
        justify-content: flex-end
    }

    .header_container{
        padding-top: 2rem;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        gap: 0;
    }

    .header_image {
        grid-area: 1/2/2/3;
    }

    .header_content :is(h1, .section_description){
        text-align: left;
    }

    .header_btns{
        justify-content: flex-start;
    }

    .service_grid{
        grid-template-columns: repeat(3, 1fr);
    }

    .about_container{
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .footer_container{
        grid-template-columns: repeat(5, 1fr);
    }

    .footer_col:nth-child(1){
        grid-column: 1/5;
        max-width: 3
    }
}

@media (width > 1024px) {
    .service_grid {
        gap: 1.5rem;
    }

    .feedback_card {
        padding: 2rem 1.5rem;
    }
}