:root {
    --nav-h: 100px;
}
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: "Nunito", sans-serif;
}
html {
  display: flex;
  min-width: 100%;
  min-height: 100%;
}

body {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  min-width: 100%;
  background-color: #042832;
  height: 100dvh;
  overflow: hidden;
}

.content-container {
  display: flex;
  flex-wrap: wrap;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  width: 100%;
  height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: auto;
  overscroll-behavior: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.content-container::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.snap-section {
    height: calc(100dvh - var(--nav-h));
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    margin: 0;
    padding: 0;
}

.full-screen-div {
    position: relative;
    height: 100dvh;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    z-index: 1;
    padding-left: 20px;
    padding-right: 20px;
    pointer-events: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    width: 100%;
    height: calc(100dvh - var(--nav-h));
    z-index: 2;
    contain: paint;
    will-change: transform;
}

.full-screen-div .left-logo-bracket,
.full-screen-div .right-logo-bracket {
  height: 250px;
  width: auto;
  margin-left: 20px;
  margin-right: 20px;
}
    .full-screen-div .left-logo-bracket,
    .full-screen-div .right-logo-bracket {
        height: clamp(2rem, 8vw, 250px);
        width: auto;
        margin-left: 20px;
        margin-right: 20px;
    }

.full-screen-div h1 {
  display: flex;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  font-size: 120px;
  font-weight: 600;
  color: #F2EFEA;
  font-family: "Fahkwang", sans-serif;
  opacity: 1;
}

#full-ac-name {
    font-size: clamp(2rem, 6vw, 8rem);
    white-space: nowrap;
}

.nav-bar .left-logo-bracket,
.nav-bar .right-logo-bracket {
  height: clamp(40%,2.5vw,50%);
  width: auto;
}
.nav-bar .left-logo-bracket {
    margin-right: clamp(12px,1.2vw,17px);
}

.nav-bar {
    position: fixed;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 100%;
    background-color: #042832;
    padding-left: clamp(10px,1vw,20px);
    padding-right: clamp(10px,1vw,20px);
    overflow: visible;
    z-index: 50;
    top: 0;
    left: 0;
    height: var(--nav-h);
}

.logo-brackets {
  margin-left: clamp(15px,2vw,25px);
  display: flex;
  height: 55%;
  box-sizing: border-box;
  width: clamp(40px,2vw,45px);
  justify-content: left;
  align-items: center;
  cursor: pointer;
}

.nav-header {
  display: flex;
  justify-content: start;
  align-items: center;
  box-sizing: border-box;
  width: auto;
  height: 100%;
  cursor: pointer;
}

#nav-ac-name {
    position: absolute;
    font-family: "Fahkwang", sans-serif;
    color: #F2EFEA;
    font-size: clamp(20px,2.4vw,24px);
    font-weight: 500;
    letter-spacing: 3px;
    margin-left: clamp(65px,7vw,87px);
    margin-bottom: 0;
    transform: translateX(100px);
    opacity: 0;
    cursor: pointer;
    text-decoration: none;
}

.nav-links {
  display: none;
}

.nav-link {
    font-family: "Nunito", sans-serif;
    color: #F2EFEA;
    font-size: clamp(16px,1vw,17px);
    position: relative;
    opacity: 0;
    transform: translateY(100px);
}

    .nav-link::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -1px;
        width: 0;
        height: 1px;
        background-color: #F2EFEA;
        background-color: #bfcf99;
        color: #F2EFEA;
        color: #bfcf99;
        transition: width 0.3s ease-in-out;
    }

    .nav-link:hover {
        color: #F2EFEA;
        color: #bfcf99;
    }

.nav-link:hover::after {
  width: 100%;
}
.nav-link.active::after {
    width: 100%;
}

#landing {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
    flex-wrap: nowrap;
    background-color: #042832;
    align-content: start;
    justify-content: center;
}

#landing h1 {
  color: #F2EFEA;
  width: 100%;
  text-align: center;
  font-family: "Fahkwang", sans-serif;
  font-size: clamp(45px,5vw,75px);
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(100px);
}
    #landing .home-page-header-div {
        display: flex;
        width: 100%;
        flex: 0 0 auto; /* content height only */
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
        padding-top: clamp(20px, 4dvh, 60px);
        padding-left: 15px;
        padding-right: 15px;
    }

    #landing .home-page-shapes-div {
        flex: 1 1 auto;
        height: 100%;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-content: space-between;
        padding-top: 20px;
    }

#landing .home-page-shapes {
  width: 100%;
  height: 31%;
  display: flex;
  flex-wrap: nowrap;
  margin-top: 5px;
  margin-bottom: 5px;
  justify-content: space-between;
}
    #landing .home-page-shapes img, 
    .shape-filler {
        height: 100%;
    }

#about {
    display: flex;
    flex-wrap: wrap;
    background-color: #042832;
    padding-left: 45px;
    padding-right: 45px;
    align-content: space-between;
    position: relative;
    height: 100%;
}

.ac-button {
    display: flex;
    align-items: center;
    height: clamp(30px,7dvh,55px);
    font-weight: 400;
    font-size: clamp(10px,2.6dvh,17px);
    padding: 5px 15px 5px 15px;
    font-family: "Nunito", sans-serif;
    border-radius:13px;
    opacity: 0;
    transform: translateY(100px);
    z-index: 2;
    text-decoration: none;
    color: #000000;
    margin: 0;
}

.ac-button.green {
  background-color: #E6FFAB;
  border: solid 3px #E6FFAB;
  color: #000000,
}

#shape1,
#shape2,
#shape3,
#shape4,
#shape5,
#shape6 {
  opacity: 0;
}

#shape1 {
  transform: translateX(-100px);
}

#shape2 {
  transform: translateY(100px);
}

#shape3 {
  transform: translateY(100px);
}

#shape4 {
  transform: translateX(100px);
}

#shape5 {
  transform: translateX(-100px);
}

#shape6 {
  transform: translateY(100px);
}
.snap-section img,
.snap-section h1,
.home-page-shapes-div {
    will-change: transform;
}
#about-detail {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    width: 50%;
    height: 100%;
    color: #F2EFEA;
    align-content: center;
    padding-right: 80px;
    overflow: hidden;      /* guarantee nothing spills */
    container-type: inline-size; /* enables cqi units */
}
    #about-detail h4 {
        width: 100%;
        font-weight: 300;
        margin-bottom: clamp(8px, 1cqi, 12px);
        font-size: clamp(14px, 4cqi, 20px); /* cqi = 1% of container inline size */
        line-height: 1.1;
    }
    #about-detail h2 {
        font-family: "Fahkwang", sans-serif;
        font-size: clamp(25px, 7cqi, 65px); /* cqi = 1% of container inline size */
        line-height: 1.1;
        margin: 0;
        margin-bottom: clamp(20px, 5cqi, 35px);
    }
    #about-detail p {
        font-weight: 300;
        font-size: clamp(12px, 2.7cqi, 18px);
        line-height: 1.35;
        margin-bottom: clamp(20px, 5cqi, 40px);
    }
#about-img {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    width: 50%;
    opacity: 0;
    transform: translateY(30px) scale(0.98);
}
#about-detail > * {
    opacity: 0;
    transform: translateY(25px);
}
#experience-blurps {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    color: #F2EFEA;
}
.blurp-group {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}
.blurp {
    margin-right: 35px;
    padding-top: 10px;
    border-top: 3px solid #bfcf99;
    border-radius: 4px;
}
    .blurp h5 {
        letter-spacing: 1px;
        font-weight: 800;
        font-family: "Fahkwang", sans-serif;
        font-size: clamp(16px, 3cqi, 22px);  /* cqi = 1% of container inline size */
        line-height: 1.1;
    }
.blurp p {
    letter-spacing: 1px;
    font-weight: 800;
    font-size: clamp(14px, 3cqi, 16px) !important;  /* cqi = 1% of container inline size */
    line-height: 1.1;
}
#services {
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;      /* guarantee nothing spills */
    container-type: inline-size; /* enables cqi units */
}
    #services h4 {
        width: 100%;
        font-weight: 300;
        font-size: clamp(16px, 6cqi, 20px);
        margin-bottom: 0;
        color: #F2EFEA;
        margin-bottom: clamp(8px, min(3cqi,3cqb), 15px);
        text-align: center;
    }
    #services h2 {
        width: 100%;
        color: #F2EFEA;
        font-family: "Fahkwang", sans-serif;
        font-size: clamp(34px, min(3.4cqi,6cqb), 45px);
        margin-bottom: clamp(20px, min(3cqi,5cqb), 50px);
        text-align: center;
    }
.services-group {
    display: flex;
    justify-content: center;
    width: 100%;
    height: clamp(100px, min(13cqi, 26cqb), 250px);
    align-items: center;
    margin-bottom: clamp(15px, min(2cqi, 5cqb), 40px);
}
.service {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    width: clamp(350px, 26cqi, 500px);
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 10px;
    border-bottom: 10px solid #bfcf99;
    border-right: 6px solid #bfcf99;
    border-top: 1px solid #bfcf99;
    border-left: 1px solid #bfcf99;
    padding: 15px;
    align-content: space-between;
    margin-left: clamp(10px, 1cqi, 20px);
    margin-right: clamp(10px, 1cqi, 20px);
}
    .service h5 {
        color: #F2EFEA;
        text-align: center;
        width:100%;
        font-family: "Fahkwang", sans-serif;
        font-size: clamp(16px, min(1.5cqi,2.6cqb), 24px);
        margin-bottom: clamp(10px, 3cqi, 20px);
    }
    .service p {
        color: #F2EFEA;
        width: 100%;
        text-align: center;
        font-size: clamp(12px, min(1cqi,2cqb), 17px);
        font-weight: 300;
    }
#contact {
    background-image: url('/img/Array.png');
    background-size: cover; /* Makes it fill the div */
    background-position: center; /* Keeps it centered */
    background-repeat: no-repeat; /* Prevents tiling */
}
    #contact div {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
    }
    #contact .contact-content {
        width: min(980px, calc(100% - 40px));
        margin: auto;
    }
        #contact div h2 {
            font-family: "Fahkwang", sans-serif;
        }
        #contact div h4 {
            width: 100%;
            font-weight: 300;
            font-size: clamp(16px, 6cqi, 20px);
            margin-bottom: 0;
            color: #F2EFEA;
            margin-bottom: clamp(8px, min(3cqi,3cqb), 15px);
            text-align: center;
        }
        #contact div h2 {
            width: 100%;
            color: #F2EFEA;
            font-family: "Fahkwang", sans-serif;
            font-size: clamp(34px, min(3.4cqi,6cqb), 45px);
            margin-bottom: clamp(20px, min(3cqi,5cqb), 50px);
            text-align: center;
        }
        #contact div p {
            font-weight: 300;
            width: min(720px, 100%);
            margin-left: auto;
            margin-right: auto;
            color: #F2EFEA;
            text-align: center;
            font-size: clamp(12px, 2.7cqi, 18px);
            line-height: 1.35;
            margin-bottom: clamp(20px, 5cqi, 40px);
        }
.whatsapp-panel {
    width: min(840px, 100%);
    padding: 28px;
    border-radius: 24px;
    background: rgba(4, 40, 50, 0.78);
    border: 1px solid rgba(230, 255, 171, 0.25);
    backdrop-filter: blur(10px);
}
.contact-group {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-content: center;
    width: min(520px, 100%);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(10px, 5cqi, 20px);
}
.whatsapp-contact-group {
    justify-content: flex-start !important;
    align-items: center;
    gap: 16px;
}
.contact-group span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: #bfcf99;
    border-radius: 40%;
    color: #042832;
    margin-right: 20px;
    font-size: 22px;
    font-weight: 400;
}
.contact-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: #F2EFEA;
}
.contact-copy strong {
    font-size: 1rem;
    letter-spacing: 0.02em;
}
.contact-copy p {
    width: auto !important;
    margin: 4px 0 0 0 !important;
    text-align: left !important;
}
.whatsapp-form {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    width: 100%;
}
.whatsapp-field {
    display: flex;
    flex-direction: column;
    width: calc(50% - 9px);
    gap: 8px;
    color: #F2EFEA;
}
.whatsapp-field-full {
    width: 100%;
}
.whatsapp-field span {
    font-size: 0.95rem;
    font-weight: 700;
}
.whatsapp-field input,
.whatsapp-field textarea {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(230, 255, 171, 0.35);
    background: rgba(242, 239, 234, 0.08);
    color: #F2EFEA;
    padding: 14px 16px;
    font: inherit;
}
.whatsapp-field input::placeholder,
.whatsapp-field textarea::placeholder {
    color: rgba(242, 239, 234, 0.7);
}
.whatsapp-field input:focus,
.whatsapp-field textarea:focus {
    outline: 2px solid rgba(230, 255, 171, 0.7);
    outline-offset: 2px;
}
.whatsapp-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}
.whatsapp-button {
    opacity: 1;
    transform: none;
    min-height: 52px;
}
.whatsapp-help {
    width: 100% !important;
    margin: 16px 0 0 0 !important;
    text-align: center !important;
    font-size: 0.95rem !important;
}
code {
    font-family: Consolas, monospace;
}
@media (min-width: 900px) {
    .nav-links {
        display: flex;
        right: 0;
        margin-right: 30px;
    }
    #landing {
        flex-direction: row;
        align-content: center;
        justify-content: space-between;
    }
    #landing h1 {
        text-align: left;
        max-width: 725px;
        margin-right: 60px;
    }
        #landing .home-page-header-div {
            width: 50%;
            flex: 0 0 auto; /* content height only */
            justify-content: left;
            padding-left: clamp(50px,5.5vw,70px);
        }
        #landing .home-page-shapes-div {
            width: 50%;
            box-sizing: border-box;
            padding: 0;
            padding-right: 40px;
            height: 100%;
            justify-content: right;
            align-content: center;
        }
        #landing .home-page-shapes {
            width: 100%;
            box-sizing: border-box;
            height: calc(33.333% - 15px); /* subtract margins/gap if needed */
            max-height: none;
            display: flex;
            flex-wrap: nowrap;
            margin-top: 5px;
            margin-bottom: 5px;
            justify-content: right;
            align-items: stretch;
        }
        #landing .home-page-shapes img,
        .shape-filler {
            height: 100%;
            width: auto;            /* <-- let aspect ratio decide width */
            max-width: 33.333%;     /* <-- only cap if it would overflow */
            flex: 0 1 auto;         /* <-- don't force 33%, allow shrink if needed */
            object-fit: contain;
            min-width: 0;
        }
}
@media (max-width: 899px) {
    .whatsapp-field {
        width: 100%;
    }

    .whatsapp-panel {
        padding: 22px 18px;
    }

    .contact-group span {
        margin-right: 0;
    }
}
