/* Variables */
:root {
    --primary-color: #1D75BB;
    --secondary-color: #2797F3;
    --bg-dark: #333;
    --bg-dark-opacity: rgba(51, 51, 51, 0.8);
    --pale-white : #f8f8f8;
  }

  /* Reset */
*{  
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General Styling */
html{
    font-family: "Work Sans", sans-serif;
    font-size: 16px;
    line-height: 1.3;
}

a{
    text-decoration: none;
}

ul{
    list-style-type: none;
}

h3{
    font-size:2.0rem; 
 }

h5{
    font-size:1.75rem; 
 }

input, button, select{
    padding : 0.75rem 1rem;
    display: block;
}

input, select{
    font-size: 1.1rem;
}

button{
    color: #fff;
    border: none;
    /* font-size: 1.5rem; */
    cursor: pointer;
}

label{
    font-size:1.05rem;
}

/* Utility Classes */
.container{
    width:75vw;
}

.whitefont{
    color: white;
}

.p-color{
    color:var(--primary-color);
}
.p-bgcolor{
    background-color:var(--primary-color);
}
.s-color{
    color:var(--secondary-color);
}
.s-bgcolor{
    background-color:var(--secondary-color);
}

.bg-dark{
    background-color: #333;
}

.bg-dark-opacity{
    background-color: rgba(51, 51, 51, 0.75);
}
.bold{
    font-weight: 700;
    font-size: 120%;
}

.p-small{
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.mbtm{
    margin-bottom: 1rem;
}


/* MAIN STYLING */
#landing{
    position: relative;
    background: url(./img/Banner3.jpg) no-repeat center center/cover;
    height: 100vh;
    /* overflow: hidden; */
}


#landing::before{
    background-image: linear-gradient(to right, #f8f9fb, #b2bbc0, #6e8282, #384c42, #121a01);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    opacity: 0.75;
}


#navbar *{
    z-index: 10;
}

#navbar{
    /* height: 12.5vh; */
    width: 75vw;
    display: flex;
    flex-direction: row;
    margin: auto; /* Centering */
    padding-top: 1.5rem;
    justify-content: space-between;
    align-items: center;
}

#navbar #aa-nav-logo{
    width: 20%;
}

#navbar ul{
    display: flex;
    flex-direction: row;
}

#navbar ul li{
    font-size: 1.3rem;
    margin-right: 1rem;
    padding: 1rem;
    /* padding-bottom: 0.5rem; */
}

#navbar ul li a{
    color: #fff;
}

#navbar ul li:hover{
    border-bottom: 2px solid var(--secondary-color);
}

#navbar ul li:last-child{
    margin-right: 0;
}

#home-section *{
    z-index: 10;
}

#home-section{
    height: 85vh;
    width: 75vw;
    display: flex;
    flex-direction: row;
    margin: auto; /* Centering */
    padding-top: 1.5rem;
    color:#eee;
    justify-content: center;
    align-items: center;
}


#home-section #left-section{
    /* border: 1px solid white; */
    width: 45%;
    background-color: var(--bg-dark-opacity);
    padding: 2rem;
    padding-top: 0.5rem;
    margin-left: 1rem;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

#home-section #left-section #contact-form{
    width: 95%;
    margin: auto;
}
#home-section #left-section #contact-form #form-heading{
    border-bottom: 0.5px solid var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

#home-section #left-section #contact-form #form-heading p{
    padding-bottom: 0.75rem;
}

#home-section #left-section #contact-form .form-item{
    margin: auto;
    margin-bottom: 1rem;
    width: 80%;
}

#home-section #left-section #contact-form .form-item:hover input,
#home-section #left-section #contact-form .form-item:hover select{
    opacity: 0.8;
}

#home-section #left-section #contact-form .form-item input,
#home-section #left-section #contact-form .form-item select,
#home-section #left-section #contact-form .form-item button{
    width: 100%;
}

#home-section #left-section #contact-form button{
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    font-variant: small-caps;
    border-radius: 2px;
    letter-spacing: 2px;
}

#home-section #left-section #contact-form button:hover{
    opacity: 0.8;
}

#home-section #left-section #contact-form select option{
    padding-top: 1rem;
}

#home-section #left-section>p{
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

#home-section #left-section #contact-details p{
    text-align: center;
    font-size: 1.7rem;
}



#home-section #right-section{
    /* background-color: var(--bg-dark-opacity); */
    width: 45%;
    padding: 2rem;
    margin-right: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}



#services{
    min-width: 60vw;
    max-width: 80vw;
    margin: auto;
    margin-top: 1.5rem;
    text-align: center;
}

#services h3{
    margin-bottom: 1rem;
}

#services>li{ 
    text-align: left;
}

#services #grid-container{
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

#services #grid-container .grid-item{
    background-color: var(--pale-white);
    padding: 0.5rem 1rem;
}

#services #grid-container .grid-item h5{
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

#services #grid-container .grid-item p{
    text-align: left;
}


#about-us{
    width: 100vw;
    background-color: var(--pale-white);
    text-align: center;
    margin-top: 1.5rem;
}

#about-us #about-us-details{
    width: 50vw;
    margin: auto;
    padding: 2rem;
}

#about-us h5{
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

#about-us img{
    width:25%;
}

footer{
    /* background-color: var(--primary-color); */
    background-color: rgb(0, 18, 46);
    /* color: var(--pale-white); */
    color: #ccc;
    margin-top: 1.5rem;
}

footer #footer-details{
    width: 65vw;
    display: grid;
    grid-template-columns : 1fr 1fr;
    margin: auto;
    column-gap: 2rem;
}

footer #footer-details #logo-social{
    padding: 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
}

footer #footer-details #logo-social>img{
    padding: 1rem 0rem;
    width: 25%;
}

footer #footer-details #logo-social #social-icons {
    margin-top: 0.75rem;
}

footer #footer-details #logo-social #social-icons img{
    width: 7%;
}

footer #footer-details #office-details{
    /* border: 1px solid white; */
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

footer #footer-details #office-details .office-detail{ 
    width: 100%;
    /* border: 1px solid yellow; */
    display: grid;
    grid-template-columns: 0.25fr 1fr 3fr;
    align-items: center;
    justify-items: start;
}

footer #footer-details #office-details .office-detail>*
{
    margin-bottom: 0.5rem;
    padding : 0rem 0.25rem;
    /* border: 1px solid red; */
} 

footer #footer-details #office-details .office-detail img{
    width: 30px;
}

footer>p{
    border-top: 1px solid var(--pale-white);
    padding: 0.5rem;
    font-size: 1.0rem;
    text-align: center;
}

footer>p:nth-child(3){
    border: none;
}

footer>p:nth-child(3) a{
    color: var(--pale-white);
}