:root {
    --blue-dark: #0d253d;
    --blue-muted: #2b566e;
    --orange: #ea7a39;
    --beige-light: #f1ece3;
    --beige-muted: #d2c2bb;
    --beige-subtle: #f5f4f1;
    --green-muted: #639f87;
    --white: #ffffff;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.woff2') format('woff2'),
    url('../fonts/Inter-Bold.otf') format('otf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Khmer';
    src: url('../fonts/KhmerMN-Regular.woff2') format('woff2'),
    url('../fonts/KhmerMN-Bold.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Termina';
    src: url('../fonts/Termina Medium.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Tiempos';
    src: url('../fonts/TiemposHeadline-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FA';
    src: url('../fonts/Font Awesome 7 Pro-Light-300.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

html {
    font-size: 15pt;
}

body {
    font-family: 'Khmer', serif;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, .h1 {
    font-family: 'Termina', sans-serif;
    color: var(--green-muted);
    font-size: 1.3rem;
    line-height: 1.1;
    text-transform: uppercase;
}

h2, .h2 {
    font-family: 'Tiempos', serif;
    color: var(--blue-muted);
    font-size: 2.2rem;
    line-height: 1.15;
    padding: 50px 0 25px 0;
}

h3, .h3 {
    font-size: 1.2rem;
    line-height: 1.2;
    color: var(--blue-muted);
}

p {
    color: var(--blue-dark);
    font-size: 1rem;
    line-height: 1.5;
}

/* Accent line */
.hr-line {
    height: 35px;
    background-color: var(--green-muted);
}

/* Center container */
.header-section {
    align-items: center;
    text-align: center;
    padding: 20px;
    padding-bottom: 200px;
    background-color: var(--beige-light);
}

.image-overlap-wrapper {
    margin-top: -150px; /* Adjust based on image height */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

@media (min-width: 768px) {
    .image-overlap-wrapper {
        margin-top: -120px;
    }
}

@media (min-width: 1200px) {
    .image-overlap-wrapper {
        margin-top: -180px;
    }
}

.btn-custom {
    background-color: var(--orange);
    border: none;
    font-size: 1.05rem;
    text-decoration: none;
    color: var(--beige-subtle);
    padding: 17px 65px 10px 28px;
    border-radius: 15px;
    position: relative;
}
.btn-custom::after {
    content: "\f138"; /* fa-circle-chevron-right */
    font-family: "FA";
    font-weight: 300; /* light */
    position: absolute;
    right: 0.75rem;
    padding-right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.btn-custom:hover {
    opacity: 0.9;
}

ul.check-list {
    list-style: none;
    padding-left: 0;
}

ul.check-list li {
    position: relative;
    font-size: .85rem;
    padding-left: 1.5rem;
    margin-bottom: 0.2rem;
}

ul.check-list li::before {
    content: "\f058"; /* fa-circle-check */
    font-family: "FA";
    font-weight: 300; /* light */
    position: absolute;
    left: 0;
    top: -0.2em;
    color: var(--green-muted); /* optional */
}

@media (max-width: 991px) {
    ul.check-list li {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding-left: 0;
        text-align: center;
    }

    ul.check-list li::before {
        position: static;
        margin-right: 0.5rem;
        flex-shrink: 0;
    }
}

/* Footer */
footer {
    background-color: var(--blue-dark);
    padding: 60px 0;
}
footer p {
    font-family: 'Inter', sans-serif;
    text-align: justify;
    font-weight: bold;
    color: var(--beige-muted);
    font-size: .8rem;
    line-height: 1.4;
}

footer a {
    color: var(--beige-subtle);
    font-weight: normal;
    text-decoration: none;
    transition: all 0.3s ease;
}
footer a:hover {
    color: var(--beige-muted);
    text-decoration: underline;
}

/* Responsive tweak */
@media (max-width: 767px) {
    .header-section {
        padding-bottom: 50px;
    }
    .image-overlap-wrapper {
        margin-top: -85px;
    }
}
@media (max-width: 575px) {
    .header-section {
        padding-bottom: 60px;
    }
    .image-overlap-wrapper {
        margin-top: -90px;
    }
}