html, body {
    margin:0;
    height:100%;
}

main {
    padding:40px;
}

body {
    background-color:white;
    color:black;
    font-family: Inter, sans-serif;
}

.container {
    display:flex;
    flex-direction:column;
    min-height:100vh; /*occupy full viewport height*/
}

main {
    flex:1; /*grows to push the footer down*/
}

p {
    font-size: 1rem;
    padding:20px;
}

h1 {
    font-size: 3.5rem;
    padding-left:20px;
}

nav {
    display:flex;
    width:100%;
    box-sizing:border-box;/*prevent padding from causing overflow/horizontal scroll*/
    background-color:#257B61;
    padding: 2rem 2.5rem;
    position:relative;
    z-index: 1000;
}

ul {
    list-style-type:none;
    margin: 0;
    margin-left:auto;
    padding: 0;  
    display: flex;
   
}

ul li a {
    display:block;
    color: white;
    padding: 14px 16px;
    text-decoration: none;   
}

ul li a:hover {
    text-decoration:underline;
}

.logo img {
    height:80px;
    width:auto;
    display:block;
}

@media only screen and (max-width:768px){
   nav {
    flex-direction:column;
    align-items:center;
   } 

   ul {
    margin-left:0; /*resets auto margin to prevent it pushing off-screen*/
    flex-wrap:wrap;
    justify-content: center;
    width:100%;
   }
}

li.dropdown {
    position:relative;
    display: inline-block;
}

.dropbtn {
    cursor:pointer;
}

.dropdown-content {
    display:none;
    position:absolute;
    background-color:#257B61;
    color:white;
}

.dropdown-content a {
    color:white;
    background-color:black;
    text-decoration: none;
    display:block;
    border: 1px solid white;
}

.dropdown-content a:hover {
    background-color:black;
    color:white;
    text-decoration: underline;
    border: 1px solid white;
}

/*change dropdown link color on hover*/
.dropdown-content a:hover{
    background-color:black;
    color:white;
    border: 1px solid white;
}

/*show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display:block;}

/*change color of dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    color:white;}

    footer{
        background-color:#257B61;
        color:white;
        width:100%;
        height:10%;
        padding-top:20px;
        padding-left:10px;
    }

    /*<weight>: Use a value from 100 to 900
<uniquifier>: Use a unique and descriptive class name*/

.inter-font {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}

.hero-container {
    position:relative;
    width:100%;
    height:70vh; 
    overflow:hidden;
    display:flex;
    align-items:flex-start;
    justify-content:flex-start;
    box-sizing:border-box;
}

.hero-image {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover; /*ensures proper scaling*/
    z-index:1;
}

.hero-text{
    position:relative;
    z-index:2;
    text-align:start;
    color:white;
    padding: 0 20px;
    max-width:800px;
    padding-left:20px;
}

.flex-container {
    display:flex;
    gap:20px;
}

.left-column{
    flex:2;
}

.right-column{
    flex:1;
}

@media (max-width:768px){
    .flex-container{
        flex-direction:column; /*stacks columns vertically on smaller screens */
    }
}


a {
    text-decoration: none;
    color:white;
}

a:hover {
    text-decoration: underline;
}

/* Ensure Font Awesome brand icons use their native font family */
.fa-brands, .fab {
    font-family: "Font Awesome 6 Brands" !important;
}