@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    color: #1A1A1A;
    overflow-x: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}

nav {
    background-color: #ffffff;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
}

.logo {
    color: rgb(255, 255, 255);
    cursor: pointer;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 18px;
    border-radius: 15px;
}

nav ul li a:hover {
    background-color: #ececec;
    padding: 12px;
}

nav ul li a.active {
    background-color: #ececec;
    padding: 12px;
    font-weight: bold;
}

section {
    padding: 60px;
    text-align: left;
    height: 70vh;
    position: static;
    min-height: 100vh;
    padding-bottom: 50px;
    flex: 1;
}

#first-section {
    background-image: url(images/section-one-background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

#first-section p {
    color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: 50px;
}

#second-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#second-section .image-section2 {
    order: 2;
    width: 50%;
    height: 100%;
}

#second-section h1,
#second-section p {
    order: 1;
    width: 100%;
}

#second-section h1 {
    color: #2E3273;
    font-size: 35.33px;
    line-height: 1.35em;
    letter-spacing: 0;
    text-align: left;
}

#third-section {
    background-color: rgb(243, 238, 238);
}

#third-section h1 {
    color: #2E3273;
    font-size: 35.33px;
    line-height: 1.35em;
    letter-spacing: 0;
    text-align: left;
    padding: 1.5rem 0;
}

#unique {
    width: 400px;
    display: flex;
    width: 100%;
    padding: 10px;
    justify-content: space-between;
    top: 5px;
    margin-top: -30px;
    padding: 0;
}

#unique h1 {
    color: #24A14C;
    size: 40px;
    line-height: 1.35;
    letter-spacing: 10;
    text-align: center;
}

#unique p {
    Color: #1A1A1A;
    Size: 12pt;
    line-height: 1.33 pt;
    letter-spacing: 10;
}

#cards {
    background-color: rgb(252, 252, 252);
    width: 30%;
    padding: 10px;
    border-style: solid;
}


#cards img {
    max-width: 100%;
    height: auto;
}

#fourth-section {
    background-image: url(images/section4.1.jpg);
}

#fourth-section {
    align-items: center;
    justify-content: center;
    display: flex;
}

#container {
    text-align: center;
    color: white;
}

.action-button {
    background-color: #278C43;
    color: white;
    border: none;
    height: 40px;
    width: 120px;
    cursor: pointer;
    border-radius: 2px;
}

.action-button a {
    text-decoration: none;
    color: white;
}

#third-section .action-button {
    background-color: #278C43;
    color: white;
    border: none;
    height: 40px;
    width: 100px;
    cursor: pointer;
    border-radius: 2px;
    margin: 0;
}

.image-second-section {
    float: right;
    height: 65vh;
}


footer {
    color: white;
    width: 100%;
    background-color: #2E3273;
    text-align: center;
    margin-top: auto;
    padding: 10px;
    position: relative;
    bottom: 0;
}

footer p {
    color: #fffefe;
    font-size: 16px;
    line-height: 1.35em;
    letter-spacing: 10;
}

#why-us {
    background-image: url(images/whychooseus-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#why-us h1 {
    color: #2E3273;
    font-size: 53.33px;
    line-height: 1.35em;
    letter-spacing: 0;
}

#why-us h2 {
    color: #24A14C;
    font-size: 40px;
    line-height: 1.35em;
    letter-spacing: 10;

}

#why-us ul li {
    color: #1A1A1A;
    font-size: 12pt;
    line-height: 1.33em;
    letter-spacing: 1px;
}

#what-we-do {
    background-image: url(images/whatwedo-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: white;
}

#what-we-do h1 {
    color: #2E3273;
    font-size: 53.33px;
    line-height: 1.35em;
    letter-spacing: 0;
}

#what-we-do h2 {
    color: #2E3273;
    font-size: 40px;
    line-height: 1.25em;
    letter-spacing: 0;
}

#what-we-do h3,
h4 {
    color: #24A14C;
    font-size: 40px;
    line-height: 1.35em;
    letter-spacing: 10;
}

.left h4 {
    color: #24A14C;
    font-size: 28px;
    letter-spacing: 10;
}

#what-we-do li {
    color: #1A1A1A;
    font-size: 16px;
    line-height: 1.33em;
    letter-spacing: 1px;
}

#what-we-do p {
    color: #1A1A1A;
    font-size: 16px;
    line-height: 1.35em;
    letter-spacing: 10;
}


#about-us {
    background-image: url(images/aboutus-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/*brand guidelines changes*/
#about-us h1 {
    color: #2E3273;
    font-size: 53.33px;
    line-height: 1.35em;
    letter-spacing: 0;
}

#about-us h2 {
    color: #24A14C;
    font-size: 40px;
    line-height: 1.25em;
    letter-spacing: 0;
}

#about-us h2 {
    color: #24A14C;
    font-size: 32px;
    line-height: 1.15em;
    letter-spacing: 0;
}

#about-us p {
    color: #1A1A1A;
    font-size: 16px;
    line-height: 1.33em;
    letter-spacing: 10;
}

#contact-us {
    background-image: url(images/contact-us-bg.jpg);
    color: #ffffff;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#contact-us h1 {
    color: #24A14C;
    font-size: 53.33px;
    line-height: 1.35em;
    letter-spacing: 0;
}

.privacy-policy h1 {
    color: #2E3273;
    font-size: 53.33px;
    line-height: 1.35em;
    letter-spacing: 0;
}

.privacy-policy h2 {
    color: #24A14C;
    font-size: 40px;
    line-height: 1.35em;
    letter-spacing: 10;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin: 0;
    padding: 0;
}

th,
td {
    border: 1px solid #1A1A1A;
    text-align: left;
    padding: 5px;
}

.no-underline {
    text-decoration: none;
    color: white;
}

#email {
    text-decoration: none;
}

.form-container {
    width: 45%;
    margin: auto;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    width: 104%;
    padding: 10px;
    background-color: #5cb85c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: large;
}

button:hover {
    background-color: #4cae4c;
}

.left {
    float: left;
    width: 25%;
    font-size: large;
}

#what-we-do h1 {
    color: #2E3273;
}

.divider {
    border-color: #2E3273;
    display: block;
    border: 0;
    border-top-width: 2px;
    border-top-style: solid;
    padding: 0;
}

#why-us ul li {
    margin-top: 8px;
}

#why-us h2 {
    padding-top: 80px;
}

.icons {
    display: none;
    font-size: 30px;
    color: #1A1A1A;
}

#partner-logos {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    position: relative;
    justify-content: space-around;
    align-items: center;
    bottom: 0;
    gap: 20px;
}

#partner-logos img {
    object-fit: contain;
    width: 200px;
    height: 70px;
    border: #1A1A1A;
    border-style: solid;
}


#partners h2 {
    text-align: center;
    margin-bottom: 10px;
    text-decoration: underline;
}

#partners {
    display: flex;
    flex-direction: column;
    object-fit: cover;
    gap: 10px;
    align-content: center;
}

#images {
    gap: 150px;
    display: flex;
    justify-content: center;
}

#partners img {
    width: 300px;
    height: 200px;
    border: #1A1A1A;
    border-style: solid;
}

/*media query - breakpoints*/
@media only screen and (max-width: 912px) {
    #second-section h1 {
        font-size: 1.5rem;
    }

    #second-section {
        min-height: 20vh;
        justify-items: center;
    }

    #second-section img {
        height: 100vh;
    }

    #unique {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    #cards {
        padding: 0;
        width: 100%;
    }

    #cards img {
        width: 100%;
    }

    #second-section {
        justify-content: space-between;
    }

    #second-section br {
        display: none;
    }

    .form-container {
        box-sizing: border-box;
        padding: 0;
        overflow: hidden;
    }
}

@media only screen and (max-width: 780px) {
    section {
        display: flex;
        flex-direction: column;
    }

    #first-section {
        margin-top: 80px;
    }

    nav ul {
        align-items: center;
        padding: 0;
    }

    nav ul li a {
        font-size: 0.8rem;
    }

    nav ul li a:hover,
    nav ul li a.active {
        padding: 0.5rem;
    }

    #second-section h1 {
        font-size: 2rem;
    }

    #second-section .image-section2 {
        width: 100%;
    }

    #second-section {
        flex-direction: column-reverse;
    }

    #second-section h1 br {
        display: none;
    }

    #second-section p br {
        display: none;
    }

    #unique {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
        gap: 2rem;
    }

    #cards {
        width: 100%;
        gap: 2rem;
        padding: 0;
    }

    #partner-logos {
        position: static;
    }

    #images {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 5px;
        align-items: center;
    }

    .left {
        width: 100%;
    }

    .form-container {
        width: 100%;
        padding: 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    footer {
        box-sizing: border-box;
    }
}

@media only screen and (max-width: 648px) {
    nav ul {
        display: none;
    }

    section {
        display: flex;
        flex-direction: column;
        padding: 1rem;
        min-height: 100vh;
        overflow-x: hidden;
    }

    nav ul.active {
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        overflow-y: auto;
        z-index: 9999;
    }

    nav ul li a {
        color: black;
        font-size: 1rem;
        padding: 1rem;
    }

    nav ul li a:hover,
    nav ul li a.active {
        background: rgba(73, 66, 66, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 0.3rem;
    }

    nav ul li a.active {
        text-emphasis: none;
        font-weight: normal;
        text-decoration: none;
    }

    nav ul li {
        padding: 0.4rem 0;
    }

    #first-section {
        background-size: cover;
        background-position: center;
        margin-top: 80px;
    }

    #first-section p {
        font-size: 2rem;
        margin-top: 30vh;
    }

    #second-section {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }

    #second-section .image-section2 {
        width: 100%;
    }

    #second-section h1 {
        font-size: 1.5rem;
    }

    #second-section img {
        height: 100%;
    }

    #second-section br {
        display: none;
    }

    #unique {
        display: flex;
        flex-direction: column;
        padding: 0;
        gap: 1.5rem;
    }

    #cards {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
        align-items: center;
        padding: 0;
        overflow: hidden;
    }

    #fourth-section h1 br {
        display: none;
    }

    #close {
        display: none;
    }

    .icons {
        display: block;
    }

    footer {
        box-sizing: border-box;
    }

    .no-scroll {
        overflow: hidden;
    }

    .left {
        width: 100%;
    }

    .form-container {
        width: 100%;
        padding: 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    #partner-logos {
        flex-direction: column;
        position: static;
    }

    #partner-logos img {
        width: 180px;
        height: auto;
        padding: 5px 0;
    }


    #images {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 5px;
        align-items: center;
    }

    #images img {
        width: 80%;
    }

    #about-us,
    #contact-us,
    #why-us,
    #what-we-do,
    #contact-us,
    #third-section,
    .privacy-policy {
        padding-top: 5rem;
    }

    #about-us h1,
    #contact-us h1,
    #why-us h1,
    #what-we-do h1,
    #contact-us h1,
    .privacy-policy h1 {
        font-size: 2rem;
    }

    #first-section p {
        margin-top: 40vh;
    }

    #about-us h2,
    #contact-us h2,
    #why-us h2,
    #what-we-do h2,
    #contact-us h2,
    #third-section h1 {
        font-size: 1.5rem;
    }

    #why-us ul {
        padding-left: 1rem;
    }

    #why-us ul li,
    #what-we-do ul li {
        font-size: 0.9rem;
    }

    td,
    th {
        padding: 0.5rem;
        margin: 0;
        font-size: 0.8rem;
    }

    figure {
        margin: 0;
    }
}