/* 
    Theme Name: Gilcopm
    Author: Karl Gildenhuys
    Version: 1.0
*/
*,
*::before,
*::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

:root{
    --primary: #212c4d;
    --secondary: #5bc0de;
    --offwhite: rgb(237, 237, 237);
    --page-padding-h: 5rem;
    --max-content-width: 1200px;
    --blur:rgba(0, 0, 0, 0.4);
}

*{

    font-family: 'Raleway', sans-serif;
}

.flex{
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.justify-between {
    justify-content: space-between;
}

.items-end{
    align-items: flex-end;
}

.items-center{
    align-items: center;
}

.profile-wrapper{
    width: 100%; 
    max-width: 400px;
    height: auto;
    aspect-ratio: 1 / 1; 
    border-radius: 100%;
}

.profile-img {
    object-fit:cover; 
    width: 100%;
    border-radius: 100%;
}

.portal-button{ 
    width: 50%;
    height: fit-content;
    padding: 1rem;
    background-color: var(--primary);
    border: solid var(--primary) 1px;
    border-radius: 5px;
    font-size: 0.8rem;
    color: white;
}

.CTA-button{
    height: fit-content;
    width: fit-content;
    padding: 1.25rem 2rem;
    border: none;
    border-radius: 2rem;
    font-size: 1.25rem;
    font-weight: 500;
    cursor: pointer;
    font-weight: 500;
}

.section-text ul {
    list-style-position: inside;
}

.section-text ul li {
    list-style-position: inside;
    font-size: 1.25rem;
    line-height: 1.5;
}

.button-primary{
    background-color: var(--primary);
    color: white;
}

.button-secondary{
    background-color: var(--secondary);
    color: var(--white);
}

.portal-button:hover{
    background-color: var(--primary);
    border-color: var(--secondary);
    cursor: pointer;
    color: var(--secondary);
}

.highlight{
    color: var(--secondary);
}

h1{
    font-size: 3rem;
}

h2{
    font-size: 2.5rem;
}

h3{
    font-size: 1.5rem;
}

h4{
    font-size: 1.25rem;
}

h5{

}

h6{

}

a {
    color: black;
    text-decoration: none;
}

p{
    line-height: 150%;
    font-size: 1.25rem
}

.post-content p {
    margin-bottom: 20px;
}

.post-content ul {
    list-style-position: inside;
}

.post-content li {
    line-height: 150%;
    font-size: 1.25rem
}


.spacer-xs{
    padding: 0.5rem;
}

.spacer-sm{
    padding: 1rem;
}

.spacer-md{
    padding: 2rem;
}

.spacer-lg{
    padding: 4rem;
}

.section{
    width: 100%;
    padding: 3rem var(--page-padding-h);
    display: flex;
    justify-content: center;
    color: var(--primary);
}

.section-link{
    transition: all 0.2s;
    margin: 0;
    color: white;
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    width: fit-content;
    background-color: var(--primary);
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.section-link a{
    color: white;
}

.section-link:hover a{
    transition: all 0.2s;
    color: var(--secondary);
}

.section-hero{
    height: 100%;
}

.section-hero-wrapper{
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.section-hero-blur{
    background-color: var(--blur);
}

.content{
    max-width: var(--max-content-width);
    width: 100%;
}

.flex-container{
    display: flex;
}

.justify-center{
    justify-content: center;
}

.content-inline{
    display: flex;
    justify-content: center;
    align-items: center;
}

.sections-wrapper{
    background-color: var(--offwhite);
    padding: 6rem 0;
}

.testimonials-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 2rem;
}

.sections-wrapper .section:nth-child(odd) .content-inline{
    flex-direction: row-reverse;
}

.section-text{
    width: fit-content;
}

.section-image{
    width: 40%;
    max-height: 500px;
    overflow: hidden;
}

.section-image h1{
    margin-bottom: 0.75rem;
}

.section-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.section-service{
    background-color: var(--offwhite);
}

.section-testimonials{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    overflow: hidden;
}

.contact-form-wrapper{
    width: 100%;
}

.form-label{
    margin-bottom: 3px;
}

.form-input{
    padding: 0.75rem;
    border: 1px solid var(--primary);
    border-radius: 5px;
}

.form-button{
    border-radius: 5px;
    padding: 0.75rem;
    width: 100%;
    background-color: var(--primary);
    color: white;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}

.form-button:hover{
    color: var(--secondary);
    transition: all 0.2s;
}

.position-counter{
    background: lightgray;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    margin: 2px;
    cursor: pointer;
}

.background-secondary {
    background-color: var(--secondary);
}

.carousel-inner{
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel::-webkit-scrollbar {
    display: none; /* Hide scrollbar in Chrome, Safari and Opera */
  }

.testimonial-card{
    flex-shrink: 0;
    width: 100%;
    padding: 1rem;
     border-radius: 5px;
     background-color: white;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    transition: all ease-in-out 0.3s;
}   

.testimonial-card:hover{
    transform: scale(1.01);
    transition: all ease-in-out 0.2s;
    cursor: pointer;
}

.testimonial-card p{
    font-size: 0.85rem;
    color: gray;
    margin-bottom: 0;
}

.testimonial-card h1{
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
}

/* Navbar */

.navbar{
    position: sticky;
    top: 0;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 var(--page-padding-h);
}

.navbar-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--max-content-width);
}

.navbar img{
    width: 100%;
    height: auto;
}

.navbar .menu-navbar-container{
    width: 100%;
}

.navbar .menu {
    display: flex;
    justify-content: end;
    list-style: none;
    height: 72px;
}

.navbar .menu-item{
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.navbar .menu-item a{
    height: 100%;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    border: 2px solid white;
    position: relative;
    padding: 0 0.5rem;
}

.navbar .menu-item a:hover{
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

.navbar .sub-menu{
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    list-style: none;
    background-color: white;
    border-radius: 0 0 5px 5px;
}

.navbar .sub-menu .menu-item{
    width: 100%;
}

.navbar .sub-menu .menu-item a{
    padding: 0.5rem;
    border: none;
    text-align: center;
    justify-content: center;
    width: 100%;
}

.navbar .menu-item:hover .sub-menu{
    display: block;
}

.menu-bars{
    display: none;
}

@media only screen and (max-width: 950px){
    p{
        font-size: 1.25rem;
    }
    .menu-bars{
        display: block;
    }

    .navbar .menu {
        display: none;
    }

    .navbar {
        padding: 1rem var(--page-padding-h);
    }

    .testimonials-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 2rem;
}
}

.about-content {
    width: 75%;
}

/* Footer */

.footer{
    color: white;
    background-color: var(--primary);
    padding: 2rem 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-contact-info{
    display: flex;
    flex-direction: column;

}

.footer-contact{
    display: flex;
    align-items: center;
    padding: 0.25rem 0;
}

.contact-text{
    font-size: 0.75rem;
}

.footer-contact i{
    margin-right: 5px;
    width: 15px;
}

.footer-logo img{
    width: 50%;
    height: auto;
}

.footer-logo{
    text-align: center;
}

.mobile-icon{
    font-size: 3rem;
}

.email-icon{
    font-size: 3rem;
}

/* side menu */

.side-menu{
    padding: 2rem;
    width: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: -100000px;
    transition: all ease 0.5s;
    background-color: white;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.side-menu .menu {
    list-style: none;
    font-size: 1.5rem;
    text-align: center;
}

.side-menu .menu li a{
    color: var(--primary);
    text-decoration: none;
    display: inline-block;
    padding: 0.75rem;
}

.side-menu .menu li a:hover{
    color: var(--secondary);
}

.side-menu .sub-menu{
    display: none;
    list-style: none;
    padding: 0;
}

.side-menu .sub-menu li{
    margin: 0;
    background-color: white;
}

.side-menu .sub-menu a{
    display:inline-block;
}

.side-menu .sub-menu a:hover{
    color: var(--primary)
}

.side-menu .close-menu i {
    font-size: 2.5rem;
}

.section-services{
    padding: 4rem 0;
    background-color: var(--offwhite);
}

/* landing page */


.banner-contacts{
    color: white;
}

.banner-buttons{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.primary-btn{
    background-color: var(--secondary);
}

.banner-button{
    transition: all 0.3s;
    padding: 0.5rem 2rem;
    font-size: 1.25rem;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.btn-secondary{
    background-color: var(--primary);
}

.titles{
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portal-buttons{
    width: 25%;
}

.headline{
    display: inline;
    font-size: 4rem;
    color: white;
    line-height: 1;
}

.subtitle{
    font-size: 1.5rem;
    display: inline;
    color: white;
}

.badge{
    height: 50px;
}

.btn-primary{
    background-color: var(--secondary);
    transition: all 0.3s;
    color: var(--primary);
}

.btn-primary:hover{
    transition: all 0.3s;
    background-color: white;
}

.btn-secondary{
    background-color: var(--primary);
    transition: all 0.3s;
    color: white;
}

.btn-secondary:hover{
    transition: all 0.3s;
    background-color: white;
    color: var(--primary);
}

.page-banner-wrapper{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.page-banner{
    background-color: var(--primary);
    color: white;
    min-height: 25vh;
}

.blur{
    background-color: var(--blur);
}

.page-banner-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media only screen and (max-width: 900px){

    p{
       font-size: 1.25rem; 
    }

    .section-services{
        padding: 0;
    }

    .section-content{
        width: 100%;
        flex-direction: column;
    }

    .flex-container{
        display: flex;
        flex-direction: column;
    }

    .content-inline{
        flex-direction: column;
    }

    .about-content {
        width: 100%;
    }

    .sections-wrapper .section:nth-child(odd) .content-inline{
        flex-direction: column-reverse;
    }

    .sections-wrapper .section .content-inline{
        flex-direction: column-reverse;
    }

    .section-split-content{
        width: 100%;
    }

    .section-image{
        width: 100%;
    }

    .section-text{
        width: 100%;
    }

    .service-spacer{
        padding: 1rem;
    }

    .titles{
        width: 100%;
    }

    .spacer-lg{
        padding: 0.75rem;
    }
}


@media only screen and (max-width: 600px){
    p{
        font-size: 1rem;
    }

    .banner-buttons{
        display: flex;
        flex-direction: column;
    }

    :root{
        --page-padding-h: 2rem;
    }

    .section-services{
        padding: 0;
    }

    .section-service{
        padding: 2rem;
    }

    .sections-wrapper{
        padding: 2rem 0;
    }

    .section-contact{
        padding: 2rem 2rem;
    }

    .section-split-content{
        width: 100%;
    }

    .section-text{
        width: 100%;
    }

    .CTA-button{
        width: 100%;
    }

    .section-text h2 {
        font-size: 1.5rem;
    }

    .section-text ul li {
        font-size: 0.85rem;
    }

    .section{
        padding: 2rem var(--page-padding-h)
    }

    .footer-logo img{
        width: 100%;
        order: 1;
    }

    .footer-contact-info{
        width: 100%;
    }

    .footer{
        flex-direction: column;
        align-items: center;
        padding: 2rem 2rem;
    }

    .footer-contact{
        padding: 0.5rem 0;
    }

    .banner-blur{
        padding: 1.25rem;
    }

    .headline{
        font-size: 2.5rem;
    }

    h1{
        font-size: 2.5rem;
    }

    .subtitle{
        font-size: 1rem;
    }

    .CTAs{
        flex-direction: column;
    }
    
    .btns{
        flex-direction: column;
    }

    .btn{
        font-size: 0.75rem;
    }

    .navbar img{
        width: 50%;
    }

    .side-menu img{
        width: 100%;
        height: auto;
    }

    .custom-logo-link{
        width: fit-content;
    }

    .footer .navbar-inner{
        display: block;
    }

    .testimonial-card{
        min-width: 100%;
    }

    .contact-text{
        font-size: 0.75rem;
    }

    .spacer-lg{
        padding: 0.5rem;
    }
}