
/*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: 0 clamp(1.5rem, -2.837rem + 16.327vw, 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(340px, 50vh, 1000px) 2fr 1fr;*/

    padding: 0 clamp(1.5rem, -2.837rem + 16.327vw, 5rem);

    grid-template-rows: clamp(340px, 50vh, 1000px) 4fr 3fr;
}

.test{ /*This serves as a "mask" to trimm the logo's height*/
    width: 100%;
    height: 35vh;
    max-height: 400px;
    min-height: 310px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    justify-self: center;
    align-self:end;
}
.hero-logo-container{
    display: flex;
    background: white;
    /*max-width: 50%;*/
    /*max-width: 70vw;*/
    max-width: 800px;
    /*justify-content: center;*/
    align-self:center;

    background-color: rgba(0, 128, 128, 0.80);
}
.hero-logo-img{
    align-self: center;
    /*height: fit-content;*/
    max-width: 100%;

    max-width: 600px;

    width: 100%;
}
.hero-titles{
    /*background-color: rgba(0,0,0,0.05);*/
    align-self: center;
    justify-self: center;
    text-align: center;
    line-height: 4rem;
    color: white;

    line-height: 1.5;
}
.hero-titles h1{
    font-size: 3.5rem;
    font-weight: 500;
}
.hero-titles h2{
    font-size: 2.4rem;
    font-weight: 500;
    margin-top: 1rem;

    font-size: clamp(1.5rem, 1.201rem + 1.124vw, 3rem);
}
.hero-buttons{
    display: flex;
    justify-content: space-between;
    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;
}*/
.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;
    /*height: 4rem;*/
    padding: 1rem;
    /*font-size: 1.8rem;*/
}
.hero-btn:hover{
    cursor: pointer;
    background-color: var(--main-accent-color);

}

.hero-btn a {
    font-size: clamp(1.2rem, 0.941rem + 0.974vw, 2.5rem);
}
/*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;
    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;
    line-height: 3.5rem;
}
.short-intro-container h2 {
    font-weight: 400;
    line-height: normal;
}

/****
    CONTENT
****/
#content {
    /*background-color:aliceblue;*/
    background-color: var(--main-bg-color);
    padding: 2.5rem; /*10%;*/
    background-color: var(--main-dark-color);
}
.outline{
    padding: 1rem;
    border: solid #f8f8f8 1px;
    background-color: var(--main-dark-color);
    /*border-radius: 10px;*/
    max-width: 1440px;
    margin: 0 auto;
}
/*.content-container{
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    color: white;
    background-color: #363636;
}*/
.content-container{
    display: grid;
    /*grid-template-rows: 1fr 1fr;*/
    grid-template-columns: 1fr 1fr 1fr;
    color: white;
    background-color: #363636;
}
.content-img-1{
    grid-column: span 2;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: left;
}
/*.content-img-1, .content-img-2{
    width: 100%;
    object-fit: cover;
}
.content-img-1{
    grid-column: span 2;
    height: 100%;
    object-position: left;
}
.content-img-2{
    grid-column: span 2;
    height: 100%;
    object-position: center;
}*/
.content-description{
    padding: 1rem;
}
.content-description h2{
    font-weight: 600;
}
.content-description p{
    font-size: 1.1rem;
}
.content-first-row h2, .content-first-row p{
    /*text-align: right;*/
    margin-top: 1rem;
    margin-bottom: 2rem;
    margin-left: 1rem;
}
.content-second-row h2, .content-second-row p{
    text-align: right;
    margin-top: 1rem;
    margin-bottom: 2rem;
    margin-right: 1rem;
}

/*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;
    background-color: #363636;
}
.services-container {
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
    align-items: center;

    font-size: clamp(1.65rem, 1.119rem + 2.645vw, 3.5rem);
}
.services-container h1 {
    font-size: clamp(1.5rem, 0.627rem + 4.364vw, 3rem);
    text-align: center;
}
.services-container h1 span {
    color: white;
}
.services-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;

    margin-top: clamp(1.65rem, 1.119rem + 2.645vw, 3.5rem);
}

.service-banner {
    display: block;
    width: 100%;
    max-width: 600px;
    height: 200px;
    text-decoration: none;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #f0f0f0; /* Fallback color for debugging */
    border: 2px solid var(--main-accent-color); /* Visible border for debugging */

    /*height: clamp(12.5rem, 11.156rem + 6.699vw, 21.875rem);*/
    max-width: 1000px;

    height: clamp(10rem, 8.298rem + 8.486vw, 21.875rem);
}

.service-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.horse-boarding-banner {
    background-image: url('./images/horse-boarding-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.nutrition-banner {
    background-image: url('./images/nutritionist-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1.5rem;
}

.banner-overlay h2 {
    color: white;
    /*font-size: 2rem;*/
    font-size: clamp(1.5rem, 0.799rem + 3.493vw, 2rem);
    font-size: clamp(1.55rem, 1.342rem + 1.036vw, 3rem);
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin: 0;
    text-align: right;
}

.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-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;
    padding: clamp(2rem, -3.576rem + 12.121vw, 4rem) clamp(0.5rem, -9.258rem + 21.212vw, 4rem);
}
.about-short-layout-container{
    display: flex;
    flex-direction: column;
    max-width: 1000px;
    margin: 0 auto;
}
.about-short-layout-container h1 {
    font-size: clamp(1.5rem, 0.627rem + 4.364vw, 3rem);
}
.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;

    height: clamp(25rem, -28.125rem + 100vw, 28.125rem);
}
.about-short-contents {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 2rem 0 2rem;
    padding: clamp(0.5rem, -9.538rem + 18.462vw, 2rem) clamp(1rem, -5.692rem + 12.308vw, 2rem);
    font-size: clamp(1.2rem, 0.991rem + 1.043vw, 1.5rem);

    padding: clamp(0rem, -4.171rem + 9.143vw, 2rem) clamp(1rem, -5.692rem + 12.308vw, 2rem);
}
.about-short-text {
    font-size: 1.1rem;
}
.about-short-text h2 {
    font-size: clamp(1.3rem, 1.25rem + 0.25vw, 1.65rem);
}
.about-short-contents h2 {
    font-weight: 600;
}
.about-short-contents p {
    /*margin: 1.5rem 0;*/
    margin-top: 1.5rem;
    font-size: clamp(1rem, -1.386rem + 4.571vw, 1.1rem);

    font-size: clamp(0.9rem, -0.667rem + 3.107vw, 1.1rem);
    margin-top: clamp(0.9rem, -0.374rem + 2.815vw, 1.5rem);
}
.btn-container {
    /*height: 50px;*/

}

/* Responsive styles for about-short section */
@media (min-width: 670px) and (max-width: 723px) {
    #about-short {
        text-align: center;
    }
    
    .about-short-container {
        flex-direction: column;
        align-items: center;
        min-width: auto;
        max-width: 600px;
        margin: 2.5rem auto 0;
    }
    
    .short-about-img {
        height: 350px;
        width: 100%;
        max-width: 400px;
        margin-bottom: 2rem;
    }
    
    .about-short-contents {
        padding: 0 1rem;
        text-align: center;
    }
    
    .about-short-contents p {
        /*padding: 0 1rem;*/
        text-align: justify;
    }
    
    .about-short-text {
        font-size: 1rem;
    }
}

@media (max-width: 669px) {
    #about-short {
        padding: 2rem 1rem;
        text-align: center;
    }
    
    .about-short-container {
        flex-direction: column;
        align-items: center;
        min-width: auto;
        max-width: 100%;
        margin: 2rem auto 0;
    }
    
    .short-about-img {
        height: 280px;
        width: 100%;
        max-width: 300px;
        margin-bottom: 1.5rem;
    }
    
    .about-short-contents {
        padding: 0 0.5rem;
        text-align: center;
    }
    
    .about-short-text {
        font-size: 0.95rem;
    }
    
    .about-short-contents h2 {
        /*font-size: 1.5rem;*/
        margin-bottom: 1rem;
    }
    
    .about-short-contents p {
        margin: 1rem 0;
        line-height: 1.4rem;
        text-align: justify;
    }
    
    .call-to-action-btn {
        font-size: 1.2rem;
        padding: 0.8rem 1.5rem;
    }
}

/*
*
*
    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;
    font-family: "Montserrat", sans-serif;
}
.form-input-msg{
    /*border-bottom: 2px solid black;*/
    border-bottom: 3.5px solid #39c9bb;
    padding: 0.3rem;
}
.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;

    gap: clamp(1.5rem, -0.003rem + 3.127vw, 5rem);
}
.footer-social-links, .footer-quick-links, .footer-territory-acknowledgement{
    display: grid;
    grid-template-rows: 1.8rem 1fr;
    /*align-items: center;*/

    grid-template-rows: auto 1fr;

    min-width: 89px;
}
.footer-title{
    /*font-size: 1.5rem;
    font-size: clamp(1.2rem, 1.019rem + 0.534vw, 1.5rem);*/
    border-bottom: 1px solid;


    line-height: 1.5;
    font-size: clamp(1.25rem, 0.929rem + 0.67vw, 2rem);
    font-size: clamp(1.1rem, -0.057rem + 1.286vw, 2rem);
}
.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;

    /*font-size: clamp(1rem, 0.357rem + 0.714vw, 1.5rem);*/

    line-height: 1.5;
    font-size: clamp(0.9rem, 0.257rem + 0.714vw, 1.4rem);
}

.footer-social-icon{
    color: white;
}
.footer-territory-acknowledgement p{
    font-size: 0.8rem;
    line-height: 1.4;
    max-width: 550px;

    font-size: clamp(1rem, 0.486rem + 0.571vw, 1.4rem);
    max-width: clamp(34.375rem, 14.286rem + 22.321vw, 50rem);

    font-size: clamp(0.8rem, 0.029rem + 0.857vw, 1.4rem);
}
.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
***/
textarea {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
}
.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 max-content max-content;
    justify-items: center;
    align-items: center;
    border: solid black 2px;
    border-radius: 20px;
    background-color: var(--main-bg-color);
    padding: 2rem;
    max-height: 800px;
    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 (min-width: 670px) and (max-width: 1000px) {
    /*
        SERVICES
    */
    .content-container {
        display: flex;
        flex-direction: column;
    }

    /*
        SERVICES
    */
    .services-container{
        /*display: block;*/
    }
    .services-links {
        gap: 1.5rem;
    }
    
    /*.service-banner {
        height: 150px;
        max-width: 500px;
    }*/
    
    /*.banner-overlay h2 {
        font-size: 1.5rem;
    }*/
    .card {
        display: flex;
        min-width: fit-content;
        padding: 0;
        gap: 1rem;
        min-width: 654px;
        max-width: fit-content;
    }
    .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 (max-width: 800px) {
    .footer-container .logo-container {
        display: none;
    }
}

@media /*(min-width: 600px) and*/ (max-width: 669px) {
    #services {
        /*padding: clamp(1.65rem, 1.119rem + 2.645vw, 3.5rem) 0.5rem;*/
        padding: clamp(2.5rem, 1.578rem + 4.598vw, 3.5rem) 0.5rem;
    }
    .services-links {
        gap: 1rem;
    }
    
    /*.service-banner {
        height: 120px;
        max-width: 400px;
    }*/
    
    /*.banner-overlay {
        padding: 1rem;
    }*/
    
    /*.banner-overlay h2 {
        font-size: 1.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;
    }
    .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-content {
        padding: 0 1rem 1rem 1rem;
    }
    .card h4{
        font-size: 1.5rem;
        margin-top: 0.8rem;
        margin-bottom: 0.8rem;
    }
}

@media (max-width: 550px) {
    .hero-buttons {
        gap: 1rem;
    }

    .footer-info-container {
        display: grid;
        /*grid-template-columns: 1fr 1fr;
        gr/id-template-rows: 1fr 1fr;*/

        /*grid-template-columns: 1fr 1fr; */
        grid-template-rows: 1fr 1fr auto;

        gap: 1rem
    }

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

        align-items: center;
    }

    .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);
    }

    .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: 370px) {
    .hero-container {
        grid-template-rows: clamp(200px, 45vh, 1000px) 1fr 2fr;
        padding: 0.5rem;
    }

    .hero-buttons {
        gap: 1rem;
        flex-direction: column;
        justify-content: center;
    }

    .btn-container {
        width: 100%;
    }

    .hero-btn {
        width: 100%;
    }
}



/*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%;
    }

    .hero-logo-img {
        max-width: 800px;
    }
}

/* 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;
    }
}

/*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;
}*/