/* =============================== begin header =============================== */
.top-header {
    background-color: #ffffff;
    /* border-bottom: 1px solid #e0e0e0; */
    /* padding: 15px 0; */
    /* position: sticky; */
    top: 0;
    z-index: 1000;
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
}

.header-container {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header Left - Logo và Text */
.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Keep original layout/appearance when the left area is wrapped in an anchor */
.header-home-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.header-home-link:hover {
    text-decoration: none;
}

.logo {
    flex-shrink: 0;
}

.logo-image {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.site-title {
    font-size: 24px;
    font-weight: 700;
    color: #058078;
    line-height: 1.2;
    white-space: nowrap;
}

.site-location {
    font-size: 14px;
    color: #6b6b6b;
    line-height: 1.2;
    margin-top: 4px;
}

/* Header Right - Navigation Menu */
.header-nav {
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-menu li {
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: #515151;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Noto Serif JP', serif;
    padding: 8px 0;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: #2c5f5f;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #058078;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Drawer */
.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 60%;
    max-width: 300px;
    height: 100%;
    background-color: #FFFFFF;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
}

.mobile-menu-overlay.is-open .mobile-menu-drawer {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #000000;
    z-index: 10000;
    padding: 0;
}

.close-icon {
    line-height: 1;
    font-weight: 300;
}

.mobile-nav {
    padding: 60px 20px 20px;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-menu li {
    margin: 0;
    border-bottom: 1px solid #E6F0EF;
}

.mobile-nav-link {
    display: block;
    padding: 20px 0;
    text-decoration: none;
    color: #1C1C1C;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #058078;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        gap: 0;
    }

    .header-left {
        justify-content: flex-start;
        width: auto;
        flex: 1;
    }

    .logo-image {
        height: 60px;
    }

    .site-title {
        font-size: 16px;
    }

    .site-location {
        font-size: 11px;
    }

    .header-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

/* General Body Styles */
body {
    font-family: 'Noto Serif JP';
    margin: 0;
    padding: 0;
    line-height: 150%;
}

/* breacum */
.contact-section-banner {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.contact-section-banner .banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-section-banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.contact-section-banner-content .section-title {
    color: #FFFFFF;
}

.contact-section-breadcrumb {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
    align-items: center;
    /* padding: 10px 20px; */
}

@media (max-width: 768px) {
    .contact-section-breadcrumb {
        gap: 10px;
        padding: 10px 20px;
        /* flex-wrap: wrap; */
        /* Allow items to wrap to next line when out of space */
        align-items: flex-start;
    }

    .contact-section-breadcrumb p {
        margin: 0;
        padding: 0;
    }

    .breadcrumb-title {
        width: 25%;
    }


}

/* =============================== begin banner header =============================== */
.banner-header {
    position: relative;
    height: 836px;
    /* overflow: hidden; */
    margin-top: 0;
    margin: 0 30px;
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px;
    z-index: 1;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
}

/* Title Overlay - positioned at top left */
.banner-title-overlay {
    position: absolute;
    top: 60px;
    left: 16%;
    z-index: 3;
    color: white;
}

.banner-title {
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.title-year {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
    color: #ffd700;
}

.title-main {
    display: block;
    font-size: 36px;
    margin-bottom: 8px;
    line-height: 1.2;
}

.title-rank {
    display: block;
    font-size: 32px;
    color: #ffd700;
}

/* Content Overlay - positioned at bottom, overlapping banner */
.banner-content-overlay {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1204px;
    height: 302px;
    background: white;
    border-radius: 10px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* padding: 32px 60px 32px 32px; */
    /* padding: 10px; */
    box-shadow: 0px 32px 64px -12px #0000000F;
    opacity: 1;
}

.content-container {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.content-left {
    flex-shrink: 0;
    margin: auto;
}

.content-image {
    height: 366px;
    width: auto;
    object-fit: contain;
    padding-bottom: 60px;
}

.content-right {
    flex: 1;
    max-width: 850px;
    max-height: 280px;
}

.content-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.content-text p {
    margin: 0 0 12px 0;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    color: #1C1C1C;
}

.content-text-bold {
    font-weight: 700;
    color: #1C1C1C;
}

.content-text ul {
    margin: 8px 0;
    padding-left: 20px;
}

.content-text li {
    margin: 4px 0;
}

/* Responsive Design for Banner */
@media (max-width: 768px) {
    .banner-header {
        height: 700px;
        margin: 0 15px;
        position: relative;
        overflow: visible;
    }

    .banner-background {
        height: 100%;
        border-radius: 15px;
        overflow: hidden;
    }

    .banner-title-overlay {
        top: 120px;
        left: 15px;
        right: 15px;
        z-index: 2;
        position: absolute;
    }

    .title-year {
        font-size: 24px;
        color: #FFFFFF;
    }

    .title-main {
        font-size: 24px;
        color: #FFFFFF;
    }

    .title-rank {
        font-size: 24px;
        color: #FFFFFF;
    }

    .banner-content-overlay {
        width: calc(100% - 30px);
        height: auto;
        min-height: 200px;
        left: 15px;
        transform: none;
        bottom: -70px;
        position: absolute;
        /* padding: 20px 20px 20px 20px; */
        overflow: visible;
        z-index: 3;
    }

    .content-container {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        position: relative;
    }

    .content-left {
        position: relative;
        left: -15px;
        top: -70px;
        z-index: 5;
        width: 124px;
        height: auto;
        align-self: flex-start;
        margin: 0 auto;
        max-height: 100px;
    }

    .content-image {
        width: 124px;
        height: 186px;
        padding-bottom: 0;
        object-fit: contain;
        display: block;
    }

    .content-right {
        max-width: 100%;
        max-height: none;
        margin-left: 0;
        flex: 1;
        padding-top: 0;
        width: 100%;
    }

    .content-text {
        font-size: 14px;
        padding: 0 10px;
    }

    .content-text p {
        font-size: 14px;
        margin-bottom: 10px;
        line-height: 1.6;
    }
}

/* =============================== begin sections styling =============================== */

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Titles */
.section-title {
    /* font-family: 'Noto Sans JP', sans-serif; */
    font-size: 40px;
    font-weight: 700;
    color: #1C1C1C;
    /* text-align: center; */
    margin: 0;
    line-height: 1.5;
}

/* Section 1: Worries Section */
.worries-section {
    background-color: #FFFFFF;
    padding: 50px 0;
}

.worries-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.worries-left {
    flex: 1 1 710;
}

.worries-text {
    max-width: 600px;
}

.intro-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1C1C1C;
    margin: 0 0 30px 0;
}

.worries-list {
    margin: 40px 0;
}

.worry-item {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
}

.check-icon {
    /* background-color: #4CAF50; */
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.worry-item p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1C1C1C;
    margin: 0;
}

.conclusion-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1C1C1C;
    margin: 30px 0 0 0;
}

.worries-right {
    flex: 1;
}

.worries-image {
    max-width: 450px;
    max-height: 600px;
    height: auto;
    border-radius: 10px;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
}

/* Section 2: Recommended Section */
.recommended-section {
    background-color: #F2FCFC;
    padding: 50px 0;
}

.recommended-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.recommended-left {
    flex: 1;
}

.recommended-image {
    width: 450px;
    height: 420px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.recommended-right {
    flex: 1 1 700px;
}

.recommended-text p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1C1C1C;
    margin: 0 0 20px 0;
}

/* Section 3: Expert Tips Section */
.expert-tips-section {
    background-color: white;
    padding: 50px 0;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.tip-card {
    padding: 30px 20px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: left;
}

.tip-number {
    margin: 0 0 20px 0;
    display: flex;
    /* justify-content: center; */
    align-items: center;
}

.tip-number svg {
    width: 80px;
    height: 80px;
}

.tip-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1C1C1C;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.tip-description {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #1C1C1C;
    margin: 0 0 20px 0;
}

.tip-line {
    position: absolute;
    bottom: 0;
    left: 70%;
    right: 39%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: #058078;
}

/* Section 4: Testimonials Section */
.testimonials-section {
    /* background-color: #F0F9F9; */
    padding: 50px 0;
}

.testimonials-carousel {
    margin-top: 40px;
    position: relative;
}

.carousel-container {
    overflow: hidden;
    border-radius: 20px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-image: url('../images/subtract.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding: 30px;
    border-radius: 20px;
    position: relative;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
    display: flex;
    flex-direction: column;
    max-width: 320px;
    /* height: 100%; */
    /* border: 1px solid rgba(5, 128, 120, 0.1); */
    margin-left: 0;
    margin-right: 30px;
}

/* Card cuối cùng trong mỗi nhóm 3 cards sẽ có margin-right = 0 */
.testimonial-card:nth-child(3n) {
    margin-right: 0;
}

.testimonial-quote-icon {
    /* position: absolute; */
    /* top: -10px; */
    /* left: -10px; */
    width: 60px;
    height: 60px;
    z-index: 2;
}

.testimonial-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1C1C1C;
    margin: 20px 0 25px 0;
    position: relative;
    z-index: 2;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 65px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1C1C1C;
    margin: 0 0 4px 0;
}

.author-description {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    margin-top: 10px;
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 20px;
    height: 5px;
    border-radius: 15px;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background-color: #058078;
}

.carousel-dot:hover {
    background-color: #058078;
    opacity: 0.7;
}

/* Responsive Design for Sections */
@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
    }

    .worries-section,
    .recommended-section,
    .expert-tips-section,
    .testimonials-section {
        padding: 60px 0;
    }

    .worries-section {
        padding: 110px 0 50px;
    }

    .worries-content {
        flex-direction: column;
        gap: 30px;
    }

    .worries-left {
        width: 100%;
    }

    .worries-text {
        max-width: 100%;
    }

    .worries-right {
        width: 100%;
        text-align: center;
    }

    .worries-image {
        max-width: 100%;
        width: 100%;
        height: auto;
    }

    .recommended-content {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .recommended-left {
        width: 100%;
        text-align: center;
    }

    .recommended-image {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .recommended-right {
        width: 100%;
        flex: 1;
    }

    .tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .carousel-track {
        gap: 20px;
    }

    .carousel-controls {
        margin-top: 20px;
    }

    .worry-item {
        padding: 15px;
    }

    .tip-card {
        padding: 20px 15px;
    }

    .testimonial-card {
        padding: 20px;
        margin-right: 0;
        max-width: 300px;
    }

    .testimonial-quote-icon {
        width: 50px;
        height: 50px;
        top: -8px;
        left: -8px;
    }
}

/* Trust Section Styles */
.trust-section {
    background-color: #058078;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    margin: 0 30px;
    border-radius: 10px;
}

.trust-background {
    background-color: #058078;
    width: 100%;
    height: 100%;
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    /* align-items: center; */
    gap: 20px;
    position: relative;
    z-index: 2;
}

.trust-left {
    flex: 1;
    color: white;
    height: 440px;
}

.trust-content {
    max-width: 600px;
}

.trust-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.4;
    color: white;
    margin: 0;
    padding: 0;
}

.trust-text p {
    font-size: 20px;
    line-height: 1.5;
    margin: 10px;
    color: white;
}

.trust-bold {
    font-weight: 700;
}

.trust-right {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.consultation-box {
    /* background: white; */
    border: 1px solid #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    width: 470px;
    height: 440px;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 3;
}

.consultation-title {
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.consultation-title::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 13%;
    transform: translateY(-50%);
    width: 10px;
    height: 28px;
    background: #F28301;
    border-radius: 6px;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6) inset;
}

.consultation-features {
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 30px;
}

.feature-item .check-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item p {
    font-size: 20px;
    line-height: 1.6;
    color: #FFFFFF;
    margin: 0;
}

.consultation-button {
    background: linear-gradient(135deg, #FF6B35, #FF8E53);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 90px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 65%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    text-decoration: none;
}

.consultation-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.trust-character {
    width: 270px;
    height: 320px;
    position: absolute;
    bottom: 50px;
    right: -50px;
    z-index: 4;
}

/* Ranking Section Styles */
.ranking-section {
    background-color: white;
    padding: 80px 0;
}

.ranking-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.ranking-badge {
    margin-bottom: 10px;
}

.badge-image {
    width: 138px;
    height: 93px;
    margin: 0 auto;
}

.ranking-content {
    max-width: 1000px;
    margin: 0 auto;
}

.ranking-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: #F28301;
    margin-bottom: 20px;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

.ranking-title {
    font-size: 32px;
    font-weight: 700;
    color: #1C1C1C;
    margin-bottom: 20px;
    line-height: 1.5;
}

.ranking-description {
    text-align: center;
}

.ranking-description p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #1C1C1C;
}

.ranking-bold {
    font-weight: 700;
    /* color: #058078; */
}

/* Responsive Design for Trust and Ranking Sections */
@media (max-width: 768px) {
    .trust-section {
        padding: 15px;
        margin: 0 15px;
    }

    .trust-container {
        flex-direction: column;
        gap: 30px;
        text-align: left;
    }

    .trust-left {
        height: auto;
    }

    .trust-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .trust-text p {
        font-size: 16px;
        margin: 8px 0;
    }

    .consultation-box {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 345px;
        margin-bottom: 20px;
        padding: 0;
    }

    .consultation-title {
        font-size: 20px;
        margin-bottom: 15px;
        padding-left: 20px;
    }

    .consultation-features {
        margin-bottom: 20px;
        padding-left: 20px;
    }

    .feature-item {
        margin-bottom: 20px;
    }

    .feature-item p {
        font-size: 16px;
        padding: 0 10px;
    }

    .consultation-button {
        width: 100%;
        padding: 12px 24px;
        font-size: 14px;
    }

    .trust-character {
        /* position: relative; */
        /* bottom: auto; */
        /* right: auto; */
        width: 130px;
        height: 150px;
        bottom: -45px;
        /* margin: 20px auto 0; */
        right: 10px;
    }

    .ranking-section {
        padding: 40px 0;
        display: none;
    }

    .ranking-title {
        font-size: 22px;
        line-height: 1.4;
    }

    .ranking-description p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .badge-image {
        width: 100px;
        height: auto;
    }
}

/* Comparison Section Styles */
.comparison-section {
    background-color: #FAFAFA;
    padding: 50px 0;
}

.comparison-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Area */
.comparison-header {
    text-align: center;
    margin-bottom: 60px;
}

.edition-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #058078;
    /* teal pill */
    color: #FFFFFF;
    padding: 10px 26px;
    border-radius: 9999px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
    border: 6px solid #B2D8D5;
}

/* soft mint outer ring */
.edition-badge::before {
    content: '';
    position: absolute;
    inset: -8px;
    /* expand all sides */
    border-radius: 9999px;
    background: transparent;
    /* mint ring + faint outer border */
    box-shadow: 0 0 0 8px #C6E4E1 inset, 0 0 0 1px #BFDAD7;
    z-index: -1;
}

/* Seal image placed via HTML */
.edition-seal {
    position: absolute;
    right: -10px;
    top: -12px;
    width: 36px;
    height: 36px;
    pointer-events: none;
}

.comparison-main-title {
    font-size: 40px;
    font-weight: 700;
    color: #1C1C1C;
    margin-bottom: 20px;
    line-height: 1.5;
}

.comparison-top-title {
    color: #F28301;
}

.comparison-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.subtitle-line {
    width: 60px;
    height: 2px;
    background-color: #058078;
}

.subtitle-text {
    font-size: 18px;
    color: #666;
    font-weight: 500;
}

.star-icon {
    width: 20px;
    height: 20px;
}

/* Main Content Area */
.comparison-content {
    display: flex;
    gap: 100px;
    align-items: flex-start;
}

/* Left Column: Image Grid */
.comparison-left {
    flex: 1;
    position: relative;
    overflow: hidden;
    overflow: visible;
    /* min-height: 500px; */
    height: 680px;
}

.comparison-left::before {
    content: '';
    position: absolute;
    top: 50%;
    /* left: 50%; */
    transform: translate(0%, -50%);
    width: 486px;
    height: 470px;
    background-image: url('../images/ellipse.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
    opacity: 1;
}

.image-grid-container {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 10px;
    /* position: absolute; */
    /* Center over the circle which starts at left: 0 and is 486px wide */
    /* top: 50%; */
    /* left: 243px; half of 486px */
    transform: translate(13%);
    z-index: 1;
    box-shadow: 0px 32px 64px -12px #0000000F;
    width: 370px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(7, 1fr);
    gap: 8px;
    width: 100%;
}

.agency-button {
    padding: 30px 0;
    text-align: end;
}

.blue-button {
    background: #058078;
    box-shadow: 0 4px 15px rgba(25, 87, 78, 0.3);
}

.detective-card .agency-button {
    text-align: center;
    position: relative;
    border-bottom: 1px solid #E0E0E0;
    /* Border at bottom of button area */
    padding-bottom: 30px;
    /* Space for triangle */
}

/* Toggle button for Section 9 (only on card 4) - Icon extending from card bottom */
.detective-card-toggle {
    position: absolute;
    bottom: -17px;
    /* Half extends below the card */
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detective-card-toggle:hover {
    transform: translateX(-50%) scale(1.1);
}

.detective-card-toggle.active {
    transform: translateX(-50%) rotate(180deg);
}

.detective-card-toggle.active:hover {
    transform: translateX(-50%) rotate(180deg) scale(1.1);
}

/* Arrow icon styling */
.detective-card-toggle .arrow-down-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    display: block;
}

.grid-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
}

/* Detective Agencies Slider (3 cards per view) */
.detective-agencies-section {
    padding: 60px 0;
    background-color: #FAFAFA;
    overflow-x: hidden;
    /* Hide overflow at section level, but allow cards to show in viewport */
    position: relative;
}

.detective-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.detective-carousel {
    width: 100vw;
    /* Full viewport width to allow cards to show outside container */
    position: relative;
    margin-left: calc(50% - 50vw);
    /* Break out of container to full viewport width */
    margin-right: calc(50% - 50vw);
}

.detective-viewport {
    overflow: visible;
    /* Allow cards to overflow beyond 1200px container */
    width: 100%;
    position: relative;
}

.detective-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    /* Centering is handled by transform in JavaScript */
}

.detective-card {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    overflow: visible;
    /* Allow triangle to extend below */
    flex: 0 0 387px;
    /* Fixed width, no shrinking or growing */
    /* height: 1000px; */
    position: relative;
}

.detective-card-header {
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    height: 112px;
    box-sizing: border-box;
}

.detective-header-grey {
    background-color: #828282;
}

.detective-header-orange {
    background-color: #F28301;
}

.detective-header-blue {
    background-color: #4B6FC1;
}

.detective-header-green {
    background-color: #379993;
}

.detective-header-teal {
    background-color: #1CBA1E;
}

.detective-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

/* .detective-badge-grey { background-color: #666666; }
.detective-badge-orange { background-color: #E67E22; }
.detective-badge-blue { background-color: #3498DB; }
.detective-badge-green { background-color: #27AE60; } */

.detective-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.5;
}

.detective-card-content {
    padding: 20px 20px 0 20px;
    /* height: 440px; */
    box-sizing: border-box;
    overflow-y: auto;
}

.detective-features-list {
    margin: 0 0 20px 0;
    padding-left: 5px;
    height: 440px;
}

.detective-features-list li {
    font-size: 16px;
    color: #1C1C1C;
    margin-bottom: 25px;
    line-height: 1.5;
    list-style: none;
    position: relative;
    padding-left: 25px;
}

.detective-features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 12px;
    height: 12px;
    background-color: #379993;
    border-radius: 50%;
}

.detective-info-box-1 {
    height: 50px !important;
}

.detective-info-box-2 {
    height: 180px !important;
}

.detective-info-box-3 {
    height: 80px;
}

.detective-info-sections {
    height: 450px;
    box-sizing: border-box;
    overflow-y: auto;
}

.detective-info-box {
    margin-bottom: 15px;
    padding: 12px;
    /* background-color: #F8F9FA; */
    border-radius: 8px;
    height: 80px;
}

.detective-info-title {
    font-size: 16px;
    font-weight: 700;
    color: #1C1C1C;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detective-info-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background-color: #F28301;
    border-radius: 2px;
    flex-shrink: 0;
}

.detective-info-box p {
    font-size: 14px;
    color: #1C1C1C;
    margin: 0;
    line-height: 1.5;
}

.detective-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.detective-dot {
    width: 20px;
    height: 5px;
    border-radius: 15px;
    background: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.detective-dot.active {
    background: #058078;
}

/* Lawyers Section */
.lawyers-section {
    padding: 40px 0 80px;
    background-color: transparent;
    display: none;
    /* Hidden by default */
    transition: all 0.3s ease;
}

.lawyers-section.show {
    display: block;
}

.lawyers-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.lawyers-title {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 auto -40px auto;
    background-color: #F28301;
    padding: 8px 18px;
    border-radius: 0 0 6px 6px;
    /* display: inline-block; */
    position: relative;
    z-index: 2;
    width: 25%;

}

.lawyers-carousel {
    width: 100%;
    background-color: #C6E4E1;
    padding: 60px 0;
    padding-bottom: 20px;
    border-radius: 18px;
}

.lawyers-viewport {
    overflow: hidden;
    margin: auto 20px;
    /* max-width: 1000px; */
}

.lawyers-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    justify-content: flex-start;
}

.lawyer-item {
    flex: 0 0 100px;
    height: 100px;
}

.lawyer-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lawyers-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.lawyer-dot {
    width: 20px;
    height: 5px;
    border-radius: 15px;
    background: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.lawyer-dot.active {
    background: #058078;
}

/* Responsive Design for Detective Agencies and Lawyers Sections */
@media (max-width: 768px) {
    .detective-agencies-section {
        padding: 40px 0;
    }

    .detective-container {
        padding: 0 15px;
    }

    .detective-card {
        min-width: 85%;
        max-width: 85%;
    }


    .detective-badge {
        width: 35px;
        height: 35px;
    }

    .medal-icon-v2 {
        width: 50px;
        height: 50px;
    }

    .detective-card-title {
        font-size: 16px;
        line-height: 1.4;
    }

    .detective-card-content {
        /* padding: 15px; */
    }

    .detective-features-list {
        height: 330px;
        /* max-height: 400px; */
        /* margin-bottom: 15px; */
    }

    .detective-features-list li {
        font-size: 14px;
        margin-bottom: 15px;
        line-height: 1.5;
    }

    .detective-info-sections {
        /* height: auto; */
        /* min-height: 350px; */
    }

    .detective-info-box {
        padding: 10px;
        height: auto;
        min-height: 60px;
    }

    .detective-info-box-1 {
    }

    .detective-info-box-2 {
    }

    .detective-info-box-3 {
        height: auto;
        min-height: 60px;
    }

    .detective-info-title {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .detective-info-box p {
        font-size: 13px;
    }

    .detective-info-box ul {
        padding-left: 20px;
    }

    .detective-info-box ul li {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .detective-card .agency-button {
        padding: 15px 0;
    }

    .detective-card .consultation-button {
        width: calc(50% - 5px);
        font-size: 13px;
        padding: 12px 15px;
        margin: 0 2.5px;
    }

    .detective-card-toggle {
        width: 20px;
        height: 20px;
        bottom: -10px;
    }

    .lawyers-section {
        padding: 30px 0 50px;
    }

    .lawyers-container {
        padding: 0 15px;
    }

    .lawyers-title {
        font-size: 14px;
        padding: 6px 14px;
        width: 60%;
        margin-bottom: -30px;
    }

    .lawyers-carousel {
        padding: 50px 0 20px;
        border-radius: 12px;
    }

    .lawyers-viewport {
        margin: auto 15px;
    }

    .lawyer-item {
        flex: 0 0 80px;
        height: 80px;
    }

    .lawyer-avatar {
        border-width: 2px;
    }
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Right Column: Agency Information */
.comparison-right {
    flex: 0 0 620px;
    height: 680px;
}

.agency-info-panel {
    border: none;
    background: transparent;
    padding: 0;
}

/* Agency Header */
.agency-header {
    display: flex;
    align-items: center;
    gap: 15px;
    /* margin-bottom: 30px; */
}

/* ================= New Sections (Bottom) ================ */
/* Section 10: 3-column features strip */
.features-strip-title {
    font-size: 40px;
    font-weight: 700;
    color: #1C1C1C;
    margin: 0 0 20px 0;
    text-align: center;
    margin-bottom: 40px;
}

.features-strip-section {
    background: #FFFFFF;
    padding: 20px 0 0;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-item-v2 {
    background: #FFFFFF;
    border: 1px solid #E6F0EF;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    box-shadow: 0px 12px 24px -12px rgba(0, 0, 0, 0.06);
}

.feature-icon-v2 img {
    width: 64px;
    height: 64px;
}

.feature-title-v2 {
    font-size: 16px;
    color: #1C1C1C;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .features-strip-section {
        padding: 30px 0 0;
    }

    .features-strip-title {
        font-size: 24px;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .features-container {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px 20px;
    }

    .feature-item-v2 {
        padding: 14px 16px;
        gap: 12px;
    }

    .feature-icon-v2 img {
        width: 50px;
        height: 50px;
    }

    .feature-title-v2 {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* Section 11: Summary (reversed Trust-like) */
.summary-section {
    background-color: #F28301;
    margin: 30px;
    border-radius: 10px;
    padding: 60px 0;
}

.summary-background {
    background: #F28301;
}

.summary-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.summary-left {
    flex: 1;
    position: relative;
    display: flex;
    align-items: flex-start;
}

.summary-right {
    flex: 1;
    color: #FFFFFF;
}

.summary-title {
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #FFFFFF;
}

.summary-text p {
    font-size: 18px;
    line-height: 1.7;
    margin: 10px 0;
    color: #FFFFFF;
}

.summary-consultation {
    border-color: #FFFFFF;
    background: transparent;
}

.summary-character {
    width: 220px;
    height: 260px;
    position: absolute;
    bottom: -10px;
    right: -40px;
}

@media (max-width: 768px) {
    .summary-section {
        padding: 40px 0;
        margin: 20px;
    }

    .summary-container {
        flex-direction: column-reverse;
        text-align: left;
    }

    .summary-title {
        font-size: 24px;
    }

    .summary-text p {
        font-size: 14px;
    }

    .summary-character {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 10px;
    }
}

/* Section 11 (renamed unique classes) */
.cta-section {
    background-color: #F28301;
    margin: 30px;
    border-radius: 10px;
    padding: 60px 0;
}

.cta-background {
    background: #F28301;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.cta-left {
    flex: 1;
    position: relative;
    display: flex;
    align-items: flex-start;
}

.cta-right {
    flex: 1;
    color: #FFFFFF;
}

.cta-heading {
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #FFFFFF;
}

.cta-text {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cta-text-body {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.cta-text-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    margin-top: 6px;
}

.cta-text-body-content p {
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 6px 0;
    color: #FFFFFF;
}

.cta-text-body-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .cta-text-body-content p {
        font-size: 14px;
        line-height: 1.7;
    }

    .cta-text-icon {
        width: 32px;
        height: 26px;
        margin-top: 4px;
    }
}

.cta-box {
    border: 1px solid #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    width: 444px;
    height: 315px;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 3;
    background: transparent;
}

.cta-box-title {
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 50px;
    position: relative;
    padding-left: 0;
}

.cta-box-title::before {
    content: '';
    position: absolute;
    left: -32px;
    /* slightly outside the box border */
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 28px;
    background: #379993;
    border-radius: 6px;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6) inset;
}

.cta-features {
    margin-bottom: 25px;
}

.cta-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 30px;
}

.cta-feature-item p {
    font-size: 16px;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.5;
}

.cta-check-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.cta-button {
    background: #058078;
    text-decoration: none;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 90px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 65%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.cta-character {
    width: 220px;
    height: 260px;
    position: absolute;
    bottom: -35px;
    right: 85px;
    z-index: 4;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 40px 0;
        margin: 0 15px;
    }

    .cta-container {
        flex-direction: column;
        /* cta-left on top, cta-right below */
        text-align: left;
        gap: 30px;
    }

    .cta-left {
        width: 100%;
    }

    .cta-box {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 280px;
        padding: 20px;
        margin-bottom: 15px;
    }

    .cta-box-title {
        font-size: 18px;
        margin-bottom: 20px;
        padding-left: 0;
    }

    .cta-box-title::before {
        left: -20px;
        width: 8px;
        height: 24px;
    }

    .cta-features {
        margin-bottom: 20px;
    }

    .cta-feature-item {
        margin-bottom: 20px;
    }

    .cta-feature-item p {
        font-size: 14px;
    }

    .cta-button {
        width: 100%;
        padding: 12px 24px;
        font-size: 14px;
    }

    .cta-character {
        width: 130px;
        height: 153px;
        bottom: -22px;
        right: 20px;
    }

    .cta-right {
        width: 100%;
    }

    .cta-heading {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .cta-text {
        gap: 15px;
    }

    .cta-text-body {
        gap: 15px;
    }

    .cta-text-icon {
        width: 40px;
        height: 40px;
        margin-top: 4px;
    }

    .cta-text-body-content p {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* Section 12: Ranking criteria split */
.ranking-criteria-section {
    background: #FFFFFF;
    padding: 60px 0;
}

.criteria-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    align-items: center;
}

.criteria-left {
    flex: 1;
}

.criteria-right {
    flex: 1;
    display: flex;
    justify-content: end;
}

.criteria-intro {
    margin: 16px 0 10px 0;
    font-size: 16px;
    color: #1C1C1C;
}

.criteria-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 20px 0;
}

.criteria-list li {
    border: 1px solid #E6F0EF;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.criteria-list li::before {
    content: none;
}

.criteria-check {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin-top: 3px;
}

.criteria-list li span {
    display: inline-block;
    font-size: 16px;
    color: #1C1C1C;
}

.criteria-note {
    font-size: 16px;
    color: #1C1C1C;
    font-weight: 500;
}

.criteria-image {
    width: 450px;
    height: 568px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
    .ranking-criteria-section {
        padding: 40px 0;
    }

    .criteria-container {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
    }

    .criteria-left {
        width: 100%;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .criteria-intro {
        font-size: 14px;
        margin: 12px 0 15px 0;
    }

    .criteria-list {
        margin: 15px 0 20px 0;
    }

    .criteria-list li {
        padding: 12px 15px;
        margin-bottom: 10px;
        gap: 15px;
    }

    .criteria-check {
        width: 24px;
        height: 24px;
    }

    .criteria-list li span {
        font-size: 14px;
        line-height: 1.5;
    }

    .criteria-note {
        font-size: 14px;
        line-height: 1.5;
    }

    .criteria-right {
        width: 100%;
        justify-content: center;
    }

    .criteria-image {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
}

.medal-icon {
    width: 28px;
    height: 40px;
}

.medal-icon-v2 {
    width: 66px;
    height: 67px;
}

.agency-title {
    font-size: 24px;
    font-weight: 700;
    color: #1C1C1C;
    margin: 0;
    line-height: 1.5;
}

/* Agency Description */
.agency-description {
    margin: 0 0 12px 0;
}

.agency-description p {
    font-size: 16px;
    line-height: 1.3;
    margin: 0;
    margin-bottom: 8px;
    color: #1C1C1C;
}

.agency-bold {
    font-weight: 700;
}

.testimonial-quote {
    font-style: italic;
    color: #058078;
    font-weight: 500;
    background-color: #f0f8f8;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #058078;
}

/* Information Boxes */
.info-boxes {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-box {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 10px 20px;
    /* border: 1px solid #e9ecef; */
}

.box-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.box-check-icon {
    width: 20px;
    height: 20px;
}

.box-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.box-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.box-list li {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.box-list li:before {
    content: "•";
    color: #058078;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.box-comment {
    font-size: 16px;
    color: #333;
    font-style: italic;
    margin: 0;
    line-height: 1.5;
}

/* Responsive Design for Comparison Section */
@media (max-width: 768px) {
    .comparison-section {
        padding: 40px 0 0 0;
    }

    .comparison-header {
        margin-bottom: 40px;
        padding: 0 15px;
    }

    .edition-badge {
        font-size: 14px;
        padding: 8px 20px;
        margin-bottom: 15px;
    }

    .edition-seal {
        width: 28px;
        height: 28px;
        right: -8px;
        top: -10px;
    }

    .comparison-main-title {
        font-size: 24px;
        line-height: 1.4;
    }

    .comparison-subtitle {
        flex-direction: column;
        gap: 10px;
    }

    .subtitle-line {
        width: 40px;
    }

    .comparison-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .comparison-left {
        height: auto;
        min-height: 400px;
    }

    .comparison-left::before {
        width: 340px;
        height: 330px;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .image-grid-container {
        width: 270px;
        transform: translate(-50%, 0);
        left: 50%;
        position: relative;
        margin: 20px auto;
    }

    .image-grid {
        grid-template-columns: repeat(4, 1fr);
        /* grid-template-rows: repeat(9, 1fr); */
        gap: 6px;
    }

    .comparison-right {
        flex: 1;
        height: auto;
        /* padding: 0 15px; */
    }

    .agency-info-panel {
        padding: 0;
    }

    .agency-header {
        margin-bottom: 20px;
    }

    .agency-title {
        font-size: 18px;
        line-height: 1.4;
    }

    .agency-description {
        margin-bottom: 20px;
    }

    .agency-description p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .info-boxes {
        gap: 12px;
        margin-bottom: 20px;
    }

    .info-box {
        padding: 15px;
    }

    .box-header {
        margin-bottom: 12px;
    }

    .box-title {
        font-size: 16px;
    }

    .box-list li {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .box-comment {
        font-size: 14px;
        line-height: 1.5;
    }

    .agency-button {
        padding: 20px 0;
        text-align: center;
    }

    .consultation-button {
        width: 100%;
        margin-left: 20px;
    }

    .blue-button {
        width: 100%;
    }
}

/* ================= New Bottom Sections: FAQ / Callout / Location Map ================ */
/* FAQ */
.faq-section {
    background: #F5FBFA;
    padding: 60px 0;
}

.faq-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-title {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #1C1C1C;
}

.faq-list {
    /* background: #FFFFFF; */
    border-radius: 12px;
    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06); */
    padding: 10px;
}

.faq-item {
    margin-bottom: 10px;
    background: #FFFFFF;
}

.faq-item+.faq-item {
    border-top: 1px solid #EEF3F3;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 16px;
    font-size: 20px;
    color: #1C1C1C;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 500;
}

.faq-q-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #058078;
    color: #FFFFFF;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-a-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #F28301;
    color: #FFFFFF;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-toggle {
    margin-left: auto;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #EAF2F2;
    position: relative;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background: #058078;
}

.faq-toggle::before {
    width: 10px;
    height: 2px;
    top: 7px;
    left: 3px;
}

.faq-toggle::after {
    width: 2px;
    height: 10px;
    top: 3px;
    left: 7px;
    transition: transform .2s;
}

.faq-item.open .faq-toggle::after {
    transform: scaleY(0);
}

.faq-answer {
    display: none;
    padding: 16px;
    font-size: 20px;
    color: #1C1C1C;
    font-weight: 400;
}

.faq-item.open .faq-answer {
    display: flex;
    border-top: 1px solid #EEF3F3;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

/* Callout: image left, content right */
.callout-section {
    background: #FFFFFF;
    padding: 60px 0;
}

.callout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    /* align-items: center; */
}

.callout-left {
    flex: 0 0 440px;
}

.callout-image {
    /* width: 100%; */
    /* height: auto; */
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.callout-right {
    flex: 1;
}

.callout-heading {
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #1C1C1C;
    line-height: 1.5;
}

.callout-paragraph {
    font-size: 16px;
    color: #1C1C1C;
    line-height: 1.5;
    font-weight: 400;
    margin: 0 0 20px 0;
}

.callout-box {
    /* background: #F5FBFA; */
    border: 1px solid #E6F0EF;
    border-radius: 12px;
    padding: 16px 200px 16px 16px;
    /* leave room on the right for the phone image */
    position: relative;
}

.callout-box-title {
    font-size: 20px;
    font-weight: 700;
    margin: 30px 0 30px 0;
    position: relative;
}

.callout-box-title::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 31px;
    background: #F28301;
    border-radius: 30px;
}

.callout-points {
    margin: 0 0 16px 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 30px;
}

.callout-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1C1C1C;
    font-size: 16px;
    font-weight: 400;
}

.callout-check {
    width: 28px;
    height: 28px;
}

.callout-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.callout-phone {
    position: absolute;
    right: 16px;
    bottom: 0;
    width: 255px;
    height: auto;
}

.btn-primary {
    background: #F28301;
    color: #FFFFFF;
    padding: 10px 16px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 700;
}

.btn-secondary {
    background: #058078;
    color: #FFFFFF;
    padding: 10px 16px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 700;
}

/* Location and Map */
.location-map-section {
    background: #FFFFFF;
    padding: 30px 0 80px;
}

.location-map-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.location-left {
    flex: 1;
}

.location-right {
    flex: 1;
    display: flex;
    justify-content: end;
}

.location-links {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    display: grid;
    gap: 25px;
}

.location-links li {
    background: #FFFFFF;
    border: 1px solid #E6F0EF;
    border-radius: 10px;
    padding: 0;
    /* padding moved to anchor so whole row is clickable */
}

.location-links a {
    color: #101828;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 40px 14px 14px;
    /* text + right arrow space */
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.location-more {
    display: inline-block;
    margin-top: 10px;
    padding: 15px 20px;
    background: #058078;
    border-radius: 30px;
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 700;
}

.location-iframe {
    width: 570px;
    height: 536px;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

/* Right chevron on location items - attached to anchor so it's clickable */
.location-links a::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #058078;
    border-top: 2px solid #058078;
    transform: translateY(-50%) rotate(45deg);
}

.location-links a:hover {
    background: #F5FBFA;
}

.location-links a:hover::after {
    right: 14px;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 40px 0;
    }

    .faq-container {
        padding: 0 15px;
    }

    .faq-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .faq-list {
        padding: 5px;
    }

    .faq-question {
        font-size: 16px;
        padding: 14px;
    }

    .faq-answer {
        font-size: 14px;
        padding: 14px;
    }

    .callout-section {
        padding: 40px 0;
    }

    .callout-container {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
    }

    .callout-left {
        flex: 1;
        width: 100%;
    }

    .callout-image {
        width: 100%;
        height: auto;
    }

    .callout-right {
        width: 100%;
    }

    .callout-heading {
        font-size: 24px;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    .callout-paragraph {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .callout-box {
        padding: 20px 120px 20px 20px;
        position: relative;
    }

    .callout-box-title {
        font-size: 16px;
        margin: 20px 0 20px 0;
    }

    .callout-box-title::before {
        left: -15px;
        width: 6px;
        height: 24px;
    }

    .callout-points {
        gap: 20px;
        margin-bottom: 15px;
    }

    .callout-points li {
        font-size: 14px;
    }

    .callout-check {
        width: 24px;
        height: 24px;
    }

    .callout-actions {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 15px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 12px 0;
        font-size: 14px;
    }

    .callout-phone {
        width: 120px;
        right: 0;
        bottom: -45px;
    }

    .location-map-section {
        padding: 30px 0 50px;
    }

    .location-map-container {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
    }

    .location-left {
        width: 100%;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .location-links {
        gap: 15px;
        margin: 15px 0;
    }

    .location-links a {
        font-size: 13px;
        padding: 12px 35px 12px 12px;
    }

    .location-more {
        margin-top: 15px;
        padding: 12px 18px;
        font-size: 14px;
    }

    .location-right {
        width: 100%;
        justify-content: center;
    }

    .location-iframe {
        width: 100%;
        height: 300px;
    }
}

.books-section {
    margin-left: auto;
    text-align: right;
    padding-right: 10px;
}

.books-link {
    text-decoration: none;
    color: #058078;
    font-size: 12px;
    font-weight: 500;
    margin-left: 20px;
}

/* =============================== Sticky Bottom CTA (Home) =============================== */
.sticky-bottom-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #023632;
    color: #FFFFFF;
    z-index: 9999;
    padding: 12px 16px;
    transform: translateY(0);
    transition: transform .25s ease-in-out, opacity .25s ease-in-out;
}

.sticky-bottom-cta.is-hidden {
    transform: translateY(110%);
    opacity: 0;
}

.sticky-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
}

.sticky-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.sticky-meta-icon {
    width: 20px;
    height: 20px;
}

.sticky-actions {
    display: inline-flex;
    gap: 12px;
}

.sticky-primary,
.sticky-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 15px 16px;
    border-radius: 999px;
    font-weight: 700;
    white-space: nowrap;
}

.sticky-primary {
    background: #FFFFFF;
    color: #058078;
}

.sticky-secondary {
    background: #058078;
    color: #FFFFFF;
}

.sticky-character {
    position: absolute;
    right: 18%;
    bottom: 0;
    width: 130px;

}

@media (max-width: 768px) {
    .sticky-bottom-cta {
        padding: 12px 15px;
    }

    .sticky-bottom-inner {
        gap: 15px;
        align-items: center;
        position: relative;
        padding-right: 100px;
    }

    .sticky-meta {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        color: #FFFFFF;
        flex: 1;
    }

    .sticky-meta-icon {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .sticky-actions {
        display: inline-flex;
        gap: 0;
    }

    .sticky-primary,
    .sticky-secondary {
        padding: 12px 20px;
        font-size: 14px;
        white-space: nowrap;
    }

    .sticky-character {
        display: block;
        position: absolute;
        right: 0;
        bottom: 0;
        width: 90px;
        height: auto;
        z-index: 1;
    }
}

/* =============================== Footer =============================== */
.main-footer {
    background: #0f3d39;
    color: #FFFFFF;
}

.footer-top {
    /* display: flex;
    justify-content: space-between;
    align-items: center; */
    padding: 10px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #023632;

}

.footer-top-container {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-container {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 67px;
    height: 100px;
    object-fit: contain;
}

.footer-title {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    gap: 10px;
}

.footer-site {
    font-weight: 700;
    font-size: 24px;
    color: #058078;
}

.footer-location {
    font-size: 16px;
    color: #FFFFFF;
    opacity: 0.9;
}

.footer-meta {
    font-size: 12px;
    opacity: 0.95;
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    /* background: rgba(255, 255, 255, 0.06); */
    /* border: 1px solid rgba(255, 255, 255, 0.14); */
    padding: 6px 10px;
    /* border-radius: 999px; */
    font-size: 16px;
}

.footer-badge-link {
    color: #FFFFFF;
    text-decoration: none;
}

.footer-badge-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    object-fit: contain;
}

.footer-tags {
    padding: 14px 30px 24px;
    background: #011E1B;
}

.footer-tags-container {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-tags-head {
    margin-bottom: 10px;
}

.footer-tags-title {
    font-size: 20px;
    font-weight: 700;
}

.footer-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-chip {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: #114843;
    color: #e7fffb;
    text-decoration: none;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tag-chip:hover {
    background: #15635c;
}

.footer-bottom {
    padding: 12px 30px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    font-size: 12px;
    color: #d9f4f0;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .footer-top {
        padding: 15px;
    }

    .footer-top-container {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .footer-container {
        width: 100%;
        gap: 15px;
    }

    /* Top row: Logo + Business hours on same line */
    .footer-top-container {
        position: relative;
    }

    .footer-brand {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        width: 100%;
        margin-bottom: 0;
        padding-bottom: 12px;
        /* border-bottom: 1px solid rgba(255, 255, 255, 0.2); */
    }

    .footer-logo {
        width: 40px;
        height: 60px;
        flex-shrink: 0;
    }


    .footer-site {
        font-size: 18px;
    }

    .footer-location {
        font-size: 14px;
    }

    /* Business hours and links layout */
    .footer-meta {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        width: 100%;
        font-size: 14px;
        margin-top: 26px;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        flex-wrap: wrap;
    }

    /* Business hours badge - show on same row as logo using absolute positioning */
    .footer-meta .footer-badge:first-child {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0;
        margin: 0;
        font-size: 14px;
        position: absolute;
        left: 50px;
        top: 60px;
    }

    .footer-meta .footer-badge:first-child .footer-badge-icon {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    /* Bottom row: Privacy Policy and Company Profile links - horizontal layout */
    .footer-meta .footer-badge:not(:first-child) {
        display: inline-flex;
        padding: 0;
        margin: 0;
        font-size: 14px;
        position: relative;
    }


    /* Separator between links - vertical line */
    .footer-meta .footer-badge:nth-child(3)::before {
        content: '';
        display: inline-block;
        width: 1px;
        height: 14px;
        background: rgba(255, 255, 255, 0.3);
        margin: 0 12px;
        vertical-align: middle;
    }

    /* Remove the "|" text from HTML since we use CSS ::before */
    .footer-meta .footer-badge:not(:first-child) {
        padding-left: 0;
    }

    /* Adjust footer-meta to not include business hours in flow */
    .footer-meta {
        margin-left: 0;
        padding-left: 0;
    }

    .footer-badge {
        font-size: 12px;
        padding: 4px 8px;
        gap: 6px;
    }

    .footer-badge-icon {
        width: 20px;
        height: 20px;
    }

    .footer-tags {
        padding: 15px;
    }

    .footer-tags-container {
        width: 100%;
        gap: 12px;
    }

    .footer-tags-head {
        margin-bottom: 12px;
    }

    .footer-tags-title {
        font-size: 16px;
        line-height: 1.4;
    }

    .footer-tags-list {
        gap: 8px;
    }

    .tag-chip {
        font-size: 11px;
        padding: 5px 10px;
    }

    .footer-bottom {
        padding: 12px 15px;
        font-size: 11px;
        line-height: 1.5;
    }
}

/* =====================
   CTA banner
   ===================== */
.company-cta {
    margin: 40px 20px;
}

.company-cta__inner {
    max-width: 1200px;
    margin: 0 auto;
    /* background: linear-gradient(90deg, #F2A12D 0%, #F28C00 100%); */
    background: #F28301;
    border-radius: 12px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    overflow: visible;
    /* allow illustration ears to overflow */
    box-shadow: 0px 24px 48px -12px rgba(0, 0, 0, 0.06);
    height: 290px;
}

.company-cta__text {
    color: #FFFFFF;
    /* max-width: 620px; */
}

.company-cta__headline {
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 30px;
    color: #FEF113;
    position: relative;
    padding-left: 24px;
}

.company-cta__headline:before {
    content: "";
    position: absolute;
    left: 0;
    top: -6px;
    width: 6px;
    height: 36px;
    border-radius: 3px;
    background: #FEF113;
}

.company-cta__list {
    margin: 0 0 40px;
    padding: 0;
    list-style: none;
}

.company-cta__list li {
    margin: 20px 0;
    font-size: 20px;
    line-height: 1.5;
    padding-left: 32px;
    background: url('../icon/check-search.svg') no-repeat 0 2px / 28px 28px;
}

.company-cta__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.company-cta__btn {
    display: inline-block;
    padding: 10px 60px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

.company-cta__btn--primary {
    background: #FFFFFF;
    color: #F28301;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.company-cta__btn--ghost {
    background: #0B807A;
    color: #FFFFFF;
}

.company-cta__illustration {
    position: absolute;
    right: 95px;
    bottom: 0;
    z-index: 1;
}

.company-cta__illustration img {
    height: 450px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .company-cta__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .company-cta__illustration {
        /* position: static; */
        margin-top: 8px;
        right: 0;
    }

    .company-cta__illustration img {
        height: 160px;
    }
}

/* =============================== Notification Popup =============================== */
.notification-popup {
    position: fixed;
    bottom: 50px;
    right: 100px;
    z-index: 10000;
    opacity: 0;
    transform: translateX(120%);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    pointer-events: none;
}

.notification-popup.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.notification-popup-content {
    background: #FFF9E6;
    border-radius: 12px;
    padding: 10px 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 320px;
    max-width: 400px;
    position: relative;
}

.notification-medal {
    flex-shrink: 0;
}

.medal-icon-popup {
    width: 50px;
    height: 60px;
    object-fit: contain;
}

.notification-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notification-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #1C1C1C;
    margin: 0;
}

.notification-link {
    color: #058078;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    align-self: flex-end;
    margin-top: 4px;
    transition: color 0.2s ease;
}

.notification-link:hover {
    color: #045a54;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .notification-popup {
        bottom: 80px;
        right: 10px;
        left: 10px;
        transform: translateX(0);
    }

    .notification-popup.show {
        transform: translateX(0);
    }

    .notification-popup-content {
        min-width: auto;
        max-width: 100%;
        padding: 12px 16px;
        flex-direction: row;
        gap: 10px;
    }

    .medal-icon-popup {
        width: 40px;
        height: 48px;
    }

    .notification-text p {
        font-size: 12px;
        line-height: 1.5;
    }

    .notification-link {
        font-size: 12px;
    }

    .company-cta__headline {
        font-size: 24px;
        padding-left: 16px;
    }

    .company-cta__headline:before {
        width: 4px;
        height: 24px;
    }

    .company-cta__list {
        font-size: 16px;
    }

    .company-cta__btn {
        padding: 10px;
    }
}