:root {
    --main-color: #242424;
    --secondary-color: #9A8B7B;
    --background-color: #F8F8F8;
    --font-black: #000;
    --font-white: #FFF;
    --secondary-color-gradient: linear-gradient(to right, #695E54, #9A8B7B);
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    scroll-behavior: smooth;
    scroll-margin-top: 15vh;
    font-family: "Koh Santepheap", serif;
    touch-action: manipulation;
}
.container {
    padding-left: 15px;
    padding-right: 15px;

    /* Small */
    @media (min-width: 768px) {
        max-width: 750px;
    }
    /* Medium */
    @media (min-width: 992px) {
        max-width: 970px;
    }
    /* Large */
    @media (min-width: 1200px) {
        max-width: 1170px;
    }
}
/* NAV */
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    height: 80px;
    transition: 0.25s;
}
nav.scrolled {
    background-color: var(--main-color);
}
nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

nav .container .logo {
    height: 56px;
}
nav .container .navbar {
    display: flex;
    align-items: center;
    height: 100%;
}

nav .container ul li {
    margin: 0 16px;
    list-style: none;
}
nav .container ul li a {
    text-decoration: none;
    color: var(--font-white);
}
nav .container ul li .buttonStyle {
    border: 2px solid var(--font-white);
    padding: 8px 16px;
    transition: 0.25s;
}
nav .container ul li .buttonStyle:hover {
    background-color: var(--font-white);
    color: var(--font-black);
}
nav .container ul li .lang {
    height: 32px;
    margin-bottom: -4px;
}
nav .menu-button {
    display: none;
    cursor: pointer;
}
nav .sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 250px;
    z-index: 999;
    background-color: var(--main-color);
    padding: 1rem;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
nav .sidebar li, nav .sidebar li a {
    padding: 1rem 0.5rem;
    margin: 2px 0 !important;
    width: 100%;
    transition: 0.25s;
    border-radius: 5px;
}
nav .sidebar li:hover {
    background-color: #695E54;
    cursor: pointer;
}
@media (max-width: 992px) {
    .hideOnMobile {
        display: none;
    }
    nav .menu-button {
        display: block;
    }   
}
/* END NAV */
/* HEADER */
header {
    background-image: url(../Assets/HomePageHeaderImg.webp);
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    color: var(--font-white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
header .container {
    width: 100%;
}
header .headerText {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 70%;
    padding-top: 10%;
}
header .headerText h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}
header .headerText p {
    font-size: clamp(0.8rem, 1.5vw, 1.2rem);
    max-width: 70%;
    min-width: 300px;
    margin-top: 20px;
}
header .headerBoxes {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    width: 100%;
    margin-top: 50px;
}
header .headerBoxes .box {
    width: 100%;
    height: 100%;
    outline: 1px solid rgba(120, 120, 120, 0.36);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 50px;
}
header .headerBoxes i {
    font-size: clamp(3.5rem, 4vw, 4rem);
    margin-right: 30px;
    color: var(--secondary-color);
}
header .headerBoxes .text h1 span {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: clamp(0.7rem, 1vw, 1.5rem);
    color: var(--secondary-color);
}
header .headerBoxes .text h1 {
    font-size: clamp(1.2rem, 2vw, 3rem);
}
@media (max-width: 880px) {
    .headerBoxes {
        display: none !important;
    }
    header .headerText {
        height: 100%;
    }
}
/* END HEADER */
/* SERVICES SECTION */
.servicesSection {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: min(4rem, 8%);
    padding-bottom: min(4rem, 8%);
    background-color: var(--background-color);
}
.servicesSection h2 {
    font-family: "Inter", sans-serif;
    font-size: clamp(1.2rem, 1.5vw, 2rem);
}
.servicesSection .container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-template-rows: auto;
    gap: 5px;
    padding-top: min(2rem, 4%);
}
.servicesSection .gradient-background {
    background-image: url(../Assets/Rectangle12.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.servicesSection .card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #FFF;
    color: var(--font-black);
    text-decoration: none;
    padding: 1rem;
    min-height: 300px;
    transition: 0.25s;
}
.servicesSection .card:hover {
    color: var(--font-white);
    background-color: transparent;
}
.servicesSection .card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    transition: 0.25s;
}
.servicesSection .card:hover i {
    color: var(--font-white) !important;
}
.servicesSection .card h3 {
    margin: 10px 0;
    font-family: "Inter", sans-serif;
    font-size: clamp(1rem, 1vw, 1.5rem);
    text-align: center;
}
.servicesSection .card p {
    text-align: center;
}
/* END SERVICES SECTION */
/* CASES SECTION */
.casesSection {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: min(4rem, 8%);
    padding-bottom: min(4rem, 8%);
}
.casesSection h2 {
    font-family: "Inter", sans-serif;
    font-size: clamp(1.2rem, 1.5vw, 2rem);
}
.casesSection .container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-template-rows: auto;
    gap: 5px;
    padding-top: min(2rem, 4%);
    padding-bottom: min(2rem, 4%);
}
.casesSection .card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-decoration: none;
    color: var(--font-white);
    padding: 1rem;
    min-height: 500px;
    transition: 0.25s;
}
.casesSection .card:hover {
    transform: translateY(-0.5rem);
}
.casesSection .card h3 {
    font-size: 16px;
    font-weight: 400;
}
.casesSection .card:nth-child(1) {
    background-image: url(../Assets/case-pic0.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.casesSection .card:nth-child(2) {
    background-image: url(../Assets/case-pic1.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.casesSection .card:nth-child(3) {
    background-image: url(../Assets/case-pic2.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.casesSection .card:nth-child(4) {
    background-image: url(../Assets/case-pic3.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.casesSection .card p:nth-child(2) {
    color: var(--secondary-color);
    font-family: "Inter", sans-serif;
    font-size: clamp(0.6rem, 1vw, 0.8rem);
    transition: 0.25s;
}
.casesSection .card p:nth-child(2):hover {
    color: var(--font-white);
}
.casesSection .viewMore {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    text-decoration: none;
    padding: 8px 16px;
    transition: 0.25s;
}
.casesSection .viewMore:hover {
    background-color: var(--secondary-color);
    color: var(--font-white);
}
/* END CASES SECTION */
/* GET IN TOUCH SECTION */
.contactsSection {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-template-rows: auto;
}
.contactsSection .leftSide, .rightSide {
    color: var(--font-white);
    padding: min(4rem, 8%);
}
.contactsSection .leftSide {
    background-image: var(--secondary-color-gradient);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.contactsSection .leftSide .leftSideBox,
.contactsSection .rightSide .rightSideBox{
    width: 70%;
    @media (max-width: 1450px) {
        width: 100%;
    }
}
.contactsSection .leftSide h2, .rightSide h2 {
    font-family: "Inter", sans-serif;
    font-size: clamp(1.2rem, 2vw, 2rem);
    font-weight: 400;
    margin-bottom: 15px;
}
.contactsSection .leftSide p:first-of-type, .rightSide p:first-of-type {
    font-size: clamp(0.8rem, 1vw, 1rem);
    font-weight: 300;
}
.contactsSection .leftSide .contactForm {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    padding-top: 15px;
}
.contactsSection .leftSide .contactForm form {
    width: 100%;
}
.contactsSection .leftSide .contactForm input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    color: var(--font-white);
    font-family: "Inter", sans-serif;
    background-color: transparent;
    border: none;
    outline: none;
    border-bottom: 1px solid #FFF;
}
.contactsSection .leftSide .contactForm input::placeholder {
    color: var(--font-white);
    font-family: "Inter", sans-serif;
}
.contactsSection .leftSide .contactForm textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    color: var(--font-white);
    font-family: "Inter", sans-serif;
    background-color: transparent;
    border: none;
    outline: none;
    border-bottom: 1px solid #FFF;
    resize: none;
}
.contactsSection .leftSide .contactForm textarea::placeholder{
    color: var(--font-white);
    font-family: "Inter", sans-serif;
}
.contactsSection .leftSide .contactForm button {
    border: 2px solid var(--font-white);
    color: var(--font-white);
    background-color: transparent;
    text-decoration: none;
    padding: 8px 16px;
    margin-top: 30px;
    cursor: pointer;
    transition: 0.25s;
}
.contactsSection .leftSide .contactForm button:hover {
    background-color: var(--font-white);
    color: var(--font-black);
}
.contactsSection .rightSide {
    background-color: var(--main-color);
}
.contactsSection .rightSide .contactsInfo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-template-rows: auto;
    gap: 40px;
    width: 100%;
    padding-top: 15px;
}
.contactsSection .rightSide .contactsInfo h3 {
    font-family: "Inter", sans-serif;
    font-size: clamp(1.2rem, 2vw, 2rem);
    font-weight: 400;
    color: var(--secondary-color);
}
.contactsSection .rightSide .contactsInfo p {
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    font-weight: 300;
}
.contactsSection .rightSide .contactsInfo a {
    text-decoration: none;
    color: var(--font-white);
    transition: 0.25s;
}
.contactsSection .rightSide .contactsInfo a:hover {
    color: var(--secondary-color);
}
.contactsSection .rightSide .contactsInfo p i {
    font-size: clamp(1.5rem, 2vw, 2.5rem);
    margin: 5px;
}
.contactsSection .rightSide .contactsInfo .socialMedia div {
    display: flex;
}
/* END GET IN TOUCH SECTION */
/* FOOTER */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--main-color);
}
footer .container {
    width: 100%;
}
footer .footerContent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: min(2rem, 4%);
    padding-bottom: min(2rem, 4%);
}
footer .footerContent img {
    height: 56px;
}
footer .footerContent ul {
    display: flex;
    align-items: center;
    margin-top: 15px;
    list-style: none;
}
footer .footerContent ul li a {
    text-decoration: none;
    color: var(--font-white);
}
footer .footerContent ul li a:hover {
    text-decoration: underline;
}
footer div:nth-child(2) {
    padding-top: min(2rem, 4%);
    padding-bottom: min(2rem, 4%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #464646;
    border-top: 1px solid #464646;
}
footer span:first-child {
    font-size: 16px;
}
footer span:nth-child(2) {
    font-size: 12px;
}
@media (max-width: 600px) {
    footer .footerContent {
        justify-content: center;
    }
    footer .footerContent img {
        display: none;
    }
}
/* END FOOTER */