/* Reset margins, paddings, and border sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
}

/* ==========================================
   NAVIGATION BAR
========================================== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 90px;
    background-color: #f5d0be;
    padding: 0 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    flex-wrap: wrap;
}

.logo {
    margin: 10px 0 0 0;
    display: flex;
    align-items: center;
    text-align: center;
}

.logo img {
    width: 170px;
    max-width: 100%;
    height: auto;
}

.menubar {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}

.menubar a,
.dropdown .btn {
    color: #6A6A6A;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    background: transparent;
    border: none;
    box-shadow: none;
}

.dropdown .btn {
    padding: 0;
}

.dropdown .btn:hover,
.dropdown .btn:focus {
    background: transparent;
    color: #d1612d;
}

.dropdown-toggle::after {
    margin-left: 8px;
}

.dropdown-menu {
    border-radius: 12px;
    border: 1px solid #e7e2d6;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.dropdown-item {
    color: #5d5344;
    font-size: 13px;
    padding: 10px 18px;
}

.dropdown-item:hover {
    background: #f7ece1;
    color: #ab5a26;
}

.contact-btn {
    background: #d26032;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 28px;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-right: 50px;
}

.contact-btn:hover {
    background: #ad5129;
    color: #ffffff;
}

/* ==========================================
   CASE STUDY SECTION
========================================== */
.case-study-section {
    /* max-width: 1400px; */
    width: 100%;
    /* margin: 40px auto; */
    display: flex;
    justify-content: space-between;
    min-height: 540px;
    gap: 60px;
    background: #ffffff;
}

/* Left Content Column */
.case-study-section .left-content {
    width: 50%;
    background: #ffffff;
    padding: 24px 60px 24px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-study-section .left-content h4 {
    font-size: 22px;
    font-weight: 700;
    color: #72614f;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.case-study-section .left-content h1 {
    font-size: 34px;
    color: #f05a2a;
    font-weight: 700;
    margin-bottom: 18px;
}

.case-study-section .left-content h2 {
    font-size: 28px;
    color: #6f5d4c;
    margin-bottom: 8px;
    margin-top: 16px;
    font-weight: 700;
}

.case-study-section .left-content p {
    font-size: 16px;
    color: #7b7066;
    font-weight: 500;
    line-height: 1.9;
    margin-bottom: 8px;
}

.case-study-section .left-content strong {
    color: #6c5b4b;
    font-weight: 700;
}

/* Right Content Column */
.case-study-section .right-content {
    width: 50%;
    position: relative;
    overflow: visible;
    /* Crucial so the result box can overlap to the left */
    min-height: 540px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.case-study-section .right-content img {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center right;
}

/* ==========================================
   RESULT BUBBLE / SPEECH BUBBLE
========================================== */
.case-study-section .result-box {
    position: absolute;
    left: -80px;
    /* Shifts the bubble left to overlap the columns and stay away from the image */
    top: 50px;
    width: 250px;
    background: #9d8a73;
    color: #fff;
    padding: 24px 20px;
    text-align: center;
    border-radius: 60px;
    z-index: 10;
}

.case-study-section .result-box h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.case-study-section .result-box p {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.8;
}

/* Yellow divider lines inside bubble */
.line {
    width: 100%;
    height: 2px;
    background: #d8b067;
    margin: 10px 0;
}

/* Triangular pointer tail */
.result-box::after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 170px;
    width: 0;
    height: 0;
    border-left: 24px solid transparent;
    border-right: 24px solid transparent;
    border-top: 28px solid #9d8a73;
}

@media (max-width: 1024px) {
    .navbar {
        justify-content: center;
        padding: 18px 22px;
        gap: 20px;
    }

    .menubar {
        justify-content: center;
        gap: 18px;
    }

    .contact-btn {
        margin-right: 0;
    }

    .case-study-section {
        flex-direction: column;
        min-height: auto;
    }

    .case-study-section .left-content,
    .case-study-section .right-content {
        width: 100%;
    }

    .case-study-section .left-content {
        padding: 34px 28px;
    }

    .case-study-section .right-content {
        min-height: 620px;
        overflow: hidden;
    }

    .case-study-section .result-box {
        left: 28px;
        top: 34px;
    }

    .case-study-section .right-content img {
        height: 560px;
        max-width: 78%;
        margin-bottom: 0;
        object-fit: contain !important;
    }
}

@media (max-width: 991px) {
    .navbar {
        flex-direction: column !important;
        align-items: center !important;
        padding: 15px 16px !important;
        gap: 12px !important;
        min-height: auto !important;
    }

    .logo {
        margin: 5px 0 !important;
    }

    .logo img {
        width: 130px !important;
    }

    .menubar {
        width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px 16px !important;
        padding: 10px 0 !important;
        border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    }

    .menubar a,
    .menubar .dropdown .btn {
        font-size: 11px !important;
        padding: 6px 4px !important;
        letter-spacing: 1px !important;
    }

    .contact-btn {
        display: block !important;
        width: 100% !important;
        max-width: 280px !important;
        text-align: center !important;
        padding: 10px 20px !important;
        margin: 5px auto 0 !important;
    }

    .case-study-section {
        flex-direction: column;
        min-height: auto;
    }

    .menubar {
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .navbar {
        min-height: auto;
        padding: 16px;
    }

    .logo {
        margin: 0;
    }

    .logo img {
        width: 150px;
    }

    .menubar {
        width: 100%;
        gap: 14px;
    }

    .menubar a,
    .dropdown .btn {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .contact-btn {
        padding: 10px 22px;
        font-size: 11px;
    }

    .case-study-section .left-content {
        padding: 30px 20px;
    }

    .case-study-section .left-content h4 {
        font-size: 16px;
    }

    .case-study-section .left-content h1 {
        font-size: 24px;
        line-height: 1.4;
    }

    .case-study-section .left-content h2 {
        font-size: 20px;
    }

    .case-study-section .left-content p {
        font-size: 14px;
        line-height: 1.8;
    }

    .case-study-section .right-content {
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 20px 28px;
        overflow: visible;
    }

    .case-study-section .result-box {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        max-width: 360px;
        border-radius: 40px;
        padding: 26px 22px;
        margin-bottom: 28px;
    }

    .case-study-section .result-box::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .case-study-section .right-content img {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: 420px;
        height: auto;
        object-position: center bottom;
        object-fit: contain !important;
    }
}

@media (max-width: 480px) {
    .navbar {
        gap: 14px;
    }

    .menubar {
        gap: 12px;
    }

    .dropdown-menu {
        min-width: 220px;
    }

    .left-content {
        padding: 26px 16px;
    }

    .result-box {
        border-radius: 28px;
        padding: 24px 18px;
    }

    .result-box h3 {
        font-size: 17px;
    }

    .result-box p {
        font-size: 10.5px;
        line-height: 1.8;
    }
}