
/*RESET DEFAULT STYLING*/
*, *::before, *::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
 
}

/* Global link styling */
a {
    text-decoration: none;
    color: inherit;
}

/*SET VARIABLES*/
:root{
    --main-bg-color: #f8f8f8;
    --main-accent-color: #39c9bb;
    --main-dark-color: teal;
    
    
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-size: 16px;
}

/*.hero-container,*/ .short-intro-container, .content-container, .contact-about-container, .quote-section-container, .subscribe-section-container, .about-short-container, .contact-container {
    max-width: 1440px; /*Placeholder*/
    margin: 0 auto;
    line-height: 1.5rem;
    padding: clamp(0.5rem, -2.647rem + 15.686vw, 5rem);
}

/*
*
 NAVBAR
 * Make navbar see-through before user scrolls down
 **/
#navbar {
    display: flex;
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    justify-content: space-between;
    color: white;
    background-color: teal;
    max-height: 10vh;

    /*padding: min(10%, 2rem);*/
    
}
/*Make navbar invisible when at the top.*/
#navbar {
    opacity: 0;
    visibility: hidden; /* Hides it completely from screen readers and interaction */
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    /* Add other styling for your navbar (e.g., position: fixed, top: 0, width: 100%) */
}

#navbar.scrolled {
    opacity: 1;
    visibility: visible;
}
#navbar ul {
        list-style: none;
    }

#navbar a{
        text-decoration: none;
        text-align: center;
    }
.logo-container{
    display: flex;
    background: white;
    max-width: 20%;
    min-width: 120px;
    justify-content: center;
    align-items: center;
    overflow: visible;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.logo-img{
    align-self: center;
    height: auto;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
/*.sub-logo{
    font-weight: lighter;
}*/
.nav-links-container {
    padding: min(10%, 2rem);
    display: flex;
    align-items: center;
    }
.nav-links{
        display: flex;
        gap: 1.5rem;
        align-items: center;
}
.nav-links li{
    cursor: pointer;

}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 1rem;
    z-index: 1001;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.hamburger div {
    width: 35px;
    height: 4px;
    background-color: white;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active .line2 {
    opacity: 0;
}

.hamburger.active .line1 {
    transform: rotate(-45deg) translate(-10px, 10px);
}

.hamburger.active .line3 {
    transform: rotate(45deg) translate(-5.2px, -4px);
}

/*
*   HERO
**/
.hero {
    /*display: flex;
    justify-content: center;
    margin: 0;
    background-color: rgba(0,0,0,1);*/

}
/*.hero-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    width: 100%;
    margin: 0;
    position: absolute;
    top: 12%;

}*/
.bg-black-veil{
    display: flex;
    justify-content: center;
    margin: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.08);
}   
.hero-container{
    display: grid;
    grid-template-rows:  clamp(12.5rem, 9.368rem + 7.368vw, 16rem) 1fr 1fr;
}
.hero-container-sm{
    display: none;
}

.test{ /*This serves as a "mask" to trimm the logo's height*/
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    justify-self: center;
}
.hero-logo-container{
    /*Clean up*/
    display: flex;
    background: rgba(0,143,126,0.8);
    max-width: 50%;
    min-width: 50%;
    align-self:stretch;

    grid-row-start: 1;
    grid-column-start: 3;
    width: 100%;
    max-width: none;
    grid-row-start: 2;
    grid-column-end: 6;
    aspect-ratio: 5 / 2;
}
.hero-logo-img{
    align-self: center;
    max-width: 100%;
    min-width: 100%;
}
.hero-text-container{
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.8);
    color: white;
    min-width: 50%;
}
.hero-text{
    font-weight: 400;
    font-size: clamp(2rem, 1rem + 5vw, 9rem);
}
.hero-bottom-container{
    grid-row-start: 3;
    display: grid;
    grid-template-columns: 50% 50%;
}
.hero-titles{
    align-self: stretch;
    justify-self: center;
    text-align: center;
    color: white;
    display: flex;
    align-items: center;
}
.hero-titles h1{
    font-size: 3.5rem;
    font-weight: 500;
}
.hero-titles h2{
    font-size: clamp(1.1rem, 0.413rem + 1.617vw, 3rem);
    font-weight: 500;
    text-align: left;
    margin-left: clamp(1rem, 0.638rem + 0.851vw, 2rem);
}
.hero-buttons{
    display: flex;
    justify-content: center;
    align-items: center;
}
/*.call-to-action-btn {
    background-color: var(--main-accent-color);
    color: white; /*maybe change to value in main-bg-color?*/
    /*height: 70px;
    padding: 1rem;
    font-size: 1.5rem;
    border: none;
}*/
/*321px - 950px*/
.call-to-action-btn a {
    font-size: clamp(1.15rem, 0.947rem + 1.016vw, 1.55rem);
}
.hero-btn{
    background-color: rgba(57,201,187,0.75) ; /*accent color but in rgb for alpha channel*/
    background-color: rgba(0,143,126,0.75) ; /*darker shade of accent color*/
    background-color: rgba(0,128,128,0.80) ; /*darker shade of accent color*/
    color: white;
    border: none;
    padding: 1rem;
    font-size: clamp(1.5rem, 0.777rem + 1.702vw, 3.5rem);
}
.hero-btn:hover{
    cursor: pointer;
    background-color: var(--main-accent-color);

}
/*hero-container picture {
    line-height: 0;
}*/
/*.hero-img{
    /*width: 1200px;*/
    /*height: 560px;*/
  /*  width: auto;
    height: 100vh;
    /*height: 100vh;*/
    /*object-fit: cover;
    /*object-position: 50% 50%;*/
/*}*/

/*HOME*/
#home {/*position: relative;*/}

#short-intro {
    background-color: var(--main-bg-color);
    color: black;
    padding: 5rem 0;
}
.short-intro-container {
    display: flex;
    flex-direction: column;
    /*gap: 3rem;*/
    gap: clamp(1.1rem, 0.201rem + 4.497vw, 3rem);
    padding: 5rem;
    align-items: center;
    text-align: center;
    /*line-height: 1.7rem;*/
    /*width: fit-content;*/
    padding: clamp(0.5rem, -3.639rem + 20.63vw, 5rem);
}

.short-intro-container h1 {
    /*font-size: 3rem;*/
    font-size: clamp(1.5rem, 0.79rem + 3.55vw, 3rem);
    /*line-height: 3.5rem;*/
    line-height: normal;
}
.short-intro-container h2 {
    font-weight: 400;
    font-size: clamp(1rem, 0.746rem + 1.27vw, 1.5rem);
}
.short-intro-container p {
    font-size: clamp(0.8rem, 0.66rem + 0.697vw, 1rem);
}
/****
    CONTENT
****/
#content {
    /*background-color:aliceblue;*/
    background-color: var(--main-bg-color);
    padding: 2.5rem; /*10%;*/
    background-color: var(--main-dark-color);
    padding: clamp(0.5rem, -0.446rem + 4.713vw, 2.5rem);
}
.outline{
    padding: 1rem;
    border: solid #f8f8f8 1px;
    background-color: var(--main-dark-color);
    /*border-radius: 10px;*/
    max-width: 1440px;
    margin: 0 auto;
    padding: clamp(0rem, -3.604rem + 11.511vw, 1rem);
}
.content-container{
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    color: white;
    background-color: #363636;

    padding: 0;
    grid-template-rows: 1fr auto;
    grid-template-columns: 1fr 1fr 1fr;
}
.content-img-1, .content-img-2{
    width: 100%;
    object-fit: cover;
}
.content-img-1{
    grid-column: span 2;
    height: 100%;
    object-position: left;
}

/*.content-first-row p {
    font-size: clamp(1rem, 0.64rem + 1.151vw, 1.1rem);
}
.content-second-row p {
    font-size: clamp(1rem, 0.64rem + 1.151vw, 1.1rem);
}*/

.content-img-2{
    grid-column: span 2;
    height: 100%;
    object-position: center;
}
.content-description{
    /*padding: 1rem;*/
    padding: clamp(1rem, 0.092rem + 1.505vw, 2.5rem);
}
.content-description h2{
    font-weight: 600;
    
    font-size: clamp(1.5rem, 1.378rem + 0.389vw, 2rem);
    line-height: normal;
}
.content-description p{
    font-size: 1.1rem;
    font-size: clamp(1rem, 0.64rem + 1.151vw, 1.1rem);
}
.content-first-row h2, .content-first-row p{
    /*text-align: right;*/
    margin-top: 1rem;
    margin-bottom: 2rem;
    margin-left: 1rem;

    margin-bottom: clamp(1rem, 0.283rem + 3.571vw, 2rem);

    margin-left: 0.5rem;
}
.content-second-row h2, .content-second-row p{
    text-align: right;
    margin-top: 1rem;
    margin-bottom: 2rem;
    margin-right: 1rem;

    margin-bottom: clamp(1rem, 0.283rem + 3.571vw, 2rem);

    margin-right: 0.5rem;
}

/*CONTENT*/
/*#content {
    background-color: var(--main-bg-color);
    padding: 2.5rem 10%;
}
/*
#content h1, #content h5 {
    text-align: center;
    margin: 2.5rem 0;
}
#content h1 {
    font-size: 3rem;
}
#content h5 {
    font-size: 2rem;
    font-style: italic;
}
.content-container{
    overflow: hidden;
    margin: 0 auto;
    padding: 2.5rem 0;
}

.content-combo{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5%;
}
.content-combo img{
    object-fit: cover;
    aspect-ratio: 4/3;
    width: 100%;
    /*max-width: 500px;*/
/*}
.content-combo p{
    text-align:start;
    align-self: center;
    line-height: 1.875rem;
    font-size: 1.35rem;
}

.content-invitation h3 {
    text-align: center;
}*/


/*******
    SERVICES
********/
#services {
    background-color: var(--main-bg-color);
    padding: 4rem;
    padding: clamp(0.25rem, -3.199rem + 17.192vw, 4rem);
}
.services-container {
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
    align-items: center;
}
.services-container h1 {
    /*font-size: clamp(1.65rem, 0.861rem + 3.934vw, 3rem);*/
    font-size: clamp(1.65rem, 0.408rem + 6.189vw, 3rem);
    text-align: center;
}
.services-cards{
    display: flex;
    gap: 2.5rem;
    /*padding: 5rem;*/
    margin-top: 2.5rem;
    justify-content: center;
    align-items: stretch;
}

.service-img {
    /*max-width: 200px;
    max-height: 200px;*/
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/4;
}

.card h4{
    font-size: 1.5rem;
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
}

.card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.card-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.card-btns-container {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}
.card-btn {
    background-color: var(--main-accent-color);
    color: white; /*maybe change to value in main-bg-color?*/
    height: 70px;
    padding: 1rem;
    font-size: 1.1rem;
    border: none;
}

.card-btn:hover{
    cursor: pointer;
    background-color: rgb(0,128,128);
}

/***
    ABOUT-SHORT
***/
#about-short {
    background-color: var(--main-bg-color);
    /*text-align: center;*/
    padding: 4rem;
}
.about-short-layout-container{
    display: flex;
    flex-direction: column;
}
.about-short-container {
    display: flex;
    justify-content: space-evenly;
    margin-top: 2.5rem;

    max-width: 1000px;
    min-width: 878px;
}
.short-about-img {
    object-fit: cover;
    height: 450px;
}
.about-short-contents {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 2rem 0 2rem;
}
.about-short-text {
    font-size: 1.1rem;
}
.about-short-contents h2 {
    font-weight: 600;
}
.about-short-contents p {
    margin: 1.5rem 0;
}
.btn-container {
    /*height: 50px;*/

}

/*
*
*
    CONTACT
*
*
*/
#contact {
    background-color: var(--main-bg-color);
    background-color: teal;
    padding: 3rem;
}
.contact-container {
    display: flex;
    justify-content: center;
}
.socials-container{
    display:grid;
    grid-template-rows: 3.6rem 1fr;
}
.socials-title-container {
    display: flex;
    justify-content: center;
    align-items:end;
    font-size: 1.5rem;
    color: var(--main-accent-color);
}
.social-list{
    display: flex;
    /*flex-direction: column;*/
    justify-content: space-evenly;
    text-align: center;
    text-decoration: none;
    list-style: none;
    padding-top: 2rem;
    height: 100%;
}
.contact-form {
    background-color: var(--main-bg-color);
    max-width: 500px;
    padding: 2rem;
}
.form-input{
    border-bottom: 3.5px solid #39c9bb;
}
.form-input-msg{
    border-bottom: 2px solid black;
}
.form-btn{
    background-color: rgba(57,201,187,0.75) !important; /*accent color but in rgb for alpha channel*/
    background-color: rgba(0,143,126,0.75) !important; /*darker shade of accent color*/
    background-color: rgba(0,128,128,0.80) !important; /*darker shade of accent color*/
    color: white;
    border: none;
    height: 4rem;
    padding: 1rem;
    font-size: 1.8rem;
}
.form-btn:hover{
    cursor: pointer;
}

/***
    FOOTER
***/
.footer-container{
    display: flex;
}
.footer-contents-container{
    background-color: var(--main-accent-color);
    width: 100%;
    display: grid;
    grid-template-rows: 1fr 2rem;
}
.footer-info-container{
    display: flex;
    padding: 2rem;
    color: white;
    /*justify-content: space-evenly;*/

    padding: clamp(1rem, 0.286rem + 3.571vw, 2rem);

    gap: 1rem;

    padding: clamp(0.9rem, 0.11rem + 3.937vw, 2rem);

    justify-self: center;
}
.footer-social-links, .footer-quick-links, .footer-territory-acknowledgement{
    display: grid;
    grid-template-rows: 1.8rem 1fr;
    align-items: center;
}
.footer-title{
    font-size: 1.5rem;

    font-size: clamp(1.2rem, 1.019rem + 0.534vw, 1.5rem);
    border-bottom: 1px solid;
}
.social-text{
    font-family: "Montserrat", sans-serif;

}
.quick-links, .social-links{
    display: flex;
    flex-direction: column;
    list-style: none;
    justify-content: space-evenly;
    line-height: 1.3rem;

    justify-content: start;
    min-width: 80px;
}

.footer-social-icon{
    color: white;
}
.footer-territory-acknowledgement p{
    font-size: 0.8rem;
    line-height: 1.4;
    max-width: 550px;
}
.footer-credit-container{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(177, 178, 181, 0.65);
    color: white;
    height: 100%;
}
.footer-credit-container h6{
    opacity: 1;
    font-size: clamp(0.6rem, -0.175rem + 3.862vw, 0.67rem);
}

.copyright{
    font-weight: 600;
}
.credit{
    font-weight: 400;
}

/*CONTACT-ABOUT SECTION*/
#contact-about{
    background-color: rgb(239, 236, 226);
    padding: 5rem 0;
}
.contact-about-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    margin: 0 auto;
    gap: 2rem;/*5%;*/
}
.contact-about-img {
    width: 100%;
}
.about {
    display: flex;
    flex-direction: column;
    align-items:start;
    justify-content: space-between;
    text-align: left;
    padding: clamp(1rem, 5%, 5rem) 0;
    font-size: 1rem;
}
.form-control::placeholder {
    font-size: 1.4rem;
}
/*h1 {
  text-align: center;
  margin: 35px 0 20px 0 !important;
}*/
/*.contact {
    display: flex;
    flex-direction: column;
    /*justify-content: space-around;*/
    /*align-items: stretch;*/
    /*justify-content: ;*/
/*}*/
.form-group{
    margin: 0.5rem 0;
    /*padding: 1rem;*/
}
.form-group:first-of-type{
    margin-top: 2rem;
}
.form-group, .col {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    /*justify-content: space-between;*/

}
form{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
}

/*QUOTE SECTION*/
.quote-section-container{
   height: 100%;
   padding: min(10%, 10rem);
}
.quote-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    height: 100%;
}
.quote-container h3{
    text-align: center;

}


/***
    UTILITIES
***/
.nav-links a {
    color: inherit;
}
.call-to-action-btn {
    background-color: var(--main-accent-color);
    color: white; /*maybe change to value in main-bg-color?*/
    height: 70px;
    padding: 1rem;
    font-size: 1.5rem;
    border: none;
}
.call-to-action-btn:hover{
    cursor: pointer;
    background-color: rgb(0,128,128);
}

h1 {
    font-size: 3rem;
}
h1 .accent {
    color: var(--main-accent-color);
}
h1 .regular {
    color: black;
}

h4 {
    font-weight: 600;
}

input, textarea {
    border: none;
    min-height: 1.8rem;
}

.card {
    /*display: flex;
    flex-direction: column;*/
    display: grid;
    grid-template-rows: max-content 1fr max-content;
    justify-items: center;
    align-items: start;
    border: solid black 2px;
    border-radius: 20px;
    background-color: var(--main-bg-color);
    padding: 2rem;
    height: 600px;
    width: 100%;
    min-width: 280px;
    max-width: 350px;
}

/*button {
    background-color: #f8f8f8;
}*/

.social-icon{
    /*background-color: #39c9bb;*/
    /*padding: 0;
    margin: 0;
    border: 0;
    text-decoration: none;*/
    /*height: 100%;
    width: 100%;*/
    color: #39c9bb;
}


.hidden {
    display: block;
    position:absolute;
    left:-10000px;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
}

.separator{
    display: block;
    height: 2px;
    width: 70%;
    margin: 0 auto;
    background-image: linear-gradient(193deg, #48ffed, white, #009582);
}


/***
    MEDIA RULES
***/
@media (max-width: 769px) {
    /*Tablet/Mobile*/
    .content-container {
        /*Tablet/Mobile*/
        grid-template-rows: 1fr auto 1fr auto;
        grid-template-columns: 1fr 1fr 1fr;
        /*padding: clamp(0.5rem, -1.627rem + 10.604vw, 5rem);*/
    }
    .content-img-1{
        /*Tablet/Mobile*/
        grid-row-start: 1;
        grid-row-end: 2;
        grid-column-start: 1;
        grid-column-end: 4;
    }
    /*Tablet/Mobile*/
    .content-first-row{
        grid-row-start: 2;
        grid-row-end: 3;
        grid-column-start: 1;
        grid-column-end: 4;
        padding: 0.5rem;
    }
    /*Tablet/Mobile*/
    .content-second-row{
        grid-row-start: 4;
        grid-row-end: 5;
        grid-column-start: 1;
        grid-column-end: 4;
    }
    .content-img-2{
        /*Tablet/Mobile*/
        grid-row-start: 3;
        grid-row-end: 4;
        grid-column-start: 1;
        grid-column-end: 4;
    }
}

@media (max-width: 426px) {
    .call-to-action-btn {
        width: 100%;
        height: unset;
    }
}

@media (max-width: 641px) {
    /*321px - 641px*/
    .content-description p {
        font-size: clamp(1rem, 0.64rem + 1.151vw, 1.1rem);
    }
}

@media (min-width: 670px) and (max-width: 1000px) {
    /*
        SERVICES
    */
    .content-container {
        /*display: flex;
        flex-direction: column;*/
    }

    /*
        SERVICES
    */
    .services-container{
        /*display: block;*/
    }
    .services-cards {
        /*display: block;*/
        flex-direction: column;
    }
    .card {
        display: flex;
        min-width: fit-content;
        padding: 0;
        gap: 1rem;
        min-width: 654px;
        max-width: fit-content;
        height: auto;
        grid-template-rows: none;
        align-items: center;
    }
    .card-content {
        height: auto;
        justify-content: flex-start;
    }
    .card-text {
        flex: none;
    }
    .service-img {
        max-width: 280px;
        max-height: 280px;
        border-radius: 18px 0 0 18px;
    }
    .card h4{
        font-size: 2rem;
        /*margin-top: 0.8rem;
        margin-bottom: 0.8rem;*/
    }
}

@media /*(min-width: 600px) and*/ (max-width: 669px) {
    #services {
        padding: 0.5rem;
        padding-bottom: 2.5rem;
    }
    .services-container h1 {
        margin-top: 2rem;
    }
    .services-cards {
        flex-direction: column;
        margin-top: 2rem;
    }
    .card {
        display: grid;
        grid-template-rows: max-content max-content max-content;
        /*justify-items: center;
        align-items: center;
        border: solid black 2px;
        border-radius: 20px;
        background-color: var(--main-bg-color);*/
        padding: 0rem;
        /*max-height: 800px;*/
        max-width: 669px;
        height: auto;
        align-items: center;
    }
    .card-content {
        padding: 0 1rem 1rem 1rem;
        height: auto;
        justify-content: flex-start;
    }
    .card-text {
        flex: none;
    }
    .card h4 {
        font-size: 2rem;
    }
    .service-img {
        /*max-width: 200px;
        max-height: 200px;*/
        width: 100%;
        height: auto;
        object-fit: cover;
        aspect-ratio: 9/16;
        aspect-ratio: 16 / 9;
        object-position: 0% 40%;
        border-radius: 18px 18px 0 0;
    }
    .card h4{
        font-size: 1.5rem;
        margin-top: 0.8rem;
        margin-bottom: 0.8rem;
    }
}

/*span {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 1000px;
    background-color: #f8f8f8;
    color: white;
    font-weight: bold;
    z-index: 0;
    overflow: hidden; /* Important */
/*}*/

@media (min-width: 2000px) { 
    .logo-img {
        max-width: 90%;
    }
}

/*span::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, #008cff, #e100ff);
    z-index: -1;
    border-radius: inherit;
    padding: 2px 0 0 0; /* Thickness of border */
/*    -webkit-mask:
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    mask:
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
}*/

/*1440px*/
@media (min-width: 1440px) {
    .hero-container{
        grid-template-rows: clamp(12.5rem, 7.979rem + 10.638vw, 25rem) 1fr 1fr;
    }
}

/*
    COVER SMALL VERSION
*/
@media (max-width: 566px) {
    .hero-container {
        display: none;
    }
    .hero-container-sm {
        display: grid;
        grid-template-rows: repeat(4, 1fr);
        grid-template-columns: repeat(5, 1fr);
        grid-template-columns: clamp(0rem, -2.873rem + 14.367vw, 2.2rem) 2fr 3fr 3fr 3fr 2fr clamp(0rem, -2.873rem + 14.367vw, 2.2rem);
        grid-template-rows: 3rem repeat(7, 1fr);
    }
    .hero-logo-container {
        grid-row-start: 2;
        grid-column-end: 6;
        width: 100%;
        max-width: none;
        aspect-ratio: 5 / 2;
    }
    .hero-logo-img {
        aspect-ratio: 6 / 2;
        max-width: 100%;
        object-fit: cover;
    }
    .hero-text-container {
        grid-row-start: 2;
        grid-row-end: 4;
        grid-column-start: 2;
        grid-column-end: 5;
        justify-items: center;
        gap: 0 0;
        display: grid;
        grid-template-rows: repeat(3, 1fr);
        grid-template-columns: repeat(4, auto);
        grid-template-rows: repeat(3, auto);
        grid-column-end: 7;
        grid-row-start: 4;
        grid-row-end: 7;
        gap: 0rem 0;
    }
    .hero-text{
        grid-row-start: 1;
        grid-column-start: 2;
        grid-column-end: 6;
        font-size: clamp(1.6rem, 0.294rem + 6.531vw, 2.6rem);
    }
    .hero-titles {
        grid-row-start: 2;
        grid-column-start: 2;
        grid-column-end: 6;
    }
    .hero-titles h2 {
        text-align: center;
        margin-left: 0;
        font-size: clamp(1rem, 0.608rem + 1.959vw, 1.3rem);
    }
    .btn-container {
        grid-row-start: 3;
        grid-column-start: 3;
        grid-column-end: 5;
    }
    .hero-btn {
        font-size: clamp(1.2rem, 0.808rem + 1.959vw, 1.5rem);
    }
}

/* Responsive Navigation - Mobile First */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links-container {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: teal;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 0;
        height: 100vh;
        justify-content: center;
        z-index: 1000;
    }
    
    .nav-links-container.active {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 0;
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        color: white;
        text-decoration: none;
        padding: 1rem;
        display: block;
        transition: 0.3s;
    }
    
    .nav-links a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
    }
    
    .logo-container {
        max-width: 30%;
    }
    
    /* Ensure navbar is visible when menu is open */
    #navbar.menu-open {
        opacity: 1;
        visibility: visible;
    }
    
    /* Mobile footer layout */
    .footer-info-container {
        display: grid;
        grid-template-rows: 1fr 1fr auto;
    }

    .footer-quick-links {
        grid-template-columns: auto 1fr;
        gap: 1rem;
        grid-template-rows: 1fr;
    }

    .footer-title {
        font-size: 1.1rem;
        border-bottom: none;
        /*border-right: 1px solid;*/

        font-size: clamp(1rem, 0.65rem + 1.747vw, 1.25rem);
    }

    .footer-quick-links {
        grid-row: 2 / 3;
        grid-template-columns: auto 1fr;
        gap: 1rem;
        grid-column: 1 / 3;
    }

    .footer-menu-links {
        grid-row: 1 / 2;
    }

    .footer-contact-links {
        grid-row: 2 / 3;
    }

    .quick-links {
        flex-direction: row;
        /*gap: 1.5rem;*/
        gap: 1rem;

        font-size: clamp(0.8rem, 0.52rem + 1.397vw, 1rem);
    }

    .quick-links li {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer-territory-acknowledgement {
        grid-column: 1 / 3;
        grid-row: 3 / 4;
    }

    .footer-territory-acknowledgement p {
        /*max-width: 400px;*/
        
        font-size: clamp(0.8rem, 0.66rem + 0.699vw, 0.9rem);
    }
}

@media (max-width: 461px) {
    .hero-container {
        grid-template-rows: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .footer-container .logo-container {
        display: none;
    }
}