@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&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
}
.container {
    padding: 0rem 1.6rem;
}

nav {
    background-color: #fff;
}
.nav-row-1 {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0rem;
}
.nav-row-1 h1 {
    font-size: 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 6px;
}
.nav-row-1 h4 {
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
}
.nav-row-1 img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.border-line {
    border-bottom: 4px solid #3c6288;
}
.border-line-thin {
    border-bottom: 1px solid #aab7c380; /* #aab7c3; */
}

.contact {
    display: flex;
    justify-content: end;
    align-items: center;

    padding: .6rem 0rem;
}
.email-address {
    font-size: 1rem;
    font-weight: 600;
    padding-left: .6rem;
}

/* Section Heading */
.section-heading {
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 3px;
    text-align: center;
}

/* Designs */
.section-design {
    padding: 4rem 0rem;
}
.designs {
    margin-top: 2.8rem;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    grid-gap: 3rem;
}
.designs a {
    text-decoration: none;
    color: black;
}
.designs-card {
    display: flex;
    flex-direction: column;

    text-align: center;
    border-radius: 6px;
    box-shadow: 0 0 0.5rem #0003;
    transition: transform .3s;
}
.designs-card:hover {
    transform: translateY(-0.6rem);
}
.designs-card img {
    border-radius: 6px 6px 0 0;
    flex-grow: 1; /* all images in all cards will take the same height */
}
.designs-card h5 {
    font-size: 1.4rem;
    font-weight: 400;
    padding: 1rem 0rem;
}

/* Section Testimonials */
.section-testimonials {
    padding-top: .5rem;
    padding-bottom: 2rem;
}
.testimonials {
    margin-top: 2rem;

    display: flex;
    justify-content: space-evenly;
    gap: 3rem;    
}
.testimonial-card {
    display: flex;
    flex-direction: column; /* to stack text and header */
    flex-basis: 50%;

    padding: 1.4rem 1rem;
    /* border-radius: 6px; */
     box-shadow: 0 0 0.5rem #0003;

    /* border: 1px solid; */
    border-right: none;
    border-left: none;
    border-top: 3px solid #3c6288;
}

.testimonial-card .text {
    padding-bottom: .8rem;
}
.testimonial-card .name {
    font-size: 1rem;
    font-weight: 600;
}
q::before {
    content: '"';
    font-weight: 800;
    margin-right: -2px;
}
q::after {
    content: '"';
    font-weight: 800;
    margin-right: -2px;
}

/* Section Tech */
.section-tech {
    padding-top: 1.8rem;
    padding-bottom: 4rem;
}
.tech {
    margin-top: 2rem;

    display: flex;
    flex-direction: column;
}
.tech-card {
    display: flex;
    align-items: center;
    box-shadow: 0 0 0.5rem #0003;

    border-top: none;
    border-right: none;
    border-left: 3px solid #3c6288;

}
.tech-card-header {
    width: 13rem;
    flex-shrink: 0;
    padding: 1.4rem 1rem;
    border-right:  1px solid #aab7c380;
    font-size: 1.4rem;
    font-weight: 500;
    
}
.tech-card-detail {
    flex-grow: 1; /* detail section need more space than header so it will take all available space */

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(4rem, 1fr));
    justify-items: start;
    grid-gap: 3rem;
    padding: 0rem 2rem;
    font-size: 1.2rem;
}
.tech-card-detail #csharp {
    font-size: 1.1rem;
}


.footer {
    padding: 1rem;
    text-align: center;
}

/* Media Queries */
@media (max-width: 1055px) {
    .tech-card-header { 
        font-size: 1.2rem;
    } 
    .tech-card-detail {
        font-size: 1rem;
    }
}


@media (max-width: 660px) {
    .nav-row-1 h1 {
        font-size: 1.4rem;
        font-weight: 600;
        letter-spacing: 4px;
    }
    .nav-row-1 h4 {
        font-size: .7rem;
        font-weight: 400;
        text-transform: uppercase;
        letter-spacing: 3px;
        
    }
    .nav-row-1 img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
    }

    .email-address {
        font-size: .8rem;
        font-weight: 500;
    }

    .section-heading {
        font-size: 1.5rem;
        text-transform: uppercase;
        font-weight: 400;
        letter-spacing: 2px;
        text-align: center;
    }

    .designs {
        margin-top: 1.5rem;
    }
    .designs-card:hover {
        transform: translateY(0rem);
    }
    .designs-card h5 {
        font-size: 1rem;
        font-weight: 400;
        padding: 1rem 0rem;
    }

    .testimonials {
        flex-direction: column;
        margin-top: 1.2rem;
    }
    .testimonial-card .text {
        font-size: .9rem;
    }
    .testimonial-card .name {
        font-size: .8rem;
        font-weight: 700;
    }
    
    .tech {
        margin-top: 1.4rem;
    }
    .tech-card {
        flex-direction: column;
        border-top: 3px solid #3c6288;
        border-left: none;

    }
    .tech-card-header { 
        border-right: none;
        padding: 1rem 1rem;
        text-align: center;
        width: 100%;
        font-size: 1.2rem;
        border-bottom:  1px solid #aab7c380;
    } 

    .tech-card-detail {
        grid-template-columns: 1fr 1fr;
        padding: 1.2rem 0rem;
        font-size: 1rem;
    }
    .tech-card-detail #csharp {
        font-size: .9rem;
    }

}
