* {
/*
    margin: 0;
    padding: 0;
*/
    box-sizing: border-box;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/static/Montserrat-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/static/Montserrat-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/Open_Sans/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/Open_Sans/static/OpenSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/Open_Sans/static/OpenSans-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

/* Apply fonts */
body {
    font-family: 'Open Sans', sans-serif;
}

h1, h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

#home {
    display: inline-flex;
}

/* Base elements */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    padding:0;
    margin:0;
    width:100vw;
    position: absolute;
    background-color: #262522;
    overflow-x: hidden;
}

main{
    background-color: white;
    overflow-x: hidden;
}

section {
    scroll-margin-top: 6vh;
    padding:0;
    margin: 0;
    width: calc(100% - 1rem);
}

input {
    background: rgba(233, 233, 233, 1);
    border:none;
    width: 100%;
    height: 2rem;
}

input[type=submit]{
    background: rgba(255, 148, 1, 1);
    width: 6.25rem;
    gap: 10px;
    border-radius: 5px;
    padding: 10px;
    margin-left: calc(100% - 6.25rem);
    margin-top:1%;
    color: black;
    display: flex;
    justify-content: center; /* Horizontal centering */
    align-items: center; /* Vertical centering */
    padding: 10px 20px; /* Adjust as needed */
}

textarea {
    background: rgba(233, 233, 233, 1);
    border:none;
    resize: none;
    width:100%;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
    font-weight:lighter;
}

h4 {
    font-size: 1.25rem;
    font-weight:500;
    padding:1rem 0 1rem 0;
    margin: 0;
}

.center {
    justify-self: center;
}

.m0 {
    margin: 0 auto;
} 

.p0 {
    padding: 0;
}

.m1r{
    margin:1rem;
}

.m8r{
    margin:8rem;
}

.light {
    font-weight: lighter;
}

.jog {
    padding-left:1rem;
}

.content {
    background: #262522;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

.col4 {
    margin:2.5rem;
    width:100%;
    display: grid;
    grid-template-columns: 30vw 20vw 15vw 30vw;
    color: white;
    gap:1vw;
}

.col4 a {
    color: white;
    text-decoration: none;
}

.align-left {
    text-align: left;
    justify-content: center;
}
s

body > main > footer > div > div:nth-child(1) > p {
    font-size: 1.16rem;
}

/* Reused */
.button {
    display: flex;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
}

.button:hover {
    background: #f4a261;
}




/* Navbar */
.navbar {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    top: 0;
    left: 0;
    width: 100vw;
    background: #262522;
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.headerWrapper {
    position: relative;
    top: 4vh;
    z-index: 0;
}

main{
    position: relative;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
}

.logo img {
    height: 60px;
    width: auto;
    margin-left: 4vw;
}

.nav-links {
    position: absolute;
    padding-top: 20px;
    padding-bottom: 20px;
    justify-self:center;
    top:0;
    width:50vw;
    left:25%;
    text-align: center;
}

/* Navigation Links */
.nav-links ul {
    position: relative;
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links ul li {
    margin: 0 15px;
}

.nav-links ul li a {
    color: #F7BE14;
    text-decoration: none;
    font-family: Montserrat;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -2%;
    transition: 0.3s;
}

.nav-links ul li a:hover {
    color: #f4a261;
}

.middle {
    display: flex;
    align-items: center;
    gap: 2vw;
    margin-left: auto;
    margin-right: 4vw;
}

.middle a {
    display: flex;
    align-items: center;
}

.header-btn {
    left:8.7vw;    padding 10px;

}

.quote-btn {
    background-color: #F7BE14;
    color: black;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    padding 10px;
}

.quote-btn:hover {
    background: #f4a261;
}

.consult-btn {
    background-color: rgba(255,255,255,0.4);
    color: black;
    border: 0.2rem solid black;
    margin-left: 8rem;
    padding: 8px!important;
}

.instagram-icon img {
    height: 30px;
    width: auto;
    background: #262522;
    border-radius: 0.5rem;
}

.instagram-icon img:hover {
    background: #f4a261;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    width:2.5rem;
    height:2.5rem;
    font-size: 2.5rem;
    cursor: pointer;
    margin-right:2%;
    margin-left: -2%;
    color: white;
    position: absolute;
    top:0.2rem;
    right: 1vw;
}

.nav-links ul li a {
    color: #F7BE14;
    text-decoration: none;
    font-family: Montserrat;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -2%;
    transition: 0.3s;
}

.nav-links ul li a:hover {
    color: #f4a261;
}

.show-menu .nav-links {
    display: flex;
}




/* Header */
.headerWrapper{
    position: relative;
    top:4vh;
}

.headerImage{
    width:  100vw;
    height: auto;
    padding:0;
    margin:0;
}

.headerText{
    position: absolute;
    width:inherit;
    height: 308;
    top: 17.25%;
    left: 9.2%;
    font-weight: 600!important;
    font-size: 4.21vw;
    line-height: 147%;
    letter-spacing: 6px;
    padding: 5px;
    margin:-5px;
    border-radius: 15px;
    transition: 1.5s;
    color: white;
}

.subHeaderText {
    position: absolute;
    width:inherit;
    height: 308;
    top: 40.25%;
    left: 9.2%;
    font-size: 1.75vw;
    font-weight: 600;
    line-height: 147%;
    letter-spacing: 2.5px;
    padding: 5px;
    margin:-5px;
    border-radius: 15px;
    transition: 1.5s;
    color: white;
}

.header-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.floating {
    position: absolute;
    top:40.5vw;
    transition: 1.5s;
    justify-content: flex-start;
    z-index:9999;
    padding:10px;
}

.overlay{
    position: absolute;
    width:100%;
    height:100%;
    top:0px;
    background: linear-gradient(90.34deg, rgba(0, 0, 0, 0.48) 51.71%, rgba(255, 255, 255, 0.08) 97.97%);
    opacity: 100%;
    transition: 1.5s;
}

.float {
    
}



/* About Us / Associations */
.associations {
    position: relative;
    margin:2.5rem;
}

.proudHeading {
    letter-spacing: 0.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.associates-container {
        display:flex;
    justify-content: center;
    align-content: center;
}

.associates {
    display: grid;
    grid-template-columns: 25vw 25vw 25vw 25vw;
    width:100%;
    max-height: 10rem;
    margin:0 auto;
}

.grid-container {
    display: grid;
    grid-template-columns: 40vw 60vw;
    background: #DFEDF6;
    width:100vw;
    height:100%;
}

.grid-text {
    margin:2.5rem;
    margin-top:1rem;
    font-size: 1rem;
}

.not-right-margin {
    margin-left: 2.5rem;
    margin-right: 2.5rem;
    margin-top: 2.5rem;
}

.grid-3c {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    width:100%;
}

.mini-text {
    font-size: 1.16rem;
}

.instaProfile {
    display: block;
    position: relative;
    text-align: center;
    background-image: url("../images/Instagram/blank.png");
    background-repeat: no-repeat;
    background-size: cover;
    height:100%;
    width:100%;
}

.left {
    margin:2.5rem;
    margin-right:0;
    justify-self: center;
    align-self: center;
}

.right {
    margin:2.5rem;
    flex-direction: column;
    display: flex;
    gap:2.5rem;
}

.right-top {
    background: #F9F9F9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.right-middle {
    background: #F9F9F9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.right-bottom {
    background: #F9F9F9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.grid-2c {
    justify-content: center;
    width:100%;
    display: grid;
    grid-template-columns: 45% 45%; /* Adjust the percentage as needed */
    height:200%;
}

.services-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(8, auto);
    gap: 2.5rem;
    max-width: calc(100vw - 5.5rem);
    margin:2.5rem;
}

.services-grid-item {
    position: relative;
    text-align: center;
    margin: 0 auto; /* Centers element without left offset */
    display: flex;
    flex-direction: column;
    align-items: center;}

.services-grid-item img {
    width: 100%;
    height: auto;
    display: block;
}

.float {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 27rem;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    line-height: 3rem;
    font-weight: bold;
    padding:2.5rem!important;
    box-sizing: border-box;
    text-align: left;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 4px;
}

.services-grid-item:hover .float {
    opacity: 1;
}

.caption {
    margin-top: 5px;
    font-size: 14px;
    font-weight: bold;
    text-align: left;
    width:100%;
}


.service-images {
    width:100%;
}

#projects {
    background: #DFEDF6;
}
.projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin:2.5rem;
    justify-self: center;
    justify-content: center;
}

.follow-us {
    display: block;
    position: relative;
    left:10%;
    width: 80%;
    height:auto;
    text-align: center;
    padding: 1%;
    border: 2px solid #E6901A;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.5rem;
    color: #001E32;
    text-decoration: none;
}

.follow-us a {

    align-self: center;
}

.follow-us:hover{
    background:#E6901A;
    border: 4px solid #f4a261;
}

.insta-account-name{
    font-weight:lighter;
}

.at-me {
    text-decoration: none;
    color: black;
}

.at-me:hover {
    text-decoration: underline;
}

.grey-bubble {
    position: relative;
    background: rgba(224, 224, 224, 1);
    border-radius: 3rem;
    width:80%;
    left:10%;
    padding:10px;
}

.project-item {
    padding-bottom: 15%;
}

.project-item img {
    position: relative;
    width:100%;
}

#contact-us {
    background: #F6FDFEDF;
}

.contact-us {
    display: grid;
    grid-template-columns: 45% 45%;
    gap:10%
}

.contact-form {
    width: calc(100% - 5rem);
    margin:2.5rem;
}

/* Quote iFrame pop-up */
.quote-iframe {
    background: rgba(38,37,34,0.98);
    position: absolute;
    width: 95vw;
    height:95vh;
    left:2.5vw;
    top:2.5vh;
    border-radius: 1rem;
    z-index: -9999;
    justify-content: center;
    justify-items: center;
    align-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    padding-top: 3rem;
}

.info-button {
    position: absolute;
    top: 0;
    right: 4rem;
    background: rgba(0,0,0,0.5);
    color: #f4a261;
    font-size: 3rem;
    font-weight: 600;
    width:3rem;
    height:3rem;
    border-radius: 0.5rem;
    z-index: 999999;
    margin-top: 0.5rem;
    margin-right: 0.5rem;
    padding-bottom: 0.2rem;
    text-align: center;
}

.info-blurb {
    display: none;
    position: absolute;
    width: 90%;
    left:5%;
    top:1%;
    height:auto;
    text-align: center;
    background: rgba(100,100,100,1);
    color: black;
    border-radius: 0.5rem;
    border: 1px solid white;
    z-index: 9999999;
}

.info-text {
    width:75%;
    margin-left: 5%;
    text-align: left;
}

.x-button {
    position: absolute;
    top: 0;
    right: 0;
    background: red;
    color: white;
    font-size: 3rem;
    font-weight: 600;
    width:3rem;
    height:3rem;
    border-radius: 0.5rem;
    z-index: 999999;
    margin-top: 0.5rem;
    margin-right: 0.5rem;
    padding-bottom: 0.2rem;
    text-align: center;
}

.x-button:hover {
    background: rgba(220,0,0,1);
}

.quote-iframe-child {
    width:100%;
    height:100%;
    border: none;
}

.vertical-services {
    text-align: left;
}

.footer-title {
    font-size: 2rem;
}

.col4 {
    width:calc(100% - 2rem);
    display: grid;
    grid-template-columns: 23% 21% 19% 30%; /* Responsive grid */
    gap: 0.25rem; /* Even spacing between columns */
}

.col4 > div {
    flex: 1; /* Equal width columns */
}

.map {
    width: 100%; /* Makes it responsive inside its grid container */
    height: 55%; /* Adjust as needed */
    border: 0;
    max-width: 100%; /* Ensures it doesn’t overflow */
}

.insta-at {
     font-size: 1rem;
}

.insta-img {
    margin-top: 10%; 
    width: 30%!important;    
}

.inside-middle {
    display: none;
}

.no-mobile {
    display:none;
}

#call-to-action {
    background: #DFEDF6;
    padding-bottom: 0.1rem;
}

.last-call {
    background: #E6901A;
    padding: 10px;
    color:black;
    text-align: center!important;
    align-self: center;
    justify-self: center;
    font-size: 1rem;
    width:15rem;
}

.add-margin {
    margin: 2.5rem;
    display: grid;
}

.no-dec {
    text-decoration: none;
    color: black;
    font-size: 1.5rem;
}

        .services-grid-container {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(8, auto);
/*            gap: 20px;*/
        }
        .service-images {
            width: 100%!important;
            height: 27rem!important;
/*
            width: 643px!important;
            height: 398px!important;
*/
            border-radius: 4px;
            object-fit: cover; /* Ensures images fill the box while maintaining aspect ratio */
            object-position: 0% 0%; /* Adjust values to control zoom focus */
        }
        .caption {
            font-weight: bold;
            margin-top: 10px;
        }

.full-width {
    width:100%;
}
@media (max-width: 1450px) {
    .service-images {
        height: 25vw!important;
    }
}
@media (max-width: 960px) {
    .insta-at {
         font-size: 0.6rem;
    }
    
    .follow-us {
        font-size: 0.75rem;
        margin-bottom: 5%;
    }
    
    .insta-img {
        margin-top: 5%; 
    }
    
    .service-images {
        height: 15rem!important;
    }
}

/* Mobile */
@media (max-width: 769px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: relative;
        display: none;
        width: 100%;
        text-align: center;
        left:0;
    }

    .nav-links ul {
        flex-direction: column;
        padding: 0;
    }

    .nav-links ul li {
        margin: 10px 0;
    }

    /* Show nav when active */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .middle {
        display: none;
        align-items: center;
        gap: 20px;
        flex-grow: 1;
        justify-content: center;
    }
    
    .inside-middle {
        display: flex;
        align-items: center;
        gap: 20px;
        flex-grow: 1;
        justify-content: center;
    }
    
    .headerText {
        top:20%;
        font-size: 5vw;
        font-weight:900;
        letter-spacing: -1.5px;
    }
    
    .subHeaderText {
        top:50%;
        font-size: 2.25vw;
        font-weight:600;
        letter-spacing: -0.25px;
    }
    
    .floating {
        font-size: 0.75rem;
        padding:10px;
    }
 
    
    .headerHoverText{
        padding-top: 1.5rem;
        height:22.5vh;
        margin:10%;
        font-size: 4.4vw;
        line-height:1.15;
        letter-spacing: 0.1vw;
    }
    
    .proudHeading {
        font-size:3vw;
        letter-spacing: 0.1rem;
        font-weight: 700;
        margin-top: 2rem;
    }
    
    .assotiates {
        max-height: 15dvw;
        margin:0 auto;
        padding:0 0.25rem;
    }
    
    .consult-btn {
        margin-left: 6rem;
    }
    
    .follow-us {
        position: relative;
        width: 80%;
        left: 10%;
        font-size: 0.5rem;
    }
    
    .at-me {
        font-size: 0.4rem;
    }
    
    .grid-text {
        font-size: 0.6rem;
    }
    
    h1 {
        font-size: 2rem;
        letter-spacing: -0.04rem;
    }
    
    h3 {
        font-size: 0.5rem;
    }
    
    h4 {
        font-size: 0.45rem;
        padding: 0.2rem;
        line-height: 1.25rem;
    }
    
    a {
        font-size: 0.45rem;
        padding: 0;
        margin: 0;
    }
    
    .jog {
        padding-left:0.25rem;
    }
    
    .projects {
        gap:0.5rem;
    }
    
    .mini-text {
        font-size: 0.3rem;
    }
    
    .small-text {
        font-size: 0.6rem;
    }
    
    textarea {
        position: relative;
        width:100%;
    }

    
    .footer-icon {
        width:20vw;
    }
    
    .grid-2c {
        grid-template-columns: 100%; /* Adjust the percentage as needed */
    }
    
    .map {
        width:100%;
        height:33%;
    }

    body > main > footer > div > div:nth-child(1) > p {
        font-size: 0.42rem;
    }
    
    .services-grid-container {
        grid-template-columns: 100%; /* Single column on mobile */
    }
    
    .float {
        position: static;
        opacity: 1;
        background: none;
        color: black;
        padding: 0;
        font-size: 0.75rem;
        line-height: 1rem;
        margin-bottom: 2rem;
        
        height: 100%;
        padding: 0 !important;
        padding-top: 1rem !important;
        margin: 0;
    }
    
    h2 {
        font-size: 0.75rem;
    }
    
    #projects > div > div:nth-child(1) > div > h2:nth-child(2) {
        font-size: 0.4rem
    }
    
    
    .info-text {
        height:100%;
        font-size: 1rem;
    }
    
    .grid-container {
        grid-template-columns: 100vw;
    }
    
    .right {
        margin-top:0;
     }
    
    .left{
        margin-right:2.5rem;
    }
    
    
    .footer-title {
        font-size: 0.75rem;
    }
    
    .manual-line-height {
        line-height: 1rem;
        padding-bottom: 0.25rem;
    }
    
    .col4 {
        margin:1rem;
    }
    
    .insta-at {
         font-size: 0.3rem;
    }
    
    .insta-img {
        margin-top: 15%; 
    }
    
    .last-call {
        font-size: 0.5rem;
        width: 8rem;
    }
    
    .bit-bigger {
        font-size: 0.75rem;
        text-align: center;
    }
    
    .bit-smaller {
        font-size: 1.5rem;
    }
    
    .no-dec {
        font-size: 0.75rem;
    }
    
    .service-images {
        width: 100%!important;
        height: 50vw!important;
    }
}
section {
    scroll-margin-top: 6vh;
    padding:0;
    margin: 0;
    width: 100%;
}

.services-grid-container {
    max-width: 100%;
}

#projects > h1 {
    padding-top:2.5rem
}

#contact-us > h1 {
    margin-top:1rem;
    padding-top:0;
}
