:root{
    /* --primary-color: #0f3ec4; */
    --primary-color: #a30004;
    --primary-light: #c02b19;
}
body{
    /* font-family: 'Roboto', sans-serif; */
    /* font-family: 'Hk Grotesk', sans-serif; */
    font-family: 'Work Sans';
    font-size: 1.19rem;
    margin: 0 10%;
    box-sizing: border-box;
    max-width: 1500px;
}
h1, h2, h3, h4, h5, h6, button, a, summary{
    font-family: 'Archivo', sans-serif;
    font-weight: 300;
    letter-spacing: 0.022em;
}
h1{
    font-size: 3rem;
    font-weight: 700;
}
h2{
    font-weight: 600;
}
p{
    font-weight: 400;
}
summary{
    font-size: 1.25rem;
    font-weight: 500;
}
.page-section{
    margin: 6rem 0;
}
.page-landing{
    margin: 8rem auto 4.5rem;
}
#landing{
    width: 60%;
    text-align: center;
    /* margin: 128px auto 72px; */
}
#landing p{
    margin-top: 3rem;
    margin-bottom: 3rem;
}
#landing .but{
    padding: 1.5rem 4rem;
    font-size: 1.25rem;
}
/* #page-section2{
    position: relative;
    margin: 0;
    background-color: #efefef;
    width: 100%;
    padding: 48px 10%;
    left: -10%;
    box-sizing: border-box;
} */
/* #page-section2 {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    background-color: #efefef;
    padding: 48px 10%;
    box-sizing: border-box;
  } */
#page-section2-heading{
    /* display: inline; */
    display: flex;
    /* margin: 96px 0; */
}
#page-section2-heading > *{
    width: 50%;
    margin: 0;
}
#page-section2-heading h1{
    margin-right: 1.5rem;
}
#page-section2-heading p{
    margin-top: 0.375rem;
    margin-left: 1.5rem;
}
#page-section2-cards, #page-section3-reviews{
    display: flex;
    justify-content: space-between;
    /* justify-content: space-around; */
}
#page-section2-cards div{
    width: 31.5%;
    border: 1px solid gray;
    border-radius: 6px;
    background-color: #fcfcfc;;
    /* text-align: center; */
}
#page-section2-cards h2, #page-section2-cards .but{
    margin: 1.3rem;
}
#page-section2-cards span{
    display: block;
    margin: 1.3rem;
    font-size: 1rem;
    font-weight: 300;
}
#page-section2-cards img{
    width: 100%;
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
}
/* .word-small{
    display: none;
} */

/* Page section 3 */

/* #page-section3{
    margin: 6rem 0;
} */
.review{
    margin-top: 3rem;
    width: 31.5%;
}
.review h3{
    margin-bottom: 0.4rem;
}
.review p{
    margin: 0;
}
#main-image{
    width: 100%;
}
.highlight{
    color: var(--primary-color);
}
.nowrap{
    white-space: nowrap;
}
.stars{
    height: 1.3rem;
    margin-bottom: 0.7rem;
}
/* .reviewer-face, .company-logo{
    height: 3.75rem;
    border-radius: 100%;
} */
#logo{
    /* background-color: #007bff; */
    /* height: 50px; */
    height: 100%;
    /* padding: 6px 0 12px 0; */
    padding: 0.5em 0;
    box-sizing: border-box;
    /* margin-right: 3rem; */
    transition: padding 0.3s ease;
}
#logo:hover{
    padding: 0.6em 0.2em;
}
#logo-a{
    margin-right: 3rem;
}
header{
    display: flex;
    /* width: 100%; */
    /* justify-content: center; */
    /* margin: 0; */
    box-shadow: 0 6px 4px -6px lightgray;
    /* background-color: aliceblue; */
    height: 72px;
}
footer{
    display: flex;
    width: 100%;
    box-shadow: 0 -6px 4px -6px lightgray;
    margin:10rem auto;
    text-align: center;
    flex-direction: column;
    /* justify-content: space-around; */
}
footer nav{
    margin: 3rem auto 1rem;
    /* font-size: 1rem; */
    
}
footer p{
    font-size: 0.8rem;
}
a{
    text-decoration: none;
}
#nav-links{
    /* display: flex; */
    /* padding: 0 32px; */
    /* text-align: center; */
    /* width: 100%; */
    margin: auto;
    /* font-size: 1.1rem; */
}
.nav-link{
    padding: 1.5rem;
    color: black;
    /* font-weight: 500; */
    transition: color 0.3s ease;
}
.nav-link:hover{
    color: var(--primary-color);
}
/* .nav-link-foot{
    color: black;
    transition: color 0.3s ease;
    display: inline-block;
    cursor: pointer;
}
.nav-link-foot:hover{
    color: var(--primary-color);
} */
.but{
    display: inline-block;
    padding: 1.1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    cursor: pointer;
}
.button1{
    background-color: var(--primary-color);
    color: white;
    border: none;
}
.button1:hover{
    background-color: var(--primary-light);
}
.button2{
    background-color: #fcfcfc;
    color: var(--primary-color);
    border: var(--primary-color) solid 1px;
}
.button2:hover{
    background-color: var(--primary-color);
    color: white;
}

/* Contact Page */
#contact-landing{
    text-align: center;
    /* margin-top: 128px;
    margin-bottom: 64px; */
    max-width: 500px;
}
#contact-form{
    display: flex;
    flex-direction: column;
    /* width: 50%; */
    max-width: 500px;
    margin: 0 auto;
}
input, textarea{
    padding: 0.75rem;
    font-family: 'Work Sans';
    font-size: 0.9rem;
    margin-bottom: 1rem;
    margin-top: 0.25rem;
}
label{
    font-size: 1rem;
}
#contact-info h2{
    padding-top: 3rem;
}
#contact-info p{
    font-size: 1rem;
}
.bold{
    font-weight: 700;
}
/* Thank you page */
#thank-you-page{
    text-align: center;
    /* margin: 128px auto; */
    font-size: 1.5rem;
    /* width: 400px; */
}
#hamburger-menu {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001; /* Make sure it's clickable */
}
/* #hamburger-menu span{
    font-size: 0.8rem;
    margin: auto;
} */
/* Tech page */
/* #tech-landing{
    width: 100%;
} */
#tech-cards{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 3rem;
}
.tech-card{
    width: 22%;
    margin-bottom: 1.5rem;
}
.tech-card img{
    width: 100%;
    border-radius: 6px;
}
/* about page */
/* #about-landing, #tech-landing-text{
    max-width: 1200px;
    margin-left: 0;
} */
/* #about-landing p{
    margin-bottom: 5rem;
} */
/* #about-landing{
    display: flex;
} */
 .about-section{
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
 }
 .about-element{
    width: 47%;
 }
 .about-element img{
    width: 100%;
    border-radius: 40%;
 }
 .about-img-p{
    text-align: center;
 }
/* FAQ section */
/* #faq {
    width: 100%;
} */
#faq h1 {
  margin-bottom: 3rem;
  /* font-size: 2.5rem; */
  /* text-align: center; */
}
#faq details {
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 1rem;
  background-color: #fafafa;
  transition: background-color 0.2s ease;
}
#faq details[open] {
  background-color: #f0f0f0;
}
#faq summary {
  /* font-weight: 600; */
  /* font-size: 1.4rem; */
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.5rem;
  transition: color 0.3s ease;
}
#faq summary:hover{
  color: var(--primary-color);
}
#faq summary::-webkit-details-marker {
  display: none;
}
#faq p {
  margin: 1rem 1.5rem;
  /* font-size: 1rem; */
  line-height: 1.5;
}
#faq h2{
  margin: 4rem 0 2rem;
}
#faq-bottom{
  display: flex;
  flex-direction: column;
}
#faq-contact-button{
  margin: auto;
}
#careers-list{
    width: fit-content;
    display: flex;
    flex-direction: column;
}
#careers-contact-button{
    margin: 2rem auto;
}
#tech-button{
    margin: 2rem auto;
}


@media (max-width:1120px) {
    #landing{
        width: 80%;
    }
    .tech-card{
        width: 47%;
    }
}
@media (max-width: 920px) {
    body{
        margin: 0 3%;
    }
    #nav-links{
        display: flex;
        width: 100%;
        justify-content: space-around;
    }
    footer nav{
        display: flex;
        width: 80%;
        justify-content: space-around;
    }
    #page-section2-cards, #page-section3-reviews{
        flex-direction: column;
    }
    #page-section2-cards div{
        width: 100%;
        margin-bottom: 16px;
    }
    .review{
        width: 100%;
    }
    #page-section2-heading{
        flex-direction: column;
    }
    #page-section2-heading h1, #page-section2-heading p{
        width: 100%;
        margin: 24px 0;
    }
}
@media (max-width: 760px){
    .nav-link{
        padding: 24px 3px;
    }
}
@media (max-width: 650px) {
    body{
        font-size: 0.952rem;
    }
    h1{
        font-size: 2.4rem;
    }
    .but{
        font-size: 0.88rem;
    }
    #landing .but{
        font-size: 1rem;
    }
    #faq summary {
        font-size: 1rem;
    }
    h3, p{
        margin: 12px 0;
    }
    .review h3{
        margin-bottom: 0.3rem;
    }
    header{
        height: 56px;
    }
    .nav-link{
        padding: 16px 8px;
    }
    /* #logo{
        height: 42px;
        padding: 2px 0 5px 0;
    } */
    #logo-a{
        margin-right: 2rem;
    }
    .stars{
        height: 1.04rem;
    }
    .reviewer-face{
        height: 48px;
    }
    .review{
        margin-top: 40px;
    }
    .page-section{
        margin: 60px 0;
    }
    .page-landing{
        margin: 80px auto 45px;
    }
}
 @media (max-width: 515px) {
    #landing{
        width: 100%;
    }
    #hamburger-menu {
        display: block;
    }
    #nav-links {
        display: none;
        position: absolute;
        top: 60px;
        right: 10px;
        background: white;
        flex-direction: column;
        padding: 0 1rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        width: auto;
      }
      #nav-links.show {
        display: flex;
      }
      header{
        justify-content: space-between;
      }
      footer nav{
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
      }
 }
@media (max-width: 350px) {
    .tech-card{
        width: 100%;
    }
}
@media (max-width: 300px) {
    .nowrap {
        white-space: normal;
    }
}