* {
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== NAV ===== */
.main {
    display: flex;
    justify-content: space-between;
    border-radius: 50px;
    width: 84%;
    margin: auto;
    background: #D9D9D9;
}
.sub {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 20px;
}
.sub img {
    height: 30px;
}
.container {
    display: flex;
    width: 60%;
    height: 100%;
}
.container ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    list-style: none;
    height: 100%;
    width: 90%;
    box-sizing: content-box;
    margin: 1em 0;
    padding-left: 40px;
}
.container ul li {
    width: 200px;
    text-align: center;
}
.container ul li a {
    position: relative;
    text-decoration: none;
    color: black;
    font-size: 1rem;
    font-weight: 600;
}
.container ul li a:not(.contact-btn)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff4b2b, #ff416c);
    transition: width 0.3s ease;
}
.container ul li a:not(.contact-btn):hover::after {
    width: 100%;
}
.contact-btn {
    display: inline-block;
    padding: 7px 20px;
    border-radius: 50px;
    background: linear-gradient(90deg, #ff4b2b, #ff416c);
    color: white !important;
}

/* ===== SHARED HELPERS ===== */
.gradient-text {
    background: linear-gradient(90deg, #FF5A1F, #FF3D6E);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.label {
    color: #FF5A1F;
    font-weight: 600;
    letter-spacing: 4px;
    font-size: 0.95rem;
}
.label.center {
    text-align: center;
}
.center {
    text-align: center;
}
.btn-solid {
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(90deg, #FF5A1F, #FF3D6E);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}
.btn-dark {
    padding: 8px 18px;
    border: none;
    border-radius: 50px;
    background: #111111;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    margin-top: 10px;
}
.btn-solid,
.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.arrow {
    font-size: 1rem;
    line-height: 1;
}
.icon-circle {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-circle.outline {
    background: transparent;
    border: 1px solid #444444;
}
.icon-circle.outline img {
    width: 18px;
    height: 18px;
    opacity: 0.85;
}

/* ===== HERO ===== */
.header-content {
    position: relative;
    width: 100%;
    height: 100vh;
    margin: 0 0 100px;
    background: url("./imgs/hero-bg.jpg") center/cover no-repeat;
}
.header-content::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 10%, rgba(0, 0, 0, 0.2) 65%);
}
.nav-wrapper {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    z-index: 5;
}
.header-text {
    position: absolute;
    bottom: 70px;
    left: 80px;
    right: 80px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
}
.header-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
}
.header-text p {
    max-width: 520px;
    color: #e6e6e6;
    line-height: 1.7;
}
.scroll-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}
.scroll-cta span {
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* ===== CORPORATE CONTACT BLOCK ===== */
.contact-block {
    width: 84%;
    margin: 0 auto 100px;
}
.contact-grid {
    margin-top: 45px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #e2e2e2;
    border-left: 1px solid #e2e2e2;
}
.contact-cell {
    display: flex;
    gap: 16px;
    padding: 30px;
    border-right: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
}
.cell-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: #FF5A1F;
}
.cell-icon svg {
    width: 100%;
    height: 100%;
}
.cell-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #999999;
    margin-bottom: 6px;
}
.cell-value {
    font-weight: 700;
    font-size: 0.95rem;
    color: #111111;
}

/* ===== YOUR ENQUIRY FLOW ===== */
.flow-section {
    width: 84%;
    margin: 0 auto 100px;
    padding: 70px 40px;
    background: #EDEDED;
    border-radius: 20px;
}
.flow-chart {
    margin-top: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.flow-box {
    background: white;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    padding: 14px 30px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}
.flow-branch {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 90px;
    padding-top: 40px;
    margin-top: 0;
}
.flow-branch::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 20px;
    background: #cccccc;
    transform: translateX(-50%);
}
.flow-branch::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 16.6%;
    right: 16.6%;
    height: 1px;
    background: #cccccc;
}
.flow-child-wrap {
    position: relative;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 190px;
}
.flow-child-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 20px;
    background: #cccccc;
    transform: translateX(-50%);
}
.icon-circle.small {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    color: #FF5A1F;
}
.icon-circle.small svg {
    width: 18px;
    height: 18px;
}
.flow-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #666666;
    margin-bottom: 14px;
}
.flow-logo {
    font-size: 1.1rem;
    font-weight: 700;
}
.flow-sub {
    display: block;
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #999999;
    margin-top: 2px;
}

/* ===== ENQUIRY FORM ===== */
.enquiry-section {
    width: 84%;
    max-width: 800px;
    margin: 0 auto 100px;
}
.enquiry-box {
    border: 1px solid #e2e2e2;
    border-radius: 20px;
    padding: 50px;
}
.enquiry-form {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #111111;
}
.form-field input,
.form-field select,
.form-field textarea {
    font-family: 'Poppins', sans-serif;
    padding: 12px 16px;
    border: 1px solid #cccccc;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #111111;
    background: white;
}
.form-field textarea {
    resize: vertical;
}
.enquiry-form .center {
    margin-top: 10px;
}

/* ===== FOOTER ===== */
footer {
    width: 100%;
    margin: 60px 0 0;
    padding: 0;
    background: #111111;
    color: #ffffff;
}
.site-footer{
    width: 84%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    height: 50vh;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-logo{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 400px;
}
.footer-logo img {
    filter: brightness(0) invert(1);
}
.footer-links{

    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.footer-content{
    gap: 10px;
    display: flex;
    flex-direction: column;
    width: 300px;
    height: 200px;
    justify-items: center;
    list-style: none;

}
.footer-content h3 {
    color: #ffffff;
}
.footer-content a{
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}
.bottom{
    width: 84%;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.6);
}
.right{

    display: flex;
    gap: 50px;
    width: 400px;
    justify-content: center;
    align-items: center;
}
.left{
    width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===== RESPONSIVE NAV ===== */
.nav-toggle {
    display: none;
}
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    margin-right: 15px;
    cursor: pointer;
}
.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #111111;
    border-radius: 2px;
}
@media (max-width: 860px) {
    .main {
        position: relative;
        flex-wrap: wrap;
    }
    .hamburger {
        display: flex;
    }
    .container {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-top: 10px;
        width: 100%;
        height: auto;
        background: #D9D9D9;
        border-radius: 20px;
        z-index: 30;
    }
    .nav-toggle:checked ~ .container {
        display: block;
    }
    .container ul {
        flex-direction: column;
        width: 100%;
        height: auto;
        gap: 15px;
        padding: 20px;
        margin: 0;
        box-sizing: border-box;
    }
    .container ul li {
        width: 100%;
        text-align: center;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .nav-wrapper {
        z-index: 50;
    }
    .header-content {
        margin: 0 0 60px;
    }
    .header-text {
        left: 30px;
        right: 30px;
    }
    .header-text h1 {
        font-size: 2.2rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .flow-branch {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .flow-branch::after {
        display: none;
    }
    .flow-child-wrap {
        width: 100%;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .enquiry-box {
        padding: 30px;
    }
    .site-footer {
        flex-direction: column;
        height: auto;
        gap: 40px;
        padding: 20px 0;
    }
    .footer-logo {
        width: 100%;
    }
    .footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    .footer-content {
        width: 100%;
        height: auto;
    }
    .bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px 0;
    }
    .left, .right {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header-text h1 {
        font-size: 1.9rem;
    }
    .enquiry-box {
        padding: 20px;
    }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal-group > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-group > .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-group > .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-group > .reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal-group > .reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal-group > .reveal:nth-child(6) { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* ===== SPLIT TITLE REVEAL ===== */
.split-title {
    opacity: 0;
}
.split-title.split-ready {
    opacity: 1;
}
.split-title .split-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.14em;
    margin-bottom: -0.14em;
}
.split-title .split-line-inner {
    display: block;
    will-change: transform, opacity;
    transform: translateY(105%) rotate(1.5deg);
    transform-origin: left bottom;
    opacity: 0;
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}
.split-title.center .split-line-inner {
    transform-origin: center bottom;
}
.split-title.split-active .split-line-inner {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
    .split-title {
        opacity: 1;
    }
    .split-title .split-line-inner {
        transition: none;
        transform: none;
        opacity: 1;
    }
}

/* ===== HOVER SPLIT TEXT (nav links + buttons) ===== */
.hs {
    display: inline-flex;
}
.hs-col {
    position: relative;
    display: inline-block;
    overflow: hidden;
    height: 1.2em;
    line-height: 1.2em;
    vertical-align: top;
}
.hs-char {
    display: block;
    transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}
.hs-bottom {
    position: absolute;
    top: 100%;
    left: 0;
}
a:hover .hs-char,
button:hover .hs-char {
    transform: translateY(-100%);
}
@media (prefers-reduced-motion: reduce) {
    .hs-char {
        transition: none;
    }
    a:hover .hs-char,
    button:hover .hs-char {
        transform: none;
    }
}
