/* ==========================================================================
   CSS Variables (Biến màu sắc, font, spacing - Cập nhật từ Figma/Drive)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');
:root {
    --primary-color: #2B7020;
    --secondary-color: #C89E32;
    --tertiary-color: #F9F6F0;
    --neutral-color: #1A1A1A;
    --text-color: #1A1A1A; /* Text mặc định dùng màu neutral */
    
    --font-headline: "Questrial", sans-serif;
    --font-main: "Questrial", sans-serif;
    
    --container-width: 1200px;
    --spacing-section: 80px; /* Padding top/bottom mặc định cho các section lớn */
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.5;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}
main{
    margin-top: 90px;
}
/* Đảm bảo Form & Button kế thừa Font Montserrat toàn diện */
button, input, optgroup, select, textarea {
    font-family: var(--font-main) !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headline);
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5em;
    text-wrap: balance;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ==========================================================================
   Layout Components
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px; /* Khoảng cách an toàn hai bên cho mobile */
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.section-header-text {
    margin-bottom: 50px;
    max-width: 700px;
    margin-inline: auto;
}

.section-header-text h2 {
    font-size: 25px;
    margin-bottom: 15px;
}

.section-header-text p {
    color: #555;
}

/* ==========================================================================
   Components (Buttons, etc.)
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-main);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #215918;
}

/* ==========================================================================
   Header Styles (.section-header)
   ========================================================================== */
.section-header {
    background-color: var(--tertiary-color);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 70px; /* Sẽ tự động scale theo ảnh gốc */
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-color);
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a:hover,
.main-nav li.active > a {
    color: var(--primary-color);
}

.main-nav li.active > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2.5px;
    background-color: var(--primary-color);
}

/* Submenu */
.main-nav li.has-submenu {
    position: relative;
}

.main-nav .submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    min-width: 210px;
    white-space: nowrap;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-radius: 8px;
    padding: 12px 0;
    z-index: 1001;
    border: 1px solid rgba(0,0,0,0.04);
}

.main-nav .submenu::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.04);
    border-left: 1px solid rgba(0,0,0,0.04);
}

.main-nav li.has-submenu:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

/* Invisible bridge so mouse hover doesn't break */
.main-nav li.has-submenu::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

.main-nav .submenu li {
    width: 100%;
    padding: 0 10px;
}

.main-nav .submenu a {
    display: block;
    padding: 10px 17px;
    font-size: 16px;
    text-transform: none;
    font-weight: 500;
    color: #444;
    border-radius: 6px;
    transition: all 0.25s ease;
}

.main-nav .submenu a::after {
    display: none !important;
}

.main-nav .submenu a:hover {
    background-color: rgba(43, 112, 32, 0.06);
    color: var(--primary-color);
    padding-left: 20px;
}

.main-nav li.has-submenu > a i,
.main-nav li.has-submenu > a svg {
    transition: transform 0.3s ease;
    vertical-align: middle;
    margin-bottom: 2px;
    margin-left: 2px;
}
.main-nav li.has-submenu:hover > a i,
.main-nav li.has-submenu:hover > a svg {
    transform: rotate(180deg);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
}

/* ==========================================================================
   Banner Styles (.section-banner)
   ========================================================================== */
.banner-swiper {
    width: 100%;
    height: 100vh;
}
.banner-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Tùy chỉnh nút Next / Prev */
.banner-swiper .swiper-button-next,
.banner-swiper .swiper-button-prev {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}
.banner-swiper .swiper-button-next:hover,
.banner-swiper .swiper-button-prev:hover {
    background-color: var(--primary-color);
}
.banner-swiper .swiper-button-next::after,
.banner-swiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* Tùy chỉnh các chấm tròn Pagination */
.banner-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.6);
    opacity: 1;
    transition: all 0.3s ease;
}
.banner-swiper .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    width: 25px;
    border-radius: 5px;
}

/* ==========================================================================
   Welcome Styles (.section-welcome)
   ========================================================================== */
.section-welcome {
    padding: var(--spacing-section) 0;
    background-color: #fff;
}

.welcome-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.welcome-image {
    flex: 1;
    aspect-ratio: 4/3;
}

.welcome-image img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        height: 100%;
    width: 100%;
    object-fit: cover;
}

.welcome-content {
    flex: 1;
}

.welcome-content .subtitle {
    font-size: 15px;
    font-weight: 600;
    color: #777;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.welcome-content h2 {
    font-size: 29px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.welcome-content p {
    color: #555;
    margin-bottom: 30px;
    font-size: 17px;
}

.welcome-features {
    display: flex;
    gap: 15px;
}

.feature-box {
    background-color: var(--tertiary-color);
    padding: 15px;
    border-radius: 8px;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.feature-box i {
    flex-shrink: 0;
}

.feature-box span {
    font-size: 15px;
    font-weight: 600;
    color: var(--neutral-color);
    line-height: 1.4;
}

/* ==========================================================================
   Services Styles (.section-services)
   ========================================================================== */
.section-services {
    padding: var(--spacing-section) 0;
    background-color: var(--tertiary-color);
}

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

.service-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all .35s ease;
}
.service-card:hover {
    transition: 0.3s ease;
    box-shadow: 0 17px 36px rgba(0, 0, 0, 0.15);
}


.service-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.service-content p {
    color: #666;
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: justify;
}
.btn-booking-card{
    background-color: var(--primary-color);
    color: white;
    padding: 8px 24px;
    margin: 0 auto;
    margin-top: 20px;
}
.btn-booking-card:hover{
    opacity: 0.9;
    transition: 0.2s ease in;
}
.d-flex-center{
    display: flex;
    justify-content: center;
}
/* ==========================================================================
   Why Choose Us (.section-why-us)
   ========================================================================== */
.section-why-us {
    padding: var(--spacing-section) 0;
    background-color: #fff;
}

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

.feature-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

.section-why-us {
    position: relative;
    overflow: hidden;
}
.section-why-us .section-header-text h2, .section-why-us .section-header-text p{
    color: white
}
.section-why-us::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45); /* chỉnh 0.3 - 0.6 tùy độ tối */
    z-index: 1;
}

.section-why-us > * {
    position: relative;
    z-index: 2;
}

.feature-card i {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    color: #555;
    font-size: 15px;
}
@media screen and (max-width: 575px){
   .feature-card p {
        font-size: 11px;
    } 
}
/* ==========================================================================
   Journey Styles (.section-journey)
   ========================================================================== */
.section-journey {
    padding: var(--spacing-section) 0;
    background-color: var(--tertiary-color);
}

.journey-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 30px;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    top: 65px; /* Nằm ngay giữa icon 70px */
    left: 50px;
    right: 50px;
    height: 2px;
    background-color: rgba(43, 112, 32, 0.2);
    z-index: 1;
}

.journey-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}
.journey-step:hover .step-icon{
    background-color: var(--primary-color);
    color: white;
    transition: 0.2s;
}
.step-icon {
    width: 70px;
    height: 70px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 2px solid var(--primary-color);
}

.step-icon i {
    color: var(--primary-color);
    width: 30px;
    height: 30px;
}

.journey-step h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.journey-step p {
    font-size: 15px;
    color: #666;
}

/* ==========================================================================
   Gallery Styles (.section-gallery)
   ========================================================================== */
.section-gallery {
    padding: var(--spacing-section) 0;
    background-color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    aspect-ratio: 1 / 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* ==========================================================================
   Testimonials Styles (.section-testimonials)
   ========================================================================== */
.section-testimonials {
    padding: var(--spacing-section) 0;
    background-color: var(--tertiary-color);
}

.testimonialSwiper .swiper-slide {
    height: auto;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.customer-avatar {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 12px;
    overflow: hidden;
}

.customer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rating {
    margin-bottom: 20px;
}

.star-filled {
    width: 17px;
    height: 17px;
    color: var(--secondary-color);
    fill: var(--secondary-color);
}

.quote {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.6;
    flex-grow: 1;
}

.customer-name {
    font-size: 12px;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
}

/* Swiper Navigation Custom */
.swiper-navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s;
    user-select: none;
    -webkit-user-select: none;
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* ==========================================================================
   Articles Styles (.section-articles)
   ========================================================================== */
.section-articles {
    padding: var(--spacing-section) 0;
    background-color: #fff;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.article-card {
    display: flex;
    flex-direction: column;
    transition: box-shadow .3s ease, transform .3s ease;
}

.article-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,.09);
}

.article-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.article-card:hover img {
    transform: scale(1.08);
}

.feature-card:hover{
    background-color: var(--primary-color);
    transition: 0.2s;
    cursor: pointer;
}
.feature-card:hover *{
    color: white;
    transition: 0.2s;
}

.article-title {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-excerpt {
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    flex-grow: 1;
}

.article-date {
    font-size: 12px;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
}

/* ==========================================================================
   Footer Styles (.section-footer)
   ========================================================================== */
.section-footer {
    background-color: var(--tertiary-color);
    padding: 40px 0 20px;
    border-top: 2px solid #e8e8e8
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-about {
    flex: 1.5;
}

.footer-logo {
    height: 70px;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 8px;
    color: var(--primary-color);
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.footer-heading {
    font-family: var(--font-main);
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.mt-4 {
    margin-top: 30px;
}

.footer-links ul li,
.footer-services ul li,
.contact-info li {
    margin-bottom: 12px;
    font-size: 15px;
    color: #555;
}

.footer-links a,
.footer-services a {
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--primary-color);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-info i {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    font-family: var(--font-main);
    outline: none;
}

.btn-submit-newsletter {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-submit-newsletter:hover {
    background-color: #215918;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: 15px;
    color: #777;
    flex-wrap: wrap;
    gap: 15px;
    text-align: center;
}
.phone-bar a{
    background-color: #e60808;
}
.footer-policy a {
    margin-left: 20px;
}

.footer-policy a:hover {
    color: var(--primary-color);
}

/* CSS Base rules... Add .mobile-nav-logo hidden by default */
.mobile-nav-logo {
    display: none;
}

/* ==========================================================================
   Responsive (Tối ưu thiết bị di động)
   ========================================================================== */
@media (max-width: 992px) {
    .mobile-nav-logo {
        display: block;
        text-align: left;
    }
    .mobile-nav-logo img {
        max-height: 70px;
    }
    .main-nav {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background-color: var(--tertiary-color);
        padding: 0px 30px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.0);
        z-index: 999;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1), box-shadow 0.4s ease;
        overflow-y: auto;
    }
    .main-nav.active {
        right: 0;
        box-shadow: -5px 0 25px rgba(0,0,0,0.1), 0 0 0 10000px rgba(0,0,0,0.6);
    }
    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .main-nav li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    .main-nav li:last-child {
        border-bottom: none;
    }
    .main-nav a {
        display: block;
        padding: 18px 0;
        font-size: 16px;
    }
    
    /* Mobile Submenu Overrides */
    .main-nav li.has-submenu > a {
        display: flex !important;
        align-items: center;
        justify-content: space-between !important;
    }
    .main-nav li.has-submenu > a svg {
        display: block !important;
        width: 24px !important;
        height: 24px !important;
        padding: 4px;
        background: rgba(0,0,0,0.03);
        border-radius: 4px;
        transition: transform 0.3s ease;
    }
    .main-nav .submenu {
        display: none;
        position: static;
        transform: none !important;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 0 10px 15px;
        min-width: auto;
        background: transparent;
    }
    .main-nav li.has-submenu.open > .submenu {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .main-nav li.has-submenu.open > a svg {
        transform: rotate(180deg);
    }
    .main-nav li.has-submenu:hover > .submenu {
        /* Vô hiệu hóa hiệu ứng hover bung ra tự động trên mobile */
    }
    .main-nav .submenu::before {
        display: none;
    }
    .main-nav .submenu li {
        border-bottom: none;
    }
    .main-nav .submenu a {
        padding: 8px 0;
        font-size: 15px;
        color: #555;
    }
    .main-nav .submenu a:hover {
        background: transparent;
        padding-left: 5px;
    }
    
    .mobile-menu-btn {
        display: block;
        position: relative;
        z-index: 1000;
    }

    .header-actions .btn {
        display: none; /* Ẩn nút đặt lịch trên mobile, có thể chuyển vào menu dropdown */
    }
    
    .footer-col {
        flex: 100%; /* Footer hiển thị 1 cột trên mobile */
    }

    .welcome-container {
        flex-direction: column-reverse;
        gap: 10px;
    }
    
    .banner-swiper {
        height: auto;
        aspect-ratio: unset;
    }
    .banner-swiper .swiper-button-next, .banner-swiper .swiper-button-prev {
        width: 35px;
        height: 35px;
    }
    .page-header {
        padding: 100px 0 60px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-section: 40px;
    }
    
    .welcome-content h2 {
        font-size: 22px;
    }
    
    .welcome-features {
        flex-direction: column;
        display: none;
    }
    .welcome-content p{
        margin-bottom: 0px;
    }
    .welcome-image img{
        margin-top: 20px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .feature-card{
        padding: 10px;
    }
    .feature-card h3{
        font-size: 15px;
        margin-bottom: 7px;
    }
    .journey-timeline {
        flex-direction: column;
        gap: 40px;
        padding-top: 0;
    }
    
    .journey-timeline::before {
        top: 0;
        bottom: 0;
        left: 50px; /* 15px padding + 35px center of icon */
        right: auto;
        width: 2px;
        height: 100%;
    }
    
    .journey-step {
        display: grid;
        grid-template-columns: 70px 1fr;
        grid-template-rows: auto auto;
        column-gap: 20px;
        text-align: left;
    }
    
    .step-icon {
        margin: 0;
        grid-row: 1 / 3;
        grid-column: 1;
    }
    
    .journey-step h4 {
        grid-row: 1;
        grid-column: 2;
        margin-bottom: 5px;
        align-self: end;
    }
    
    .journey-step p {
        grid-row: 2;
        grid-column: 2;
        margin-bottom: 0;
        align-self: start;
    }


    .articles-grid {
        gap: 5px;
    }
}

/* ==========================================================================
   ABOUT PAGE STYLES
   ========================================================================== */

/* Page Header */
.page-header {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 150px 0 100px;
    color: #fff;
    overflow: hidden;
}
.page-header-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 1;
}
.page-header-content {
    position: relative;
    z-index: 2;
}
.page-header .breadcrumb {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 600;
}
.page-header h1 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 20px;
}
.page-header p {
    max-width: 650px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Brand Story */
.section-story {
    padding: var(--spacing-section) 0;
    background-color: #fff;
}
.story-container {
    display: flex;
    align-items: center;
    gap: 60px;
}
.story-image, .story-content {
    flex: 1;
}
.story-image img {
    border-radius: 12px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.story-content h2 {
    font-size: 25px;
    margin-bottom: 25px;
}
.story-content p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
}
.story-stats {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}
.stat-box {
    flex: 1;
    border: 1px solid rgba(43, 112, 32, 0.2);
    border-radius: 8px;
    padding: 20px 10px;
    text-align: center;
    background-color: #fff;
}
.stat-number {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}
.stat-label {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
}

/* Relaxing Space */
.section-space {
    padding: var(--spacing-section) 0;
    background-color: var(--tertiary-color);
}
.space-grid {
    display: flex;
    gap: 20px;
    height: 500px;
}
.space-image-large {
    flex: 2;
    border-radius: 12px;
    overflow: hidden;
}
.space-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.space-image-small-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.space-image-small {
    width: 100%;
    height: calc(50% - 10px);
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s;
}
.space-image-large:hover img, .space-image-small:hover {
    transform: scale(1.03);
}

/* Expert Team */
.section-team {
    padding: var(--spacing-section) 0;
    background-color: #fff;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.team-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform .35s ease, box-shadow .35s ease;
}

.team-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.team-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.08);
}
.team-info {
    padding: 25px 20px;
}
.team-info h3 {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 5px;
}
.team-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 10px;
}
.team-exp {
    color: #888;
    font-size: 13px;
}

/* Quality Commitment */
.section-quality {
    padding: var(--spacing-section) 0;
    background-color: var(--tertiary-color);
}
.quality-container {
    display: flex;
    align-items: center;
    gap: 20px;
}
.quality-content, .quality-image {
    flex: 1;
}
.quality-content h2 {
    font-size: 25px;
    margin-bottom: 20px;
}
.quality-content > p {
    color: #555;
    margin-bottom: 40px;
    line-height: 1.6;
}
.quality-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.quality-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: #fff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.quality-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(43, 112, 32, 0.1);
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.quality-text h4 {
    font-size: 17px;
    margin-bottom: 5px;
    color: var(--text-color);
}
.quality-text p {
    color: #666;
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
}
.quality-image {
    overflow: hidden;
    border-radius: 12px;
}

.quality-image img {
    width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 0 7px rgba(0, 0, 0, .3);
    transition: transform .35s ease, box-shadow .35s ease;
}

.quality-image:hover img {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}

/* CTA Section */
.section-cta {
    padding: 60px 0 var(--spacing-section);
    background-color: var(--tertiary-color);
}
.cta-box {
    background-color: var(--primary-color);
    border-radius: 17px;
    padding: 60px 20px;
    color: #fff;
}
.cta-box h2 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 15px;
}
.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 17px;
}
.cta-btn {
    background-color: #fff;
    color: var(--primary-color);
}
.cta-btn:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Responsive adjustments for About Page */
@media (max-width: 992px) {
    .story-container, .quality-container {
        flex-direction: column;
    }
    .space-grid {
        flex-direction: column;
        height: auto;
    }
    .space-image-large {
        height: 300px;
    }
    .space-image-small-wrapper {
        flex-direction: row;
    }
    .space-image-small {
        height: 200px;
    }
}
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    .story-stats {
        flex-direction: column;
    }
    .space-image-small-wrapper {
        flex-direction: column;
    }
}

/* ==========================================================================
   SERVICES PAGE STYLES
   ========================================================================== */

/* Filter Tabs */
.services-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.filter-btn {
    background-color: #f5f5f5;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Category Header */
.category-header h2 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}
.category-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Detailed Services Grid */
.section-services-page {
    padding: var(--spacing-section) 0;
    background-color: var(--tertiary-color);
}
.services-grid-detailed {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.service-card-detailed {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}
.service-img-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
}
.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.service-card-detailed:hover .service-img-wrapper img {
    transform: scale(1.05);
}
.service-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.service-info h3 {
    font-size: 16px;
    color: var(--primary-color);
}
.service-desc {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.service-meta {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.service-meta .time {
    font-size: 12px;
    color: #888;
    font-weight: 600;
}
.service-meta .price {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 700;
}
.service-actions {
    display: flex;
    gap: 10px;
}
.btn-outline-sm {
    border: 1px solid #ccc;
    background: transparent;
    color: #555;
    padding: 10px 15px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
}
.btn-outline-sm:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.btn-primary-sm {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 15px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
}
.btn-primary-sm:hover {
    background-color: var(--secondary-color);
}

/* Large CTA Section */
.section-cta-large {
    padding: var(--spacing-section) 0;
    background-color: var(--tertiary-color);
}
.cta-large-box {
    background-color: var(--primary-color);
    border-radius: 20px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    color: #fff;
}
.cta-watermark {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.1;
    pointer-events: none;
}
.cta-watermark i {
    width: 250px;
    height: 250px;
}
.cta-large-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}
.cta-large-content h2 {
    color: #fff;
    font-size: 25px;
    margin-bottom: 20px;
}
.cta-large-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    margin-bottom: 40px;
}
.cta-large-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.btn-gold {
    background-color: var(--secondary-color);
    color: #fff;
}
.btn-gold:hover {
    background-color: #a38944;
}
.btn-outline-white {
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
}
.btn-outline-white:hover {
    background-color: #fff;
    color: var(--primary-color);
}
.service-meta .price, .service-price-line, .service-info-item.price span{
    display: block;
    font-size: 17px !important;
    line-height: 1.6;
    font-weight: 500;
    color: #b8860b;
}
/* Responsive adjustments for Services Page */
@media (max-width: 992px) {
    .services-grid-detailed {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .services-grid-detailed {
        gap: 5px;
    }
    .service-img-wrapper{
        height: 100px;
    }
    .service-info{
        padding: 7px;
    }
    .service-info h3{
        font-size: 15px;
    }
    .service-desc{
        font-size: 13px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 0px;
    }
    .service-meta .price, .service-price-line, .service-info-item.price span{
        font-size: 15px !important;
    }
    .service-actions{
        flex-direction: column;
        gap: 5px;
    }
    
    .cta-large-buttons {
        flex-direction: column;
        align-items: center;
    }
    .cta-large-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    .category-header h2 {
        font-size: 20px;
    }
    .welcome-content{
        text-align: center;
    }
    .feature-box{
        justify-content: center;
    }
}

/* ==========================================================================
   SERVICE DETAIL PAGE STYLES
   ========================================================================== */

/* Service Overview */
.section-service-overview {
    padding: var(--spacing-section) 0;
    background-color: #fff;
}
.service-overview-container {
    display: flex;
    gap: 50px;
    align-items: center;
}
.service-gallery {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.service-main-image {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
}
.service-main-image a {
    display: block;
    width: 100%;
    height: 100%;
}
.service-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.service-thumb {
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}
.service-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}
.service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-thumb.active {
    border-color: var(--primary-color);
}
.service-details-box {
    flex: 1;
}
.service-details-box h2 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.service-details-box .service-description {
    color: #555;
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 30px;
}
.service-price-time {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}
.service-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-weight: 600;
}
.service-info-item i {
    color: var(--primary-color);
    width: 20px;
    height: 20px;
}
.service-info-item.price {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
}

/* Service Information */
.section-service-info {
    padding: var(--spacing-section) 0;
    background-color: var(--tertiary-color);
}
.service-info-content {
    max-width: 800px;
    margin: 0 auto;
}
.service-info-block {
    margin-bottom: 40px;
}
.service-info-block:last-child {
    margin-bottom: 0;
}
.service-info-block h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 20px;
}
.service-info-block p {
    color: #555;
    line-height: 1.7;
    font-size: 15px;
}
.service-info-block ul {
    list-style: none;
    padding: 0;
}
.service-info-block ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}
.service-info-block ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

/* Green CTA Section */
.section-cta-green {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: #fff;
}
.section-cta-green h2 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 20px;
}
.section-cta-green p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}
.btn-white-green {
    background-color: #fff;
    color: var(--primary-color);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    display: inline-block;
    transition: all 0.3s;
}
.btn-white-green:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Responsive adjustments for Service Detail Page */
@media (max-width: 992px) {
    .service-overview-container {
        flex-direction: column;
    }
    .service-main-image {
        height: 300px;
    }
}
@media (max-width: 768px) {
    .service-price-time {
        flex-direction: column;
        gap: 15px;
    }
    .service-thumbnails {
        gap: 5px;
    }
    .service-thumb {
        height: 60px;
    }
}

/* ==========================================================================
   GALLERY PAGE STYLES
   ========================================================================== */

.section-gallery-page {
    padding: 80px 0;
}
.section-gallery-page.bg-white {
    background-color: #fff;
}
.section-gallery-page.bg-beige {
    background-color: var(--tertiary-color);
}
.gallery-category-header {
    margin-bottom: 40px;
}
.gallery-category-header h2 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 10px;
}
.gallery-category-header p {
    color: #666;
    font-size: 15px;
}
.gallery-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.gallery-item-square {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: block;
}
.gallery-item-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item-square:hover img {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .gallery-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .gallery-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   BLOG PAGE STYLES
   ========================================================================== */

.section-blog-page {
    padding: var(--spacing-section) 0;
}
.bg-tertiary {
    background-color: var(--tertiary-color);
}
.blog-layout {
    display: flex;
    gap: 40px;
}
.blog-main {
    flex: 3;
}
.blog-sidebar {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 50px;
}

/* Article Card */
.article-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}
.article-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.article-content h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}
.article-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}
.article-content h3 a:hover {
    color: var(--primary-color);
}
.article-content p {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}
.article-date {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
}

/* Pagination */
.pagination {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}
.page-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    background-color: #fff;
}
.page-num i {
    width: 18px;
    height: 18px;
}
.page-num:hover, .page-num.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}
.page-dots {
    color: #888;
}

/* Sidebar Widgets */
.sidebar-widget {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.widget-title {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}
.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}
.widget-title.text-center::after {
    display: none;
}

/* Search Widget */
.widget-search form {
    position: relative;
}
.widget-search input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-family: var(--font-main);
}
.widget-search input:focus {
    outline: none;
    border-color: var(--primary-color);
}
.widget-search button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
}

/* Categories Widget */
.widget-categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.widget-categories ul li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.widget-categories ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.widget-categories ul li a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}
.widget-categories ul li a:hover {
    color: var(--primary-color);
}
.widget-categories .count {
    background-color: #f5f5f5;
    color: #888;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
}

/* Newsletter Widget */
.widget-newsletter {
    background-color: #f0f5ee;
}
.newsletter-icon {
    text-align: center;
    margin-bottom: 15px;
}
.newsletter-icon i {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}
.widget-newsletter p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}
.widget-newsletter input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #fff;
    border-radius: 4px;
    margin-bottom: 15px;
    font-family: var(--font-main);
}
.widget-newsletter input:focus {
    outline: none;
    border-color: var(--primary-color);
}
.widget-newsletter .w-100 {
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .blog-layout {
        flex-direction: column-reverse;
    }
    .blog-sidebar {
        max-width: 100%;
    }
    .sidebar-widget{
        margin-bottom: 0px;
    }
}

/* ==========================================================================
   BLOG DETAIL PAGE STYLES
   ========================================================================== */

.section-blog-detail {
    padding: var(--spacing-section) 0;
}
.blog-detail-wrapper {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-bottom: 50px;
}
.blog-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
.blog-tag {
    background-color: #e8f5e9;
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}
.blog-date {
    color: #888;
    font-size: 15px;
}
.blog-intro {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
    margin-bottom: 30px;
}
.blog-detail-content img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 30px;
}
.blog-detail-content .img-inline {
    height: 150px;
    object-fit: cover;
}
.blog-detail-content h3 {
    font-size: 18px;
    color: var(--primary-color);
}
.blog-detail-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}
.blog-detail-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}
.blog-detail-content ul li {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
}
.blog-quote {
    background-color: #f9fdf9;
    border-left: 4px solid var(--primary-color);
    padding: 20px 30px;
    margin: 30px 0;
    font-size: 17px;
    font-style: italic;
    color: #444;
    line-height: 1.6;
    border-radius: 0 8px 8px 0;
}

/* Related Articles */
.related-articles {
    margin-top: 40px;
}
.related-articles h3 {
    font-size: 17px;
    color: var(--primary-color);
    margin-bottom: 25px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.related-grid .article-content {
    padding: 15px;
}
.related-grid .article-content h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}
.related-grid .article-content h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}
.related-grid .article-content h4 a:hover {
    color: var(--primary-color);
}
.related-grid .article-content p {
    font-size: 12px;
    margin-bottom: 10px;
}
.related-grid .article-date {
    font-size: 10px;
}

@media (max-width: 992px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.article-content h3{
    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

    text-overflow: ellipsis;
}
.article-content p{
    display: -webkit-box;
    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;

    overflow: hidden;

    text-overflow: ellipsis;
}
@media (max-width: 768px) {
    .blog-detail-wrapper {
        padding: 20px;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .article-img{
        height: unset;
        aspect-ratio: 4/3;
    }
    .blog-grid {
        gap: 10px;
        grid-template-columns: 1fr 1fr;
    }
    .article-img img{
        aspect-ratio: 4/3;
    }
    .article-content{
        padding: 10px;
    }
    .article-content h3{
        font-size: 15px;
    }
}

/* ==========================================================================
   CONTACT & BOOKING PAGE STYLES
   ========================================================================== */

.section-contact-page {
    padding: var(--spacing-section) 0;
}
.contact-layout {
    display: flex;
    gap: 40px;
}
.contact-form-col {
    flex: 2;
}
.contact-info-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.contact-box {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.contact-box-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 700;
}

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 15px;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
}
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fafafa;
    font-family: var(--font-main);
    color: #333;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #fff;
}
.form-group textarea {
    resize: none;
}

/* Custom Select Arrow để tránh lệch */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 17px;
    padding-right: 40px;
    cursor: pointer;
}

/* Service Tabs */
.service-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.service-tab-btn {
    padding: 8px 20px;
    border: 1px solid #ccc;
    background-color: transparent;
    color: #555;
    border-radius: 20px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}
.service-tab-btn.active,
.service-tab-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Service Options */
.service-options {
    display: grid;
    /* grid-template-columns: 1fr 1fr; */
    gap: 15px;
}
.service-checkbox-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}
.service-checkbox-card input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}



/* Info Column */
.info-box {
    padding: 30px;
}
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}
.contact-info-item:last-child {
    margin-bottom: 0;
}
.contact-info-item i {
    color: var(--primary-color);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}
.contact-info-item span {
    color: #555;
    font-size: 15px;
    line-height: 1.5;
}

.map-box {
    padding: 15px;
}
.map-box iframe {
    border-radius: 8px;
}

@media (max-width: 992px) {
    .contact-layout {
        flex-direction: column;
    }
}
@media (max-width: 768px) {
    .form-row, .service-options {
        grid-template-columns: 1fr;
    }
    .contact-box {
        padding: 20px;
    }
}

/* css cf7 */
.service-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.service-tab-btn {
    border: 1px solid #ddd;
    background: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.25s ease;
}

.service-tab-btn.active,
.service-tab-btn:hover {
    color: #fff;
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.service-tab-panel {
    display: none;
}

.service-tab-panel.active {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.service-checkbox-card,
.service-parent-label,
.service-variant-item {
    display: block;
    cursor: pointer;
}

.service-checkbox-card {
    border-radius: 15px;
    background: #fff;
    overflow: hidden;
    transition: 0.25s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.service-checkbox-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.service-checkbox-card input,
.service-variant-item input {
    display: none;
}

.sc-info {
    padding: 15px 17px;
    border-radius: 15px;
    transition: 0.25s ease;
}

.sc-info h4 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
}

.sc-info span {
    font-size: 15px;
    opacity: 0.75;
}

.service-checkbox-card input:checked + .sc-info,
.service-variant-item input:checked + .sc-info {
    border: 2px solid var(--primary-color);
}
.service-variant-item input:checked + .sc-info h4{
    color: #fff !important;
}
.service-variant-item input:checked + .sc-info span{
    color: #fff !important;
}
.service-has-variants {
    padding: 0;
}

.service-parent-label input:checked + .sc-info {
    background: rgba(0, 0, 0, 0.04);
}

.service-variant-list {
    padding: 0 15px 15px;
    display: grid;
    gap: 8px;
}

.service-variant-item .sc-info {
    border: 1px dashed #ddd;
    background: #fafafa;
    padding: 5px 12px;
}

.service-variant-item input:checked + .sc-info {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #fff;
}

.booking-selected-box {
    margin: 20px 0px;
    padding: 18px;
    border-radius: 17px;
    border: 1px solid #eee;
    background: #fafafa;
}
.wpcf7-submit {
    padding: 15px 0px;
    font-size: 17px;
}
.booking-selected-box h4 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 600;
}

#booking-selected-list {
    padding: 0;
    margin: 0 0 15px;
    list-style: none;
}

#booking-selected-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
    font-size: 15px;
}

#booking-selected-list li:last-child {
    border-bottom: 0;
}

#booking-selected-list strong {
    white-space: nowrap;
    font-weight: 600;
}

.booking-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #e5e5e5;
    font-size: 17px;
    font-weight: 600;
}

.booking-total strong {
    font-size: 20px;
    color: var(--primary-color);
}

.wpcf7 form.sent .wpcf7-response-output {
    display: none;
}

@media (max-width: 767px) {
    .service-tabs {
        gap: 8px;
    }

    .service-tab-btn {
        padding: 9px 15px;
        font-size: 15px;
    }

    #booking-selected-list li {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .booking-total {
        font-size: 17px;
    }
    .welcome-image{
        aspect-ratio: unset;
        width: 100%;
    }
}

/* Ẩn spinner mặc định */
.wpcf7-spinner {
    display: none !important;
}

/* Khi submit */
.booking-submit.loading,
.wpcf7-submit.loading {
    opacity: .7;
    pointer-events: none;
    cursor: wait;
}

.booking-submit.loading::after,
.wpcf7-submit.loading::after {
    content: "";
    width: 18px;
    height: 18px;
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;

    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;

    animation: bookingSpin .8s linear infinite;
}

@keyframes bookingSpin{
    to{
        transform:rotate(360deg);
    }
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 45px;
    height: 45px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    text-decoration: none;
    transition: all .3s ease;
}

.back-to-top i {
    color: #fff;
    font-size: 18px;
}

.back-to-top:hover {
    background: #222;
    color: #fff;
    transform: translateY(-3px);
}
.btn-booking-mobile{
    padding: 5px 10px;
    font-weight: bold;
    background-color: var(--primary-color);
    color: white;
    font-size: 12px;
    border-radius: 5px;
    display: none;
}
@media screen and (max-width: 575px){
    .btn-booking-mobile{
        display: block;
    }
}



.service-meta .time{
    font-size: 13px;
}
.service-meta .price{
    display: block;
    font-size: 13px;
    line-height: 1.6;
    white-space: normal;
}

.service-info-item.price span{
    display: block;
    font-size: 15px;
    line-height: 1.7;
}
.service-price-list{
    display: block;
}

.service-price-line{
    display: block;
    font-size: 15px;
    line-height: 1.6;
}

/* CTA Section container */
.tranfamily-cta-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    background-color: #f9f6f0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Spa Photo Background Layer */
.tranfamily-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://tranfamilyspa.com/wp-content/uploads/2026/07/178479043559761152806483515635296115280648351563529218d00418e6a20be1ac7016406053d8a-2048x1152.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Warm Dark Overlay to dim the background photo and ensure readability */
.tranfamily-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(30, 24, 20, 0.55); /* Warm charcoal/brown tint */
    z-index: 2;
}

/* Inner container */
.tranfamily-cta-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    position: relative;
    z-index: 3;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Content block - centered */
.tranfamily-cta-content {
    width: 100%;
    max-width: 650px;
    text-align: center;
    box-sizing: border-box;
}

/* Scroll reveal entrance animations */
.tranfamily-cta-content .tranfamily-cta-title,
.tranfamily-cta-content .tranfamily-cta-divider,
.tranfamily-cta-content .tranfamily-cta-desc,
.tranfamily-cta-content .tranfamily-cta-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reveal state */
.tranfamily-cta-content.tranfamily-revealed .tranfamily-cta-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}
.tranfamily-cta-content.tranfamily-revealed .tranfamily-cta-divider {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}
.tranfamily-cta-content.tranfamily-revealed .tranfamily-cta-desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}
.tranfamily-cta-content.tranfamily-revealed .tranfamily-cta-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

/* Heading Style - warm cream text on dark overlay */
.tranfamily-cta-title {
    font-size: 26px;
    font-weight: 400;
    color: #f9f6f0; /* Cream color */
    margin: 0 0 18px 0;
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
}

/* Divider with diamond icon */
.tranfamily-cta-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.tranfamily-divider-line {
    display: block;
    width: 60px;
    height: 1px;
    background-color: #c89e32;
    opacity: 0.8;
    flex-shrink: 0;
}

/* Diamond SVG */
.tranfamily-divider-diamond {
    display: block;
    width: 7px;
    height: 7px;
    background-color: #c89e32;
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* Description text */
.tranfamily-cta-desc {
    font-family: 'Questrial', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(249, 246, 240, 0.9); /* Cream at 90% opacity */
    margin: 0 auto 32px auto;
    max-width: 520px;
    font-weight: 400;
    text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2);
}

/* Green CTA Button */
.tranfamily-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #2b7020;
    color: #ffffff;
    padding: 14px 32px;
    font-family: 'Questrial', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 30px;
    border: none;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    cursor: pointer;
    outline: none;
}

/* Button Hover State - Gold hover background */
.tranfamily-cta-btn:hover {
    background-color: #c89e32;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0px 8px 25px rgba(200, 158, 50, 0.4);
}

/* Button Active State */
.tranfamily-cta-btn:active {
    transform: translateY(-1px);
    box-shadow: 0px 4px 10px rgba(200, 158, 50, 0.2);
}

/* Button SVG Icon */
.tranfamily-btn-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ================= Responsive Layouts ================= */

/* Tablet & Mobile Screens */
@media (max-width: 767px) {
    .tranfamily-cta-section {
        min-height: 450px;
    }

    .tranfamily-cta-container {
        padding: 40px 20px;
    }

    .tranfamily-cta-title {
        font-size: 25px;
    }

    .tranfamily-cta-desc {
        font-size: 14px;
        margin-bottom: 28px;
    }

    .tranfamily-cta-btn {
        width: 100%;
        padding: 13px 20px;
        font-size: 14px;
        box-sizing: border-box;
    }

    .tranfamily-divider-line {
        width: 40px;
    }
}

/* FAQ Section container */
.tranfamily-faq-section {
    width: 100%;
    padding: 100px 0;
    background-color: #f9f6f0;
    box-sizing: border-box;
    overflow: hidden;
}

/* Inner container */
.tranfamily-faq-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* Header block styling */
.tranfamily-faq-header {
    text-align: center;
    margin-bottom: 60px;
}

/* Scroll Reveal: Header */
.tranfamily-faq-header .tranfamily-faq-title,
.tranfamily-faq-header .tranfamily-faq-divider,
.tranfamily-faq-header .tranfamily-faq-desc {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.tranfamily-faq-header.tranfamily-revealed .tranfamily-faq-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}
.tranfamily-faq-header.tranfamily-revealed .tranfamily-faq-divider {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}
.tranfamily-faq-header.tranfamily-revealed .tranfamily-faq-desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

/* Heading Style */
.tranfamily-faq-title {
    font-size: 26px;
    font-weight: 600;
    color: #1e3818;
    margin: 0 0 15px 0;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

/* Divider with diamond icon */
.tranfamily-faq-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
}

.tranfamily-divider-line {
    display: block;
    width: 60px;
    height: 1px;
    background-color: #c89e32;
    opacity: 0.6;
    flex-shrink: 0;
}

/* Diamond SVG */
.tranfamily-divider-diamond {
    display: block;
    width: 8px;
    height: 8px;
    background-color: #c89e32;
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* Description text */
.tranfamily-faq-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #4a5749;
    margin: 0 auto;
    max-width: 600px;
    font-weight: 400;
}

/* Accordion List container */
.tranfamily-faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Individual Accordion Item Card */
.tranfamily-faq-item {
    background-color: #ffffff;
    border: 1px solid #e5dfd3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(43, 112, 32, 0.02);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Stagger reveal target */
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
}

/* Stagger Reveal Active */
.tranfamily-faq-item.tranfamily-item-revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Accordion Item Hover */
.tranfamily-faq-item:hover {
    border-color: #c89e32;
    box-shadow: 0px 8px 20px rgba(43, 112, 32, 0.04);
    transform: translateY(-2px);
}

/* Active Accordion Item */
.tranfamily-faq-item.tranfamily-active {
    border-color: #2b7020;
    box-shadow: 0px 10px 25px rgba(43, 112, 32, 0.08);
    transform: translateY(0);
}

/* Accordion Header / Trigger */
.tranfamily-faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 28px;
    cursor: pointer;
    user-select: none;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    box-sizing: border-box;
}

/* Question style */
.tranfamily-faq-question {
    font-family: 'Questrial', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1e3818;
    margin: 0;
    padding-right: 20px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.tranfamily-faq-item:hover .tranfamily-faq-question {
    color: #c89e32;
}

.tranfamily-faq-item.tranfamily-active .tranfamily-faq-question {
    color: #2b7020;
}

/* Icon Wrapper & SVG Chevron */
.tranfamily-faq-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f9f6f0;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.tranfamily-faq-icon {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #c89e32;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), stroke 0.3s ease;
}

.tranfamily-faq-item:hover .tranfamily-faq-icon-box {
    background-color: #f9f6f0;
}

.tranfamily-faq-item.tranfamily-active .tranfamily-faq-icon-box {
    background-color: #2b7020;
}

.tranfamily-faq-item.tranfamily-active .tranfamily-faq-icon {
    transform: rotate(180deg);
    stroke: #ffffff;
}

/* Accordion Content Wrapper */
.tranfamily-faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-sizing: border-box;
}

/* Inner Answer Text Block */
.tranfamily-faq-inner {
    padding: 0 28px 17px 28px;
}

.tranfamily-faq-answer {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #4a5749;
    font-weight: 400;
    padding-top: 16px;
    border-top: 1px solid #f1ece1;
}

/* ================= Responsive Layouts ================= */

/* Mobile Breakpoint */
@media (max-width: 767px) {
    .tranfamily-faq-section {
        padding: 60px 0;
    }

    .tranfamily-faq-header {
        margin-bottom: 40px;
    }

    .tranfamily-faq-title {
        font-size: 25px;
    }

    .tranfamily-faq-desc {
        font-size: 14px;
    }

    .tranfamily-faq-trigger {
        padding: 12px 25px;
    }

    .tranfamily-faq-question {
        font-size: 14px;
        padding-right: 15px;
    }

    .tranfamily-faq-inner {
        padding: 0 20px 20px 20px;
    }

    .tranfamily-faq-answer {
        font-size: 13px;
        padding-top: 12px;
    }

    .tranfamily-faq-icon-box {
        width: 28px;
        height: 28px;
    }

    .tranfamily-faq-icon {
        width: 12px;
        height: 12px;
    }
}